/* CSS Variables */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --bg-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent-color: #00f5ff;
    --accent-glow: rgba(0, 245, 255, 0.15);
    --accent-glow-strong: rgba(0, 245, 255, 0.4);
    --border-color: #222222;
    --border-hover: #333333;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
    --shadow-glow: 0 0 30px rgba(0, 245, 255, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

/* Utility Classes */
.text-cyan {
    color: var(--accent-color);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-color) 0%, #00c8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.4);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.badge:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.badge-icon {
    color: var(--accent-color);
}

/* Navbar */
/* .navbar { */
/* position: fixed; */
/* top: 24px; */
/* left: 50%; */
/* transform: translateX(-50%); */
/* display: flex; */
/* align-items: center; */
/* gap: 32px; */
/* padding: 12px 32px; */
/* background: rgba(10, 10, 10, 0.8); */
/* backdrop-filter: blur(12px); */
/* -webkit-backdrop-filter: blur(12px); */
/* border: 1px solid rgba(255, 255, 255, 0.1); */
/* border-radius: var(--radius-full); */
/* z-index: 1000; */
/* transition: all var(--transition-normal); */
/* max-width: 90vw; */
/* } */
/*  */
/* .navbar.scrolled { */
/* background: rgba(10, 10, 10, 0.95); */
/* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); */
/* } */
/*  */
/* .nav-brand { */
/* display: flex; */
/* align-items: center; */
/* gap: 12px; */
/* } */
/*  */
/* .nav-profile-img { */
/* width: 38px !important; */
/* height: 38px !important; */
/* max-width: 38px !important; */
/* max-height: 38px !important; */
/* border-radius: 50%; */
/* object-fit: cover; */
/* display: block; */
/* border: 2px solid var(--border-color); */
/* } */
/*  */
/* .nav-name-pill { */
/* padding: 6px 14px; */
/* background-color: var(--accent-color); */
/* color: var(--bg-primary); */
/* border-radius: var(--radius-full); */
/* font-size: 0.875rem; */
/* font-weight: 700; */
/* } */
/*  */
/* .nav-links { */
/* display: flex; */
/* align-items: center; */
/* gap: 28px; */
/* } */
/*  */
/* .nav-link { */
/* position: relative; */
/* font-size: 0.9rem; */
/* font-weight: 500; */
/* color: var(--text-secondary); */
/* padding: 4px 0; */
/* transition: color var(--transition-fast); */
/* } */
/*  */
/* .nav-link::after { */
/* content: ''; */
/* position: absolute; */
/* bottom: -2px; */
/* left: 0; */
/* width: 0; */
/* height: 2px; */
/* background-color: var(--accent-color); */
/* transition: width var(--transition-normal); */
/* } */
/*  */
/* .nav-link:hover, */
/* .nav-link.active { */
/* color: var(--text-primary); */
/* } */
/*  */
/* .nav-link:hover::after, */
/* .nav-link.active::after { */
/* width: 100%; */
/* } */
/*  */
/* .mobile-menu-btn { */
/* display: none; */
/* background: none; */
/* border: none; */
/* color: var(--text-primary); */
/* cursor: pointer; */
/* } */
/*  */

/* ===== NAVBAR MAIN CONTAINER ===== */
.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;


    padding: 12px 30px;


    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);


    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.08);


    z-index: 1000;
}


/* ===== BRAND SECTION ===== */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Profile Image */
.nav-profile-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}


/* ===== NAME PILL (THIS IS IMPORTANT PART) ===== */
.nav-name-pill {
    background: linear-gradient(90deg, #00f5ff, #00c3ff);
    padding: 8px 18px;
    border-radius: 40px;


    font-weight: 700;
    /* Bold */
    font-size: 16px;
    color: #000;
    /* Black text inside cyan pill */


    letter-spacing: 0.5px;
}


/* ===== NAV LINKS ===== */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}


.nav-link {
    text-decoration: none;
    color: #b0b0b0;
    font-weight: 500;
    transition: 0.3s ease;
    position: relative;
}


/* Hover Effect */
.nav-link:hover {
    color: #00f5ff;
}


/* Active Link */
.nav-link.active {
    color: #00f5ff;
    font-weight: 600;
}


/* Underline Animation */
.nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #00f5ff;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}


.nav-link:hover::after {
    width: 100%;
}

/* Hide mobile button on desktop */
.mobile-menu-btn {
    display: none;
}


/* ===== MOBILE NAVBAR ===== */
@media (max-width: 768px) {

    .navbar {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);

        width: 85%;
        max-width: 340px;

        padding: 10px 18px;
        gap: 15px;

        z-index: 9999;
    }


    /* Hamburger button */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        background: transparent;
        border: none;

        color: white;
        cursor: pointer;

        padding: 8px;

        position: relative;
        z-index: 10001;
    }


    /* MENU HIDDEN */
    .nav-links {
        position: absolute;

        top: calc(100% + 15px);
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 20px;

        padding: 20px 0;

        background: rgba(5, 10, 15, 0.98);

        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 25px;

        z-index: 10000;

        /* Hidden state */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);
        transition: all 0.3s ease;
    }


    /* MENU OPEN */
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }


    .nav-links li {
        list-style: none;
    }


    .nav-link {
        color: white;
        font-size: 17px;
        font-weight: 500;
        text-decoration: none;
    }
}




