/* ========================================= */
/* 1. ASOSIY STYLELAR VA O'ZGARUVCHILAR      */
/* ========================================= */
:root {
    --bg-color: #f8f9fa; --text-color: #2d3436; --card-bg: #ffffff; 
    --input-bg: #f1f2f6; --border-color: #dfe6e9; --main-red: #c0392b; 
    --main-gold: #f1c40f; --header-bg: #c0392b;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05); 
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1); 
    --radius: 16px; 
}

@media (prefers-color-scheme: dark) {
    :root { 
        --bg-color: #121212; --text-color: #ecf0f1; --card-bg: #1e1e1e; 
        --input-bg: #2d2d2d; --border-color: #333; --main-red: #e74c3c; 
        --main-gold: #f39c12; --header-bg: #2c0b0b; 
        --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3); 
    }
}

body { 
    margin: 0; padding: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; 
    background: var(--bg-color); color: var(--text-color); 
    overflow-x: hidden; transition: background 0.3s ease, color 0.3s ease; 
}

/* ========================================= */
/* 2. NAVBAR VA TEPAGI QISM (STICKY)         */
/* ========================================= */
.sticky-nav {
    position: sticky; top: 15px; z-index: 2000;
    background-color: rgba(192, 57, 43, 0.50); color: white;
    padding: 10px 25px; margin: 0 5%;
    display: flex; justify-content: space-between; align-items: center;
    border-radius: 20px; border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(192, 57, 43, 0.4);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav-left { display: flex; align-items: center; margin-right: -20px; }
.nav-brand { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: flex-start; }
.nav-logo { width: 45px; height: auto; transform: scale(3.5); transform-origin: left center; margin-right: 85px; filter: drop-shadow(0 0 5px rgba(255,255,255,0.3)); transition: 0.3s ease; }
.nav-titles-wrapper { display: flex; align-items: center; gap: 4px; }
.brand-stack { display: flex; flex-direction: column; line-height: 1; }
.brand-super { color: white; font-weight: 900; font-size: 14.5px; letter-spacing: 12.5px; text-transform: uppercase; margin-bottom: 3px; margin-left: 2px; }
.brand-kitobxon { color: var(--main-gold); font-weight: 900; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; }
.nav-sub-title { font-size: 10px; line-height: 1.2; opacity: 0.9; color: #ecf0f1; border-left: 2px solid rgba(255, 255, 255, 0.2); padding-left: 12px; }
.nav-right { display: flex; align-items: center; gap: 15px; }

/* Til o'zgartirish tugmasi */
.language-switcher-nav { display: flex; align-items: center; }
.lang-toggle-btn { background: rgba(255, 255, 255, 0.15); color: white; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 30px; padding: 6px 12px; font-weight: bold; font-size: 14px; cursor: pointer; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.lang-toggle-btn:hover { background: white; color: var(--main-red); }

/* Menyu ikonkasi (Hamburger) */
.menu-icon { font-size: 28px; cursor: pointer; transition: 0.3s; padding: 3px; margin-left: -10px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2000; }
.menu-icon:hover { color: var(--main-gold); background: rgba(255, 255, 255, 0.1); border-radius: 12px; }
.phone-link { color: white; text-decoration: none; font-weight: bold; font-size: 18px; display: flex; align-items: center; gap: 10px; transition: 0.3s; }

@media (max-width: 768px) {
    .sticky-nav { margin: 10px; border-radius: 50px; padding: 10px; }
    .nav-left { margin-right: -5px; }
    .nav-logo, .desktop-phone { display: none !important; }
    .nav-brand { margin-left: 10px; }
    .brand-super { letter-spacing: 8.5px; font-size: 14.5px; }
    .brand-kitobxon { font-size: 15px; }
    .nav-sub-title { font-size: 9px; padding-left: 0; border-left: none; }
    .nav-right { gap: 10px; }
    .lang-toggle-btn { padding: 5px 8px; font-size: 12px; }
}

/* ========================================= */
/* 3. HERO SECTION (SLIDER VA FORMA)         */
/* ========================================= */
.hero-section { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; padding: 50px 20px; max-width: 1200px; margin: 0 auto; align-items: stretch; }
.slider-wrapper, .form-wrapper { flex: 1; min-width: 350px; display: flex; flex-direction: column; }
.slider-box, .hero-form { background-color: var(--card-bg); border-top: 4px solid var(--main-red); border-radius: var(--radius); padding: 40px; text-align: center; height: 100%; min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: var(--shadow-soft); box-sizing: border-box; transition: 0.3s ease; }
.slider-box:hover, .hero-form:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.hero-form h3 { color: var(--main-red); margin-top: 0; font-size: 1.8em; margin-bottom: 10px; }
.hero-form p { opacity: 0.7; margin-bottom: 25px; }
.slider-indicators { margin-top: auto; display: flex; gap: 8px; padding-top: 20px;}
.dot { width: 10px; height: 6px; background: var(--border-color); border-radius: 5px; transition: 0.3s; }
.dot.active { width: 30px; background: var(--main-red); }

@media (max-width: 768px) {
    .hero-section { padding: 20px 10px !important; margin-top: 10px !important; gap: 20px !important; }
    .slider-box, .hero-form { min-height: auto; padding: 20px; }
}

/* 4. ASOSIY VIDEO VA WATERMARK BO'LIMI */

/* ========================================= */

#main-video-section { padding: 80px 20px; background: var(--bg-color); overflow: hidden; }

#main-video-section .why-us-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: stretch; gap: 60px; }

#main-video-section .video-interactive-wrapper { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; min-width: 320px; }

#main-video-section .dotted-watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; max-width: 530px; aspect-ratio: 1 / 1; background-image: radial-gradient(var(--text-color) 2.5px, transparent 2.5px); background-size: 24px 24px; opacity: 0.12; z-index: 0; border-radius: 24px; }

#main-video-section .circle-ui-container { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1 / 1; z-index: 1; }

#main-video-section .rotating-text-wrapper { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 4; animation: matn-aylanishi 20s linear infinite; pointer-events: none; }

@keyframes matn-aylanishi { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

#main-video-section .outer-circle { position: absolute; inset: -3%; border: 7px dotted var(--main-red); background-color: var(--bg-color); border-radius: 50%; transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 1; }

#main-video-section .circle-ui-container:hover .outer-circle { transform: scale(0.95) rotate(10deg); }

#main-video-section .inner-circle { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; z-index: 2; box-shadow: 0 15px 35px rgba(0,0,0,0.15); border: 5px solid var(--bg-color); background: #000; }

#main-video-section .custom-video { width: 100%; height: 100%; object-fit: cover; }

#main-video-section .custom-video::-webkit-media-controls-timeline, #main-video-section .custom-video::-webkit-media-controls-current-time-display, #main-video-section .custom-video::-webkit-media-controls-time-remaining-display { display: none !important; }



/* O'ng tomon: Afzalliklar ro'yxati */

#main-video-section .why-text-wrapper { flex: 1; display: flex; flex-direction: column; min-width: 320px; z-index: 2; }

#main-video-section .section-title { text-align: left; margin: 0 0 30px 0; font-weight: 800; font-size: 2.2em; line-height: 1.2; }

#main-video-section .why-grid { display: flex; flex-direction: column; gap: 15px; flex-grow: 1; justify-content: space-between; }

#main-video-section .nt-card { background: var(--card-bg); padding: 18px 20px; border-radius: 12px; display: flex; flex-direction: row; align-items: center; width: 100%; max-width: 500px; gap: 20px; transition: transform 0.3s ease; border: 1px solid rgba(0,0,0,0.04); }

#main-video-section .nt-card:hover { transform: translateX(10px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }

#main-video-section .nt-card i { font-size: 40px; color: var(--main-red); flex-shrink: 0; }

#main-video-section .card-text h4 { margin: 0 0 5px 0; font-size: 18px; }

#main-video-section .card-text p { margin: 0; font-size: 14px; opacity: 0.8; line-height: 1.5; }



@media (max-width: 992px) {

#main-video-section .why-text-wrapper, #main-video-section .dotted-watermark { display: none !important; }

#main-video-section .why-us-container { justify-content: center; }

}

/* ========================================= */
/* 5. MASHQLAR VA ASBOBLAR (O'RTA QISM)      */
/* ========================================= */
.middle-layout { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.info-container { width: 100%; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; order: 1; margin-top: 0; padding: 0; }
.tool-card { flex: 1; min-width: 320px; max-width: 500px; width: 100%; }
.word-counter-card { order: 2; } 
.game-card { order: 3; }

.nt-card { background: var(--card-bg); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-soft); position: relative; overflow: hidden; transition: 0.4s; border-top: 4px solid var(--main-red); text-align: center; width: 300px; display: flex; flex-direction: column; align-items: center; }
.nt-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.nt-title { font-size: 20px; font-weight: bold; color: var(--main-red); margin-bottom: 10px; }
.nt-icon { font-size: 45px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--main-red); background: rgba(192, 57, 43, 0.08); width: 80px; height: 80px; border-radius: 50%; transition: 0.4s ease; }
.nt-card:hover .nt-icon { background: var(--main-red); color: white; transform: scale(1.1) rotate(5deg); box-shadow: 0 10px 20px rgba(192, 57, 43, 0.3); }

@media (max-width: 768px) {
    .word-counter-card { order: -1; min-width: 320px; max-width: 90%; }
    .info-container { order: 2; gap: 10px !important; }
    .game-card { order: 3; min-width: 320px; max-width: 90%; }
    .nt-card, .tool-card { width: 100% !important; max-width: 340px !important; margin-left: auto !important; margin-right: auto !important; margin-bottom: 10px !important; padding: 20px !important; }
}

/* ========================================= */
/* 6. KURSLAR VA TARIFLAR                    */
/* ========================================= */

/* Grid konteynerlar menyu bilan "ip tortilgandek" bir xil tekisda turishi uchun to'g'rilandi */
.offline-grid, .online-grid { 
    display: grid; 
    gap: 25px; 
    width: 90%;            /* <--- Tepadagi menyu bilan aniq bir chiziqqa tushiradi */
    max-width: 1200px;     /* <--- Ekran kattalashganda cho'zilib ketmasligi uchun */
    margin: 0 auto;        /* <--- Markazga qotiradi */
    box-sizing: border-box; 
}
.offline-grid { grid-template-columns: repeat(3, 1fr); }
.online-grid { grid-template-columns: repeat(3, 1fr); }

/* Kurs kataklari sayt chetiga toshmasligi uchun box-sizing kiritildi */
.course-card { 
    cursor: pointer; text-align: center; padding: 30px 20px; 
    border: 1px solid transparent; 
    box-sizing: border-box !important; 
}
.course-card:hover { border-color: rgba(192, 57, 43, 0.3); transform: translateY(-8px); }
.course-icon { font-size: 45px; color: var(--main-red); margin-bottom: 15px; }
.course-title { font-size: 22px; font-weight: 800; margin: 0 0 8px 0; color: var(--text-color); }
.course-target { font-size: 14px; color: var(--text-color); opacity: 0.6; margin: 0; }

.tariff-card { border-radius: 20px; padding: 30px 15px; text-align: center; cursor: pointer; transition: 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); box-sizing: border-box; }
.tariff-card:hover { transform: translateY(-10px); }
.tariff-card h3 { margin: 15px 0 0 0; font-size: 20px; font-weight: 900; letter-spacing: 1px; }
.tariff-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: white; }
.tariff-standart { background: #f8f9fa; border: 2px solid #dee2e6; color: #495057; }
.tariff-standart .tariff-icon { background: #6c757d; }
.tariff-premium { background: #fff5f5; border: 2px solid var(--main-red); color: var(--main-red); transform: scale(1.05); box-shadow: 0 15px 35px rgba(192,57,43,0.15); }
.tariff-premium .tariff-icon { background: var(--main-red); }
.tariff-gold { background: #fffcf5; border: 2px solid var(--main-gold); color: #b8860b; }
.tariff-gold .tariff-icon { background: linear-gradient(45deg, var(--main-gold), #ffd700); }

/* MOBIL EKRANLAR UCHUN MAXSUS MOSLASHUV */
@media (max-width: 768px) {
    /* Mobilda ekranga to'liq sig'ishi va qisilib qolmasligi uchun */
    .offline-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 12px !important; 
        padding: 0 10px;
        width: 100%;
    }
    .online-grid { 
        gap: 10px; 
        padding: 0 10px;
        width: 100%;
    }
    
    /* Eskidan qolgan .nt-card xatolarini "kuch bilan" bosib o'tamiz (!) */
    .course-card { 
        width: 100% !important; 
        max-width: 100% !important; 
        margin: 0 !important; 
        padding: 20px 10px !important; 
    }
    
    /* Matnlar 2 ustunga chiroyli sig'ishi uchun kichraytiriladi */
    .course-icon { font-size: 35px; margin-bottom: 10px; }
    .course-title { font-size: 16px; margin-bottom: 5px; } 
    .course-target { font-size: 11px; line-height: 1.3; }
    
    /* Onlayn tariflar */
    .tariff-card { padding: 20px 5px; border-radius: 12px; }
    .tariff-premium { transform: scale(1); }
    .tariff-icon { width: 40px; height: 40px; font-size: 20px; }
    .tariff-card h3 { font-size: 13px; margin-top: 10px; }
}
/* ========================================= */
/* 7. DASTUR VA AFZALLIKLAR                  */
/* ========================================= */
.benefits-section { padding: 60px 20px; background-color: var(--bg-color); text-align: center; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1100px; margin: 40px auto; }

.roadmap-container {
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; /* Ekranning markaziga qotiradi */
}
/* Qolgan kodlaringiz o'z o'rnida turaveradi */
.roadmap-section { 
    padding: 60px 0; 
    background: var(--bg-color); 
    width: 100%; 
    box-sizing: border-box;
}
/* 4 USTUNLI QAT'IY GRID */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Kataklar orasidagi ixcham ochiq joy */
}
.roadmap-card { 
    height: 100%; 
    align-items: center;
    text-align: center; 
    position: relative; 
    box-sizing: border-box; 
    background: var(--card-bg); 
    border-radius: var(--radius); 
    box-shadow: var(--shadow-soft); 
    padding: 30px 20px 20px 20px; /* Tepadagi "Qadam" yozuviga joy ochildi */
    border: 1px solid var(--border-color);
    transition: 0.3s ease;
}
.roadmap-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--main-red); /* Yozuv qizil rangga o'tdi */
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-transform: capitalize;
}

.roadmap-card p {
    font-size: 15px;
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}
.card-icon {
    font-size: 45px; /* Ikonka o'lchami kattalashdi */
    color: var(--main-red);
    background: rgba(192, 57, 43, 0.08);
    width: 80px;  /* Doira o'lchami 80px bo'ldi */
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin-left: auto;
    margin-bottom: 20px;
    transition: 0.3s ease;
}
.stage-badge { position: absolute; top: 0; right: 0; background: var(--main-red); color: white; padding: 8px 20px; border-bottom-left-radius: 15px; border-top-right-radius: var(--radius); font-size: 14px; font-weight: bold; }

.faq-section { padding: 60px 20px; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card-bg); margin-bottom: 15px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); border-left: 5px solid transparent; transition: 0.3s; }
.faq-item.active { border-left: 5px solid var(--main-red); }
.faq-question { padding: 20px; font-size: 18px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: 0.4s ease-out; opacity: 0.8; line-height: 1.6; background: rgba(0,0,0,0.02); }
.faq-item.active .faq-answer { padding: 20px; max-height: 300px; border-top: 1px solid var(--border-color); }

@media (max-width: 768px) {
    .roadmap-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; padding: 0 5px !important; width: 100% !important; }
}

