:root {
    --primary-color: #fff; 
    --text-dark: #222;
    --text-light: #aaa;
    --background-light: #001846;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-light); 
    color: var(--text-dark);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px; 
}

.hero-section {
    padding: 60px 0;
    background-color: #001846;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}


/* Matn qismi */
.text-content {
    flex: 1;
}

.title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 0;
    color: #fff;
    margin-bottom: 20px;
}

.description {
    font-size: 1rem;
    color: #d8d8d8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.actions {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 15px;
}

.btn-cv {
    display: inline-block;
    padding: 10px 25px;
    background-color: #fff;
    border-radius: 5px;
    text-decoration: none;
    color: #001946;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-cv:hover {
    background-color: #afafaf;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    color: #ffff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #001946;
    border-color: var(--primary-color);
}


.image-container {
    max-width: 300px;
    width: 80%;
    border-radius: 25px;
    overflow: hidden;
    border: 10px solid #fff;
    position: relative;
    box-shadow: 0 0 25px 10px rgba(255, 255, 255, 0.2); /* <-- BLUR TARQALISHI */
}



.profile-image {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    object-fit: cover;
}

.stat {
    position: absolute;
    width: 120px; 
    padding: 10px 5px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid var(--text-light);
    z-index: 10; 
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #001946;
}

.stat-text {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dark);
}




.stat-top-left {
    top: 50%;                 
    right: 10%;   
    border: 2px solid #001846;           
    left: auto;               
    transform: translateY(-50%) rotate(-2deg);  
}

.stat-bottom-left {
    bottom: 10%;
    border: 2px solid #001846;
    left: 0;
}





/* Umumiy stat dizaynini meros oladi */
.stat-experience-text {
    position: absolute;
    width: 220px; /* Matn uzunroq bo‘lgani uchun kengroq qildim */
    padding: 15px 10px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #001846;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
    z-index: 10;
}






.video-section{
    background-color: #fff;
}

/* Container (Markazlashtirish uchun) */
.video-section .container {
    max-width: 800px; /* Bu bo'limni biroz torroq qilamiz */
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

/* Header Stillari */
.video-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #001946;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px; /* Chiziq uchun joy */
}

/* Sarlavha ostidagi Yashil chiziq (rasmdagidek) */
.section-title::after {
    content: '';
    display: block;
    width: 60%; 
    height: 4px;
    background-color: #001946;
    margin: 0 auto;
    border-radius: 5px;
}

.section-description {
    font-size: 1rem;
    color: #283246;
    line-height: 1.5;
}

/* Video Wrapper (Ramka) */
.video-wrapper {
    position: relative;
    /* 16:9 nisbat uchun padding. Bu videoni responsive qiladi. */
    padding-bottom: 56.25%; /* (9/16) * 100% = 56.25% */
    height: 0;
    overflow: hidden;
    
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Yengil soya */
    border-radius: 15px; /* Yumaloq burchaklar */
}

.youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px; /* Ramka bilan bir xil burchaklar */
}

/* Tugma Stili (Rasmga o'xshash gradientli yashil) */
.btn-more-info {
    display: inline-block;
    padding: 10px 25px;
    background-color: #001946;
    border-radius: 5px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-more-info:hover {
    background-color: #01102c;
}


/* Mobilega moslashuvchanlik uchun (agar kerak bo'lsa) */
@media (max-width: 600px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-more-info {
        padding: 12px 30px;
        font-size: 1rem;
    }
}












.problem-solution-section {
    padding: 30px 0;
    background-color: #fff;
}

/* Kontentni markazlashtiruvchi asosiy konteyner */
.main-content-container {
    /* Katta ekranlarda kontentni markazda ushlab turish */
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading-block {
    text-align: center;
    margin-bottom: 50px;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #001846;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* Sarlavha ostidagi Yashil chiziq */
.section-main-title::after {
    content: '';
    display: block;
    width: 100%; 
    height: 4px;
    background-color: #001846;
    margin: 5px auto 0;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* --- GRID Tuzilishi (Kartochkalarni joylashtirish) --- */
.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    
    /* YANGI: Faqat vertikal bo'shliqni oshirdik, gorizontalni esa o'rtacha qiymatda qoldirdik */
    row-gap: 80px;       /* Vertikal bo'shliq (tepa/past) */
    column-gap: 20px;    /* Gorizontal bo'shliq (chap/o'ng) */
    
    padding: 0 40px; 
}

/* --- Kartochka Stili --- */
.feature-card-item {
    background-color: #001946;
    color: rgb(255, 255, 255);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%; 
}

.card-feature-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 15px;
    /* Rasmdagi kabi orqa foni yo'q, oddiy ikonka */
}

.card-feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-feature-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--card-text-light); 
    margin-bottom: 0;
}



