:root {
    --bg-color: #0a0a12;
    --text-color: #e0e0e0;
    --accent-color: #6c63ff;
    --secondary-accent: #00d4ff;
    --card-bg: rgba(30, 30, 40, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Background Effect */
.background-glob {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, rgba(10, 10, 18, 0) 70%);
    z-index: -1;
    border-radius: 50%;
    animation: pulseGlob 10s infinite alternate;
}

@keyframes pulseGlob {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--secondary-accent);
    margin-bottom: 1rem;
}

.location {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.6);
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: #fff;
}

.btn.secondary:hover {
    background: rgba(108, 99, 255, 0.1);
}

.quick-contact {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    font-size: 1.5rem;
}

.quick-contact a:hover {
    color: var(--secondary-accent);
    transform: scale(1.1);
}

/* Sections Basic */
.section {
    padding: 6rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20%;
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-accent));
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Glass Card Style */
.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(108, 99, 255, 0.3);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category h3 {
    margin-bottom: 1rem;
    color: var(--secondary-accent);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tags span {
    background: rgba(108, 99, 255, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-date {
    min-width: 150px;
    text-align: right;
    font-weight: 600;
    color: var(--secondary-accent);
    padding-top: 0.5rem;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    margin-bottom: 0.3rem;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #bbb;
    margin-bottom: 0.5rem;
}

.timeline-content ul {
    list-style-position: inside;
    margin-top: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card h3 {
    margin-bottom: 0.5rem;
}

.project-card .tech-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bg-color);
    background: var(--secondary-accent);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Education */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.edu-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.edu-card .date {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Footer */
footer {
    background: black;
    padding: 4rem 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.contact-pill:hover {
    background: rgba(108, 99, 255, 0.2);
}

.copyright {
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Response */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    .timeline-date {
        text-align: left;
    }
    .nav-links {
        display: none; /* simple hidden for mobile, could add hamburger later */
    }
}

/* Profile Image */
.profile-img-container {
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.4);
    transition: transform 0.4s ease;
}

.profile-img:hover {
    transform: scale(1.05) rotate(5deg);
    border-color: var(--secondary-accent);
}

@media (max-width: 768px) {
    .profile-img {
        width: 150px;
        height: 150px;
    }
}
