/* ---- Umumiy Stillar ---- */
body { margin: 0; font-family: 'Inter', sans-serif; background-color: #1a1a1a;}
header { background-color: #1a1a1a; position: relative; }
header::after { content: ""; display: block; height: 2px; background-color: #cfa77d; width: 100%; }
.navbar { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; color: white; font-weight: 600; font-size: 18px; }
.logo img { height: 35px; margin-right: 10px; }

/* ---- Desktop Menyu ---- */
.desktop-menu { display: flex; gap: 25px; align-items: center; }
.desktop-menu a { text-decoration: none; font-size: 13px; }

/* ---- Mobil Menyu ---- */
.mobile-header-controls { display: none; align-items: center; gap: 15px; }
.mobile-toggle { display: flex; flex-direction: column; cursor: pointer; gap: 4px; }
.mobile-toggle span { width: 25px; height: 3px; background: white; }
.mobile-menu { display: none; flex-direction: column; width: 100%; background: #1a1a1a; margin-top: 10px; padding: 10px 0; border-top: 1px solid #333; }
.mobile-menu a { padding: 10px 20px; text-decoration: none; font-size: 16px; }
.mobile-menu.active { display: flex; }
.mobile-phone { margin: 10px 20px; width: fit-content; }

/* ---- Jilolanuvchi Oltin Tugma Stili ---- */
.btn-golden {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, #F8E08E, #cfa77d, #A87B3F);
    border: 1px solid #a87b3f;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-golden::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 80%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
}
.btn-golden:hover::before {
    left: 150%;
    transition: left 0.8s ease-in-out;
}
.btn-golden:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

/* ---- Jilolanuvchi Oltin Havola Stili ---- */
.nav-link-golden {
    font-weight: 600;
    background: linear-gradient(90deg, #F8E08E, #cfa77d, #A87B3F, #cfa77d, #F8E08E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 250% 100%;
    background-position: 0 0;
    transition: background-position 0.7s ease;
}
.nav-link-golden:hover {
    background-position: -150% 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* ---- Tilni Tanlash Dropdown Stili ---- */
.lang-switcher { position: relative; }
.lang-switcher__current { background: none; border: 1px solid #fff; color: white; padding: 8px 15px; font-size: 14px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background-color 0.2s; }
.lang-switcher__current:hover { background-color: #333; }
.lang-switcher__current svg { width: 12px; height: 12px; fill: white; transition: transform 0.2s; }
.lang-switcher.active .lang-switcher__current svg { transform: rotate(180deg); }
.lang-switcher__options { display: none; position: absolute; top: calc(100% + 5px); right: 0; background-color: #1a1a1a; border: 1px solid #333; border-radius: 6px; padding: 5px; min-width: 120px; z-index: 10; }
.lang-switcher.active .lang-switcher__options { display: block; }
.lang-switcher__option { display: block; color: white; text-decoration: none; padding: 8px 12px; border-radius: 4px; font-size: 14px; }
.lang-switcher__option:hover { background: linear-gradient(145deg, #d4af37, #a67c00); }

/* ---- Moslashuvchanlik (Responsiveness) ---- */
@media (max-width: 768px) {
    .desktop-menu, .desktop-phone.btn-golden { display: none; }
    .mobile-header-controls { display: flex; }
}
@media (min-width: 769px) {
    .mobile-header-controls, .mobile-menu { display: none !important; }
}

.logo a {
    display: flex; /* Rasmning to'g'ri joylashishi uchun */
    align-items: center;
}

/* ---- Jilolanuvchi Logotip Stili ---- */
.logo-link {
    display: inline-block; /* Effekt to'g'ri ishlashi uchun */
    position: relative;
    overflow: hidden; /* Chegaradan tashqaridagi effektni yashirish */
}

.logo-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 80%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: left 0.8s ease-in-out;
}

.logo-link:hover::before {
    left: 150%;
}

/* ---- Bosh Ekran Stili (Hero Section) ---- */

.hero-section {
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)), url('images/london-background.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0 200px 0; /* Pastki paddingni qirqim uchun joy qoldirib, oshiramiz */
    color: #ffffff;
    
    /* YANGI QO'SHIMCHA: Qiya qirqim effekti */
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

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

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Chap tomon stillari */
.hero-content {
    flex: 1; /* Mavjud bo'sh joyni egallaydi */
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 40px;
    max-width: 600px; /* Sarlavha kengligini cheklash */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 setka */
    gap: 20px;
    margin-bottom: 40px;
    max-width: 500px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    
    /* Shisha effekti (Glassmorphism) */
    background-color: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px); /* Safari uchun */
    backdrop-filter: blur(10px); /* Asosiy */
    
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    min-height: 50px; /* O'lchamlarni bir xil qilish uchun */
    
    transition: all 0.3s ease; /* Hover effektini silliq qilish uchun */
}

.feature-item:hover {
    transform: translateY(-5px); /* Biroz yuqoriga ko'tarilish */
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.5); /* Tilla rangli chegara */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* Soya effekti */
}

.feature-item img {
    width: 32px; /* Ikonka o'lchami */
    height: 32px;
}

.feature-item p {
    margin: 0;
    font-size: 14px;
}

/* .hero-buttons {
    display: flex;
    gap: 20px;
} */

/* Ikkinchi darajali tugma uchun yangi stil */
.btn-secondary {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    
    /* Yangi hover effekti uchun tayyorgarlik */
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0; /* Boshida kengligi 0 */
    height: 100%;
    background: linear-gradient(145deg, #F8E08E, #cfa77d, #A87B3F);
    transition: width 0.4s ease; /* Kenglik o'zgarishiga animatsiya */
    z-index: -1;
}

.btn-secondary:hover {
    color: #1a1a1a; /* Matn rangi qoraga o'zgaradi */
    border-color: #cfa77d; /* Chegara tilla rangda */
}

.btn-secondary:hover::before {
    width: 100%; /* Hover bo'lganda to'liq kenglikka ega bo'ladi */
}

/* O'ng tomon stillari */
.hero-image {
    flex: 1;
    text-align: right; /* Rasm o'ngga yopishishi uchun */
}

.hero-image img {
    max-width: 150%;
    height: auto;
    border-radius: 12px;
}

/* ---- Mobil qurilmalar uchun moslashuv ---- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column; /* Ustunlarni ustma-ust joylash */
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 36px;
        max-width: 100%;
    }

    .features-grid {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center; /* Tugmalarni markazga keltirish */
    }

    .hero-image {
        margin-top: 40px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr; /* Telefonda setkani 1 ustunli qilish */
    }

    .hero-buttons {
        flex-direction: column; /* Tugmalarni ustma-ust joylash */
        align-items: center;
    }
}

/* ---- Biz Haqimizda Bo'limi Stili ---- */

.about-section {
     background-color: #1a1a1a;
    padding: 100px 0;
    color: #f0f0f0;
    margin-top: -100px; /* <<-- MANA SHU QATORNI QO'SHING */
    position: relative; /* Margin to'g'ri ishlashi uchun */
    z-index: 2; /* Hero section ustida turishi uchun */
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Chap tomon stillari */
.about-left {
    flex: 0 0 40%; /* Kenglikning 40% ini egallaydi */
    position: relative; /* Naqsh uchun */
    text-align: center;
}

/* Geometrik naqsh uchun stil */
.about-left::before {
     content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 200%;
    height: 400%;
    
    background-image: url('images/geometric-pattern.png');
    
    /* Naqsh o'lchami va takrorlanishi */
    background-size: 300px; /* <<< Naqsh donalarining o'lchamini shu yerdan o'zgartiring */
    background-repeat: repeat; /* <<< Naqsh butun maydonni to'ldirib, takrorlanishi uchun */

    opacity: 0.25; /* Shaffoflikni biroz to'g'irladim */

    /* MARKAZDAN ERISH EFFEKTI (VIGNETTE MASK) */
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
    
    z-index: -5;
}

.about-left h2 {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(90deg, #F8E08E, #cfa77d, #A87B3F, #cfa77d, #F8E08E);
    background-clip: text;
    color: transparent;
    background-size: 250% 100%;
    background-position: 0 0;
    transition: background-position 0.7s ease;
     z-index: 2;
}

/* O'ng tomon stillari */
.about-right {
    flex: 1; /* Qolgan bo'sh joyni egallaydi */
}

.about-right p {
    font-size: 16px;
    line-height: 1.7; /* Qatorlar orasidagi masofa o'qishni osonlashtiradi */
    margin-top: 0;
    margin-bottom: 25px;
}

.about-right p:last-of-type {
    margin-bottom: 40px; /* Oxirgi paragrafdan keyingi masofa */
}

/* Yangi "Batafsil" tugmasi uchun stil */
.btn-outline {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.btn-outline:hover {
    background-color: #ffd631;
    color: #1a1a1a;
    border-color: #ffffff;
}

/* ---- Mobil qurilmalar uchun moslashuv ---- */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-left {
        margin-bottom: 40px;
    }

    .about-left h2 {
        font-size: 32px;
    }
}

/* ---- Mobil qurilmalar uchun moslashuv (YANGILANGAN) ---- */

/* Planshetlar va kichik noutbuklar uchun (992px gacha) */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column; /* Ustunlarni ustma-ust joylash */
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 36px;
        max-width: 100%;
    }

    .features-grid {
        margin-left: auto;
        margin-right: auto;
        max-width: 500px; /* Planshetlarda chiroyli ko'rinishi uchun */
    }

    .hero-image {
        margin-top: 40px;
        text-align: center;
    }
}

/* Katta telefonlar uchun (768px gacha) */
@media (max-width: 768px) {
    /* Header uchun */
    .desktop-menu, .desktop-phone.btn-golden { 
        display: none; 
    }
    .mobile-header-controls { 
        display: flex; 
    }

    /* "Biz haqimizda" bo'limi uchun */
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-left {
        margin-bottom: 40px;
    }

    .about-left h2 {
        font-size: 32px;
    }
    .hero-image img {
    max-width: 100%;
    margin: 0 auto; /* Rasm o'z konteynerida markazda turishi uchun */
}
.about-left::before {
    /* Mobil uchun naqsh o'lchamini o'zgartiramiz */
    -webkit-mask-size: 150%; 
    mask-size: 150%;
    
    opacity: 0.1; /* Mobil uchun shaffoflikni kamaytiramiz */

    /* Markazdagi aniq qismni mobil uchun kichraytiramiz */
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}
.about-left::before {
    /* Mobil uchun naqsh donalarining o'lchamini o'zgartiramiz */
    background-size: 150px;
    width: 138%;
    height: 400%;
    opacity: 0.5; /* Mobil uchun shaffoflikni kamaytiramiz */
}
}

/* Kichik telefonlar uchun (480px gacha) */
@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr; /* Ikonkali bloklarni 1 ustunli qilish */
    }
}

/* ---- Nimaga Biz? Bo'limi Stili ---- */

.why-section {
    background-color: #1a1a1a;
    padding: 100px 0;
    color: #f0f0f0;
}

.why-container {
    display: flex;
    gap: 60px;
    align-items: flex-start; /* Elementlarni yuqoridan tekislash */
}

.why-title-column {
    flex: 0 0 30%; /* Kenglikning 30% ini egallaydi */
}

.why-title-column h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    margin-left: 100px;
    line-height: 1.3;
    position: sticky; /* Sarlavha scroll bo'lganda joyida qolishi uchun */
    top: 100px;
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(90deg, #F8E08E, #cfa77d, #A87B3F, #cfa77d, #F8E08E);
    background-clip: text;
    color: transparent;
    background-size: 250% 100%;
    background-position: 0 0;
    transition: background-position 0.7s ease;
}

.why-grid {
    flex: 1; /* Qolgan bo'sh joyni egallaydi */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 ustunli setka */
    gap: 25px; /* Kartalar orasidagi masofa */
}

.why-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: #cfa77d; /* Tilla rangli chegara */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.why-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.why-card h3 {
    margin: 0 0 10px 0;
    color: #ffffff;
    font-size: 22px;
}

.why-card p {
    margin: 0;
    color: #b0b0b0; /* Matn rangi biroz xiraroq */
    font-size: 15px;
    line-height: 1.6;
}

/* ---- Mobil qurilmalar uchun moslashuv ---- */
@media (max-width: 992px) {
    .why-container {
        flex-direction: column;
        gap: 40px;
    }

    .why-title-column {
        text-align: center;
    }

    .why-title-column h2 {
        position: static; /* Sarlavhaning yopishqoqligini olib tashlaymiz */
        font-size: 32px;
    }

    .why-title-column h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    position: sticky; /* Sarlavha scroll bo'lganda joyida qolishi uchun */
    top: 100px;
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(90deg, #F8E08E, #cfa77d, #A87B3F, #cfa77d, #F8E08E);
    background-clip: text;
    color: transparent;
    background-size: 250% 100%;
    background-position: 0 0;
    transition: background-position 0.7s ease;
}
}

@media (max-width: 600px) {
    .why-grid {
        grid-template-columns: 1fr; /* Kartalarni 1 ustunli qilamiz */
    }
}

/* ---- Bizning Dasturlar Bo'limi Stili ---- */

.programs-section {
    padding: 100px 0;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden; /* Fon sarlavhasi chiqib ketmasligi uchun */
}

.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 80px;
    padding-top: 60px; /* <<< YUQORIDAN BO'SH JOY QO'SHDIK */
    padding-bottom: 20px; /* <<< PASTDAN BO'SH JOY QO'SHDIK */
    height: 100px; /* Maydon balandligini biroz kattalashtiramiz */
}


.section-subtitle {
    font-size: 18px;
    color: #b0b0b0;
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.programs-list {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Har bir karta orasidagi masofa */
}

.program-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Teskari joylashuvli kartalar uchun */
.program-card--reverse .program-card__image {
    order: -1;
}

.program-card__image {
    position: relative;
}

.program-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.ind-program-card__button {
    position: absolute;
    bottom: 25px;
    right: 25px;
}

.ind-program-card--reverse .ind-program-card__button {
    right: auto;
    left: 25px;
}

.ind-program-card__content {
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #444;
    position: relative;
}

.ind-program-card__badge {
    position: absolute;
    top: -20px;
    left: 40px;
    background-color: #fff;
    color: #1a1a1a;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
}

.ind-program-card--reverse .ind-program-card__badge {
    left: auto;
    right: 40px;
}

.ind-program-card__content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 32px;
    color: #fff;
}

.ind-program-card__content p {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 15px;
}
.ind-program-card__content p:last-of-type {
    margin-bottom: 0;
}

/* ---- Mobil qurilmalar uchun moslashuv ---- */
@media (max-width: 992px) {
    .section-title-bg {
        font-size: 80px;
    }
    
    .ind-program-card {
        grid-template-columns: 1fr; /* Bitta ustunga o'tkazish */
        gap: 30px;
    }

    .ind-program-card--reverse .ind-program-card__image {
        order: 0; /* Teskari tartibni bekor qilish */
    }
}

@media (max-width: 480px) {
    .section-title-bg {
        font-size: 48px;
    }

    .section-subtitle {
        margin-top: 20px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---- Sarlavhalarning mobil ko'rinishi uchun maxsus qoidalar ---- */

@media (max-width: 992px) {
    /* Planshetlar uchun */
    .section-title-bg {
        font-size: 10vw; /* Ekran kengligining 10%iga teng o'lcham */
        line-height: 1; /* Qatorlar orasidagi masofa */
        white-space: normal; /* Matnning keyingi qatorga o'tishiga ruxsat berish */
    }
}

@media (max-width: 768px) {
    /* Katta telefonlar uchun */
    .section-header {
        height: auto; /* Balandlikni avtomatik qilish */
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .section-title-bg {
        font-size: 15vw; /* Ekran kengligining 15%iga teng o'lcham */
        position: relative; /* Absolyut pozitsiyadan olib tashlash */
        transform: none;
        left: auto;
        top: auto;
        margin-bottom: 15px; /* Kichik sarlavhadan oldin masofa */
    }
}
/* ---- Bizning Dasturlar Bo'limi Stili (YANGILANGAN) ---- */

.programs-section {
    padding: 100px 0;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 80px;
    padding-top: 60px;
    padding-bottom: 20px;
    height: 100px;
}

.section-title-bg {
    width: 100%;
    font-size: 60px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.383);
    text-transform: uppercase;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: normal;
    z-index: 1;
    background: linear-gradient(90deg, #F8E08E, #cfa77d, #A87B3F, #cfa77d, #F8E08E);
    background-clip: text;
    color: transparent;
    background-size: 250% 100%;
    background-position: 0 0;
    transition: background-position 0.7s ease;
}

.section-subtitle {
    font-size: 18px;
    color: #b0b0b0;
    position: relative;
    z-index: 2;
    margin-top: 100px;
}

.programs-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.ind-program-card {
    display: flex; /* LAYOUT ASOSI O'ZGARTIRILDI */
    align-items: center;
    position: relative;
    z-index: 2;
}

.ind-program-card__content {
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(207, 167, 125, 0.4); /* <<< TILLA RANG HOSHIYA QO'SHILDI */
    position: relative;
    flex-basis: 60%; /* Matn bloki kengligi */
    z-index: 2; /* Rasm ustida turishi uchun */
    height: 240px;
}

.ind-program-card__image {
    position: relative;
    flex-basis: 50%; /* Rasm bloki kengligi */
    margin-left: -80px; /* <<< USTMA-UST CHIQISH EFFEKTI */
    z-index: 1; /* Matn orqasida turishi uchun */
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4); /* Rasmga hajm berish uchun soya */
    z-index: 99;
}

/* Teskari joylashuvli kartalar uchun */
.ind-program-card--reverse {
    justify-content: flex-end; /* Elementlarni o'ngga surish */
}
.ind-program-card--reverse .ind-program-card__content {
    order: 2; /* Matnni o'ngga o'tkazish */
}
.ind-program-card--reverse .ind-program-card__image {
    order: 1; /* Rasmni chapga o'tkazish */
    margin-left: 0;
    margin-right: -80px; /* <<< TESKARI TOMONDAN USTMA-UST CHIQISH EFFEKTI */
}

.ind-program-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.ind-program-card__button {
    position: absolute;
    bottom: 25px;
    right: 25px;
}

.ind-program-card--reverse .ind-program-card__button {
    right: auto;
    left: 25px;
}

.ind-program-card__badge {
    position: absolute;
    top: -20px;
    left: 40px;
    background-color: #b78c57; /* Fon rangi o'zgartirildi */
    color: #fff; /* Matn rangi o'zgartirildi */
    border: 1px solid #444; /* Chegara qo'shildi */
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
    z-index: 3;
}

.ind-program-card--reverse .ind-program-card__badge {
    left: auto;
    right: 40px;
}

.ind-program-card__content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 32px;
    color: #fff;
    z-index: 1;
    padding-left: 50px;
}

.ind-program-card__content p {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 15px;
    padding-left: 20px;
}
.ind-program-card__content p:last-of-type {
    margin-bottom: 0;
}

/* ---- Mobil qurilmalar uchun moslashuv (YANGILANGAN) ---- */
@media (max-width: 992px) {
    .section-title-bg {
        font-size: 10vw;
        line-height: 1;
        white-space: normal;
    }
    
    .ind-program-card, .ind-program-card--reverse {
        flex-direction: column; /* MOBILDA USTMA-UST JOYLASHTIRISH */
        margin: 0 !important; /* Ustma-ust chiqish effektini olib tashlash */
    }

    .ind-program-card__content {
        width: 100%;
        box-sizing: border-box; /* Padding va border to'g'ri hisoblanishi uchun */
    }

    .ind-program-card__image {
        width: 100%;
        margin: 0; /* Ustma-ust chiqish effektini olib tashlash */
        margin-top: -50px; /* Mobil uchun chiroyli ustma-ust chiqish */
        z-index: 2;

    }
    
    .ind-program-card--reverse .ind-program-card__content {
        order: 0; /* Tartibni asl holiga qaytarish */
    }
    .ind-program-card--reverse .ind-program-card__image {
        order: 0; /* Tartibni asl holiga qaytarish */
    }
}
/* ...qolgan media qoidalar... */
/* Karta orqasidagi tilla rang nur uchun */
.ind-program-card__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Markazdan tarqaluvchi tilla rang nur (gradient) */
    background: radial-gradient(circle at 30% 30%, rgba(207, 167, 125, 0.20), transparent 70%);
    
    border-radius: 12px; /* Asosiy kartaning border-radiusi bilan bir xil */
    
    /* Muhim: Bu psevdo-element matn bloki ichida, lekin matndan orqada turadi */
    z-index: -1; 
    
    opacity: 0; /* Boshida nur ko'rinmas bo'ladi */
    transition: opacity 0.4s ease;
}

/* Karta ustiga sichqoncha kelganda nurni paydo qilamiz */
.ind-program-card:hover .ind-program-card__content::before {
    opacity: 1;
}
/* Sarlavhalar uchun umumiy stil */

/* ---- Davlatlar Bo'limi Stili ---- */

.countries-section {
    background-color: #1a1a1a;
    padding: 30px 10px;
}

.countries-section .section-header {
    margin-bottom: 60px; /* Sarlavha va kartalar orasidagi masofa */
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 ustunli setka */
    gap: 30px;
}

.country-card {
    position: relative; /* Bu overlay uchun juda muhim */
    display: block;
    border-radius: 16px;
    overflow: hidden; /* Chegaradan chiqqan elementlarni yashirish */
    text-decoration: none;
    transition: transform 0.4s ease;
}

.country-card:hover {
    transform: translateY(-10px); /* Karta yuqoriga siljiydi */
}

.country-card img {
    width: 100%;
    height: 450px; /* Barcha kartalar bo'yini bir xil qilish uchun */
    object-fit: cover; /* Rasm sig'maganda qirqib, to'ldirish */
    display: block;
    transition: transform 0.4s ease; /* Rasm kattalashishi uchun */
}

.country-card:hover img {
    transform: scale(1.05); /* Sichqoncha kelganda rasm biroz kattalashadi */
}

.country-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%); /* Pastdan qorayish effekti */
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Yozuvni pastga joylashtirish */
    padding: 30px;
    box-sizing: border-box;
    
    opacity: 0; /* Boshida ko'rinmas */
    transition: opacity 0.4s ease;
}

.country-card:hover .country-card__overlay {
    opacity: 1; /* Sichqoncha kelganda paydo bo'ladi */
}

.country-card__overlay h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    
    opacity: 0;
    transform: translateY(20px); /* Boshida biroz pastda turadi */
    transition: all 0.4s ease 0.1s; /* Biroz kechikish bilan chiqadi */
}

