        :root[data-theme="light"] {
            /* Light Mode Colors */
            --primary: #0A0E27;
            --secondary: #1A1F3A;
            --accent: #4F46E5;
            --accent-hover: #6366F1;
            --background: #FAFAFA;
            --surface: #FFFFFF;
            --surface-elevated: #FFFFFF;
            --text-primary: #0A0E27;
            --text-secondary: #64748B;
            --text-muted: #94A3B8;
            --border: #E2E8F0;
            --border-hover: #CBD5E1;
            --shadow: rgba(0, 0, 0, 0.05);
            --shadow-md: rgba(0, 0, 0, 0.1);
            --shadow-lg: rgba(0, 0, 0, 0.15);
            --code-bg: #F1F5F9;
            --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        :root[data-theme="dark"] {
            /* Dark Mode Colors */
            --primary: #F8FAFC;
            --secondary: #E2E8F0;
            --accent: #818CF8;
            --accent-hover: #A5B4FC;
            --background: #0A0E27;
            --surface: #151934;
            --surface-elevated: #1E2447;
            --text-primary: #F8FAFC;
            --text-secondary: #94A3B8;
            --text-muted: #64748B;
            --border: #1E2447;
            --border-hover: #2D3461;
            --shadow: rgba(0, 0, 0, 0.3);
            --shadow-md: rgba(0, 0, 0, 0.4);
            --shadow-lg: rgba(0, 0, 0, 0.5);
            --code-bg: #0F1629;
            --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        /* Add to main CSS (not media query) */
        button,
        .btn-primary,
        .btn-secondary,
        .project-link,
        .nav-cta {
            -webkit-tap-highlight-color: transparent;
            /* Remove tap highlight */
            touch-action: manipulation;
            /* Better touch response */
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--background);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--background);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--accent);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent-hover);
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 80px;
            background: var(--surface);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            box-shadow: 0 4px 20px var(--shadow-md);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 32px;
            height: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo {
            font-family: 'JetBrains Mono', monospace;
            font-size: 24px;
            font-weight: 700;
            color: var(--text-primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: transform 0.3s ease;
        }

        .nav-logo:hover {
            transform: translateY(-2px);
        }

        .logo-bracket {
            color: var(--accent);
            font-size: 28px;
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 48px;
            list-style: none;
        }

        .nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
            transition: all 0.3s ease;
            position: relative;
            padding: 8px 0;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s ease;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--accent);
        }

        .nav-link:hover::before,
        .nav-link.active::before {
            width: 100%;
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .theme-toggle {
            width: 44px;
            height: 44px;
            border: none;
            background: var(--surface-elevated);
            border: 1px solid var(--border);
            border-radius: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            transform: rotate(180deg);
            border-color: var(--accent);
        }

        .nav-cta {
            padding: 12px 28px;
            background: var(--accent);
            color: white;
            text-decoration: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            border: 2px solid var(--accent);
        }

        .nav-cta:hover {
            background: transparent;
            color: var(--accent);
            transform: translateY(-2px);
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            padding: 8px;
            background: transparent;
            border: none;
            z-index: 1001;
            /* ADD THIS */
            position: relative;
            /* ADD THIS */
        }

        .hamburger span {
            width: 28px;
            height: 3px;
            background: var(--text-primary);
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(9px, 9px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(9px, -9px);
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 80px;
            left: 0;
            width: 100%;
            height: calc(100vh - 80px);
            background: var(--surface);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            overflow-y: auto;
            padding: 32px;
            border-top: 1px solid var(--border);
            z-index: 999;
            /* ADD THIS - was missing! */
            backdrop-filter: blur(10px);
            /* ADD THIS - optional for better look */
        }

        .mobile-menu.active {
            transform: translateX(0);
        }

        .mobile-nav-menu {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .mobile-nav-link {
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 20px;
            padding: 16px;
            border-radius: 12px;
            transition: all 0.3s ease;
            display: block;
        }

        .mobile-nav-link:hover {
            background: var(--surface-elevated);
            color: var(--accent);
            transform: translateX(8px);
        }

        /* Main Content */
        .main-content {
            margin-top: 80px;
        }

        .section {
            /* min-height: 100vh;
            padding: 120px 32px;
            display: flex;
            align-items: center;
            justify-content: center; */
            padding: 20px 32px;
        }

        .container {
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
            padding: 0 32px;
        }

        /* Hero Section */
        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .hero-text {
            animation: fadeInUp 1s ease-out;
        }

        .hero-tag {
            display: inline-block;
            padding: 8px 20px;
            background: var(--surface-elevated);
            border: 1px solid var(--border);
            border-radius: 24px;
            font-size: 14px;
            font-weight: 500;
            color: var(--accent);
            margin-bottom: 24px;
            animation: fadeIn 0.8s ease-out;
        }

        .hero-title {
            font-family: 'Outfit', sans-serif;
            font-size: clamp(48px, 8vw, 72px);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 24px;
            background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-description {
            font-size: clamp(18px, 2vw, 22px);
            color: var(--text-secondary);
            margin-bottom: 40px;
            line-height: 1.8;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .btn-primary {
            padding: 16px 40px;
            background: var(--accent);
            color: white;
            text-decoration: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            border: 2px solid var(--accent);
        }

        .btn-primary:hover {
            background: transparent;
            color: var(--accent);
            transform: translateY(-2px);
        }

        .btn-secondary {
            padding: 16px 40px;
            background: transparent;
            color: var(--text-primary);
            text-decoration: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            border: 2px solid var(--border);
        }

        .btn-secondary:hover {
            border-color: var(--accent);
            color: var(--accent);
            transform: translateY(-2px);
        }

        .hero-visual {
            position: relative;
            animation: fadeInRight 1s ease-out;
        }

        /* .hero-image-container {
            position: relative;
            width: 500px;
            aspect-ratio: 1;
            border-radius: 24px;
            overflow: hidden;
            background: var(--gradient-1);
            box-shadow: 0 20px 60px var(--shadow-lg);
        }

        .hero-image-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.3), rgba(99, 102, 241, 0.3));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 120px;
            color: white;
        } */
       .hero-image-container {
    position: relative;
    width: 400px;
    height: auto;                 /* allow natural height */
    border-radius: 24px;
    overflow: visible;            /* IMPORTANT: allow glow outside */
    margin-left: 100px;
    z-index: 1;
}

/* Glow layer */
.hero-image-container::before {
    content: "";
    position: absolute;
    inset: -25px;                 /* glow spread */
    border-radius: 32px;
    z-index: -1;
    filter: blur(35px);
    opacity: 0.85;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

/* Light mode → dark blue glow */
:root[data-theme="light"] .hero-image-container::before {
    background: radial-gradient(
        circle at center,
        rgba(10, 14, 39, 0.45),
        rgba(10, 14, 39, 0.2),
        transparent 70%
    );
}

/* Dark mode → soft light blue glow */
:root[data-theme="dark"] .hero-image-container::before {
    background: radial-gradient(
        circle at center,
        rgba(99, 102, 241, 0.65),
        rgba(79, 70, 229, 0.35),
        transparent 70%
    );
}

/* Image itself */
.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    position: relative;
    z-index: 2;
}

        .floating-elements {
            position: absolute;
            inset: -40px;
            pointer-events: none;
            overflow: hidden;
        }

        .floating-element {
            position: absolute;
            background: var(--surface-elevated);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 20px 28px;
            box-shadow: 0 8px 32px var(--shadow-md);
            animation: float 3s ease-in-out infinite;
            font-weight: 600;
        }

        .floating-element:nth-child(1) {
            top: 10%;
            left: -10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            top: 60%;
            right: -10%;
            animation-delay: 1s;
        }

        .floating-element:nth-child(3) {
            bottom: 10%;
            left: -5%;
            animation-delay: 2s;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-20px);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Section Headers */
        .section-header {
            text-align: center;
            margin-bottom: 10px;
        }

        .section-tag {
            display: inline-block;
            padding: 8px 20px;
            background: var(--surface-elevated);
            border: 1px solid var(--border);
            border-radius: 24px;
            font-size: 14px;
            font-weight: 600;
            color: var(--accent);
            margin-bottom: 16px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }

        .section-title {
            font-size: clamp(36px, 6vw, 56px);
            font-weight: 800;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-description {
            font-size: clamp(16px, 2vw, 20px);
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto;
        }

        /* Education Section */
        .timeline {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 100%;
            background: var(--border);
        }

        .timeline-item {
            margin-bottom: 60px;
            position: relative;
        }

        .timeline-item:nth-child(odd) .timeline-content {
            margin-left: auto;
            margin-right: 0;
            text-align: right;
        }

        .timeline-item:nth-child(even) .timeline-content {
            margin-left: 0;
            margin-right: auto;
            text-align: left;
        }

        .timeline-content {
            width: calc(50% - 40px);
            background: var(--surface-elevated);
            padding: 32px;
            border-radius: 16px;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            position: relative;
        }

        .timeline-content:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px var(--shadow-md);
            border-color: var(--accent);
        }

        .timeline-dot {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 32px;
            width: 20px;
            height: 20px;
            background: var(--accent);
            border-radius: 50%;
            border: 4px solid var(--surface);
            box-shadow: 0 0 0 4px var(--border);
        }

        .timeline-date {
            font-family: 'JetBrains Mono', monospace;
            font-size: 14px;
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 12px;
        }

        .timeline-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .timeline-subtitle {
            font-size: 16px;
            color: var(--text-secondary);
            margin-bottom: 16px;
        }

        .timeline-description {
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* Experience Section */
        .experience-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 32px;
        }

        .experience-card {
            background: var(--surface-elevated);
            padding: 40px;
            border-radius: 20px;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .experience-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--accent);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .experience-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px var(--shadow-md);
            border-color: var(--accent);
        }

        .experience-card:hover::before {
            transform: scaleY(1);
        }

        .experience-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 20px;
        }

        .experience-company {
            font-size: 14px;
            color: var(--accent);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .experience-duration {
            font-family: 'JetBrains Mono', monospace;
            font-size: 12px;
            color: var(--text-muted);
            background: var(--code-bg);
            padding: 6px 12px;
            border-radius: 6px;
        }

        .experience-role {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .experience-description {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .experience-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            padding-bottom: 10px;
        }

        .tag {
            padding: 6px 14px;
            background: var(--code-bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.2s ease;
        }

        .tag:hover {
            background: var(--accent);
            color: white;
            border-color: var(--accent);
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
            gap: 32px;
        }

        .project-card {
            background: var(--surface-elevated);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px var(--shadow-lg);
            border-color: var(--accent);
        }

        /* .project-image {
            width: 100%;
            height: 240px;
            background: var(--gradient-1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 64px;
            position: relative;
            overflow: hidden;
        } */

        .project-image {
            width: 100%;
            height: auto;
            background: var(--gradient-1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 64px;
            position: relative;
            overflow: hidden;
        }

        .project-image img {
            width: 100%;
            height: auto;
            object-fit: cover;
            /* ✅ shows FULL image */
            display: block;
            object-position: top center;
        }

        .project-card:nth-child(2) .project-image {
            background: var(--gradient-2);
        }

        .project-card:nth-child(3) .project-image {
            background: var(--gradient-3);
        }

        .project-card:nth-child(4) .project-image {
            background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
        }

        .project-card:nth-child(5) .project-image {
            background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
        }

        .project-card:nth-child(6) .project-image {
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
        }

        .project-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .project-content {
            padding: 32px;
        }

        .project-category {
            font-size: 12px;
            color: var(--accent);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 12px;
        }

        .project-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .project-description {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .project-links {
            display: flex;
            gap: 12px;
        }

        .project-link {
            padding: 10px 20px;
            background: var(--code-bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .project-link:hover {
            background: var(--accent);
            color: white;
            border-color: var(--accent);
        }

        /* Skills Section */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 32px;
        }

        .skill-category {
            background: var(--surface-elevated);
            padding: 40px;
            border-radius: 20px;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .skill-category:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px var(--shadow-md);
            border-color: var(--accent);
        }

        .skill-icon {
            font-size: 48px;
            margin-bottom: 20px;
            display: block;
        }

        .skill-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .skill-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        /* Contact Section */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .contact-item {
            display: flex;
            gap: 20px;
            align-items: start;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            min-width: 56px;
            background: var(--surface-elevated);
            border: 1px solid var(--border);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            transition: all 0.3s ease;
        }

        .contact-icon img {
            width: 30px;
            /* adjust if needed */
            height: 30px;
        }

        .contact-item:hover .contact-icon {
            background: var(--accent);
            border-color: var(--accent);
            transform: scale(1.1);
        }

        .contact-details h3 {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .contact-details p {
            color: var(--text-secondary);
            font-size: 15px;
        }

        .contact-details a {
            color: var(--accent);
            text-decoration: none;
            transition: opacity 0.3s ease;
        }

        .contact-details a:hover {
            opacity: 0.8;
        }

        .social-links-contact {
            display: flex;
            gap: 16px;
            margin-top: 2px;
        }

        .social-link {
            width: 52px;
            height: 52px;
            background: var(--surface-elevated);
            border: 1px solid var(--border);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-link img {
            width: 32px;
            /* adjust size */
            height: 32px;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .social-link:hover {
            background: var(--accent);
            border-color: var(--accent);
            transform: translateY(-4px);
        }

        .contact-form {
            background: var(--surface-elevated);
            padding: 48px;
            border-radius: 20px;
            border: 1px solid var(--border);
        }

        .form-group {
            margin-bottom: 10px;
        }

        .form-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text-primary);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 14px 20px;
            background: var(--background);
            border: 1px solid var(--border);
            border-radius: 12px;
            color: var(--text-primary);
            font-family: 'Outfit', sans-serif;
            font-size: 15px;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 150px;
        }

        .form-submit {
            width: 100%;
            padding: 16px;
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Outfit', sans-serif;
        }

        .form-submit:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
        }

        .cta-section {
            background: var(--surface-elevated);
            padding: 60px;
            border-radius: 24px;
            border: 1px solid var(--border);
            text-align: center;
            margin-top: 60px;
        }

        .cta-section h2 {
            font-size: clamp(32px, 5vw, 48px);
            font-weight: 800;
            margin-bottom: 20px;
        }

        .cta-section p {
            font-size: 18px;
            color: var(--text-secondary);
            margin-bottom: 32px;
        }

        /* Footer */
        .footer {
            background: var(--surface);
            border-top: 1px solid var(--border);
            padding: 60px 32px 32px;
            margin-top: 120px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            text-align: center;
        }

        .footer-logo {
            font-family: 'JetBrains Mono', monospace;
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 20px;
            display: inline-block;
        }

        .footer-text {
            color: var(--text-secondary);
            margin-bottom: 32px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 32px;
            margin-bottom: 32px;
            flex-wrap: wrap;
        }

        .footer-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .footer-link:hover {
            color: var(--accent);
        }

        .footer-bottom {
            padding-top: 32px;
            border-top: 1px solid var(--border);
            color: var(--text-muted);
            font-size: 14px;
        }

        /* Floating Actions */
        .floating-actions {
            position: fixed;
            bottom: 32px;
            right: 32px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            z-index: 999;
        }

        .floating-btn {
            width: 56px;
            height: 56px;
            background: var(--accent);
            border: none;
            border-radius: 50%;
            color: white;
            background: #25D366;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 8px 24px var(--shadow-lg);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .floating-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 32px var(--shadow-lg);
        }

        .back-to-top {
            opacity: 0;
            pointer-events: none;
            background: var(--surface-elevated);
            color: var(--text-primary);
            border: 1px solid var(--border);
        }

        .back-to-top.visible {
            opacity: 1;
            pointer-events: all;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {

            .hero-content,
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 60px;
            }

            .timeline::before {
                left: 20px;
            }

            .timeline-content {
                width: calc(100% - 60px);
                margin-left: 60px !important;
                text-align: left !important;
            }

            .timeline-dot {
                left: 20px;
            }

            .projects-grid {
                grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            }
        }


        /* ===== FIX NAVBAR CUTTING ISSUE (769px – 1024px) ===== */
@media (max-width: 1024px) and (min-width: 769px) {

    .nav-menu {
        gap: 32px;
    }

    .nav-cta {
        display: none;
    }

    .nav-container {
        padding: 0 24px;
    }
}


        @media (max-width: 768px) {

            /* ===== NAV + MOBILE STRUCTURE (OLD - KEPT) ===== */
            /* .nav-menu,
    .nav-actions {
        display: none;
    } */

            .nav-menu {
                display: none;
            }

            /* .nav-actions {
                display: flex;
            } */
               .nav-actions {
        position: fixed;
        top: 96px;
        right: 20px;
        z-index: 1003;
    }

    

            .hero-image-container {
                width: 90%;
                margin: 0 auto;
                /* center */
            }


            .hamburger {
                display: flex;
            }

            .floating-elements {
                display: none;
                /* Hide floating elements on mobile */
            }

            /* OR keep them but fix positioning */
            .floating-element {
                position: relative;
                left: 0 !important;
                right: 0 !important;
                top: 0 !important;
                bottom: 0 !important;
                margin: 10px auto;
                display: inline-block;
            }

            .container {
                padding: 0 20px;
            }

            .section {
                padding: 80px 20px;
            }

            .nav-container {
                padding: 0 20px;
            }

            .hero-buttons {
                flex-direction: column;
            }

            .experience-grid,
            .skills-grid {
                grid-template-columns: 1fr;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }

            .contact-form {
                padding: 32px 24px;
            }

            .floating-actions {
                bottom: 20px;
                right: 20px;
            }

            /* ===== BUTTONS (NEW + OLD MERGED) ===== */
            .btn-primary,
            .btn-secondary {
                padding: 12px 24px;
                /* NEW */
                font-size: 14px;
                /* NEW */
                width: 100%;
                /* OLD */
                justify-content: center;
                /* OLD */
            }

            /* Nav CTA Button */
            .nav-cta {
                /* padding: 8px 16px;
                font-size: 13px; */
                display: none;
            }

            /* ===== PROJECT LINKS (NEW) ===== */
            .project-links {
                flex-direction: column;
                gap: 8px;
            }

            .project-link {
                padding: 8px 16px;
                font-size: 13px;
                width: 100%;
                justify-content: center;
                text-align: center;
            }

            /* ===== CTA SECTION BUTTONS (NEW) ===== */
            .cta-buttons {
                flex-direction: column;
                width: 100%;
            }

            .cta-buttons .btn-primary,
            .cta-buttons .btn-secondary {
                width: 100%;
                padding: 12px 24px;
                font-size: 14px;
            }

            /* ===== CONTACT FORM SUBMIT (NEW) ===== */
            .form-submit {
                padding: 12px;
                font-size: 14px;
            }

            /* ===== THEME TOGGLE (NEW) ===== */
            /* .theme-toggle {
                width: 40px;
                height: 40px;
                font-size: 18px;
            } */
             .theme-toggle {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        box-shadow: 0 8px 24px var(--shadow-md);
    }

            /* ===== FLOATING BUTTON (NEW overrides OLD 52px → 50px) ===== */
            .floating-btn {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }

            /* ===== TAB BUTTONS (NEW) ===== */
            .tab-btn {
                padding: 10px 20px;
                font-size: 13px;
                width: 100%;
            }

            /* ===== PRICING SUMMARY (NEW) ===== */
            .pricing-summary {
                padding: 12px 20px;
                font-size: 14px;
            }

            /* ===== AVAILABILITY BADGE (NEW) ===== */
            .availability-badge {
                padding: 10px 16px;
                font-size: 12px;
            }

            /* ===== SOCIAL LINKS (NEW) ===== */
            .social-link {
                width: 44px;
                height: 44px;
                font-size: 20px;
            }

            /* ===== CONTACT ICON (NEW) ===== */
            .contact-icon {
                width: 48px;
                height: 48px;
                font-size: 20px;
            }
        }


        /* Loading Animation */
        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        .loading {
            animation: pulse 2s ease-in-out infinite;
        }