/* ========================================= */
/* 8. FORMA, TUGMALAR VA MODALLAR            */
/* ========================================= */
.action-btn { border: none; padding: 14px 35px; font-size: 18px; border-radius: 12px; cursor: pointer; color: white; font-weight: bold; transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.action-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.btn-start { background-color: #27ae60; } .btn-finish { background-color: var(--main-red); display: none; }
.cta-btn { width: 100%; padding: 18px; margin-top: 15px; border: none; border-radius: 15px; background: linear-gradient(90deg, var(--main-red), #e74c3c); color: white; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 25px -5px rgba(192, 57, 43, 0.4); transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -5px rgba(192, 57, 43, 0.6); }

/* Inputlar */
.smart-input { width: 100% !important; background: var(--input-bg); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 15px; display: flex; align-items: center; position: relative; height: 54px !important; overflow: hidden; box-sizing: border-box; }
.smart-input:focus-within { border-color: var(--main-red); background: var(--card-bg); box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1); }
.flag-part { height: 100% !important; padding: 0 15px; border-right: 1px solid var(--border-color); cursor: pointer; display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,0.02); white-space: nowrap; }
.real-input { background: transparent; border: none; width: 100%; flex: 1; height: 100% !important; padding: 0 15px; font-size: 16px; outline: none; margin: 0; }
.country-dropdown-list { position: absolute; top: 105%; left: 0; width: 100%; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; max-height: 200px; overflow-y: auto; display: none; z-index: 4000; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.c-option { padding: 12px; display: flex; gap: 10px; cursor: pointer; border-bottom: 1px solid var(--border-color); }
.c-option:hover { background: var(--input-bg); }
.hidden { display: none !important; }

/* Modallar */
.lead-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(10px); z-index: 3000; display: none; justify-content: center; align-items: center; }
.lead-modal-content { background: var(--card-bg); border: 1px solid var(--border-color); padding: 35px; border-radius: 25px; width: 90%; max-width: 420px; position: relative; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.close-modal-btn { position: absolute; top: 15px; right: 20px; font-size: 28px; cursor: pointer; }
.close-modal-btn:hover { color: var(--main-red); }

.full-screen-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-color); z-index: 9999; display: none; flex-direction: column; overflow-y: auto; animation: slideUp 0.3s ease-out; }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header { background: var(--card-bg); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 10; }
.modal-header h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px;}
.close-fs-btn { font-size: 35px; cursor: pointer; color: var(--main-red); line-height: 1; }
.modal-body { padding: 20px; max-width: 600px; margin: 0 auto; width: 100%; box-sizing: border-box; }