/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--accent-glow);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-image {
    width: 1000%;
    height: auto;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--accent-glow-strong) 0%, transparent 50%);
    border-radius: calc(var(--radius-lg) + 10px);
    z-index: 1;
    opacity: 0.6;
    filter: blur(20px);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    max-width: 600px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 32px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-stats-mini {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.mini-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.mini-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.about-image-wrapper {
    display: flex;
    justify-content: center;
}

.about-image {
    width: 90%;
    max-width: 400px;
    margin-top: -200px;

    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -44px;
    top: 4px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-glow-strong);
}

.timeline-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}

.timeline-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.timeline-title {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 600;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 48px 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    display: inline-block;
}

.stat-suffix {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-left: 4px;
}

.stat-label {
    display: block;
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.skill-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--accent-glow-strong), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.skill-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.skill-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.project-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background-color: var(--accent-color);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-badge.internship {
    background-color: #ff00ff;
}

.project-content {
    padding: 28px;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 12px;
    background-color: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-flex;
    padding: 12px;
    background-color: var(--bg-hover);
    border-radius: var(--radius-md);
}

.service-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-value:hover {
    color: var(--accent-color);
}

.status-available {
    color: #00ff88;
    position: relative;
    padding-left: 20px;
}

.status-available::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 16px;
    background-color: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input:not(:placeholder-shown)+.form-label,
.form-input:focus+.form-label {
    transform: translateY(-28px) scale(0.85);
    color: var(--accent-color);
    background-color: var(--bg-card);
    padding: 0 6px;
}

.form-label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
    transform-origin: left top;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* Footer CTA */
.footer-cta {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(0, 245, 255, 0.03), transparent);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent-color);
}

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

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

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-content,
    .about-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .hero-image-wrapper,
    .about-image-wrapper {
        order: -1;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats-mini {
        justify-content: center;
    }

    .timeline {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
        gap: 20px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-padding {
        padding: 80px 0;
    }

    .skills-grid,
    .projects-grid,
    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .timeline-header {
        flex-direction: column;
        gap: 8px;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .badge {
        font-size: 0.8rem;
    }
}

/* Space btw work experience cards */
.timeline-item + .timeline-item {
  margin-top: 30px;
}

.timeline-description {
list-style: disc !important;
padding-left: 36px !important;
margin-top: 25px;
}

.timeline-description li {
margin-bottom: 18px;
padding-left: 8px;
}

.timeline-description li::marker {
color: #00d9ff;
font-size: 20px;
}

.timeline-item:first-child .timeline-description li {
 color: rgba(255, 255, 255, 0.65) !important;
}

/* ============================= */
/* MOBILE NAVBAR FIX */
/* ============================= */

@media (max-width: 768px) {

    .navbar {
        top: 15px;
        width: calc(100% - 30px);
        padding: 10px 15px;
        gap: 10px;
        box-sizing: border-box;
        z-index: 9999;
    }

    .nav-brand {
        gap: 8px;
    }

    .nav-profile-img {
        width: 45px;
        height: 45px;
    }

    .nav-name-pill {
        padding: 10px 20px;
        font-size: 18px;
    }

    /* Hamburger Button */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        background: transparent;
        border: none;
        color: white;

        cursor: pointer;
        z-index: 10001;
    }

    /* Mobile Menu - hidden */
    .nav-links {
        display: none;

        position: absolute;
        top: calc(100% + 15px);
        left: 0;

        width: 100%;
        padding: 20px;

        flex-direction: column;
        align-items: center;
        gap: 20px;

        list-style: none;

        background: rgba(10, 15, 20, 0.97);

        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 25px;

        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        box-sizing: border-box;

        z-index: 10000;
    }

    /* जब button click होगा */
    .nav-links.active {
        display: flex !important;
    }

    .nav-link {
        font-size: 18px;
        color: white;
    }
}


/* =========================================
   FINAL MOBILE NAVBAR FIX
========================================= */

@media (max-width: 768px) {

    .navbar {
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 30px);
        max-width: 360px;
        padding: 10px 15px;
        box-sizing: border-box;
        z-index: 9999;
    }

    /* Profile image smaller */
    .nav-profile-img {
        width: 42px;
        height: 42px;
    }

    /* Name pill smaller */
    .nav-name-pill {
        padding: 9px 18px;
        font-size: 17px;
    }

    /* Hamburger */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        background: transparent;
        border: none;
        color: white;
        cursor: pointer;
        z-index: 10002;
    }

    /* MENU CLOSED */
    .nav-links {
        display: none !important;

        position: absolute;
        top: calc(100% + 10px);
        left: 0;

        width: 100%;
        margin: 0;
        padding: 20px;

        flex-direction: column;
        align-items: center;
        gap: 22px;

        list-style: none;

        background: rgba(10, 15, 20, 0.98);

        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 25px;

        box-sizing: border-box;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;

        transform: none !important;

        z-index: 10001;
    }

    /* MENU OPEN */
    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 8px;
        font-size: 18px;
        color: white;
    }
}


