@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --brand-green: #10b981; --brand-dark-green: #059669; --dark-navy: #0f172a;
    --text-main: #334155; --text-muted: #64748b; --bg-light: #f8fafc;
    --bg-white: #ffffff; --border-color: #e2e8f0; --danger-red: #ef4444; --wa-green: #25D366;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background-color: var(--bg-light); color: var(--text-main); line-height: 1.6; overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; transition: 0.3s; color: inherit; }
ul { list-style: none; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 4%; width: 100%; }

/* --- HEADER --- */
.top-header { background: linear-gradient(135deg, var(--brand-green), var(--brand-dark-green)); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2); }
.header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo-box { color: var(--bg-white); font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.search-box { flex: 1; max-width: 600px; display: flex; background: var(--bg-white); border-radius: 50px; overflow: hidden; padding: 3px; }
.search-box input { flex: 1; border: none; padding: 10px 25px; outline: none; font-size: 14px; font-family: inherit; }
.search-box button { background: #f59e0b; border: none; padding: 0 25px; color: var(--bg-white); cursor: pointer; border-radius: 50px; }
.header-icons { display: flex; gap: 25px; align-items: center; }
.icon-btn { color: var(--bg-white); font-size: 20px; position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.cart-badge { position: absolute; top: -8px; right: -10px; background: var(--danger-red); color: var(--bg-white); font-size: 10px; padding: 2px 7px; border-radius: 50px; font-weight: 700; }
.sub-nav { background: var(--bg-white); border-bottom: 1px solid var(--border-color); padding: 12px 0; display: flex; justify-content: center; gap: 40px; }
.nav-link { font-weight: 600; font-size: 14px; color: var(--text-muted); }
.nav-link:hover, .sub-nav a.active { color: var(--brand-green); }

/* --- HOME PAGE HERO & CATS --- */
.heroSwiper { width: 100%; height: 450px; background: var(--bg-white); }
.hero-split { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.floating-product { max-height: 350px; animation: floatAnim 4s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); }
@keyframes floatAnim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- ⭐️ STRICT GIANT IMAGE FIX ⭐️ --- */
.grid-system { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.pro-card { background: var(--bg-white); border-radius: 18px; border: 1px solid var(--border-color); overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; }
.pro-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); border-color: var(--brand-green); }

.img-area { 
    height: 250px !important; /* बॉक्सची फिक्स हाईट */
    width: 100% !important;
    background: var(--bg-light); 
    padding: 20px; 
    position: relative; 
    overflow: hidden !important; 
}
.img-area a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important; /* लिंक टॅगला बॉक्स एवढेच ठेवते */
}
.img-area img { 
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important; 
    max-height: 100% !important; 
    object-fit: contain !important; /* इमेज क्रॉप न होता परफेक्ट बसेल */
}
.off-label { position: absolute; top: 12px; left: 12px; background: var(--danger-red); color: var(--bg-white); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 6px; z-index: 2; }

/* --- CARD DETAILS & BUTTONS --- */
.card-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 16px; font-weight: 600; color: var(--dark-navy); margin-bottom: 10px; height: 45px; overflow: hidden; line-height: 1.4; }
.price-tag { font-size: 22px; font-weight: 800; color: var(--brand-green); margin-bottom: 15px; display: flex; align-items: center; gap: 8px;}
.price-tag del { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.selectors-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; margin-bottom: 20px; }
.sel-group label { display: block; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 5px; }
.sz-select { width: 100%; padding: 8px; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-white); font-family: inherit; font-size: 13px; color: var(--dark-navy); outline: none; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; height: 35px; }
.qty-box button { width: 30px; height: 100%; border: none; background: var(--bg-light); cursor: pointer; font-weight: 800; color: var(--dark-navy); }
.qty-box input { width: calc(100% - 60px); text-align: center; border: none; font-size: 13px; font-weight: 700; color: var(--dark-navy); background: transparent; }
.btn-wa { background: var(--wa-green); color: var(--bg-white); border: none; padding: 10px; border-radius: 10px; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: 0.3s; margin-bottom: 8px; width: 100%; }
.btn-cart-sec { background: var(--bg-white); color: var(--dark-navy); border: 2px solid var(--dark-navy); padding: 8px; border-radius: 10px; font-weight: 600; font-size: 13px; cursor: pointer; transition: 0.3s; width: 100%; }

