:root {
            --primary-color: #2c3e50;
            --secondary-color: #3498db;
            --accent-color: #e74c3c;
            --text-dark: #2c3e50;
            --text-light: #ecf0f1;
            --bg-light: #f8f9fa;
            --bg-dark: #1a1a2e;
            --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%);
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        nav.scrolled {
            padding: 0.5rem 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        nav .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        nav .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            text-decoration: none;
        }

        nav .logo span {
            color: var(--secondary-color);
        }

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

        nav ul li a {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary-color);
            transition: width 0.3s ease;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        .mobile-menu {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--primary-color);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            position: relative;
            overflow: hidden;
            padding-top: 80px;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
            background-repeat: no-repeat;
            background-position: bottom;
            background-size: cover;
            opacity: 0.3;
        }

        .hero .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            color: var(--text-light);
            margin-bottom: 1rem;
            animation: fadeInUp 1s ease;
        }

        .hero-content .subtitle {
            font-size: 1.5rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 1.5rem;
            animation: fadeInUp 1s ease 0.2s backwards;
        }

        .hero-content p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 2rem;
            line-height: 1.8;
            animation: fadeInUp 1s ease 0.4s backwards;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            animation: fadeInUp 1s ease 0.6s backwards;
        }

        .btn {
            padding: 0.875rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: white;
            color: var(--primary-color);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        .btn-outline {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .btn-outline:hover {
            background: white;
            color: var(--primary-color);
            transform: translateY(-3px);
        }

        .hero-image {
            position: relative;
            animation: fadeInRight 1s ease;
            background: #000000;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                        0 0 40px rgba(79, 172, 254, 0.2);
            transition: all 0.3s ease;
            max-width: 450px;
            margin: 0 auto;
        }

        .hero-image:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
                        0 0 60px rgba(79, 172, 254, 0.4);
        }

        .hero-image img {
            width: 100%;
            border-radius: 15px;
            display: block;
            box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
        }

        /* About Section */
        .about {
            padding: 5rem 2rem;
            background: var(--bg-light);
        }

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

        .section-title {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            color: var(--primary-color);
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--secondary-color);
            margin: 1rem auto 0;
            border-radius: 2px;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
        }

        .about-text h3 {
            font-size: 1.8rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .about-text p {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }

        .stat-card {
            background: white;
            padding: 1.5rem;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-5px);
        }

        .stat-card .number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--secondary-color);
            display: block;
            margin-bottom: 0.5rem;
        }

        .stat-card .label {
            color: #666;
            font-size: 0.95rem;
        }

        /* Experience Section */
        .experience {
            padding: 5rem 2rem;
            background: white;
        }

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

        .timeline {
            position: relative;
            margin-top: 3rem;
            padding-left: 2rem;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.5rem;
            bottom: 0.5rem;
            width: 3px;
            background: linear-gradient(180deg, var(--secondary-color), #764ba2);
            border-radius: 2px;
        }

        .timeline-item {
            position: relative;
            padding: 0 0 2.5rem 2rem;
        }

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

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -2.45rem;
            top: 0.35rem;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: white;
            border: 3px solid var(--secondary-color);
            box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
        }

        .timeline-item.current::before {
            background: var(--secondary-color);
        }

        .timeline-card {
            background: var(--bg-light);
            border-radius: 12px;
            padding: 1.75rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
            border-left: 4px solid var(--secondary-color);
            transition: all 0.3s ease;
        }

        .timeline-card:hover {
            transform: translateX(6px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .timeline-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }

        .timeline-role {
            font-size: 1.35rem;
            color: var(--primary-color);
            font-weight: 700;
        }

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

        .timeline-date {
            margin-left: auto;
            font-size: 0.85rem;
            color: #fff;
            background: var(--secondary-color);
            padding: 0.25rem 0.85rem;
            border-radius: 20px;
            white-space: nowrap;
        }

        .timeline-card > p {
            color: #555;
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .timeline-highlights {
            list-style: none;
            display: grid;
            gap: 0.6rem;
        }

        .timeline-highlights li {
            position: relative;
            padding-left: 1.6rem;
            color: #555;
            line-height: 1.6;
        }

        .timeline-highlights li::before {
            content: '\f058';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 0.15rem;
            color: var(--secondary-color);
        }

        .timeline-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1.25rem;
        }

        .timeline-tech .tech-badge {
            background: white;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        }

        /* Skills Section */
        .skills {
            padding: 5rem 2rem;
            background: var(--bg-light);
        }

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

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

        .skill-category {
            background: var(--bg-light);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border-top: 4px solid var(--secondary-color);
        }

        .skill-category:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .skill-category h3 {
            font-size: 1.5rem;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .skill-category h3 i {
            font-size: 1.75rem;
            color: var(--secondary-color);
        }

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

        .skill-tag {
            background: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            color: var(--text-dark);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .skill-tag:hover {
            background: var(--secondary-color);
            color: white;
            transform: scale(1.05);
        }

        /* Projects Section */
        .projects {
            padding: 5rem 2rem;
            background: white;
        }

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

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .project-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
        }

        .project-header {
            padding: 2rem;
            background: var(--gradient-1);
            color: white;
        }

        .project-card:nth-child(2) .project-header {
            background: var(--gradient-2);
        }

        .project-card:nth-child(3) .project-header {
            background: var(--gradient-3);
        }

        .project-header h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .project-header .project-type {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .project-body {
            padding: 2rem;
        }

        .project-body p {
            color: #666;
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .tech-badge {
            background: var(--bg-light);
            padding: 0.25rem 0.75rem;
            border-radius: 12px;
            font-size: 0.85rem;
            color: var(--text-dark);
        }

        .project-links {
            display: flex;
            gap: 1rem;
        }

        .project-link {
            padding: 0.5rem 1.25rem;
            border-radius: 25px;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .project-link-primary {
            background: var(--secondary-color);
            color: white;
        }

        .project-link-primary:hover {
            background: var(--primary-color);
        }

        /* Education Section */
        .education {
            padding: 5rem 2rem;
            background: var(--bg-light);
        }

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

        .education-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .education-card {
            background: white;
            border-radius: 15px;
            padding: 1.75rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border-top: 4px solid var(--secondary-color);
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .education-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }

        .education-card .edu-icon {
            font-size: 1.75rem;
            color: var(--secondary-color);
            margin-bottom: 0.25rem;
        }

        .education-card h3 {
            font-size: 1.2rem;
            color: var(--primary-color);
            line-height: 1.4;
        }

        .education-card .edu-school {
            color: var(--secondary-color);
            font-weight: 600;
            font-size: 0.95rem;
        }

        .education-card .edu-date {
            color: #888;
            font-size: 0.85rem;
        }

        .education-card .edu-badge {
            display: inline-block;
            margin-top: 0.25rem;
            font-size: 0.75rem;
            font-weight: 600;
            color: #fff;
            background: var(--accent-color);
            padding: 0.2rem 0.7rem;
            border-radius: 12px;
            width: fit-content;
        }

        .education-card a.edu-link {
            color: var(--secondary-color);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            margin-top: 0.25rem;
        }

        .education-card a.edu-link:hover {
            text-decoration: underline;
        }

        /* Contact Section */
        .contact {
            padding: 5rem 2rem;
            background: var(--primary-color);
            color: white;
        }

        .contact .container {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .contact .section-title {
            color: white;
        }

        .contact .section-title::after {
            background: white;
        }

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

        .contact-content p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .social-link {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .social-link:hover {
            background: white;
            color: var(--primary-color);
            transform: translateY(-5px);
        }

        .contact-email {
            font-size: 1.5rem;
            color: white;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 2rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50px;
            transition: all 0.3s ease;
        }

        .contact-email:hover {
            background: white;
            color: var(--primary-color);
        }

        /* Footer */
        footer {
            background: #1a1a2e;
            color: rgba(255, 255, 255, 0.7);
            padding: 2rem;
            text-align: center;
        }

        /* Animations */
        @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);
            }
        }

        /* Responsive */
        @media (max-width: 968px) {
            .hero .container {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

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

            .about-content {
                grid-template-columns: 1fr;
            }

            nav ul {
                display: none;
            }

            .mobile-menu {
                display: block;
            }
        }

        @media (max-width: 768px) {
            .hero-content h1 {
                font-size: 2rem;
            }

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

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

            .hero-buttons {
                flex-direction: column;
            }

            .about-stats {
                grid-template-columns: 1fr;
            }
        }

.lang-switch { display: flex; gap: 0.35rem; align-items: center; }
        .lang-btn {
            border: 1px solid var(--secondary-color);
            background: transparent;
            color: var(--secondary-color);
            font-weight: 600;
            font-size: 0.8rem;
            padding: 0.25rem 0.6rem;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.25s ease;
            font-family: inherit;
        }
        .lang-btn:hover { background: rgba(52,152,219,0.12); }
        .lang-btn.active { background: var(--secondary-color); color: #fff; }