.country-card:hover .country-card__overlay h3 {
    opacity: 1;
    transform: translateY(0); /* O'z joyiga qaytadi */
}


/* ---- Mobil qurilmalar uchun moslashuv ---- */
@media (max-width: 992px) {
    .countries-grid {
        grid-template-columns: repeat(2, 1fr); /* Planshetda 2 ustun */
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px; /* Sarlavha o'lchamini kichraytirish */
    }

    .countries-grid {
    /* 1. Grid'ni Flex'ga o'zgartiramiz va gorizontal skroll qo'shamiz */
    display: flex;
    overflow-x: auto;
    gap: 20px;

    /* 2. Scroll Snap effektini yoqamiz */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    /* 3. Skroll chizig'ini estetik ko'rinish uchun yashiramiz */
    -ms-overflow-style: none;  /* IE va Edge uchun */
    scrollbar-width: none;  /* Firefox uchun */
}

.countries-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari va Opera uchun */
}

/* Kartalarning o'zini slayderga moslaymiz */
.countries-grid .country-card {
    flex: 0 0 80%; /* Har bir karta ekran kengligining 80%ini egallaydi */
    scroll-snap-align: center; /* Har bir karta ekran markaziga kelib "yopishadi" */
}
}
@media (max-width: 768px) {
    .countries-section .section-header h2 {
        white-space: normal; /* 1. Matnning keyingi qatorga o'tishiga ruxsat berish */
        font-size: 8vw;      /* 2. Shrift o'lchamini ekran kengligiga moslash */
        line-height: 1.2;    /* 3. Qatorlar orasidagi masofani to'g'irlash */
        position: static;    /* 4. Yozuvni normal oqimga qaytarish */
        transform: none;     /* 5. Markazlashtirish transformatsiyasini olib tashlash */
    }
}
/* ---- Sertifikatlar Bo'limi Stili ---- */

