:root {
    --primary-green: #7BAF42;
    --text-dark: #2B2B2B;
    --background-light: #F5F5F5;
    --background-white: #FFFFFF;
    --gradient-start: #9CCC65;
    --gradient-end: #558B2F;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--text-dark);
    background-color: var(--background-white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
}

section {
    padding: 6rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--background-white);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background-color: #6a9c39;
    border-color: #6a9c39;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--background-white);
}

#lang-switcher {
    background-color: transparent;
    border: 1px solid var(--text-dark);
    border-radius: 5px;
    padding: 5px 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    margin-right: 1rem;
}

#lang-switcher:focus {
    outline: 2px solid var(--primary-green);
}

/* Header */
header {
    padding: 1.5rem 0;
    background-color: var(--background-white);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*.logo {*/
/*    font-size: 2rem;*/
/*    font-weight: 700;*/
/*    color: var(--primary-green);*/
/*    text-decoration: none;*/
/*}*/

/* til tanlovchisini pastga tushiramiz */

.logo-icon {
    height: 50px;
    width: 50px;
    object-fit: contain;
    display: block;
    position: relative; /* Iconni ham aniqlashtirish */
    z-index: 10; /* Yuqoriga ko‘tarish */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    position: relative; /* Joylashuvni aniqlash uchun */
    z-index: 10; /* Boshqa elementlardan yuqoriga chiqishi uchun */
}


.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-actions .login-btn {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-actions .login-btn:hover {
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 0;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #555;
}

.store-buttons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--background-light);
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.store-btn:hover {
    background-color: #e9e9e9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.store-btn img {
    height: 32px;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.3;
}

.store-btn-subtitle {
    font-size: 0.8rem;
    color: #555;
}

.store-btn-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    opacity: 0.2;
    z-index: 1;
}


/* How It Works Section */
#how-it-works {
    background-color: var(--background-light);
}

.steps-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 2rem;
}

.step {
    max-width: 300px;
}

.step img {
    height: 80px;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: #555;
}

/* Why Bizi Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.benefit img {
    height: 50px;
    margin-top: 5px;
}

.benefit h3 {
    margin-bottom: 0.25rem;
}

.benefit p {
    margin: 0;
    color: #555;
}

/* Provider Section */
#for-providers {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    text-align: center;
}

#for-providers h2, #for-providers p {
    color: white;
}

#for-providers .btn-primary {
    background: white;
    color: var(--primary-green);
    border-color: white;
}

#for-providers .btn-primary:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
}

#for-providers p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.provider-mockup {
    display: block;
    max-width: 70%;
    margin: 3rem auto 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Testimonials Section */
#testimonials {
    background-color: var(--background-light);
}

.testimonials-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 320px;
    text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-green);
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.testimonial-card .name {
    font-weight: 700;
    color: var(--text-dark);
}

/* FAQ Section */
.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    margin: 0;
}

/* Footer */
footer {
    background-color: var(--primary-green);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons img {
    height: 40px;
    width: 40px;
    /*filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);*/
}

.footer-contact p {
    margin: 0.5rem 0;
}

/* --- GLOBAL RASMLAR: overflow bo'lmasin --- */
img {
    max-width: 100%;
    height: auto;
}

/* --- 992px dan kichik (planshet) --- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 4rem 0;
    }

    /* Hero matnini biroz ixchamroq */
    .hero-content p {
        font-size: 1.1rem;
        max-width: 640px;
    }

    /* “How it works” kartochkalari qatorga o‘ralsin */
    .steps-container {
        flex-wrap: wrap;
    }

    .step {
        flex: 1 1 260px;
        max-width: 100%;
    }
}

/* --- 768px dan kichik (telefon) --- */
@media (max-width: 768px) {
    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    /* NAVBAR: yon menyusiz, o‘ralib chiqsin, markazga kelib tursin */
    .navbar {
        flex-wrap: wrap;
        gap: .75rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-actions {
        order: 3;
    }

    /*!* til tanlovchisini pastga tushiramiz *!*/
    /*.logo {*/
    /*    display: flex; !* matn + ikonka yonma-yon *!*/
    /*    align-items: center; !* vertikal tekislash *!*/
    /*    gap: 0.5rem; !* oradagi masofa *!*/
    /*    font-size: 2rem;*/
    /*    font-weight: 700;*/
    /*    color: var(--primary-green);*/
    /*    text-decoration: none;*/
    /*    !*font-size: 1.6rem;*!*/
    /*}*/
    /*.logo-icon {*/
    /*    height: 32px;*/
    /*    width: 32px; !* kvadrat joy tutadi *!*/
    /*    object-fit: contain; !* nisbatni saqlaydi *!*/
    /*    display: block;*/
    /*}*/
    /* Hero rasmini haddan oshirmaymiz */
    .hero {
        padding: 3.5rem 0;
    }

    .hero-bg {
        max-width: 520px;
        opacity: .12;
    }

    /* Store tugmalari kattaroq tap target */
    .store-btn {
        min-width: 230px;
        padding: 12px 16px;
    }

    /* Benefits: 1 ustun */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Testimonials: o‘ralsin */
    .testimonials-container {
        flex-wrap: wrap;
    }

    /* Provider skrinshoti: ekranga mos */
    .provider-mockup {
        max-width: 100%;
        margin-top: 2rem;
    }
}

/* --- 480px dan kichik (kichik telefonlar) --- */
@media (max-width: 480px) {
    .container {
        width: 92%;
    }

    .hero-content p {
        font-size: 1rem;
    }

    #lang-switcher {
        padding: 8px 12px;
    }

    /* kattaroq tap target */
}
