        :root {
            --primary-color: #1e3a8a;
            --secondary-color: #3b82f6;
            --accent-color: #06b6d4;
            --dark-color: #1f2937;
            --light-color: #f8fafc;
            --gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--dark-color);
        }

        /* ─── Hero ───────────────────────────────────── */
        .hero-section {
            background: var(--gradient);
            color: white;
            padding: 120px 0 80px;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
            opacity: 0.1;
            z-index: 0;
        }

        .hero-content {
            position: relative;
            z-index: 1;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero-subtitle {
            font-size: 1.3rem;
            font-weight: 300;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .navbar {
            background: rgba(255, 255, 255, 0.95) !important;
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary-color) !important;
        }

        .nav-link {
            font-weight: 500;
            color: var(--dark-color) !important;
            transition: color 0.3s ease;
        }

        .nav-link:hover {
            color: var(--secondary-color) !important;
        }

        /* ─── Language toggle ────────────────────────── */
        .lang-toggle {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: var(--gradient);
            border: none;
            border-radius: 20px;
            padding: 5px 14px;
            color: white;
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
            line-height: 1;
            transition: all 0.3s ease;
            letter-spacing: 0.3px;
        }

        .lang-toggle .material-icons {
            font-size: 1rem;
        }

        .lang-toggle:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
        }

        /* ─── Section ────────────────────────────────── */
        .section-padding {
            padding: 80px 0;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 600;
            margin-bottom: 3rem;
            color: var(--dark-color);
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

        .section-title-r {
            font-size: 2.5rem;
            font-weight: 600;
            margin-bottom: 3rem;
            color: var(--dark-color);
            position: relative;
        }

        .section-title-r::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

        .tech-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background-color: #F3F4F6;
            text-align: center;
        }

        .project-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            height: 100%;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        }

        .project-image {
            height: 300px;
            background-size: cover;
            background-position: center;
            position: relative;
            overflow: hidden;
        }

        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.8));
            opacity: 0;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .project-card:hover .project-overlay {
            opacity: 1;
        }

        .project-category {
            position: absolute;
            top: 20px;
            left: 20px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        .tech-badge {
            display: inline-block;
            background: var(--gradient);
            color: white;
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
            margin: 2px;
        }

        .impact-metric {
            background: var(--light-color);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            border-left: 4px solid var(--secondary-color);
        }

        .impact-number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--secondary-color);
            display: block;
        }

        .impact-label {
            font-size: 0.9rem;
            color: var(--dark-color);
            font-weight: 500;
        }

        .btn-modern {
            background: var(--gradient);
            border: none;
            border-radius: 50px;
            padding: 12px 30px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            color: white;
            text-decoration: none;
        }

        .btn-modern:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
            color: white;
        }

        .btn-outline-modern {
            background: transparent;
            border: 2px solid var(--secondary-color);
            color: var(--secondary-color);
            border-radius: 50px;
            padding: 10px 28px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-outline-modern:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-2px);
        }

        .timeline {
            position: relative;
            padding-left: 2rem;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--gradient);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 2rem;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -2rem;
            top: 0.5rem;
            width: 12px;
            height: 12px;
            background: var(--secondary-color);
            border-radius: 50%;
            transform: translateX(-50%);
        }

        footer {
            background: var(--dark-color);
            color: white;
            padding: 40px 0 20px;
        }

        .bg-gradient {
            background: var(--gradient);
        }

        .bg-alt { background: var(--light-color); }

        .stats-section {
            background: var(--light-color);
        }

        .contact-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255,255,255,0.15);
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 50px;
            padding: 6px 16px;
            font-size: 0.85rem;
            color: white;
            text-decoration: none;
            transition: background 0.3s;
        }

        .contact-pill:hover {
            background: rgba(255,255,255,0.25);
            color: white;
        }

        /* ─── Skill badges ───────────────────────────── */
        .skill-badge {
            display: inline-block;
            background: var(--gradient);
            color: white;
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 0.82rem;
            font-weight: 500;
            margin: 3px;
        }

        .skill-category {
            background: var(--light-color);
            border-radius: 14px;
            padding: 1.2rem 1.4rem;
            border-left: 4px solid var(--secondary-color);
            height: 100%;
        }

        .skill-category h6 {
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.8rem;
        }

        /* ─── Experience timeline ────────────────────── */
        .exp-timeline {
            position: relative;
            padding-left: 1.8rem;
        }

        .exp-timeline::before {
            content: '';
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 2px;
            background: var(--gradient);
        }

        .exp-item {
            position: relative;
            margin-bottom: 2rem;
            padding-bottom: 0.5rem;
        }

        .exp-item::before {
            content: '';
            position: absolute;
            left: -1.8rem;
            top: 0.4rem;
            width: 12px;
            height: 12px;
            background: var(--secondary-color);
            border-radius: 50%;
            transform: translateX(-50%);
        }

        .exp-company {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.1rem;
        }

        .exp-role {
            font-weight: 600;
            color: var(--dark-color);
            margin-bottom: 0.1rem;
        }

        .exp-period {
            font-size: 0.82rem;
            color: #6b7280;
            margin-bottom: 0.5rem;
        }

        .exp-desc {
            font-size: 0.92rem;
            color: #4b5563;
            line-height: 1.6;
        }

        /* ─── Education card ─────────────────────────── */
        .edu-card {
            background: white;
            border-radius: 14px;
            padding: 1.4rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.07);
            border-top: 4px solid var(--secondary-color);
            height: 100%;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .edu-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        }

        .edu-institution {
            font-size: 0.88rem;
            font-weight: 700;
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.3rem;
        }

        .edu-degree {
            font-weight: 600;
            color: var(--dark-color);
            margin-bottom: 0.2rem;
        }

        .edu-year {
            font-size: 0.82rem;
            color: #6b7280;
        }        

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .project-image {
                height: 250px;
            }
        }