.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px); }
.modal-content { background: var(--card-bg); margin: 15% auto; padding: 25px; border-radius: 15px; width: 300px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.close { float: right; font-size: 28px; cursor: pointer; }

/* ========================================= */
/* 9. TELEGRAM QALQIB CHIQAR TUGMA VA XABAR  */
/* ========================================= */
.floating-telegram { position: fixed; bottom: 25px; right: 25px; background-color: #2AABEE; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 35px; text-decoration: none; box-shadow: 0 5px 20px rgba(42, 171, 238, 0.4); z-index: 2500; animation: pulse-tg 2s infinite; }
.floating-telegram i { margin-right: 2px; margin-top: 2px; }
.tg-tooltip { position: absolute; right: 75px; top: 50%; transform: translateY(-50%); background: white; color: #333; padding: 10px 15px; border-radius: 12px; font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 5px 15px rgba(0,0,0,0.1); animation: float-msg 3s ease-in-out infinite; }
.tg-tooltip::after { content: ""; position: absolute; top: 50%; right: -6px; transform: translateY(-50%); border-width: 6px 0 6px 6px; border-style: solid; border-color: transparent transparent transparent white; }
@keyframes pulse-tg { 0% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(42, 171, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0); } }
@keyframes float-msg { 0%, 100% { transform: translateY(-50%) translateX(0); } 50% { transform: translateY(-50%) translateX(-5px); } }

@media (max-width: 600px) {
    .floating-telegram { width: 50px; height: 50px; font-size: 30px; bottom: 20px; right: 20px; }
    .tg-tooltip { right: 65px; font-size: 12px; padding: 8px 12px; }
}

/* ========================================= */
/* 10. BO'LIMLAR ORASINI MAKSIMAL QISISH     */
/* ========================================= */
.courses-section, .roadmap-section, .benefits-section, .faq-section { padding-top: 20px !important; padding-bottom: 20px !important; }
.courses-section h2, .roadmap-section h2, .benefits-section h2, .faq-section h2 { margin-bottom: 15px !important; }
div[style*="margin: 50px 0;"] { margin-top: 15px !important; margin-bottom: 15px !important; }
div[style*="margin: 60px 0 40px 0;"] { margin-top: 25px !important; margin-bottom: 20px !important; }

/* Kurs bosqichlari hover effekti */
.roadmap-card {
    transition: all 0.3s ease; /* Effekt silliq chiqishi uchun */
}

.roadmap-card:hover {
    transform: translateY(-8px); /* Katakni 8px tepaga ko'taradi */
    box-shadow: 0 15px 35px rgba(192, 57, 43, 0.15); /* Soyani yumshoq va qizg'ish qiladi */
    border-color: var(--main-red); /* Ramkani asosiy qizil rangga o'zgartiradi */
}

/* Ikonka biroz kattalashishi uchun (ixtiyoriy) */
.roadmap-card:hover .card-icon {
    transform: scale(1.1);
    transition: 0.3s ease;
}
.card-icon {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    /* qolgan o'lchamlar o'zgarishsiz qoladi */
}

.roadmap-header {
    text-align: center; /* Hammasini markazga oladi */
    margin-bottom: 40px; /* Pastdagi kataklar bilan masofa */
}

.roadmap-header h2 {
    font-size: 35px; /* Yozuvni katta qiladi */
    font-weight: 800; /* Qalinligini oshiradi */
    color: var(--text-color);
    margin: 0;
    text-transform: capitalize;
    letter-spacing: 1px;
}