/* MOBILE NAVBAR FIX */

@media (max-width: 768px) {

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        z-index: 10002;
    }

    /* Hidden by default */
    .nav-links {
        display: none !important;

        position: absolute;
        top: calc(100% + 10px);
        left: 0;

        width: 100%;
        padding: 20px;
        margin: 0;

        flex-direction: column;
        align-items: center;
        gap: 15px;

        background: rgba(10, 10, 10, 0.98);
        border-radius: 20px;

        z-index: 10001;
    }

    /* Show when hamburger clicked */
    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        list-style: none;
    }

    .nav-link {
        color: white;
        font-size: 16px;
        text-decoration: none;
    }
}

/* ==========================================
   MOBILE NAVBAR SIZE FIX
========================================== */

@media (max-width: 768px) {

    .navbar {
        width: calc(100% - 32px);
        max-width: none;

        left: 50%;
        transform: translateX(-50%);

        top: 20px;

        padding: 10px 14px;
        min-height: 76px;

        border-radius: 40px;
    }

    /* Profile image */
    .nav-profile-img {
        width: 52px;
        height: 52px;
    }

    /* Uveash blue button */
    .nav-name-pill {
        font-size: 24px;
        padding: 14px 22px;
        border-radius: 30px;
    }

    /* Hamburger button */
    .mobile-menu-btn {
        width: 48px;
        height: 48px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;
    }

    .mobile-menu-btn svg {
        width: 30px;
        height: 30px;
    }

    /* Mobile dropdown */
    .nav-links {
        position: absolute;

        top: calc(100% + 10px);
        left: 0;

        width: 100%;

        padding: 20px;
        border-radius: 30px;

        display: none;
        flex-direction: column;
        gap: 12px;

        z-index: 9999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 24px;
        padding: 12px;
        text-align: center;
    }

}

/* =========================================
   MOBILE NAVBAR - FINAL SIZE FIX
========================================= */

@media (max-width: 768px) {

    .navbar {
        width: calc(100% - 40px) !important;
        height: 110px !important;
        min-height: 110px !important;

        top: 28px !important;
        left: 50% !important;

        padding: 12px 20px !important;

        transform: translateX(-50%) !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        border-radius: 55px !important;

        box-sizing: border-box !important;
        z-index: 9999 !important;
    }


    /* LEFT SIDE */
    .nav-brand {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex-shrink: 0 !important;
    }


    /* PROFILE IMAGE */
    .nav-profile-img {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;

        border-radius: 50% !important;
        object-fit: cover !important;
    }


    /* BLUE NAME BUTTON */
    .nav-name-pill {
        font-size: 26px !important;
        font-weight: 700 !important;

        padding: 17px 30px !important;

        border-radius: 35px !important;

        white-space: nowrap !important;
    }


    /* HAMBURGER BUTTON */
    .mobile-menu-btn {
        display: flex !important;

        width: 55px !important;
        height: 55px !important;

        align-items: center !important;
        justify-content: center !important;

        padding: 0 !important;
        margin-left: 10px !important;

        flex-shrink: 0 !important;
    }


    .mobile-menu-btn svg {
        width: 34px !important;
        height: 34px !important;
    }


    /* MOBILE MENU */
    .nav-links {
        display: none !important;

        position: absolute !important;

        top: calc(100% + 12px) !important;
        left: 0 !important;

        width: 100% !important;

        padding: 25px 20px !important;

        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;

        border-radius: 35px !important;

        box-sizing: border-box !important;

        z-index: 9998 !important;
    }


    /* MENU OPEN */
    .nav-links.active {
        display: flex !important;
    }


    .nav-links li {
        width: 100% !important;
        text-align: center !important;
    }


    .nav-link {
        display: block !important;

        width: 100% !important;

        padding: 12px !important;

        font-size: 26px !important;

        text-align: center !important;
    }


    /* HERO CONTENT NAVBAR KE NICHE SE START HO */
    .hero {
        padding-top: 180px !important;
    }

}

/* =========================================
   MOBILE NAVBAR FIX
========================================= */

@media (max-width: 768px) {

    .navbar {
        width: calc(100% - 30px);
        max-width: none;
        height: 70px;
        min-height: 70px;

        padding: 8px 14px;

        top: 12px;
        left: 50%;
        transform: translateX(-50%);

        border-radius: 35px;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Profile Image */
    .nav-profile-img {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        object-fit: cover;
    }

    /* Name section */
    .nav-brand {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .nav-name-pill {
        font-size: 20px;
        padding: 10px 20px;
        border-radius: 25px;
    }

    /* Hamburger button */
    .mobile-menu-btn {
        width: 45px;
        height: 45px;
        padding: 5px;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-btn svg {
        width: 25px;
        height: 25px;
    }

    /* Mobile dropdown */
    .nav-links {
        top: 80px;
        width: 100%;
    }

}
