@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

body,
.ag-main-wrapper {
    font-family: 'Inter', sans-serif !important;
}


/* Asosiy sozlamalar */
:root {
    --ag-green: #008744;
    --ag-light-green: #22c55e;
    --ag-white: #ffffff;
    --ag-glass: rgba(255, 255, 255, 0.1);
    --ag-border: rgba(255, 255, 255, 0.2);
}

.ag-main-wrapper {
    position: relative;
    font-family: 'Inter', sans-serif;
    isolation: isolate;
}

.ag-container {
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 20px;
}










/* Header boshlang'ich holati */
header.ag-header {
    position: fixed !important; /* Majburiy qotirish */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important; /* Juda baland qavat */
    background: transparent;
    transition: all 0.3s ease-in-out;
}

/* Skrol bo'lgandagi holat */
header.ag-header.scrolled {
    background-color: white !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    padding: 10px 0 !important;
}

/* Ranglarni boshqarish */
header.ag-header .ag-nav-menu li a, 
header.ag-header .ag-lang,
header.ag-header .ag-logo-group div,
.logo-text span{
    color: white; /* Skrolgacha oq */
    transition: 0.3s;
}
header.ag-header.scrolled .logo-text  .green-text{
     color: #006838 !important;
}
header.ag-header.scrolled .logo-text  .orange-text{
     color:#f7941d !important;
}
header.ag-header.scrolled .ag-nav-menu li a,
header.ag-header.scrolled .ag-lang,
header.ag-header.scrolled .ag-logo-group div
.logo-text span {
    color: #333; /* Skroldan keyin qora */
}



/* Logolarni almashtirish */
header.ag-header .logo-dark { display: none !important; }
header.ag-header .logo-light { display: block !important; }

header.ag-header.scrolled .logo-light { display: none !important; }
header.ag-header.scrolled .logo-dark { display: block !important; }

/* Active link foni skrolda */
header.ag-header.scrolled .ag-nav-menu li a.active {
    background: #e6f4ea !important;
    color: #006838 !important;
    padding: 8px 15px !important;
    border-radius: 50px !important;
}


