        :root {
            --nav-color: #ffffff;
            --nav-hover-color: #0dd69a;
            --nav-scrolled-color: #212529;
            --nav-scrolled-hover: #09915e;
            --nav-font: 'Poppins', sans-serif;
            --logo-font: 'Playfair Display', serif;
        }

        /* --- HEADER STYLES --- */
        .header {
            transition: all 0.5s;
            z-index: 997;
            background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
        }

        .header .branding {
            padding: 20px 0;
            transition: all 0.5s;
        }

        .header.sticked {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
        }

        .header.sticked .branding {
            padding: 12px 0;
        }

        /* --- TOPBAR STYLES --- */
        .topbar {
            background-color: #09915e;
            color: #fff;
            font-size: 0.8125rem;
            padding: 8px 0;
            transition: all 0.3s;
        }

        .header.sticked .topbar {
            background-color: #09915e;
        }


        .topbar a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            transition: 0.3s;
        }

        .topbar a:hover {
            color: #fff;
            opacity: 1;
        }

        .topbar-left, .topbar-right {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            flex-shrink: 0;
        }

        .topbar-item {
            display: flex;
            align-items: center;
            margin-right: 20px;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .topbar-item:last-child {
            margin-right: 0;
        }

        .topbar-item i {
            margin-right: 6px;
            font-size: 0.875rem;
        }

        .topbar-socials a {
            width: 26px;
            height: 26px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 50%;
            margin-left: 8px;
            padding: 0;
        }
        
        .topbar-socials a i {
            margin-right: 0;
        }

        .topbar-socials a:hover {
            background: #fff;
            color: #09915e;
        }

        /* --- Logo --- */
        .logo h1 {
            font-size: clamp(1.25rem, 4vw, 1.75rem);
            margin: 0;
            font-weight: 700;
            font-family: var(--logo-font);
            color: var(--nav-color);
            letter-spacing: 1px;
            white-space: nowrap;
            transition: 0.3s;
        }

        .header.sticked .logo h1 {
            color: var(--nav-scrolled-color);
        }
        
        .logo img {
            max-height: 50px;
            margin-right: 10px;
        }
        
        @media (max-width: 575px) {
            .logo img { max-height: 40px; margin-right: 8px; }
        }

        /* --- Desktop Navigation --- */
        .navmenu {
            margin-left: auto;
            margin-right: 20px;
        }

        .navmenu ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navmenu li {
            position: relative;
        }

        .navmenu a, .navmenu a:focus {
            color: var(--nav-color);
            padding: 10px 15px;
            font-family: var(--nav-font);
            font-size: 0.9375rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
            text-decoration: none;
            position: relative;
        }

        .navmenu > ul > li > a::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 5px;
            width: 0;
            height: 2px;
            background: var(--nav-hover-color);
            transition: all 0.3s ease-in-out;
            transform: translateX(-50%);
        }

        .navmenu > ul > li > a:hover::after,
        .navmenu > ul > li > a.active::after {
            width: 70%;
        }

        .navmenu a:hover, .navmenu .active, .navmenu .active:focus {
            color: var(--nav-hover-color);
        }

        /* Desktop Dropdown Icon */
        .navmenu .toggle-dropdown {
            font-size: 0.75rem;
            line-height: 1;
            margin-left: 5px;
            width: 30px;
            height: 19px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: 0.3s;
            cursor: pointer;
        }
        
        .navmenu .toggle-dropdown::before {
            vertical-align: middle;
        }

        /* Sticked Header Colors */
        .header.sticked .navmenu a { color: var(--nav-scrolled-color); }
        .header.sticked .navmenu a:hover, .header.sticked .navmenu .active { color: var(--nav-scrolled-hover); }
        .header.sticked .navmenu > ul > li > a::after { background: var(--nav-scrolled-hover); }

        /* --- Language Switcher --- */
        .language-switcher-mobile .dropdown-toggle {
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 20px;
            padding: 5px 12px;
            font-size: 0.875rem;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            transition: all 0.3s;
        }

        .header.sticked .language-switcher-mobile .dropdown-toggle {
            border-color: #e0e0e0;
            background: white;
            color: #333;
        }

        /* Topbar Language Switcher */
        .topbar .language-switcher-header .dropdown-toggle {
            border: none;
            padding: 0;
            font-size: 0.8125rem;
            background: transparent;
            color: rgba(255, 255, 255, 0.9);
            transition: all 0.3s;
        }

        .topbar .language-switcher-header .dropdown-toggle:hover {
            color: #fff;
        }

        .topbar .language-switcher-header .dropdown-menu a {
            color: #333 !important;
        }
        
        .topbar .language-switcher-header .dropdown-menu a:hover {
            color: #09915e !important;
            background-color: #f8f9fa;
        }

        /* --- Mobile Nav Toggle Button (In Header) --- */
        .mobile-nav-toggle-btn {
            color: var(--nav-color);
            font-size: 1.75rem;
            cursor: pointer;
            line-height: 0;
            transition: 0.5s;
            margin-left: 0;
            margin-right: 8px;
            padding: 6px 10px;
            border-radius: 6px;
            z-index: 999;
        }
        
        .mobile-nav-toggle-btn:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }

        .header.sticked .mobile-nav-toggle-btn {
            color: var(--nav-scrolled-color);
        }
        
        .header.sticked .mobile-nav-toggle-btn:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        @media (max-width: 1199px) {
            .mobile-nav-toggle-btn {
                display: block;
            }
            /* Hide desktop nav */
            .navmenu {
                display: none; 
            }
        }

        /* --- MOBILE OFFCANVAS MENU (New) --- */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease-in-out;
            backdrop-filter: blur(4px);
        }

        .mobile-nav-wrapper {
            position: fixed;
            top: 0;
            right: -320px; /* Start off-screen */
            width: 320px;
            height: 100vh;
            background: #fff;
            z-index: 9999; /* Highest Z-Index */
            transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
            box-shadow: -5px 0 20px rgba(0,0,0,0.1);
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        /* Active State */
        body.mobile-nav-active {
            overflow: hidden; /* Prevent scrolling */
        }

        body.mobile-nav-active .mobile-nav-overlay {
            opacity: 1;
            visibility: visible;
        }

        body.mobile-nav-active .mobile-nav-wrapper {
            right: 0;
        }

        /* Mobile Menu Header */
        .mobile-nav-header {
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #eee;
            background: #f8f9fa;
        }

        .mobile-nav-header .logo-text {
            font-family: var(--logo-font);
            font-weight: 700;
            font-size: 1.5rem;
            color: #333;
        }

        .mobile-nav-close {
            font-size: 1.5rem;
            color: #666;
            cursor: pointer;
            transition: 0.3s;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .mobile-nav-close:hover {
            color: #dc3545;
            background: #fff0f0;
        }

        /* Mobile Menu Items */
        .mobile-nav-wrapper ul {
            list-style: none;
            padding: 0;
            margin: 0;
            width: 100%;
        }

        .mobile-nav-wrapper li {
            width: 100%;
            border-bottom: 1px solid #f5f5f5;
        }

        .mobile-nav-wrapper a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            color: #333;
            font-family: var(--nav-font);
            font-size: 1rem;
            text-decoration: none;
            transition: 0.3s;
        }

        .mobile-nav-wrapper a:hover, .mobile-nav-wrapper .active > a {
            color: var(--nav-hover-color);
            background: #f9f9f9;
            padding-left: 25px; /* Slide effect */
        }

        .mobile-nav-wrapper .toggle-dropdown {
            font-size: 0.875rem;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f0f0f0;
            border-radius: 50%;
        }

        /* Dropdown in Mobile - Smooth Accordion Animation */
        .mobile-nav-wrapper .dropdown ul {
            max-height: 0;
            overflow: hidden;
            background: #f8f9fa;
            padding-left: 0;
            position: static !important; /* Force static to push contents below down */
            width: 100% !important;
            opacity: 0;
            visibility: hidden;
            border: none;
            box-shadow: none;
            margin: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: block !important; /* Always block, use max-height for toggling */
        }
        
        .mobile-nav-wrapper .dropdown ul li a {
            padding-left: 35px;
            font-size: 0.875rem;
            color: #555;
            border-bottom: 1px solid #eee;
        }

        .mobile-nav-wrapper .dropdown.active > ul,
        .mobile-nav-wrapper .dropdown.dropdown-active > ul {
            max-height: 1500px; /* Large enough to fit any sub-menu */
            opacity: 1;
            visibility: visible;
            padding-top: 5px;
            padding-bottom: 5px;
        }

        /* Chevron Animation */
        .mobile-nav-wrapper .toggle-dropdown {
            transition: all 0.3s ease;
        }

        .mobile-nav-wrapper .dropdown.active > a .toggle-dropdown,
        .mobile-nav-wrapper .dropdown.dropdown-active > a .toggle-dropdown {
            transform: rotate(180deg);
            background: var(--nav-hover-color) !important;
            color: #fff !important;
        }

        /* --- Footer Styles (Minimal changes) --- */
        .footer { background: #212529; color: #fff; font-size: 0.875rem; position: relative; }
        /*.footer-wave { position: absolute; top: -50px; left: 0; width: 100%; height: 50px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23212529" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,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>') no-repeat center/cover; z-index: 1; }*/
        
        .footer a { color: rgba(255,255,255,0.8); text-decoration: none; transition: 0.3s; }
        .footer a:hover { color: #fff; }
        
        .footer-top { padding: 60px 0 30px; }
        
        .footer h4 { 
            color: #ffffff;
            font-size: 1rem;
            font-weight: bold; 
            padding-bottom: 12px; 
            margin-bottom: 15px; 
            position: relative; 
        }
        
        .footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 20px; height: 2px; background: #09915e; }
        
        /* Footer Links Specific Fix */
        .footer .footer-links ul li a,
        .footer .footer-links a { 
            color: rgba(255, 255, 255, 0.85) !important; 
            transition: 0.3s;
            display: inline-block;
        }
        
        .footer .footer-links ul li a:hover,
        .footer .footer-links a:hover { 
            color: #09915e !important; 
            padding-left: 5px; 
        }
        
        .footer .social-links a { display: flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; margin-right: 10px; color: rgba(255,255,255,0.8) !important; padding: 0 !important; }
        .footer .social-links a:hover { background: #09915e !important; border-color: #09915e !important; color: #fff !important; padding: 0 !important; }
        
        .copyright { padding: 25px 0; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }

        /* Responsive Footer */
        @media (max-width: 768px) {
            .footer .footer-about, 
            .footer .footer-links, 
            .footer .footer-contact {
                text-align: center;
                margin-bottom: 2rem;
            }
            
            .footer .social-links {
                justify-content: center;
                margin-top: 1.5rem;
            }
            
            .footer h4 {
                margin-top: 0.5rem;
            }
            
            /* Center the underline for headings */
            .footer h4::after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .footer .logo {
                justify-content: center;
            }
            
            .footer .footer-links ul li {
                justify-content: center;
            }
        }
        /* Prevent horizontal overflow globally */
        html, body {
            overflow-x: hidden;
            width: 100%;
            position: relative;
        }

        .topbar {
            overflow-x: clip; /* clips horizontal but allows absolute children to overflow vertically */
        }

        @media (max-width: 768px) {
            .topbar {
                padding: 4px 0;
            }
            .topbar-item {
                margin-right: 8px;
            }
            .topbar-socials a {
                margin-left: 4px;
                width: 22px;
                height: 22px;
            }
        }

        @media (max-width: 480px) {
            .topbar-item {
                margin-right: 6px;
                font-size: 0.6875rem;
            }
            .topbar .language-switcher-header .dropdown-toggle {
                font-size: 0.6875rem;
            }
            /* Kichik ekranlarda social ikonkalarning gap ini kamaytirish */
            .topbar-socials a {
                margin-left: 3px;
                width: 20px;
                height: 20px;
                font-size: 0.625rem;
            }
        }

        @media (max-width: 360px) {
            /* Juda kichik ekranlarda social ikonkalarni yashirish */
            .topbar-socials {
                display: none !important;
            }
        }

        /* ===== GLOBAL SECTION SPACING ===== */
        .section {
            padding-top: 80px;
            padding-bottom: 80px;
        }

        @media (max-width: 991px) {
            .section {
                padding-top: 60px;
                padding-bottom: 60px;
            }
        }

        @media (max-width: 576px) {
            .section {
                padding-top: 48px;
                padding-bottom: 48px;
            }
        }
        /* =================================== */

        /* ===== GLOBAL SECTION TITLE ===== */
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-title h2 {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            font-size: clamp(1.4rem, 3vw, 2.2rem);
            font-weight: 700;
            color: #212529;
            white-space: normal;
            word-break: break-word;
        }

        .section-title h2::before,
        .section-title h2::after {
            content: '';
            flex: 0 0 40px;
            height: 3px;
            background: linear-gradient(90deg, #09915e, #0dd69a);
            border-radius: 2px;
            align-self: center;
        }

        @media (max-width: 576px) {
            .section-title h2 {
                font-size: clamp(1.1rem, 5vw, 1.4rem);
                gap: 0.5rem;
            }
            .section-title h2::before,
            .section-title h2::after {
                flex: 0 0 24px;
            }
        }
        /* ================================ */
