        :root {
            --primary-color: #0a1628;
            --secondary-color: #1e3a8a;
            --accent-color: #3b82f6;
            --light-blue: #dbeafe;
            --text-color: #374151;
            --text-light: #6b7280;
            --bg-color: #ffffff;
            --card-bg: #f8fafc;
            --border-color: #e5e7eb;
            --shadow-light: rgba(0, 0, 0, 0.05);
            --shadow-medium: rgba(0, 0, 0, 0.1);
            --navbar-bg: rgba(255, 255, 255, 0.95);
            --navbar-scrolled: rgba(255, 255, 255, 0.98);
        }

        [data-theme="dark"] {
            --primary-color: #f8fafc;
            --secondary-color: #60a5fa;
            --accent-color: #3b82f6;
            --light-blue: #1e293b;
            --text-color: #e2e8f0;
            --text-light: #cbd5e1;
            --bg-color: #0f172a;
            --card-bg: #1e293b;
            --border-color: #334155;
            --shadow-light: rgba(0, 0, 0, 0.3);
            --shadow-medium: rgba(0, 0, 0, 0.4);
            --navbar-bg: rgba(15, 23, 42, 0.95);
            --navbar-scrolled: rgba(15, 23, 42, 0.98);
        }

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

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
            transition: all 0.3s ease;
            overflow-x: hidden;
        }

        [data-theme="dark"] body {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
            background-attachment: fixed;
        }

        .fade-in {
            animation: fadeInUp 0.8s ease-out forwards;
            opacity: 0;
            transform: translateY(20px);
        }

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

        .navbar {
            background: var(--navbar-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            padding: 1rem 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            background: var(--navbar-scrolled);
            box-shadow: 0 4px 20px var(--shadow-medium);
            padding: 0.75rem 0;
        }

        .navbar-brand {
            font-weight: 700;
            color: var(--primary-color) !important;
            font-size: 1.5rem;
            transition: color 0.3s ease;
        }

        .nav-link {
            color: var(--text-color) !important;
            font-weight: 500;
            margin: 0 0.5rem;
            padding: 0.5rem 1rem !important;
            border-radius: 12px;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link:hover {
            color: var(--accent-color) !important;
            background: rgba(59, 130, 246, 0.05);
            transform: translateY(-1px);
        }

        .theme-toggle, .lang-toggle {
            background: var(--card-bg);
            border: 2px solid var(--border-color);
            color: var(--text-color);
            padding: 0.6rem;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-left: 0.5rem;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .theme-toggle:hover, .lang-toggle:hover {
            color: var(--accent-color);
            border-color: var(--accent-color);
            transform: scale(1.05);
        }

        .hero-section {
            padding: 100px 0 30px;
            background: linear-gradient(135deg, var(--light-blue) 0%, var(--bg-color) 50%, var(--light-blue) 100%);
            position: relative;
            text-align: left;
            margin-bottom: 50px;
        }

        .hero-content {
            max-width: 700px;
            margin-left: 0;
            margin-right: auto;
        }

        .hero-title {
            font-size: 4.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 8px var(--shadow-medium);
            text-align: left; 
        }

        .hero-subtitle {
            font-size: 1.8rem;
            color: var(--secondary-color);
            font-weight: 500;
            margin-bottom: 0.2rem;
            text-align: left; 
        }

        .cv-download-btn {
            background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
            margin-top: 2rem;
            min-height: 50px;
        }

        .cv-download-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
            color: white;
            text-decoration: none;
        }

        .cv-download-btn i {
            font-size: 1.2rem;
        }

        .about-image {
            width: 400px;                
            height: 400px;               
            object-fit: cover;           
            border-radius: 50%;          
            box-shadow: 0 10px 30px var(--shadow-medium);
            transition: transform 0.3s, box-shadow 0.3s;
            display: block;
            margin: 0 auto;              
        }

        .about-image:hover {
            transform: scale(1.02);
            box-shadow: 0 25px 50px var(--shadow-medium);
        }

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

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
            border-radius: 2px;
        }

        .skills-carousel {
            position: relative;
            overflow: hidden;
            padding: 60px 0;
        }

        .skills-container {
            display: flex;
            transition: transform 0.5s ease;
            gap: 2rem;
        }

        .skill-card {
            min-width: 380px;
            background: var(--card-bg);
            border-radius: 24px;
            padding: 2.5rem;
            box-shadow: 0 10px 30px var(--shadow-light);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--border-color);
            position: relative;
        }

        .skill-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px var(--shadow-medium);
        }

        .skill-card h4 {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 1.5rem;
            font-size: 1.4rem;
        }

        .skill-card p {
            color: var(--text-light);
            line-height: 1.7;
        }

        .skill-icon {
            font-size: 3.5rem;
            color: var(--accent-color);
            margin-bottom: 1.5rem;
            display: block;
            text-align: center;
        }

        .carousel-nav {
            text-align: center;
            margin-top: 3rem;
        }

        .carousel-arrow {
            background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
            color: white;
            border: none;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin: 0 0.75rem;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-arrow:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
        }

        .experience-section {
            padding: 100px 0;
            background: var(--light-blue);
        }

        .experience-carousel {
            position: relative;
            overflow: hidden;
            padding: 60px 0;
        }

        .experience-container {
            display: flex;
            transition: transform 0.5s ease;
            gap: 3rem;
        }

        .experience-container > .experience-card:first-child{
            margin-left: 48px;   
        }

        .experience-card {
            min-width: 45%;
            flex: 0 0 45%;
        }

        .experience-item {
            background: var(--bg-color);
            border-radius: 24px;
            padding: 2.5rem;
            box-shadow: 0 10px 30px var(--shadow-light);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--border-color);
            height: 100%;
        }

        .experience-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px var(--shadow-medium);
        }

        .company-logo {
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.8rem;
            font-weight: 700;
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2.5rem;
            padding: 60px 0;
        }

        .skills-container > .skill-card:first-child {
            margin-left: 60px;  
        }

        .skill-item {
            background: var(--card-bg);
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--border-color);
        }

        .skill-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px var(--shadow-medium);
        }

        .skill-item .skill-icon {
            font-size: 3.5rem;
            color: var(--accent-color);
            margin-bottom: 1.5rem;
        }

        .contact-section {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--light-blue) 0%, var(--bg-color) 50%, var(--light-blue) 100%);
            position: relative;
        }

        .contact-title {
            text-align: center;
            margin-bottom: 4rem;
        }

        .contact-subtitle {
            text-align: center;
            font-size: 1.3rem;
            margin-bottom: 5rem;
            color: var(--text-light);
        }

        .contact-cards-container {
            display: flex;
            flex-wrap: wrap;
            gap: 2.5rem;
            justify-content: center;
            align-items: stretch;
        }

        .contact-card {
            background: var(--card-bg);
            border-radius: 24px;
            padding: 2.5rem;
            box-shadow: 0 10px 30px var(--shadow-light);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--border-color);
            flex: 1;
            min-width: 320px;
            max-width: 420px;
            text-align: center;
        }

        .contact-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px var(--shadow-medium);
        }

        .contact-icon-wrapper {
            width: 90px;
            height: 90px;
            margin: 0 auto 2rem;
            background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
        }

        .contact-card:hover .contact-icon-wrapper {
            transform: scale(1.1);
        }

        .contact-card-icon {
            font-size: 2.2rem;
            color: white;
        }

        .contact-card h4 {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 1.5rem;
            font-size: 1.4rem;
        }

        .contact-info {
            font-size: 1.1rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
        }

        .contact-link {
            color: var(--accent-color);
            text-decoration: none;
            transition: color 0.3s ease;
            display: inline-block;
            position: relative;
        }

        .contact-link::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
            transition: width 0.3s ease;
        }

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

        .contact-link:hover {
            color: var(--secondary-color);
        }

        .contact-location {
            color: var(--text-color);
            font-weight: 600;
            font-size: 1.1rem;
        }

        .contact-description {
            color: var(--text-light);
            font-size: 1rem;
            margin-top: 1rem;
            line-height: 1.6;
        }

        .footer {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 3rem 0;
        }

        [data-theme="dark"] .footer {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        }

        .social-links a {
            color: white;
            font-size: 1.8rem;
            margin: 0 1rem;
            transition: all 0.3s ease;
            padding: 0.5rem;
            border-radius: 50%;
            display: inline-block;
        }

        .social-links a:hover {
            color: var(--accent-color);
            transform: translateY(-3px) scale(1.1);
        }

        .social-links .hf-icon {
            width: 28px;
            height: 28px;
            object-fit: contain;
            transition: all .3s ease;
        }

        .social-links a:hover .hf-icon {
            transform: translateY(-3px) scale(1.1);
            filter: brightness(1.2) saturate(1.3);
        }
        
        .footer-social {
            display: inline-block;
            text-align: right;
        }

        .footer-social-title {
            margin-bottom: 0.5rem;
            color: #fff;
            letter-spacing: 0.01em;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.02); }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 0.5rem 0;
            }
            
            .navbar-brand {
                font-size: 1.2rem;
            }
            
            .theme-toggle, .lang-toggle {
                width: 40px;
                height: 40px;
                margin-left: 0.25rem;
            }
            
            .navbar-toggler {
                border: none;
                padding: 0.25rem;
            }
            
            .navbar-toggler:focus {
                box-shadow: none;
            }
            
            .navbar-nav {
                text-align: center;
                margin-top: 1rem;
            }
            
            .nav-link {
                margin: 0.25rem 0;
                padding: 0.75rem 1rem !important;
                border-radius: 8px;
                font-size: 1rem;
            }
            
            .hero-section {
                padding: 80px 0 20px;
                text-align: center;
            }
            
            .hero-content {
                max-width: 100%;
                margin: 0 auto;
                padding: 0 1rem;
            }
            
            .hero-title {
                font-size: 2.5rem;
                margin-bottom: 1rem;
                line-height: 1.2;
                text-align: center;
            }
            
            .hero-subtitle {
                font-size: 1.3rem;
                margin-bottom: 1.5rem;
                text-align: center;
            }
            
            .cv-download-btn {
                padding: 0.875rem 1.5rem;
                font-size: 1rem;
                margin-top: 2.5rem;
                width: auto;
                min-height: 48px;
            }
            
            .section-title {
                font-size: 2rem;
                margin-bottom: 1.5rem;
            }
            
            .about-section {
                padding: 60px 0;
            }
            
            .about-section .row {
                flex-direction: column-reverse;
            }
            
            .about-section .col-lg-6:first-child {
                margin-top: 3rem;
            }
            
            .about-image {
                width: 280px;
                height: 280px;
                margin-bottom: 1rem;
            }
            
            .cv-download-btn {
                margin-top: 2.5rem;
            }
            
            .skills-carousel {
                padding: 40px 0;
                overflow: hidden;
            }
            
            .skills-container {
                gap: 0;
                padding-left: 0;
                margin-left: 0;
            }
            
            .skills-container > .skill-card:first-child {
                margin-left: 0;
            }
            
            .skill-card {
                min-width: calc(100vw - 2rem);
                padding: 2rem 1.5rem;
                margin: 0 1rem 0 0;
            }
            
            .skill-card h4 {
                font-size: 1.25rem;
                margin-bottom: 1rem;
            }
            
            .skill-card p {
                font-size: 0.95rem;
                line-height: 1.6;
            }
            
            .skill-icon {
                font-size: 2.5rem;
                margin-bottom: 1rem;
            }
            
            .carousel-nav {
                margin-top: 2rem;
            }
            
            .carousel-arrow {
                width: 50px;
                height: 50px;
                margin: 0 0.5rem;
                font-size: 1.1rem;
            }
            
            .experience-section {
                padding: 60px 0;
            }
            
            .experience-carousel {
                padding: 40px 0;
                overflow: hidden;
            }
            
            .experience-container {
                gap: 0;
                padding-left: 0;
                margin-left: 0;
            }
            
            .experience-container > .experience-card:first-child {
                margin-left: 0;
            }
            
            .experience-card {
                min-width: calc(100vw - 2rem);
                flex: 0 0 calc(100vw - 2rem);
                margin: 0 1rem 0 0;
            }
            
            .experience-item {
                padding: 2rem 1.5rem;
            }
            
            .experience-item h4 {
                font-size: 1.25rem;
                margin-bottom: 0.75rem;
            }
            
            .experience-item .lead {
                font-size: 1.1rem;
                margin-bottom: 1rem;
            }
            
            .experience-item p {
                font-size: 0.95rem;
                line-height: 1.6;
            }
            
            .skills-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding: 40px 0;
            }
            
            .skill-item {
                padding: 1.5rem;
            }
            
            .skill-item h5 {
                font-size: 1.1rem;
                margin: 1rem 0 0.5rem;
            }
            
            .skill-item p {
                font-size: 0.9rem;
            }
            
            .skill-item .skill-icon {
                font-size: 2.5rem;
                margin-bottom: 1rem;
            }
            
            .contact-section {
                padding: 60px 0;
            }
            
            .contact-title {
                margin-bottom: 2rem;
            }
            
            .contact-subtitle {
                font-size: 1.1rem;
                margin-bottom: 3rem;
                padding: 0 1rem;
            }
            
            .contact-cards-container {
                flex-direction: column;
                gap: 2rem;
                padding: 0 1rem;
            }
            
            .contact-card {
                min-width: 100%;
                max-width: 100%;
                padding: 2rem;
            }
            
            .contact-icon-wrapper {
                width: 70px;
                height: 70px;
                margin: 0 auto 1.5rem;
            }
            
            .contact-card-icon {
                font-size: 1.8rem;
            }
            
            .contact-card h4 {
                font-size: 1.2rem;
                margin-bottom: 1rem;
            }
            
            .contact-info {
                font-size: 1rem;
                margin-bottom: 1rem;
            }
            
            .contact-description {
                font-size: 0.9rem;
            }
            
            .footer {
                padding: 2rem 0;
            }
            
            .footer .row {
                text-align: center;
            }
            
            .footer .col-md-6:first-child {
                margin-bottom: 1rem;
            }
            
            .social-links {
                text-align: center !important;
            }
            
            .social-links a {
                font-size: 1.5rem;
                margin: 0 0.75rem;
                padding: 0.4rem;
            }
            
            .social-links .hf-icon {
                width: 24px;
                height: 24px;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 2rem;
                line-height: 1.1;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .section-title {
                font-size: 1.75rem;
            }
            
            .about-image {
                width: 240px;
                height: 240px;
            }
            
            .skill-card, .experience-card {
                min-width: calc(100vw - 2rem);
            }
            
            .contact-card {
                padding: 1.5rem;
            }
            
            .cv-download-btn {
                padding: 0.75rem 1.25rem;
                font-size: 0.95rem;
            }
            
            .carousel-arrow {
                width: 45px;
                height: 45px;
                font-size: 1rem;
            }
        }

        @media (max-width: 768px) {
            .skills-carousel,
            .experience-carousel {
                touch-action: pan-x;
                -webkit-overflow-scrolling: touch;
            }
            
            .skills-container,
            .experience-container {
                scroll-snap-type: x mandatory;
            }
            
            .skill-card,
            .experience-card {
                scroll-snap-align: start;
            }
        }
        
        @media (max-width: 768px) {
            .skills-container,
            .experience-container {
                gap: 0;              
                padding-left: 0;
            }

            .skill-card,
            .experience-card {
                flex: 0 0 100%;      
                min-width: 100%;     
                margin: 0;           
            }
        }

        @media (max-width: 768px) {
            ::-webkit-scrollbar {
                width: 4px;
                height: 4px;
            }
            
            ::-webkit-scrollbar-track {
                background: transparent;
            }
            
            ::-webkit-scrollbar-thumb {
                background: var(--accent-color);
                border-radius: 2px;
            }
        }