/* Ranglar o'rnatish */
:root {
    --author-primary: #001946; /* To'q ko'k/Havo rang */
    --author-text-dark: #222;
    --author-text-muted: #666;
    --author-section-bg: #ffffff;
}

.author-profile-section {
    padding: 100px 0;
    background-color: var(--author-section-bg);
}

.profile-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    
    display: flex;
    flex-direction: column; /* Mobil uchun ustma-ust */
    align-items: center;
    gap: 40px;
    text-align: center; /* Mobil uchun markazlashtirish */
}


/* --- Matn va Ma'lumotlar qismi --- */
.author-info-content {
    flex: 1;
}

.role-tag {
    font-size: 1rem;
    color: var(--author-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.author-name {
    font-size: 3rem;
    font-weight: 800;
    color: var(--author-text-dark);
    margin-top: 0;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

/* Ism ostidagi yashil doira/chiziq effekti */
.author-name::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(60, 179, 113, 0.4); 
    border-radius: 50%; 
    z-index: -1;
}

/* Ro'yxat stillari */
.author-details-list {
    list-style: none; 
    padding: 0;
    margin-bottom: 30px;
    text-align: left; 
    font-size: 1rem;
    line-height: 1.8;
}

.author-details-list li {
    position: relative;
    color: var(--author-text-dark);
    padding-left: 20px; 
}

/* Bullet nuqtalarini qo'shish */
.author-details-list li::before {
    content: '•'; 
    position: absolute;
    left: 0;
    color: var(--author-text-dark);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Kompaniya logolari stillari */
.company-logos {
    display: flex;
    gap: 15px;
    justify-content: center; 
}

.logo-item {
    padding: 8px 12px;
    border: 1px solid var(--author-text-muted);
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--author-text-dark);
}


/* --- Rasm qismi va Missiya bloki --- */
.author-image-wrapper {
    max-width: 400px;
    width: 90%;
    border-radius: 20px; 
    /* overflow: hidden; /* MUHIM TUZATISH: O'chirildi */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
    border: 5px solid var(--author-section-bg);
    position: relative; 
}

.author-photo {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    border-radius: 15px;
    object-fit: cover;
}

/* Missiya/Iqtibos bloki stili */
.mission-quote-box {
    position: absolute;
    bottom: 0px; 
    left: -100px; 
    
    background-color: white;
    color: var(--author-text-dark);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-width: 300px; 
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
    z-index: 100; /* MUHIM: Eng yuqorida turishi uchun */
}







/* --- Chegirma Formasi Section Stillari --- */

:root {
    --form-blue: #001946;     /* Asosiy ko'k rang */
    --form-old-price: #dc3545; /* Qizil chizilgan narx */
    --form-new-price: #fff; /* Yangi narx matni rangi */
    --form-text-dark: #333; /* Input ichidagi matn rangi */
}

.offer-registration-section {
    padding: 60px 0;
    background-color: #f8f8f8; /* Yengil fon */
}

.registration-main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Asosiy ko'k ramka stili */
.offer-card-wrapper {
    background-color: var(--form-blue);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    
    display: flex;
    flex-direction: column; /* Mobil uchun ustma-ust */
    overflow: hidden; 
}


/* --- Rasm/Dashboard qismi --- */
.visual-content-block {
    flex: 1;
    display: flex; 
    align-items: center;
    justify-content: center;
    min-height: 350px; 
    background-color: #fff; 
}

.dashboard-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* --- Matn va Forma qismi --- */
.form-content-block {
    flex: 1;
    padding: 40px;
    color: white;
}

.offer-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Narx detallari */
.price-details {
    margin-bottom: 30px;
}

.price-label {
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.old-price {
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: line-through; 
    color: rgba(255, 255, 255, 0.7);
    margin-right: 15px;
}

.new-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--form-new-price);
}

.form-instruction {
    font-size: 1rem;
    margin-bottom: 25px;
}

/* --- Forma elementlari --- */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    position: relative;
}

/* MUHIM TUZATISH: Input maydonlari to'liq kenglikni egallashi va paddingni to'g'ri hisoblashi */
.form-input {
    width: 100%; 
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--form-text-dark);
    box-sizing: border-box; /* Eng muhim tuzatish */
}

/* Label stillarini to'g'irlash (rasmda label inputdan tepada turibdi) */
.form-content-block label { 
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px; 
    color: white;
}

/* Telefon raqami inputidagi '+998' belgisini qo'shish uchun HTML tuzatishsiz CSS orqali simulyatsiya */
.phone-input {
    padding-left: 60px; /* Belgiga joy ochish */
}

.input-group:has(.phone-input) {
    /* Faqat telefon inputi mavjud bo'lgan guruh uchun */
    position: relative;
}
.input-group:has(.phone-input)::before {
    content: '+998'; 
    position: absolute;
    left: 15px;
    top: calc(50% + 5px); /* Label pastida bo'lishi uchun top qiymatini to'g'irlash */
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1rem;
    z-index: 2;
}