.certificates-section {
    background-color: #1a1a1a;
    padding: 100px 0;
}

.certificates-section .section-header {
    margin-bottom: 60px;
}

.certificates-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px;
    border-radius: 16px;

    /* ----- O'ZGARISHLAR SHU YERDA ----- */

    /* 1. Chegara chizig'ini tilla rang qilamiz */
    border: 1px solid rgba(207, 167, 125, 0.5); /* #cfa77d 50% shaffoflikda */

    /* 2. Ramka atrofida tilla rang nur qo'shamiz */
    box-shadow: 0 0 25px rgba(207, 167, 125, 0.15),
                0 0 50px rgba(207, 167, 125, 0.1);
}

.certificate-item {
    background-color: #cfa77d; /* Sertifikatning qora ramkasi */
    padding: 15px;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Ichki soya effekti */
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: scale(1.05); /* Sichqoncha kelganda kattalashish */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.certificate-item img {
    height: 350px;
    width: 100%;
    display: block; /* Rasm ostidagi bo'sh joyni olib tashlash */
}

/* ---- Mobil qurilmalar uchun moslashuv ---- */
@media (max-width: 992px) {
    .certificates-gallery {
        grid-template-columns: repeat(2, 1fr); /* Planshetda 2 ustun */
    }
}

@media (max-width: 600px) {
   .certificates-gallery {
    /* 1. Grid'ni Flex'ga o'zgartiramiz va gorizontal skroll qo'shamiz */
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;

    /* 2. Scroll Snap effektini yoqamiz */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    /* 3. Mobil slayder uchun umumiy ramka va soyani olib tashlaymiz */
    border: none;
    box-shadow: none;

    /* 4. Skroll chizig'ini yashiramiz */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.certificates-gallery::-webkit-scrollbar {
    display: none;
}

/* Slayder ichidagi har bir sertifikat uchun qoidalar */
.certificates-gallery .certificate-item {
    flex: 0 0 75%; /* Har bir sertifikat ekran kengligining 75%ini egallaydi */
    scroll-snap-align: center; /* Har bir element markazga yopishadi */
}
}

/* ---- Studentlar Fikrlari Bo'limi Stili ---- */

.testimonials-section {
    background-color: #1a1a1a;
    padding: 100px 0;
}

.testimonials-section .section-header {
    margin-bottom: 80px;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap; /* Elementlar sig'maganda keyingi qatorga o'tadi */
    justify-content: center; /* Elementlarni markazga tekislaydi */
    gap: 40px;
}

.testimonial-card {
    background-color: #f0f0f0;
    color: #1a1a1a;
    border-radius: 16px;
    padding: 60px 30px 30px 30px; /* Rasm uchun yuqorida ko'proq joy */
    text-align: center;
    position: relative; /* Rasm joylashuvi uchun muhim */
    margin-top: 50px; /* Rasm uchun joy ochish */
    flex-basis: calc(33.333% - 40px); /* 3 ustunli layout uchun kenglik */
    box-sizing: border-box;
    min-width: 300px;
}

.testimonial-card__portrait {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    
    /* Rasmni kartadan "chiqarib" joylashtirish */
    position: absolute;
    top: -50px; /* O'z bo'yining yarmiga yuqoriga */
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card__name {
    font-weight: 700;
    font-size: 20px;
    margin: 0;
    color: #000;
}

.testimonial-card__source {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* ---- Fikrlar bo'limining mobil slayderi uchun ---- */

@media (max-width: 992px) {
    .testimonials-grid {
        /* 1. Konteynerni slayderga aylantiramiz */
        display: flex;
        flex-wrap: nowrap; /* Elementlar pastki qatorga tushmasligi uchun */
        overflow-x: auto; /* Gorizontal skroll */
        justify-content: flex-start; /* Elementlarni boshidan boshlab tekislash */
        gap: 20px;

        /* 2. Scroll Snap effektini yoqamiz */
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;

        /* 3. Skroll chizig'ini yashiramiz */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    /* Har bir fikr kartasini slayder elementiga aylantiramiz */
    .testimonial-card {
        flex-basis: 80%; /* Planshetda har bir slayd kengligi */
        flex-shrink: 0; /* Slaydlar siqilib qolmasligi uchun */
        scroll-snap-align: center; /* Har bir slayd markazga yopishadi */
        min-width: 0; /* Mobil uchun flex-basis to'g'ri ishlashi */
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        flex-basis: 90%; /* Telefonda slaydni biroz kattaroq qilamiz */
    }
}

/* ---- Aloqa Formasi Bo'limi Stili ---- */

.contact-form-section {
    background-color: #1a1a1a;
    padding: 100px 0;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Elementlar orasidagi masofa */
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 18px 20px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #f0f0f0;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #888;
}

/* Input maydoni bosilganda (fokusda) */
.form-input:focus {
    border-color: #cfa77d;
    box-shadow: 0 0 10px rgba(207, 167, 125, 0.2);
}

/* Majburiy maydonlar uchun qizil yulduzcha (*) effekti */
.form-input:required {
    background-image: radial-gradient(circle at 95%, transparent 0%, transparent 10px, red 10px, red 12px, transparent 12px);
    background-repeat: no-repeat;
    background-position: top 10px right -10px; /* Boshida yashirin */
    transition: background-position 0.3s ease;
}
.form-input:required:focus {
    background-position: top 10px right 10px; /* Fokusda paydo bo'ladi */
}

.contact-form .btn-golden {
    width: 100%;
    padding: 18px 20px;
    font-size: 18px;
}

.form-footer-note {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #888;
    border-top: 1px solid #444;
    padding-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-footer-note a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}
.form-footer-note a:hover {
    color: #fff;
}
.form-footer-note svg {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    stroke: #888;
}

/* ---- Hamkorlar Bo'limi Stili ---- */

.partners-section {
    background-color: #1a1a1a;
    padding: 100px 0;
    position: relative; /* Orqa fon naqshi uchun */
    overflow: hidden;
}

/* Orqa fondagi xira naqsh uchun */
.partners-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('images/geometric-pattern.svg');
    background-repeat: repeat;
    background-size: 400px;
    opacity: 0.03;
    z-index: 1;
}

.partners-section .container {
    position: relative; /* Kontent naqsh ustida turishi uchun */
    z-index: 2;
}

.partners-section .section-header {
    margin-bottom: 60px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Desktopda 5 ustun */
    gap: 20px;
}

.partner-logo {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    height: 120px; /* Barcha kartalarning bo'yini bir xil qilish */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.partner-logo img {
    max-width: 100%;
    max-height: 70px; /* Logotipning maksimal bo'yi */
    object-fit: contain;
}

/* ---- Mobil qurilmalar uchun moslashuv ---- */
@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr); /* Planshetda 4 ustun */
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr); /* Katta telefonda 3 ustun */
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr); /* Kichik telefonda 2 ustun */
    }
    .partner-logo {
        height: 100px; /* Mobil uchun balandlikni kichraytirish */
        padding: 15px;
    }
}