.ag-logo-group {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.ag-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ag-logo-item img {
    height: 45px; /* Ikonka balandligi */
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

/* Birinchi logo matnlari */
.main-name {
    font-size: 18px;
    font-weight: 800;
}

.sub-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Ranglar va maxsus stillar */
.uppercase { text-transform: uppercase; }
.green-text { color: #006838; } /* UzAgroStar yashil rangi */
.orange-text { color: #f7941d; } /* Holding to'q sariq rangi */
.dark-text { color: #1a1a1b; font-size: 20px; } /* Tomorqam to'q qora */
.bold-text { font-weight: 900; }

/* Header isolate + dropdowns */
.ag-main-wrapper .ag-header .ag-navbar {
    position: relative;
    gap: 20px;
}

.ag-main-wrapper .ag-header .ag-nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ag-main-wrapper .ag-header .ag-nav-menu li {
    position: relative;
    list-style: none;
}

.ag-main-wrapper .ag-header .ag-menu-trigger,
.ag-main-wrapper .ag-header .ag-lang-trigger {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.ag-main-wrapper .ag-header .ag-menu-trigger.active {
    color: #ffd700;
}

.ag-main-wrapper .ag-header .ag-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.2s ease;
    z-index: 20;
}

.ag-main-wrapper .ag-header .ag-dropdown-right {
    left: auto;
    right: 0;
    min-width: 200px;
}

.ag-main-wrapper .ag-header .ag-dropdown li a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #121212 !important;
    text-decoration: none;
    font-weight: 500;
}

.ag-main-wrapper .ag-header .ag-dropdown li a:hover,
.ag-main-wrapper .ag-header .ag-dropdown li a.active {
    background: #eff8f0;
    color: #006838 !important;
}

.ag-main-wrapper .ag-header .ag-has-dropdown.is-open > .ag-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ag-main-wrapper .ag-header .ag-hamburger {
    display: none;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.ag-main-wrapper .ag-header .ag-mobile-menu {
    display: none;
}

/* Laravelga ulaganda eski global stillar bosmasligi uchun */
.ag-main-wrapper .ag-header,
.ag-main-wrapper .ag-header * {
    box-sizing: border-box;
}











/* Hero Section */
.ag-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.ag-hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.ag-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ag-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--ag-border);
    padding: 8px 16px;
    border-radius: 50px;
    color: white;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.ag-hero-title {
    font-size: clamp(32px, 6vw, 75px);
    color: white;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.ag-highlight {
    color: var(--ag-light-green);
}

.ag-hero-text {
    color: white;
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Tugmalar */
.ag-hero-actions {
    display: flex;
    gap: 15px;
}

.ag-btn {
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.ag-btn-fill {
    background: var(--ag-green);
    color: white;
}

.ag-btn-outline {
    background: var(--ag-glass);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid var(--ag-border);
}

/* Navigatsiya elementlari */
.ag-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--ag-glass);
    border: 1px solid var(--ag-border);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.ag-prev {
    left: 20px;
}

.ag-next {
    right: 20px;
}

.ag-pagination {
    position: absolute;
    bottom: 30px;
    left: 20px;
    display: flex;
    gap: 8px;
}

.ag-dot {
    width: 12px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.ag-dot.ag-active {
    width: 30px;
    background: white;
}

/* MOBILE RESPONSIVE */
@media (max-width: 1100px) {
    .ag-nav-menu {
        display: none;
    }

    .ag-main-wrapper .ag-header .ag-hamburger {
        display: inline-flex;
    }

    .ag-main-wrapper .ag-header .ag-lang {
        display: none;
    }

    .ag-main-wrapper .ag-header .ag-mobile-menu {
        margin-top: 16px;
        border-radius: 16px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .ag-main-wrapper .ag-header.menu-open .ag-mobile-menu {
        display: block;
    }

    .ag-main-wrapper .ag-header .ag-mobile-menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .ag-main-wrapper .ag-header .ag-mobile-menu a {
        display: block;
        text-decoration: none;
        color: #222;
        padding: 10px 4px;
        border-bottom: 1px solid #f1f1f1;
    }

    .ag-main-wrapper .ag-header .ag-mobile-menu a.active {
        color: #006838;
        font-weight: 700;
    }

    .ag-main-wrapper .ag-header .ag-mobile-lang {
        margin-top: 12px;
        display: grid;
        gap: 4px;
    }
}

@media (max-width: 600px) {
    .ag-main-wrapper .ag-header {
        padding: 12px 0 !important;
    }

    .ag-main-wrapper .ag-header .ag-container {
        padding: 0 14px !important;
    }

    .ag-main-wrapper .ag-header .ag-logo-group {
        gap: 10px;
        max-width: calc(100% - 56px);
        overflow: hidden;
    }

    .ag-main-wrapper .ag-header .ag-logo-item img {
        height: 34px;
    }

    .ag-main-wrapper .ag-header .main-name {
        font-size: 12px;
    }

    .ag-main-wrapper .ag-header .sub-name {
        font-size: 9px;
        letter-spacing: 0.4px;
    }

    .ag-main-wrapper .ag-header .dark-text {
        font-size: 14px;
    }

    .ag-hero-content {
        text-align: center;
    }

    .ag-hero-badge {
        margin: 0 auto 20px;
    }

    .ag-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .ag-btn {
        width: 100%;
        justify-content: center;
    }
}



.agro-about {
    padding: 60px 0;
    font-family: 'Inter', sans-serif;
}

.agro-about .agro-container {
    max-width: 1536px !important;
    /* Ekran bo'ylab yoyilib ketmasligi uchun chegaralandi */
    margin: 0 auto;
    padding: 0 20px;
}

.agro-top {
    text-align: center;
    margin-bottom: 50px;
}

.badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.agro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* MATN QISMI */
.agro-text-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.text-main h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.text-main p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.text-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.footer-box h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-box p {
    font-size: 14px;
    color: #777;
    line-height: 1.4;
}

/* GALEREYA (4 ta bir xil figura) */
.agro-4-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 ta ustun */
    grid-template-rows: 1fr 1fr;
    /* 2 ta qator */
    gap: 15px;
    height: 100%;
    /* Matn qancha bo'lsa, bu ham shuncha */
}

.grid-item {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Yashil statistika kartasi */
.agro-card {
    background: #006838;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.agro-card i {
    font-size: 26px;
    margin-bottom: 5px;
}

.agro-card .year {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.agro-card span {
    font-size: 13px;
    opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .agro-wrapper {
        grid-template-columns: 1fr;
    }

    .agro-4-grid {
        height: 500px;
    }

    /* Telefonda balandlik beramiz */
}

@media (max-width: 500px) {
    .text-footer {
        grid-template-columns: 1fr;
    }

    .agro-4-grid {
        height: 400px;
        gap: 10px;
    }
}


.val-section {
    padding: 80px 0;
    background-color: #f9fbf9;
    /* Juda och yashil-oq fon */
    font-family: 'Inter', sans-serif;
}

.val-container {
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 20px;
}

.val-header {
    text-align: center;
    margin-bottom: 50px;
}

.val-badge {
    background: #dcfce7;
    color: #15803d;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.val-title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
}

/* Karta Grid (Flexbox orqali asimetriyani saqlash) */
.val-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Kartalarni markazga yig'adi */
    gap: 20px;
}

.val-card-header {
    display: flex;
    align-items: center; /* Ikonka va matnni vertikal o'rtalaydi */
    gap: 15px;           /* Ikonka va matn orasidagi masofa */
    margin-bottom: 5px;  /* Pastdagi tekstdan biroz masofa */
}

.val-card-header h3 {
    margin-bottom: 0;    /* H3 ning standart paddingini olib tashlaymiz */
    font-size: 18px;
    font-weight: 700;
}

/* Har bir karta */
.val-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    /* 25% emas, 22% atrofida qilamizki, gaplar bilan 4 ta tushsin */
    flex: 0 1 calc(24% - 20px); 
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}
/* Ikonka foni */
.val-icon {
    width: 50px;
    height: 50px;
    background: #e8f5e9;
    /* Standart fon */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008744;
    /* Standart ikonka rangi */
    font-size: 24px;
    transition: all 0.3s ease;
}

.val-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.val-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 🔥 HOVER EFFEKT */
.val-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 135, 68, 0.1);
    border-color: #00874444;
}

.val-card:hover .val-icon {
    background: #008744;
    /* Fon yashil bo'ladi */
    color: #ffffff;
    /* Ikonka oq bo'ladi */
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .val-card {
        flex: 1 1 calc(33.333% - 20px);
        /* 3 tadan bo'lib qoladi */
    }
}

@media (max-width: 768px) {
    .val-card {
        flex: 1 1 calc(50% - 20px);
        /* 2 tadan */
    }
}

@media (max-width: 500px) {
    .val-card {
        flex: 1 1 100%;
        /* 1 tadan */
    }
}

















.tasks-section {
    padding: 100px 0;
    background-color: #f4f9f6;
    /* Rasmdagi kabi juda och yashil fon */
    font-family: 'Inter', sans-serif;
}

.tasks-container {
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 20px;
}

.tasks-header {
    text-align: center;
    margin-bottom: 60px;
}

.tasks-main-title {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
}

.tasks-subtitle {
    color: #666;
    font-size: 16px;
}

/* Grid Tizimi */
.tasks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 ta teng ustun */
    gap: 30px;
}

/* Kartochka dizayni */
.task-card {
    background: #ebf5ef;
    /* Kartochkaning o'ziga xos och yashil foni */
    border-radius: 30px;
    /* Rasmdagi kabi yumshoq burchaklar */
    padding: 45px 30px;
    text-align: center;
    border: 1px solid rgba(0, 135, 68, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: none;
    /* Hover bo'lmasligi uchun */
}

/* Ikonka */
.task-icon {
    width: 60px;
    height: 60px;
    background: #008744;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 25px;
}

/* Raqamlar (Statistika) */
.task-stat {
    font-size: 38px;
    font-weight: 800;
    color: #006838;
    margin-bottom: 10px;
}

/* Kichik sarlavha */
.task-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

/* Tavsif matni */
.task-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* RESPONSIVE - Mobil qurilmalar uchun */
@media (max-width: 992px) {
    .tasks-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Planshetda 2 ta ustun */
    }
}

@media (max-width: 768px) {
    .tasks-grid {
        grid-template-columns: 1fr;
        /* Telefonda 1 ta ustun */
    }

    .tasks-main-title {
        font-size: 24px;
    }
}





@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

.map-header-container {
    text-align: center;
    /* Hammasini markazga tekislaydi */
    margin-bottom: 40px;
    margin-top: 40px;
    /* Xarita bilan oraliq masofa */
    font-family: 'Inter', sans-serif;
}

.map-main-title {
    font-size: 32px;
    /* Sarlavha kattaligi */
    font-weight: 800;
    /* Juda qalin (Extra Bold) */
    color: #000000;
    /* To'q qora */
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    /* Harflar orasini biroz yaqinlashtiradi */
}

.map-sub-title {
    font-size: 18px;
    /* Tag sarlavha kattaligi */
    font-weight: 400;
    /* Oddiy qalinlik */
    color: #5d6b82;
    /* Rasmda ko'ringan kulrang-ko'kimtir rang */
    max-width: 800px;
    /* Matn juda yoyilib ketmasligi uchun */
    margin: 0 auto;
    /* Markazda saqlash uchun */
    line-height: 1.4;
}

/* Responsive (Mobil qurilmalar uchun) */
@media (max-width: 768px) {
    .map-main-title {
        font-size: 24px;
    }

    .map-sub-title {
        font-size: 14px;
        padding: 0 20px;
    }
}

/* Nuqta hover effekti */
.agro-pin {
    transition: 0.3s;
}

.agro-pin:hover {
    transform: scale(1.2);
}

.map-wrapper {
    max-width: 70% !important;
    /* Ekran kengligi bo'ylab yoyiladi */
    width: 95%;
    /* Chekkalardan ozgina joy qolishi uchun */
    margin: 0 auto;
    height: 800px;
    /* Balandlikni ham oshiramiz */
}

/* Point effekti */
.map-pin {
    transition: transform 0.2s ease;
    transform-origin: center;
    transform-box: fill-box;
}

.map-pin:hover {
    transform: scale(1.1);
    /* Ustiga borganda 30% kattalashadi */
}

/* Card dizayni */
.agro-popup-card {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 380px;
    /* Rasmda biroz kengroq ko'rinmoqda */
    background: rgba(255, 255, 255, 0.7);
    /* Shaffof oq fon */
    backdrop-filter: blur(20px);
    /* Orqa fonni xira qilish (Glass effect) */
    -webkit-backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 30px;
    /* Yumshoq burchaklar */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 10000;
    display: none;
    /* Dastlab yopiq */
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
}

.agro-popup-card.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.agro-popup-card .agro-anim-item {
    opacity: 0;
    transform: translateY(16px);
    transition: none;
}

.agro-popup-card.is-open .agro-anim-item {
    opacity: 1;
    transform: translateY(0);
}

@keyframes agroItemIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.agro-popup-card.replay .agro-anim-item:nth-child(1) { animation: agroItemIn .42s ease .06s both; }
.agro-popup-card.replay .agro-anim-item:nth-child(2) { animation: agroItemIn .42s ease .14s both; }
.agro-popup-card.replay .agro-anim-item:nth-child(3) { animation: agroItemIn .42s ease .22s both; }
.agro-popup-card.replay .agro-anim-item:nth-child(4) { animation: agroItemIn .42s ease .30s both; }
.agro-popup-card.replay .agro-anim-item:nth-child(5) { animation: agroItemIn .42s ease .38s both; }

/* Yopish tugmasi */
.agro-close-btn {
    position: absolute;
    top: 18px !important;
    right: 18px !important;
    left: auto !important;
    z-index: 5;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    opacity: 0.75;
}

.agro-close-btn:hover {
    opacity: 1;
}

/* Teglar */
.agro-tags {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.agro-tag {
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.05);
    /* Juda och kulrang fon */
    padding: 5px 15px;
    border-radius: 50px;
}

/* Sarlavhalar */
.agro-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}

.agro-card-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #006935;
    /* O'sha yashil rang */
    margin: 0 0 20px 0;
}

/* Asosiy matn */
.agro-card-text {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Link */
.agro-card-link {
    font-size: 15px;
    font-weight: 700;
    color: #006935;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.agro-card-link:hover {
    text-decoration: underline;
}


/* Telefon va planshetlar uchun (ekran 768px dan kichik bo'lganda) */
@media (max-width: 768px) {
    .agro-popup-card {
        /* Cardni xarita ichida saqlaymiz */
        position: absolute;
        top: 10px;
        /* Tepadan ozgina joy */
        right: 10px;
        /* O'ngdan ozgina joy */
        left: 10px;
        /* Chapdan ham yopishadi, shunda card kengligi moslashadi */
        width: auto;
        /* Avtomatik kenglik (chegaralardan kelib chiqib) */
        max-width: calc(100% - 20px);
        /* Ekrandan chiqib ketmasligi uchun */
        padding: 20px;
        border-radius: 20px;
        /* Biroz kichikroq radius */
        backdrop-filter: blur(15px);
        /* Effektni saqlab qolamiz */
    }

    /* Matnlarni mobilga moslab kichraytiramiz */
    .agro-card-title {
        font-size: 18px;
        font-weight: 700;
    }

    .agro-card-subtitle {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .agro-card-text {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .agro-tags {
        gap: 10px;
        margin-bottom: 10px;
    }

    .agro-tag {
        font-size: 10px;
        padding: 3px 10px;
    }

    .agro-close-btn {
        top: 10px;
        right: 15px;
        font-size: 24px;
    }
}

/* Juda kichik ekranlar uchun (masalan iPhone SE) */
@media (max-width: 380px) {
    .agro-popup-card {
        padding: 15px;
    }

    .agro-card-title {
        font-size: 16px;
    }
}

.agro-card-popup h3 {
    margin: 0;
    font-size: 20px;
    color: #111;
}

.agro-card-popup h4 {
    margin: 5px 0;
    font-size: 14px;
    color: #006935;
}

.agro-card-popup p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
    color: #999;
}


@media (max-width: 1880px) {
  .ag-hero-content{
            padding-top: 100px
        }

}