/* --- SIDEBAR & SHOP LAYOUT --- */
.shop-layout { display: flex; gap: 40px; padding: 40px 0; align-items: flex-start; }
.sidebar { width: 260px; background: var(--bg-white); padding: 25px; border-radius: 20px; border: 1px solid var(--border-color); position: sticky; top: 120px; }
.filter-title { font-size: 15px; text-transform: uppercase; color: var(--dark-navy); margin-bottom: 20px; font-weight: 800; }
.cat-pill { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; border-radius: 12px; font-size: 14px; font-weight: 500; margin-bottom: 8px; border: 1px solid transparent; }
.cat-pill:hover, .cat-pill.active { background: #ecfdf5; color: var(--brand-green); border-color: #d1fae5; }
.main-content { flex: 1; }

/* --- PRODUCT DETAILS PAGE --- */
.pd-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; background: var(--bg-white); padding: 40px; border-radius: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.02); margin: 40px auto; border: 1px solid var(--border-color); }
.pd-img-box { height: 450px; background: var(--bg-light); border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 20px; border: 1px solid var(--border-color); }
.pd-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-title { font-size: 32px; font-weight: 800; color: var(--dark-navy); line-height: 1.2; margin-bottom: 15px; }
.pd-desc { font-size: 16px; color: var(--text-main); margin-bottom: 25px; line-height: 1.8; }
.pd-action-box { display: flex; gap: 15px; margin-top: 30px; }
.pd-btn-wa { flex: 1; background: var(--wa-green); color: white; padding: 15px; border-radius: 12px; font-weight: 700; font-size: 16px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.pd-btn-cart { flex: 1; background: var(--brand-green); color: white; padding: 15px; border-radius: 12px; font-weight: 700; font-size: 16px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;}

/* --- CONTACT / ENQUIRY PAGE --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin: 50px auto; }
.contact-info-card { background: var(--dark-navy); color: white; padding: 40px; border-radius: 20px; }
.contact-form-card { background: white; padding: 40px; border-radius: 20px; border: 1px solid var(--border-color); }
.form-grp { margin-bottom: 20px; }
.form-grp label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text-muted); }
.form-grp input, .form-grp textarea { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 10px; font-family: inherit; font-size: 14px; background: var(--bg-light); outline: none; }
.btn-submit { background: var(--brand-green); color: white; border: none; padding: 15px 30px; border-radius: 10px; font-weight: 700; cursor: pointer; width: 100%; }

/* --- FOOTER & TOAST --- */
.main-footer { background: var(--dark-navy); color: #cbd5e1; padding: 60px 0 20px 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.toast-box { position: fixed; top: 30px; right: -400px; background: var(--dark-navy); color: white; padding: 15px 25px; border-radius: 12px; font-weight: 600; display: flex; align-items: center; gap: 12px; z-index: 9999; transition: right 0.4s; border-left: 4px solid var(--brand-green); }
.toast-box.show { right: 30px; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .header-wrap { flex-wrap: wrap; }
    .search-box { order: 3; min-width: 100%; margin-top: 10px; }
    .sub-nav { display: none; }
    .shop-layout, .pd-wrapper, .contact-wrapper { grid-template-columns: 1fr; flex-direction: column; padding: 20px 4%; }
    .sidebar { display: none; }
    .pd-action-box { flex-direction: column; }
    .toast-box { top: auto; bottom: 30px; right: 50% !important; transform: translateX(50%); width: 90%; }
}

/* =========================================================
   11. NEW HOME PAGE SECTIONS (Crops, Pests, Stats, Ads)
========================================================= */
.section-header-left { margin: 50px 0 20px; display: flex; justify-content: space-between; align-items: flex-end; }
.section-header-left h2 { font-size: 24px; font-weight: 800; color: var(--dark-navy); margin-bottom: 5px; }
.section-header-left p { color: var(--text-muted); font-size: 15px; }
.view-all-link { color: var(--text-muted); font-weight: 600; font-size: 14px; text-decoration: underline; }
.view-all-link:hover { color: var(--brand-green); }

/* Round Category Scroll (Pests, Crops, Nutrients) */
.round-category-wrap { display: flex; gap: 30px; overflow-x: auto; padding-bottom: 15px; scroll-snap-type: x mandatory; scrollbar-width: none; /* Firefox */ }
.round-category-wrap::-webkit-scrollbar { display: none; /* Chrome/Safari */ }
.round-item { min-width: 120px; max-width: 120px; text-align: center; scroll-snap-align: start; cursor: pointer; transition: 0.3s; }
.round-img-box { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 15px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s; background: white; display: flex; align-items: center; justify-content: center; }
.round-img-box img { width: 100%; height: 100%; object-fit: cover; }
.round-item:hover .round-img-box { border-color: var(--brand-green); transform: translateY(-5px); box-shadow: 0 8px 15px rgba(16, 185, 129, 0.2); }
.round-title { font-size: 13px; font-weight: 600; color: var(--dark-navy); line-height: 1.3; }

/* Ad Banners Grid */
.ad-banners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.ad-banner-img { width: 100%; border-radius: 12px; object-fit: cover; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: 0.3s; cursor: pointer; }
.ad-banner-img:hover { transform: scale(1.02); }

/* Stats Banner */
.stats-banner { background: #d1fae5; padding: 50px 20px; text-align: center; border-radius: 16px; margin: 60px 0; border: 1px solid #a7f3d0; }
.stats-banner h3 { color: var(--brand-dark-green); font-size: 20px; font-weight: 800; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 1px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-box h4 { font-size: 42px; font-weight: 800; color: var(--brand-green); margin-bottom: 5px; }
.stat-box p { font-size: 16px; font-weight: 700; color: var(--dark-navy); }

/* Responsive adjustments */
@media (max-width: 900px) {
    .ad-banners-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat-box h4 { font-size: 32px; }
    .section-header-left { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* =========================================================
   12. SERVICES PAGE UI
========================================================= */
.page-hero { background: linear-gradient(135deg, var(--dark-navy), #1e293b); color: var(--bg-white); padding: 70px 4%; text-align: center; }
.page-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 15px; letter-spacing: -0.5px; }
.page-hero p { color: #cbd5e1; font-size: 16px; max-width: 600px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 60px 0; }
.service-card { background: var(--bg-white); padding: 40px 30px; border-radius: 16px; border: 1px solid var(--border-color); transition: 0.3s; text-align: center; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.05); border-color: var(--brand-green); }
.service-icon { width: 80px; height: 80px; background: #ecfdf5; color: var(--brand-green); font-size: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 20px; transition: 0.3s; }
.service-card:hover .service-icon { background: var(--brand-green); color: var(--bg-white); }
.service-title { font-size: 20px; font-weight: 700; color: var(--dark-navy); margin-bottom: 15px; }
.service-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* =========================================================
   13. CAREERS PAGE UI
========================================================= */
.jobs-container { max-width: 900px; margin: 60px auto; }
.job-intro { text-align: center; margin-bottom: 40px; }
.job-intro h2 { font-size: 28px; color: var(--dark-navy); font-weight: 800; margin-bottom: 10px; }

.job-card { background: var(--bg-white); padding: 30px; border-radius: 16px; border: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; transition: 0.3s; border-left: 5px solid transparent; }
.job-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-left-color: var(--brand-green); }
.job-info h3 { font-size: 18px; font-weight: 700; color: var(--dark-navy); margin-bottom: 10px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--text-muted); font-size: 13px; font-weight: 500; }
.job-meta span { display: flex; align-items: center; gap: 6px; }
.job-meta i { color: var(--brand-green); }

.btn-apply { background: var(--brand-green); color: var(--bg-white); padding: 12px 25px; border-radius: 10px; font-weight: 600; font-size: 14px; transition: 0.3s; border: none; cursor: pointer; display: inline-block; }
.btn-apply:hover { background: var(--brand-dark-green); transform: translateY(-2px); }

@media(max-width: 768px){ 
    .job-card { flex-direction: column; align-items: flex-start; gap: 20px; padding: 25px; } 
    .btn-apply { width: 100%; text-align: center; } 
}

/* =========================================================
   14. ABOUT US PAGE UI
========================================================= */
.about-hero { background: linear-gradient(135deg, var(--dark-navy), #1e293b); color: var(--bg-white); padding: 80px 4%; text-align: center; }
.about-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 15px; color: var(--brand-green); }
.about-hero p { font-size: 18px; color: #cbd5e1; max-width: 700px; margin: 0 auto; }

.about-content-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; margin: 60px auto; align-items: center; max-width: 1300px; padding: 0 4%; }
.about-text h2 { font-size: 32px; font-weight: 800; color: var(--dark-navy); margin-bottom: 20px; }
.about-text p { font-size: 16px; color: var(--text-main); margin-bottom: 20px; line-height: 1.8; text-align: justify; }
.about-img { border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.1); border: 4px solid var(--bg-white); }
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1300px; margin: 60px auto; padding: 0 4%; }
.mission-card { background: var(--bg-white); padding: 40px 30px; border-radius: 16px; border: 1px solid var(--border-color); text-align: center; transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.mission-card:hover { transform: translateY(-5px); border-color: var(--brand-green); box-shadow: 0 15px 30px rgba(16, 185, 129, 0.1); }
.mission-icon { font-size: 45px; color: var(--brand-green); margin-bottom: 20px; }
.mission-card h3 { font-size: 22px; font-weight: 800; color: var(--dark-navy); margin-bottom: 15px; }
.mission-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

.strengths-section { background: var(--bg-white); padding: 60px 4%; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); margin-bottom: 50px; }
.strengths-header { text-align: center; margin-bottom: 40px; }
.strengths-header h2 { font-size: 32px; font-weight: 800; color: var(--dark-navy); }
.strengths-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; max-width: 1300px; margin: 0 auto; }
.strength-item { background: var(--bg-light); padding: 25px; border-radius: 12px; display: flex; align-items: flex-start; gap: 20px; border: 1px solid var(--border-color); transition: 0.3s; }
.strength-item:hover { background: var(--bg-white); border-color: var(--brand-green); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.strength-item i { font-size: 24px; color: var(--brand-green); background: #ecfdf5; padding: 15px; border-radius: 50%; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; }
.strength-item p { font-size: 15px; font-weight: 600; color: var(--dark-navy); line-height: 1.5; margin: 0; padding-top: 8px; }

@media (max-width: 992px) {
    .about-content-wrap { grid-template-columns: 1fr; gap: 30px; }
    .about-hero { padding: 50px 4%; }
}

/* =========================================================
   15. CROPS PAGE UI (Shop by Crop)
========================================================= */
.crops-header { text-align: center; padding: 40px 20px; background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border-radius: 16px; margin: 40px auto 30px; max-width: 1300px; border: 1px solid #d1fae5; }
.crops-header h1 { font-size: 36px; font-weight: 800; color: var(--dark-navy); margin-bottom: 10px; }
.crops-header p { font-size: 16px; color: var(--text-muted); }

.crops-grid-page { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 25px; max-width: 1300px; margin: 0 auto 60px; padding: 0 4%; }
.crop-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 16px; padding: 25px 15px; text-align: center; transition: 0.3s; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; }
.crop-card:hover { transform: translateY(-5px); border-color: var(--brand-green); box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1); }

.crop-img-box { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin-bottom: 15px; background: var(--bg-white); border: 2px solid var(--border-color); display: flex; align-items: center; justify-content: center; padding: 12px; transition: 0.3s; }
.crop-card:hover .crop-img-box { border-color: var(--brand-green); background: #ecfdf5; }
.crop-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; transition: 0.3s; }
.crop-card:hover .crop-img-box img { transform: scale(1.15); }

.crop-card h3 { font-size: 15px; font-weight: 600; color: var(--dark-navy); margin: 0; }

@media (max-width: 768px) {
    .crops-grid-page { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 15px; }
    .crop-img-box { width: 75px; height: 75px; }
    .crops-header h1 { font-size: 28px; }
}