/* ---- Manzil Bo'limi Stili ---- */

.location-section {
    background-color: #1a1a1a;
    padding: 100px 0;
    color: #f0f0f0;
}

.location-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.location-map {
    flex: 1;
}

.location-map img {
    width: 100%;
    border-radius: 16px;
    display: block;
    transition: transform 0.3s ease;
}

.location-map a:hover img {
    transform: scale(1.03);
}

.location-details {
    flex: 1;
}

.location-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.location-title-row .section-title {
    margin: 0;
}

.flag-icon {
    width: 40px;
    height: auto;
}

.location-hours-subtitle {
    color: #cfa77d;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.location-hours-text p {
    margin: 5px 0;
    font-size: 16px;
    color: #b0b0b0;
}

.location-actions {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Manzil qutisi kengroq, tugma torroq */
    gap: 20px;
    margin-top: 40px;
}

.location-address-box {
    border: 1px solid #444;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.location-address-box svg {
    fill: #cfa77d;
    stroke: none;
    width: 24px;
    flex-shrink: 0; /* Ikonka siqilib qolmasligi uchun */
}

.location-address-box p {
    margin: 0;
    line-height: 1.5;
}

.location-details-button {
    border: 1px solid #444;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.location-details-button:hover {
    background-color: #cfa77d;
    border-color: #cfa77d;
    color: #1a1a1a;
}

