:root {
    --green: #156D38;
    --green-dark: #0F5A2F;
    --green-deep: #003B2E;
    --gold: #C5932D;
    --cream: #F8F9F5;
    --ivory: #FFFFCC;
    --ink: #2B2B2B;
    --muted: #66746a;
    --line: #dfe8dd;
    --shadow: 0 18px 50px rgba(0, 59, 46, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, .navbar-brand { font-family: Georgia, "Times New Roman", serif; }
h1, h2, h3, h4 { color: var(--green-deep); }
a { color: inherit; }
.navbar { background: rgba(255,255,255,.96); box-shadow: 0 2px 18px rgba(0,59,46,.08); transition: box-shadow .25s ease; }
.navbar.scrolled { box-shadow: 0 6px 24px rgba(0,59,46,.14); }
.navbar-brand { color: var(--green-dark); letter-spacing: .02em; display: inline-flex; align-items: center; }
.brand-name { font-size: 1.55rem; font-weight: 700; }
.brand-mark { width: clamp(156px, 15vw, 198px); height: clamp(56px, 6vw, 72px); display: inline-block; margin-right: .4rem; background: url("../Images/gopal-agro-logo.png") center/contain no-repeat; font-size: 0; flex-shrink: 0; }
@media (max-width: 991.98px) {
    .brand-mark { width: 80px; height: 46px; margin-right: .3rem; }
    .brand-name { font-size: 1.2rem; }
}
@media (max-width: 360px) {
    .brand-mark { width: 96px; height: 38px; }
    .brand-name { font-size: 1.05rem; }
}
.nav-link { color: var(--green-deep); font-weight: 600; margin: 0 .35rem; }
.nav-link:hover, .nav-link.active { color: var(--green); }
.btn-catalogue { display: inline-flex; align-items: center; gap: .45rem; background: var(--gold); color: #fff; font-weight: 700; font-size: .88rem; padding: .5rem 1.1rem; border-radius: 2rem; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.btn-catalogue svg { width: 1rem; height: 1rem; fill: currentColor; flex-shrink: 0; }
.btn-catalogue:hover { background: #b17f21; color: #fff; transform: translateY(-1px); }
.btn-catalogue-mobile { padding: .55rem; border-radius: 50%; }
.btn-catalogue-mobile svg { width: 1.05rem; height: 1.05rem; }
.btn-catalogue-mobile .btn-catalogue-text { display: none; }
.hero { min-height: 720px; display: flex; align-items: center; position: relative; color: var(--ivory); overflow: hidden; background: linear-gradient(90deg, rgba(0,59,46,.88), rgba(0,59,46,.42)), url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2200&q=85") center/cover; }
.hero::after, .page-hero::after { content: ""; position: absolute; right: -7rem; bottom: -9rem; width: 26rem; height: 18rem; border-radius: 48% 0 0 0; background: rgba(197,147,45,.72); transform: rotate(-17deg); pointer-events: none; }
.hero::before, .page-hero::before { content: ""; position: absolute; left: -10rem; top: -9rem; width: 25rem; height: 17rem; border-radius: 0 0 48% 0; background: rgba(15,90,47,.92); transform: rotate(-17deg); pointer-events: none; }
.hero-content { max-width: 720px; padding: 7rem 0 5rem; }
.hero-content::before { content: ""; display: block; width: clamp(240px, 30vw, 360px); height: clamp(122px, 15vw, 182px); margin-bottom: 1.5rem; background: transparent url("../Images/plain_logo.png") center/contain no-repeat; }
.eyebrow { color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { color: var(--ivory); font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: 1; margin: 1rem 0; }
.hero p { color: var(--ivory); font-size: 1.18rem; margin-bottom: .45rem; }
.hero .tagline { color: #f1d675; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn { border-radius: 999px; font-weight: 700; padding: .8rem 1.35rem; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #183c20; }
.btn-gold:hover { background: #e5c656; border-color: #e5c656; color: #183c20; }
.btn-outline-light:hover { color: var(--green-deep); }
.scroll-cue { position: absolute; bottom: 2rem; left: 50%; color: var(--ivory); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 38px; background: var(--gold); margin: .5rem auto 0; animation: pulse 1.7s infinite; }
.page-hero { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(0,59,46,.88), rgba(0,59,46,.55)), url("https://images.unsplash.com/photo-1499529112087-3cb3b73cec95?auto=format&fit=crop&w=2200&q=85") center/cover; padding: 9rem 0 5rem; color: var(--ivory); }
.page-hero h1 { color: var(--ivory); font-size: clamp(2.7rem, 5vw, 4.8rem); }
.section { padding: 6rem 0; }
.section-soft { background: #eef5eb; }
.section-label { color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-title { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.15; margin: .45rem 0 1.1rem; }
.section-intro { color: var(--muted); max-width: 680px; }
.portfolio-intro { border-left: 4px solid var(--gold); border-radius: .75rem; background: #fff; box-shadow: var(--shadow); padding: 1.5rem 1.75rem; margin-bottom: 3rem; }
.portfolio-intro h2 { margin-bottom: .65rem; }
.portfolio-intro p { color: var(--muted); margin-bottom: 0; }
.accent-rule { width: 58px; height: 3px; background: var(--gold); margin: 1.25rem 0; }
.image-frame { overflow: hidden; box-shadow: var(--shadow); }
.image-frame img { width: 100%; display: block; object-fit: cover; transition: transform .6s ease; }
.image-frame:hover img { transform: scale(1.04); }
.surface, .feature-card, .category-card, .contact-card, .research-card { background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: var(--shadow); }
.surface { padding: 2rem; }
.category-card, .feature-card, .research-card { height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.category-card:hover, .feature-card:hover, .research-card:hover { transform: translateY(-7px); box-shadow: 0 22px 42px rgba(0,59,46,.15); }
.category-card { overflow: hidden; }
.category-card img { width: 100%; height: 185px; object-fit: cover; }
.category-card-body, .feature-card, .research-card { padding: 1.6rem; }
.icon-box { color: var(--green); font-size: 2rem; margin-bottom: .7rem; }
.contact-card { padding: 1.5rem; height: 100%; border-top: 3px solid var(--gold); }
.map-embed { position: relative; width: 100%; padding-top: 56.25%; margin-top: 1rem; border-radius: .85rem; overflow: hidden; box-shadow: 0 8px 22px rgba(0,59,46,.12); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-view-link { display: inline-block; margin-top: .6rem; font-size: .85rem; font-weight: 600; color: var(--green); text-decoration: underline; }
.map-view-link:hover { color: var(--green-dark); }
.form-label { font-weight: 600; color: var(--green-deep); }
.form-control { border-color: var(--line); }
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(21,109,56,.15); }
.contact-card a { color: var(--green-dark); font-weight: 600; text-decoration: none; }
.icon-link { display: inline-flex; align-items: center; gap: .45rem; }
.icon-link svg { width: 1.05em; height: 1.05em; flex-shrink: 0; fill: currentColor; }
.icon-link-call { color: var(--green-dark); }
.icon-link-call:hover { color: var(--green); }
.icon-link-whatsapp { color: #25D366; }
.icon-link-whatsapp:hover { color: #1da851; }
footer .icon-link-call, footer .icon-link-whatsapp { color: rgba(255,255,204,.9); }
footer .icon-link-whatsapp svg { color: #25D366; }
footer .icon-link:hover { color: var(--ivory); }
.notice { border: 0; border-left: 5px solid var(--gold); border-radius: 1rem; background: #fff9e7; color: var(--ink); padding: 1.5rem; }
.table-wrap { background: #fff; box-shadow: var(--shadow); }
.table { margin-bottom: 0; --bs-table-bg: #fff; }
.table thead th { background: var(--green-dark); color: #fff; border-color: var(--green-dark); padding: 1rem; }
.table td { padding: 1rem; border-color: var(--line); }
.table tbody tr:hover { --bs-table-hover-bg: #f1f7ef; }
.badge-status { background: #e1f0df; color: var(--green-dark); font-weight: 700; padding: .5rem .65rem; }
.timeline { border-left: 2px solid var(--gold); margin-left: .75rem; padding-left: 2rem; }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before { content: ""; background: var(--green); border: 4px solid var(--cream); border-radius: 50%; height: 14px; width: 14px; position: absolute; left: -2.48rem; top: .35rem; }
.category-nav { position: sticky; top: 72px; z-index: 900; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(0,59,46,.06); }
.category-nav-scroll { display: flex; gap: .5rem; padding: .7rem 0; overflow-x: auto; scrollbar-width: thin; }
.cat-pill { flex: 0 0 auto; padding: .45rem 1rem; border-radius: 999px; background: #eef5eb; color: var(--green-deep); font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.cat-pill:hover, .cat-pill:focus { background: var(--green); color: #fff; }
.category-section:target, .category-section { scroll-margin-top: 132px; }
.product-card { display: block; width: 100%; height: 100%; border: 1px solid var(--line); border-radius: 1rem; background: #fff; padding: 0; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; text-align: left; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.product-card:hover, .product-card:focus { transform: translateY(-6px); box-shadow: 0 22px 42px rgba(0,59,46,.16); }
.product-card-sr { position: absolute; top: .5rem; left: .5rem; z-index: 2; background: var(--green-deep); color: var(--ivory); font-weight: 800; font-size: .75rem; line-height: 1; padding: .3rem .55rem; border-radius: 999px; }
.product-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; display: block; background: #f4f4f0; }
.product-card-label { display: block; padding: .65rem .75rem .8rem; font-size: .82rem; line-height: 1.35; color: var(--ink); }
.product-card-label strong { color: var(--green-deep); font-size: .86rem; }
#productModal .modal-content { border-radius: 1rem; border: none; }
#productModal .modal-header { border-bottom: 1px solid var(--line); }
#productModal .modal-title { color: var(--green-deep); font-family: Georgia, "Times New Roman", serif; }
#productModalImg { max-height: 78vh; }
.map-placeholder { min-height: 300px; display: grid; place-items: center; border-radius: 1.25rem; background: linear-gradient(rgba(15,90,47,.82), rgba(15,90,47,.82)), url("https://images.unsplash.com/photo-1511739001486-6bfe10ce785f?auto=format&fit=crop&w=1400&q=80") center/cover; color: var(--ivory); text-align: center; }
footer { background: var(--green-deep); color: var(--ivory); padding: 3.5rem 0 1.4rem; }
footer .container::before { content: ""; display: block; width: clamp(210px, 24vw, 320px); height: clamp(102px, 12vw, 154px); margin-bottom: 1.5rem; background: transparent url("../Images/plain_logo.png") center/contain no-repeat; }
footer h3, footer h4 { color: var(--ivory); }
footer a { color: var(--ivory); text-decoration: none; opacity: .9; }
footer a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,204,.18); margin-top: 2rem; padding-top: 1rem; color: rgba(255,255,204,.65); font-size: .9rem; }
.whatsapp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; background: #25D366; border-radius: 50%; box-shadow: 0 10px 26px rgba(0,0,0,.28); z-index: 1050; transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover, .whatsapp-float:focus { transform: scale(1.08); box-shadow: 0 14px 32px rgba(0,0,0,.32); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: .55; animation: whatsappPulse 2.2s ease-out infinite; z-index: -1; }
@keyframes whatsappPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@media (max-width: 575px) { .whatsapp-float { right: 1rem; bottom: 1rem; width: 52px; height: 52px; } .whatsapp-float svg { width: 26px; height: 26px; } }
.reveal { animation: slideUp .75s both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { opacity: .35; transform: scaleY(.65); } }
@media (max-width: 767px) { .hero { min-height: 680px; } .section { padding: 4rem 0; } .hero-content { padding-top: 6rem; } .hero-content::before { width: 220px; height: 112px; } .table { min-width: 800px; } }