/**
 * Modern Design CSS - Hendrie Template Style
 * Dachala.uz uchun to'liq yangi dizayn
 * Hendrie dizaynini to'liq qo'llash
 * Reference: https://bslthemes.com/html/hendrie/default/index-particles.html
 * 
 * IMPORTANT: Bu fayl HAR DOIM yuklanadi va barcha eski stillarni override qiladi
 */

/* ============================================
   BASE RESET - HENDRIE DESIGN
   ============================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #0a0a0a;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    background: #0a0a0a !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Hide old header styles completely */
header:not(.hendrie-header) {
    display: none !important;
}

/* ============================================
   HENDRIE HEADER
   ============================================ */

header.hendrie-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    transition: backdrop-filter 0.3s ease, background-color 0.3s ease !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

header.hendrie-header .hendrie-header-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 1.5rem 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: transparent !important;
}

header.hendrie-header .hendrie-logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: opacity 0.3s !important;
}

header.hendrie-header .hendrie-logo:hover {
    opacity: 0.8 !important;
}

header.hendrie-header .hendrie-logo-img {
    height: 40px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
}

header.hendrie-header .hendrie-menu .top-menu {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

header.hendrie-header .hendrie-menu .top-menu > li > a {
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    color: #fff !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    transition: color 0.3s !important;
    position: relative !important;
    background: transparent !important;
    font-family: 'Inter', sans-serif !important;
}

header.hendrie-header .hendrie-menu .top-menu > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #ff6b6b;
    transition: width 0.3s;
}

header.hendrie-header .hendrie-menu .top-menu > li > a:hover,
header.hendrie-header .hendrie-menu .top-menu > li.active > a {
    color: #ff6b6b !important;
}

header.hendrie-header .hendrie-menu .top-menu > li > a:hover::before,
header.hendrie-header .hendrie-menu .top-menu > li.active > a::before {
    width: 60%;
}

/* Mobile Menu Button */
header.hendrie-header .hendrie-mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

header.hendrie-header .hendrie-mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

/* ============================================
   HENDRIE HERO SECTION
   ============================================ */

.hendrie-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
}

.hendrie-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hendrie-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hendrie-hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hendrie-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(10px) brightness(0.25);
    -webkit-filter: blur(10px) brightness(0.25);
    transform: scale(1.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
}

.hendrie-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hendrie-hero-text {
    width: 100%;
    animation: fadeInUp 1s ease;
}

.hendrie-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hendrie-hero-slogan {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    font-weight: 400;
    line-height: 1.6;
    margin: 1.5rem 0 0 0;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    text-transform: none;
    letter-spacing: 0.02em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hendrie-hero-subtitle {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-bottom: 0.5rem;
}

.hendrie-hero-location {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 2rem;
}

.hendrie-cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: #ffffff;
    font-weight: 300;
    margin-left: 0.2em;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hendrie-hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.hendrie-hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hendrie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.hendrie-btn-primary {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
}

.hendrie-btn-primary:hover {
    background: #ff5252;
    border-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.hendrie-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hendrie-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.hendrie-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: 'Inter', sans-serif;
    animation: bounce 2s infinite;
}

.hendrie-scroll-indicator i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   HENDRIE SECTIONS
   ============================================ */

.hendrie-section {
    padding: 6rem 0;
    position: relative;
}

.hendrie-districts-section .hendrie-section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    margin-top: 0;
    color: #000000;
    position: relative;
    padding-bottom: 0;
    letter-spacing: -0.02em;
}

.hendrie-districts-section .hendrie-section-title::after {
    display: none;
}

.hendrie-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #ff6b6b;
}

.hendrie-what-we-do {
    background: #1a1a1a;
}

.hendrie-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.hendrie-service-card {
    background: #0a0a0a;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hendrie-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.hendrie-service-card:hover::before {
    left: 100%;
}

.hendrie-service-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b6b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hendrie-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border: 2px solid #ff6b6b;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hendrie-service-card:hover .hendrie-service-icon {
    background: #ff6b6b;
    transform: rotate(5deg) scale(1.1);
}

.hendrie-service-icon i {
    font-size: 2rem;
    color: #ff6b6b;
    transition: all 0.3s ease;
}

.hendrie-service-card:hover .hendrie-service-icon i {
    color: #fff;
}

.hendrie-service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.hendrie-service-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

.hendrie-map-section {
    background: #1a1a1a;
}

.hendrie-map-container {
    margin-top: 2rem;
}