/* ---- Mobil qurilmalar uchun moslashuv ---- */
@media (max-width: 992px) {
    .location-container {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .location-actions {
        grid-template-columns: 1fr; /* Qutilarni ustma-ust joylash */
    }

    .location-title-row .section-title {
        font-size: 32px;
    }
}

/* ---- FAQ Bo'limi Stili ---- */

.faq-section {
    background-color: #1a1a1a;
    padding: 100px 0;
}

.faq-section .section-header {
    margin-bottom: 60px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: #f0f0f0;
    border-radius: 12px;
    overflow: hidden; /* Javob paneli silliq chiqishi uchun */
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: #cfa77d; /* Aktiv bo'lganda tilla rang chegara */
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}
.faq-question span {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ccc;
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

/* Ikonka ichidagi + belgisi */
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background-color: #1a1a1a;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}
.faq-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Javob paneli */
.faq-answer {
    max-height: 0; /* Boshida yopiq */
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}
.faq-answer p {
    margin: 0;
    padding: 0 30px 25px 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* --- Aktiv holat uchun stillar --- */
.faq-item.active .faq-answer {
    max-height: 500px; /* Ochilishi uchun yetarlicha katta balandlik */
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.faq-item.active .faq-icon {
    background-color: #cfa77d;
    border-color: #cfa77d;
    transform: rotate(135deg); /* Ikonka aylanishi */
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
    background-color: #fff;
}

/* ---- Footer (Saytning pastki qismi) Stili ---- */
.site-footer {
    background-color: #2a2a2a;
    color: #b0b0b0;
    padding: 80px 0 30px 0;
    border-top: 1px solid #444;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 2fr 2fr;
    gap: 40px;
}

.footer-logo img {
    max-width: 180px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #cfa77d;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-contact .contact-item svg {
    width: 20px;
    height: 20px;
    fill: #cfa77d;
    stroke: none;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-social a svg {
    width: 24px;
    height: 24px;
    fill: #888;
    transition: fill 0.3s ease;
}
.footer-social a:hover svg {
    fill: #cfa77d;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    min-height: 220px;
    border: 0;
    border-radius: 8px;
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

/* Tepaga qaytish tugmasi */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Chap tomonda */
    width: 50px;
    height: 50px;
    background-color: #cfa77d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    z-index: 1000;
    transition: opacity 0.4s, transform 0.4s;
    opacity: 0; /* Boshida ko'rinmas */
    transform: translateY(20px);
}
.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-top-btn svg {
    stroke: #1a1a1a;
}

/* ---- Mobil qurilmalar uchun moslashuv ---- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Planshetda 2 ustun */
    }
    .footer-map {
        grid-column: 1 / -1; /* Xarita to'liq kenglikni egallaydi */
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Telefonda 1 ustun */
        text-align: center;
    }
    .footer-logo {
        margin: 0 auto 20px auto;
    }
    .footer-contact .contact-item {
        justify-content: center;
        text-align: left;
    }
    .footer-social {
        justify-content: center;
    }
}

/* ---- Yopishqoq Header (Sticky Header) Stili ---- */

header.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    
    /* Orqa fondagi kontentdan ajralib turishi uchun soya */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    
    /* Paydo bo'lish animatsiyasi */
    animation: slideDown 0.5s ease-out;
}

/* Header paydo bo'lishi uchun kichik animatsiya */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Kontentning yopishqoq header orqasiga o'tib ketishining oldini olish */
main {
    transition: padding-top 0.5s ease-out;
}
body.header-is-sticky main {
    padding-top: 80px; /* <<< BU YERGA HEADERNING TAXMINIY BALANDLIGINI YOZING */
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    /* --- YANGI QO'SHIMCHALAR SHU YERDA --- */
    .hero-image {
        order: 1;
        margin-top: 0;
        margin-bottom: 40px;
    }
    .hero-content {
        order: 2;
    }
    /* --- YANGI QO'SHIMCHALAR TUGADI --- */

    .hero-content h1 {
        font-size: 36px;
        max-width: 100%;
    }
 /* @media (max-width: 992px) bloki ichiga joylashtiring yoki eskilarini almashtiring */

/* ---- Dasturlar Bo'limining Mobil Ko'rinishi (YANGILANGAN) ---- */
.ind-program-card, .ind-program-card--reverse {
    display: flex;
    flex-direction: column; /* Elementlarni vertikal joylashtirish */
    background-color: #2a2a2a; /* Umumiy fon rangi */
    border-radius: 16px; /* Umumiy chegara radiusi */
    border: 1px solid rgba(207, 167, 125, 0.4); /* Umumiy tilla hoshiya */
    margin: 0 !important; /* Desktopdagi ustma-ust chiqishni bekor qilish */
}

/* Rasm bloki (Mobil) */
.ind-program-card__image {
    order: 1; /* Rasmni birinchi o'ringa qo'yish */
    width: 100%;
    margin: 0; /* Barcha marginlarni bekor qilish */
    box-shadow: none; /* Soyani olib tashlash */
}
.ind-program-card__image img {
    border-radius: 16px 16px 0 0; /* Faqat yuqori burchaklarni yumaloqlash */
}

/* Matn bloki (Mobil) */
.ind-program-card__content {
    order: 2; /* Matnni ikkinchi o'ringa qo'yish */
    width: 100%;
    box-sizing: border-box;
    /* Desktopdan qolgan barcha keraksiz stillarni bekor qilish */
    background: none;
    border: none;
    padding: 30px; 
    margin: 0;
}

/* Raqamli belgi (Badge) (Mobil) */
.ind-program-card__badge {
    top: 15px;
    left: 15px;
    background-color: #f0f0f0;
    color: #1a1a1a;
    border: none;
}
.ind-program-card--reverse .ind-program-card__badge {
    left: 15px; /* Teskari kartada ham chapda turadi */
    right: auto;
}

/* "Batafsil" tugmasi (Mobil) */
.ind-program-card__button {
    position: static; /* Absolyut pozitsiyani bekor qilish */
    order: 3; /* Tugmani uchinchi o'ringa qo'yish */
    display: block; /* To'liq kenglikni egallashi uchun */
    width: calc(100% - 60px); /* Paddingni hisobga olgan holda kenglik */
    margin: 0 auto 30px auto; /* Pastki qismda markazda joylashish */
    text-align: center;
}
/* Teskari kartadagi tugma uchun ham bir xil qoida */
.ind-program-card--reverse .ind-program-card__button {
    left: auto;
    right: auto;
}

/* Keraksiz psevdo-elementni mobil uchun yashirish */
.ind-program-card__content::before {
    display: none;
}
}

.lits-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 10px;
    border-radius: 16px;

    /* ----- O'ZGARISHLAR SHU YERDA ----- */

    /* 1. Chegara chizig'ini tilla rang qilamiz */
    border: 1px solid rgba(207, 167, 125, 0.5); /* #cfa77d 50% shaffoflikda */

    /* 2. Ramka atrofida tilla rang nur qo'shamiz */
    box-shadow: 0 0 25px rgba(207, 167, 125, 0.15),
                0 0 50px rgba(207, 167, 125, 0.1);
}

.lits-item {

    background-color: #c89f72; /* Sertifikatning qora ramkasi */
    padding: 5px;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Ichki soya effekti */
    transition: all 0.3s ease;
}

.lits-item:hover {
    transform: scale(1.05); /* Sichqoncha kelganda kattalashish */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lits-item img {
    width: 100%;
    display: block; /* Rasm ostidagi bo'sh joyni olib tashlash */
}

/* Social section */
.social-section {
    position: relative;
    background-image: url(images/geometric-pattern.png);
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    color: #fff;
    z-index: 1;
    overflow: hidden;
}

.social-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7); /* 0.6 - bu opacity darajasi */
    z-index: -1;
}