/* Rasmdagi qo'l yozuvi/belgisi (Ism maydoni yonidagi) */
.handwriting-arrow {
    position: absolute;
    top: -5px;
    right: -50px; 
    width: 40px;
    height: 40px;
    /* Ikonka o'rniga oddiy belgi */
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="none" stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 19h4v-4M17 19l-7-7"/></svg>');
}

/* Tugma stili */
.submit-btn {
    width: 100%; /* MUHIM TUZATISH: Tugma to'liq kenglikni egallasin */
    padding: 15px;
    background-color: #fff;
    color: #001946;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    background-color: #cacaca;
    color: #001946;
}

/* --- DESKTOP (Katta ekranlar) uchun moslashuvchanlik --- */
@media (min-width: 768px) {
    .offer-card-wrapper {
        flex-direction: row; 
    }
    
    .form-content-block {
        padding: 50px;
    }

    .offer-title {
        font-size: 2rem;
    }
    
    /* Rasmdagi o'qni joylashtirish */
    .handwriting-arrow {
        right: -80px; 
        top: 5px;
        transform: rotate(10deg);
    }
}






/* --- Accordion (FAQ) Section Stillari --- */

:root {
    --faq-bg: #f8f8f8;
    --faq-item-bg: #fff;
    --faq-item-hover-bg: #f5f5f5;
    --faq-border-color: #ddd;
    --faq-blue: #007bff; /* Ikona uchun ko'k rang */
    --faq-text-dark: #222;
    --faq-text-muted: #666;
}

.faq-accordion-section {
    padding: 80px 0;
    background-color: var(--faq-bg);
    text-align: center;
}

.faq-content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--faq-text-dark);
    margin-bottom: 50px;
}

.accordion-wrapper {
    text-align: left;
}

/* Accordion Item Stili */
.accordion-item {
    margin-bottom: 10px;
    background-color: var(--faq-item-bg);
    border: 1px solid var(--faq-border-color);
    border-radius: 10px; /* Yumaloq burchaklar */
    overflow: hidden; /* Ichki elementlar ramkadan chiqmasligi uchun */
    transition: background-color 0.3s;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--faq-text-dark);
}

.accordion-item:hover {
    background-color: var(--faq-item-hover-bg);
}

.accordion-question {
    flex-grow: 1;
}

/* Ikona Stili (+ / - yoki X) */
.accordion-icon {
    width: 25px;
    height: 25px;
    background-color: var(--faq-blue);
    color: white;
    border-radius: 50%; /* Dumaloq shakl */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    
    /* Standart holatdagi + belgisi */
    content: '+'; 
    position: relative;
}

.accordion-icon::before {
    content: '+';
}

/* Ochiq holatdagi ikona (+ dan - yoki X ga) */
.accordion-item.is-open .accordion-icon {
    background-color: var(--faq-blue);
    /* content: 'x'; /* HTML ichidagi 'aria-expanded' bilan boshqariladi */
}

.accordion-item.is-open .accordion-icon::before {
    content: 'x'; /* Yoki '—' belgisi */
}

/* Javob qismi stili */
.accordion-body {
    max-height: 0; /* JS tomonidan boshqariladi */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-item.is-open .accordion-body {
    max-height: 200px; /* Ochilganda yetarli balandlik */
    padding: 0 25px 20px 25px;
}

.accordion-answer {
    margin: 0;
    font-size: 1rem;
    color: var(--faq-text-muted);
    line-height: 1.6;
}





.main-title {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.results-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;        /* O'rtaga joylash */
    padding-bottom: 50px;  /* ✅ Pastdan joy tashlash */
    padding-top: 20px;     /* (ixtiyoriy) yuqoridan ham biroz */
}


.result-card {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16 / 9; /* Kartochka o'lchamini rasm nisbatiga moslash (misol uchun) */
}

.image-box {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Rasm kartadan chiqib ketmasligi uchun */
    border-radius: 8px;
}

.result-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Rasm kartochka ichida to'liq to'ldiriladi */
    display: block;
    /* Haqiqiy rasmlar o'rniga sizning rasm kartochkangiz ko'rinishi uchun */
    /* Bu joy egallovchi rasm turini simulyatsiya qiladi */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="350" height="200" viewBox="0 0 350 200"><rect width="350" height="200" fill="%231a222c"/><text x="175" y="100" font-family="Arial" font-size="20" fill="%23ffffff" text-anchor="middle">RASM JOYI</text></svg>');
    background-size: cover;
    background-position: center;
}


/* Mobil qurilmalar uchun */
@media (max-width: 768px) {
    .main-title {
        font-size: 2em;
    }
}