.hendrie-map-container .map-block {
    width: 100%;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hendrie-filter-section {
    background: #0a0a0a;
}

.hendrie-filter-container {
    margin-top: 2rem;
}

.hendrie-content-section {
    background: #1a1a1a;
}

.hendrie-content {
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.hendrie-content h1,
.hendrie-content h2,
.hendrie-content h3,
.hendrie-content h4 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.hendrie-content p {
    margin-bottom: 1rem;
}

.hendrie-content a {
    color: #ff6b6b;
    text-decoration: none;
}

.hendrie-content a:hover {
    text-decoration: underline;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    header.hendrie-header {
        background: transparent !important;
    }
    
    header.hendrie-header .hendrie-header-container {
        padding: 1rem 1.5rem;
    }
    
    header.hendrie-header .hendrie-logo {
        font-size: 1.25rem;
    }
    
    header.hendrie-header .hendrie-mobile-menu-btn {
        display: flex;
    }
    
    header.hendrie-header .hendrie-menu {
        display: none;
    }
    
    .hendrie-hero {
        min-height: 100vh;
        height: 100vh;
    }
    
    .hendrie-hero-title {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }
    
    .hendrie-hero-subtitle {
        font-size: clamp(1.2rem, 6vw, 2rem);
    }
    
    .hendrie-hero-location {
        font-size: clamp(1rem, 5vw, 1.8rem);
    }
    
    .hendrie-hero-bg {
        filter: blur(8px) brightness(0.2);
        -webkit-filter: blur(8px) brightness(0.2);
    }
    
    .hendrie-section {
        padding: 4rem 0;
    }
    
    .hendrie-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hendrie-hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hendrie-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hendrie-hero-content {
        padding: 0 1rem;
    }
    
    .hendrie-service-card {
        padding: 2rem;
    }
}

/* ============================================
   FORCE TRANSPARENT HEADER - MAXIMUM PRIORITY
   ============================================ */

header.hendrie-header,
header.hendrie-header::before,
header.hendrie-header::after,
header.hendrie-header *,
header.hendrie-header *::before,
header.hendrie-header *::after {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

header.hendrie-header {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    transition: backdrop-filter 0.3s ease, background-color 0.3s ease !important;
}

/* Header scroll blur effect */
header.hendrie-header.scrolled {
    backdrop-filter: blur(10px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

header.hendrie-header.scrolled .hendrie-header-container {
    background: transparent !important;
}

/* Menu text color on scroll - to'q gray */
header.hendrie-header.scrolled .hendrie-menu .top-menu > li > a {
    color: #1a202c !important;
}

header.hendrie-header.scrolled .hendrie-menu .top-menu > li > a:hover,
header.hendrie-header.scrolled .hendrie-menu .top-menu > li.active > a {
    color: #0f172a !important;
}

/* ============================================
   HENDRIE LANGUAGE SELECTOR
   ============================================ */

header.hendrie-header .hendrie-lang-wrapper {
    display: flex;
    align-items: center;
}

header.hendrie-header .hendrie-lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header.hendrie-header .hendrie-lang-current {
    font-size: 0.75rem;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

header.hendrie-header .hendrie-lang-list {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

header.hendrie-header .hendrie-lang-list li {
    margin: 0;
    padding: 0;
}

header.hendrie-header .hendrie-lang-list a {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s;
    position: relative;
}

header.hendrie-header .hendrie-lang-list a:hover {
    color: #fff;
}

header.hendrie-header .hendrie-lang-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff6b6b;
    transition: width 0.3s;
}

header.hendrie-header .hendrie-lang-list a:hover::after {
    width: 100%;
}

/* ============================================
   POPULAR DISTRICTS SECTION - Rasmdagidek
   ============================================ */

.hendrie-districts-section {
    padding: 6rem 0;
    background: #ffffff;
    width: 100%;
    overflow-x: hidden;
}

.hendrie-districts-section .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 1rem;
    box-sizing: border-box;
}

.hendrie-districts-section .hendrie-section-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
    text-align: center;
    margin: 0 auto 3rem;
    max-width: 700px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.hendrie-districts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
    box-sizing: border-box;
}

/* Tepadagi 2 ta katta blok - birinchi qator */
.hendrie-districts-grid > .hendrie-district-card-large:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.hendrie-districts-grid > .hendrie-district-card-large:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

/* Agar 3 ta kichik blok bo'lsa - ikkinchi qator 3 ta teng ustun */
.hendrie-districts-grid.hendrie-districts-grid-has-three-small {
    grid-template-columns: 2fr 1fr 1fr;
}

.hendrie-districts-grid.hendrie-districts-grid-has-three-small > .hendrie-district-card-large:nth-child(1) {
    grid-column: 1 / 2;
}

.hendrie-districts-grid.hendrie-districts-grid-has-three-small > .hendrie-district-card-large:nth-child(2) {
    grid-column: 2 / 4;
}

.hendrie-districts-grid.hendrie-districts-grid-has-three-small > .hendrie-district-card-small:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.hendrie-districts-grid.hendrie-districts-grid-has-three-small > .hendrie-district-card-small:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.hendrie-districts-grid.hendrie-districts-grid-has-three-small > .hendrie-district-card-small:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

/* Agar faqat 2 ta kichik blok bo'lsa */
.hendrie-districts-grid:not(.hendrie-districts-grid-has-three-small) > .hendrie-district-card-small:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.hendrie-districts-grid:not(.hendrie-districts-grid-has-three-small) > .hendrie-district-card-small:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.hendrie-district-card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hendrie-district-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.hendrie-district-card-large {
    aspect-ratio: 1.2 / 1;
    min-height: 300px;
    height: 100%;
    width: 100%;
}

.hendrie-district-card-small {
    aspect-ratio: 1.2 / 1;
    min-height: 300px;
    height: 100%;
    width: 100%;
}

.hendrie-district-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hendrie-district-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: #fff;
}

.hendrie-district-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Inter', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hendrie-district-card-small .hendrie-district-name {
    font-size: 1.125rem;
}

.hendrie-district-count {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    margin-top: 0.25rem;
}

.hendrie-district-flag {
    width: 32px;
    height: 24px;
    border-radius: 2px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hendrie-districts-section .container {
        padding: 0 1rem;
    }
    
    .hendrie-districts-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }
    
    .hendrie-districts-grid > .hendrie-district-card-large:nth-child(1),
    .hendrie-districts-grid > .hendrie-district-card-large:nth-child(2),
    .hendrie-districts-grid > .hendrie-district-card-small:nth-child(3),
    .hendrie-districts-grid > .hendrie-district-card-small:nth-child(4),
    .hendrie-districts-grid > .hendrie-district-card-small:nth-child(5) {
        grid-column: 1;
        grid-row: auto;
        max-width: 100%;
        width: 100%;
    }
    
    .hendrie-districts-grid.hendrie-districts-grid-has-three-small {
        grid-template-columns: 1fr;
    }
    
    .hendrie-districts-grid.hendrie-districts-grid-has-three-small > .hendrie-district-card-small:nth-child(3),
    .hendrie-districts-grid.hendrie-districts-grid-has-three-small > .hendrie-district-card-small:nth-child(4),
    .hendrie-districts-grid.hendrie-districts-grid-has-three-small > .hendrie-district-card-small:nth-child(5) {
        grid-column: 1;
    }
    
    .hendrie-district-card-large {
        aspect-ratio: 1.5 / 1;
        min-height: 50px;
    }
    
    .hendrie-district-card-small {
        aspect-ratio: 1.2 / 1;
        min-height: 23px;
    }
    
    .hendrie-district-name {
        font-size: 1.5rem;
    }
    
    .hendrie-district-card-small .hendrie-district-name {
        font-size: 1rem;
    }
    
    .hendrie-district-flag {
        width: 24px;
        height: 18px;
    }
    
    .hendrie-districts-section .hendrie-section-title {
        color: #000000;
    }
    
    .hendrie-section-subtitle {
        color: #333333;
    }
}

/* ============================================
   STANDART ZAMONAVIY TIL TANLASH
   ============================================ */

header.hendrie-header .lang-selector {
    position: relative;
    display: inline-block;
}

header.hendrie-header .lang-selector-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    user-select: none;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

header.hendrie-header .lang-selector-current:hover {
    color: rgba(255, 255, 255, 0.8);
}

header.hendrie-header .lang-selector-current svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s;
    color: currentColor;
}

header.hendrie-header .lang-selector-dropdown.active ~ .lang-selector-current svg,
header.hendrie-header .lang-selector-current:active svg {
    transform: rotate(180deg);
}

header.hendrie-header .lang-selector-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 120px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

header.hendrie-header .lang-selector-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

header.hendrie-header .lang-selector-dropdown li {
    margin: 0;
    padding: 0;
}

header.hendrie-header .lang-selector-dropdown a {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

header.hendrie-header .lang-selector-dropdown a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile uchun */
@media (max-width: 768px) {
    header.hendrie-header .lang-selector {
        margin-left: auto;
    }
    
    header.hendrie-header .lang-selector-dropdown {
        right: 0;
        left: auto;
    }
}