.social-section .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.social-left {
  flex: 1 1 300px;
}

.social-title {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.4;
}

.social-title span {
  color: #d4af37; /* tilla rang */
}

.social-subtitle {
  margin-top: 15px;
  font-size: 16px;
  color: #ddd;
}

.social-right {
  flex: 2 1 600px;
}

.social-phones {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}

.phone-card img {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.phone-card img:hover {
  transform: translateY(-10px);
}

.social-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Tugma ranglari */
.instagram { background: linear-gradient(45deg,#f58529,#d62976,#962fbf,#4f5bd5); }
.telegram { background: #0088cc; }
.facebook { background: #1877f2; }
.youtube { background: #ff0000; }
.linkedin { background: #0a66c2; }


/* Telefon card */
.phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-card img {
  width: 220px;
  border-radius: 25px;
  margin-bottom: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Slider uchun */
.social-swiper {
  margin-top: 40px;
}

.swiper-pagination-bullet {
  background: #d4af37; /* tilla rang */
}
.swiper-pagination{   
    padding-top: 50px;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
}

/* About section */
.about-page-section {
    
    color: #ddd;
    padding: 80px 40px;
}
.about-page-section .section-title {
    font-size: 40px;
    width: 100%;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: normal;
    z-index: 1;
    background: linear-gradient(90deg, #F8E08E, #cfa77d, #A87B3F, #cfa77d, #F8E08E);
    background-clip: text;
    color: transparent;
    background-size: 250% 100%;
    background-position: 0 0;
    transition: background-position 0.7s ease;
}
.about-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* Team section */
.team-section {
    background: url('images/team-bg.jpg') no-repeat center/cover, #1a1a1a;
    padding: 80px 40px;
    text-align: center;
}
.team-section .section-title {
    color: #fff;
    margin-bottom: 50px;
    font-size: 40px;
    width: 100%;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -100%);
    white-space: normal;
    z-index: 1;
    background: linear-gradient(90deg, #F8E08E, #cfa77d, #A87B3F, #cfa77d, #F8E08E);
    background-clip: text;
    color: transparent;
    background-size: 250% 100%;
    background-position: 0 0;
    transition: background-position 0.7s ease;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 50px;
}
.team-card {
    background: rgba(20, 20, 20, 0.9);
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.team-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Contact section */
.contact-section {
    background: url('images/london-background1.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 100px 40px;
    text-align: center;
    position: relative;
}
.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
}
.contact-section .container {
    position: relative;
    z-index: 2;
}
.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input {
    padding: 12px;
    border: none;
    border-radius: 5px;
}
.contact-form button {
    background: linear-gradient(45deg, #cba92b, #f0d97f);
    border: none;
    padding: 15px;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    
}
/* Planshetlar uchun */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Telefonlar uchun */
@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.ind-program-card {
  display: flex;
  flex-direction: row;
  background: linear-gradient(145deg, #111, #1a1a1a);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ind-program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.ind-program-card__content {
  flex: 1;
  padding: 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ind-program-card__badge {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  background: linear-gradient(90deg, #FFD700, #A87B3F, #FFD700);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.ind-program-card__content h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ind-program-card__content p {
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #ccc;
}

.ind-program-card__image {
  flex: 1;
  position: relative;
}

.ind-program-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-left: 1px solid rgba(255, 215, 0, 0.2);
}

.program-card__button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 25px;
  font-size: 0.95rem;
  border-radius: 25px;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  color: #111;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.program-card__button:hover {
  background: linear-gradient(90deg, #A87B3F, #FFD700, #cfa77d);
  color: #000;
}

/* 📱 Mobil uchun */
@media (max-width: 768px) {
  .ind-program-card {
    flex-direction: column;
  }

  .ind-program-card__image img {
    border-left: none;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    height: 220px;
  }

  .program-card__button {
    bottom: 15px;
    font-size: 0.85rem;
    padding: 10px 20px;
  }
}
.lux-card {
  display: flex;
  flex-direction: row;
  background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lux-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.25);
}

.lux-card__content {
  flex: 1;
  padding: 30px;
  color: #fff;
}

.lux-card__badge {
  font-size: 1.2rem;
  font-weight: bold;
  color: #111;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.lux-card__content h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lux-card__content p {
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #ccc;
}

.lux-card__image {
  flex: 1;
  position: relative;
}

.lux-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lux-card__button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 25px;
  font-size: 0.95rem;
  border-radius: 25px;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  color: #111;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lux-card__button:hover {
  background: linear-gradient(90deg, #A87B3F, #FFD700, #cfa77d);
  color: #000;
}

/* 📱 Mobil ko‘rinish */
@media (max-width: 768px) {
  .lux-card {
    flex-direction: column;
  }

  .lux-card__image img {
    height: 220px;
  }

  .lux-card__button {
    font-size: 0.85rem;
    padding: 10px 20px;
  }
}
.hero-content h1 {
  animation: fadeInUp 1s ease-out forwards;
}

.feature-item {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

/* Ketma-ketlik uchun kechiktirish */
.feature-item:nth-child(1) { animation-delay: 0.3s; }
.feature-item:nth-child(2) { animation-delay: 0.6s; }
.feature-item:nth-child(3) { animation-delay: 0.9s; }
.feature-item:nth-child(4) { animation-delay: 1.2s; }

.btn-golden { animation-delay: 1.5s; }
.btn-secondary { animation-delay: 1.8s; }

/* Umumiy sozlamalar */
.work-main {
  background-color: #111; /* qoramtir fon */
  color: #eee;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

/* Section title */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #f8e08e, #cfa77d, #a87b3f, #cfa77d, #f8e08e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero */
.work-hero {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(160deg, #1a1a1a, #0d0d0d);
}
.work-hero-title {
  font-size: 2.5rem;
  margin: 1rem 0;
  font-weight: 700;
}
.work-hero p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

/* Golden Button */
.btn-golden {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  background: linear-gradient(90deg, #f8e08e, #cfa77d, #a87b3f, #cfa77d, #f8e08e);
  background-size: 250% 100%;
  color: #111;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.5s ease;
}
.btn-golden:hover {
  background-position: 100% 0;
  color: #000;
}

/* About Section */
.work-about {
  padding: 80px 20px;
}
.work-about p {
  max-width: 800px;
  margin: 0 auto 1rem;
  font-size: 1.05rem;
  color: #ccc;
}

/* Offers */
.work-offers {
  padding: 80px 20px;
  background: #1a1a1a;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.offer-card {
  background: #222;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}
.offer-card:hover {
  transform: translateY(-8px);
}
.offer-card i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #f8e08e, #a87b3f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.offer-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #fff;
}
.offer-card p {
  font-size: 0.95rem;
  color: #bbb;
}

/* Opportunities */
.work-opportunities {
  padding: 80px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: center;
}
.opp-content h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.opp-progress span {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
}
.progress-bar {
  background: #333;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 5px;
}
.progress-bar div {
  height: 10px;
  background: linear-gradient(90deg, #f8e08e, #a87b3f);
  border-radius: 8px;
}

/* Vacancies */
.work-vacancies {
  padding: 80px 20px;
}
.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.vacancy-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.vacancy-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.vacancy-card:hover img {
  transform: scale(1.1);
}
.vacancy-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

/* Contact */
.work-contact {
  padding: 80px 20px;
  background: #1a1a1a;
}
.work-contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.work-contact-form input,
.work-contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 0.95rem;
}
.work-contact-form textarea {
  resize: none;
}
