/* =========================================================
   Vadakkeil General Traders — Premium Export Website
   ========================================================= */

:root {
  --green-900: #07301f;
  --green-800: #0b3d2e;
  --green-700: #114c39;
  --green-600: #1a7a3d;
  --green-500: #2e9e4e;
  --green-brand: #5bb12f;     /* logo green */
  --green-soft: #eaf5ec;

  --gold: #c9a227;
  --gold-light: #e6c66b;
  --gold-deep: #a4801a;

  --gray: #6e6f72;            /* logo gray */
  --ink: #16201b;
  --muted: #5d6b63;
  --cream: #f7f5ef;
  --white: #ffffff;

  --shadow-sm: 0 6px 20px rgba(7, 48, 31, .08);
  --shadow-md: 0 18px 50px rgba(7, 48, 31, .14);
  --shadow-lg: 0 30px 80px rgba(7, 48, 31, .22);

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --grad-green: linear-gradient(135deg, var(--green-700), var(--green-500));
  --grad-gold: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .nav-cta { font-family: 'Poppins', sans-serif; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
em { font-style: normal; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 50px; font-weight: 600; font-size: .98rem;
  cursor: pointer; border: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  position: relative; font-family: 'Poppins', sans-serif; letter-spacing: .2px;
}
.btn-gold { background: var(--grad-gold); color: #2a210a; box-shadow: 0 10px 30px rgba(201,162,39,.4); }
.btn-gold:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(201,162,39,.55); }
.btn-outline { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn-outline:hover { background: #fff; color: var(--green-700); transform: translateY(-4px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid transparent; }
.btn-ghost:hover { color: var(--gold-light); }
.btn.full { width: 100%; }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.35); }
.btn-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(37,211,102,.5); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-gold); z-index: 1000; transition: width .1s linear;
}

/* ---------- Particles ---------- */
.particles { display: none; position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.particles span {
  position: absolute; bottom: -40px; font-size: 22px; opacity: .12;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  10% { opacity: .18; }
  90% { opacity: .12; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 18px 0;
}
.navbar .nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 58px; transition: height .4s var(--ease), filter .4s; filter: brightness(0) invert(1); }
.navbar.scrolled {
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 30px rgba(7,48,31,.1); padding: 10px 0;
}
.navbar.scrolled .nav-logo img { height: 48px; filter: none; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 14px; font-size: .92rem; font-weight: 500; color: #fff;
  border-radius: 30px; transition: color .25s, background .25s; position: relative;
}
.navbar.scrolled .nav-links a { color: var(--ink); }
.nav-links a:not(.nav-cta):hover { color: var(--gold); }
.nav-links a:not(.nav-cta).active { color: var(--gold); }
.nav-cta {
  background: var(--grad-gold); color: #2a210a !important; font-weight: 600;
  margin-left: 8px; box-shadow: 0 8px 22px rgba(201,162,39,.35);
}
.nav-cta:hover { transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.navbar.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -10% 0; z-index: -2;
  background:
    linear-gradient(120deg, rgba(7,48,31,.62), rgba(11,61,46,.45)),
    url("../assets/images/hero-banner.jpg"),
    radial-gradient(120% 120% at 80% 10%, #1a7a3d 0%, #0b3d2e 45%, #07301f 100%);
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(91,177,47,.28), transparent 40%),
    radial-gradient(circle at 75% 60%, rgba(201,162,39,.25), transparent 45%);
}
.hero-overlay { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(7, 48, 31, 0.28), rgba(7, 48, 31, 0) 30%, rgba(7, 48, 31, 0.76)); }

.hero-floats span {
  position: absolute; font-size: 50px; opacity: .25; filter: drop-shadow(0 10px 20px rgba(0,0,0,.3));
  animation: floaty 7s ease-in-out infinite;
}
.float-spice.f1 { top: 22%; left: 8%; animation-delay: 0s; }
.float-spice.f2 { top: 65%; left: 14%; animation-delay: 1.4s; font-size: 40px; }
.float-spice.f3 { top: 30%; right: 10%; animation-delay: .7s; }
.float-spice.f4 { top: 70%; right: 16%; animation-delay: 2.1s; font-size: 60px; }
@keyframes floaty { 0%,100%{ transform: translateY(0) rotate(-4deg);} 50%{ transform: translateY(-26px) rotate(4deg);} }

.hero-content { max-width: 860px; padding: 120px 24px 80px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block; letter-spacing: 4px; text-transform: uppercase; font-size: .8rem;
  color: var(--gold-light); font-weight: 600; margin-bottom: 18px;
  padding: 7px 18px; border: 1px solid rgba(230,198,107,.4); border-radius: 50px;
  background: rgba(255,255,255,.06); backdrop-filter: blur(6px);
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.08; margin-bottom: 24px; }
.hero-title span { display: block; }
.hero-title em { color: var(--gold-light); }
.hero-title .gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto 36px; font-weight: 300; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.hstat strong { display: block; font-family: 'Poppins'; font-size: 2.4rem; font-weight: 800; color: var(--gold-light); }
.hstat span { font-size: .85rem; letter-spacing: .5px; color: rgba(255,255,255,.8); }

.scroll-down {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; z-index: 3;
}
.mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.wheel { width: 4px; height: 8px; background: var(--gold-light); border-radius: 4px; animation: wheel 1.5s infinite; }
@keyframes wheel { 0%{ transform: translateY(0); opacity:1;} 100%{ transform: translateY(12px); opacity:0;} }
.scroll-text { font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; opacity: .8; }

/* ---------- Sections base ---------- */
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 3px; font-size: .78rem;
  font-weight: 700; color: var(--green-600); margin-bottom: 14px;
  padding: 6px 16px; background: var(--green-soft); border-radius: 50px;
}
.kicker.gold { color: var(--gold-deep); background: rgba(201,162,39,.14); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; color: var(--green-800); }
.section-head.light h2, .section-head.light .section-lead { color: #fff; }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Glass utility ---------- */
.glass {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--shadow-sm);
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }
.reveal.d4 { transition-delay: .48s; }
.reveal.d5 { transition-delay: .6s; }
.reveal.d6 { transition-delay: .72s; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-media { position: relative; min-height: 460px; }
.about-img {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  color: #fff; box-shadow: var(--shadow-md);
}
.about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-img:hover img { transform: scale(1.07); }
.about-img::after { content:""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,48,31,.78), rgba(7,48,31,.05) 55%); }
.about-img .img-label { position: relative; z-index: 2; font-weight: 600; font-family: 'Poppins'; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.about-img.main { height: 360px; background: linear-gradient(160deg,#1a7a3d,#07301f); }
.about-img.sub {
  height: 200px; width: 62%; position: absolute; right: -10px; bottom: -30px;
  background: linear-gradient(160deg,#caa12a,#7c5e10); border: 5px solid #fff;
}
.about-badge {
  position: absolute; top: -20px; left: -18px; border-radius: 18px; padding: 16px 22px;
  text-align: center; z-index: 3;
}
.about-badge strong { display: block; font-family: 'Poppins'; font-size: 1.5rem; color: var(--green-700); }
.about-badge span { font-size: .8rem; color: var(--muted); letter-spacing: 1px; }

.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.about-text strong { color: var(--green-700); }
.vm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.vm-card { padding: 24px; border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s; }
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vm-icon { font-size: 28px; }
.vm-card h3 { margin: 8px 0; color: var(--green-700); font-size: 1.15rem; }
.vm-card p { font-size: .92rem; color: var(--muted); margin: 0; }

.timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 80px; position: relative; }
.timeline::before { content:""; position: absolute; top: 7px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg,var(--green-brand),var(--gold)); }
.tl-item { text-align: center; position: relative; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); display: block; margin: 0 auto 18px; box-shadow: 0 0 0 5px rgba(201,162,39,.2); position: relative; z-index: 2; }
.tl-item h4 { color: var(--green-700); margin-bottom: 4px; }
.tl-item p { font-size: .88rem; color: var(--muted); }

/* ---------- Why ---------- */
.why { background: linear-gradient(180deg, var(--cream), #fff); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.feature-card { padding: 38px 30px; border-radius: var(--radius-lg); transition: transform .45s var(--ease), box-shadow .45s; overflow: hidden; position: relative; }
.feature-card::before {
  content:""; position: absolute; top:0; left:0; width: 100%; height: 4px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.fc-icon { font-size: 42px; display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; background: var(--green-soft); margin-bottom: 18px; transition: transform .45s var(--ease); }
.feature-card:hover .fc-icon { transform: rotate(-8deg) scale(1.08); }
.feature-card h3 { color: var(--green-800); margin-bottom: 10px; font-size: 1.25rem; }
.feature-card p { color: var(--muted); font-size: .96rem; }

/* ---------- Products ---------- */
.products { background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s;
  border: 1px solid rgba(7,48,31,.06);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.pc-img { height: 180px; position: relative; display: grid; place-items: center; overflow: hidden; }
.pc-img .pc-emoji { font-size: 72px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); transition: transform .55s var(--ease); z-index: 2; }
.product-card:hover .pc-emoji { transform: scale(1.15) rotate(-6deg); }
.pc-badge {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  background: var(--grad-gold); color: #2a210a; font-size: .68rem; font-weight: 700;
  padding: 5px 12px; border-radius: 50px; text-transform: uppercase; letter-spacing: .5px;
  box-shadow: 0 6px 16px rgba(201,162,39,.4);
}
.pc-body { padding: 20px 22px 24px; }
.pc-body h3 { color: var(--green-800); font-size: 1.18rem; margin-bottom: 10px; }
.pc-forms { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-forms span { font-size: .78rem; font-weight: 600; color: var(--green-700); background: var(--green-soft); padding: 4px 12px; border-radius: 50px; }

/* ---------- Quality ---------- */
.quality { background: linear-gradient(180deg, #fff, var(--cream)); }
.cert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.cert-card { padding: 34px 26px; border-radius: var(--radius-lg); text-align: center; transition: transform .45s var(--ease), box-shadow .45s; position: relative; }
.cert-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-lg); }
.cert-mark { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--grad-green); color: #fff; font-size: 32px; font-weight: 700; margin-bottom: 20px; box-shadow: 0 12px 30px rgba(26,122,61,.35); }
.cert-logo {
  display: inline-grid; place-items: center; width: 96px; height: 96px;
  border-radius: 50%; background: #fff; padding: 16px; margin: 0 auto 18px;
  box-shadow: 0 10px 26px rgba(7,48,31,.10); border: 1px solid #eef2ee;
  transition: transform .45s var(--ease);
}
.cert-card:hover .cert-logo { transform: scale(1.05); }
.cert-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-card h3 { color: var(--green-800); font-size: 1.5rem; margin-bottom: 10px; letter-spacing: 1px; }
.cert-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Export ---------- */
.export { color: #fff; overflow: hidden; }
.export-bg { position: absolute; inset: -8% 0; z-index: -2;
  background:
    url("../assets/images/export.jpg") center/cover no-repeat,
    linear-gradient(135deg, #07301f, #114c39 60%, #0b3d2e);
  will-change: transform; }
.export-bg::after { content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle at 80% 20%, rgba(201,162,39,.18), transparent 40%),
                    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 18px, transparent 18px 36px); }
.export-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(7,48,31,.92), rgba(7,48,31,.62) 55%, rgba(7,48,31,.78)); }
.export-services { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; margin-bottom: 70px; }
.exs { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(8px); transition: transform .4s var(--ease), background .4s; }
.exs:hover { transform: translateY(-8px); background: rgba(255,255,255,.14); }
.exs span { font-size: 40px; display: block; margin-bottom: 12px; }
.exs p { font-weight: 600; font-family: 'Poppins'; font-size: .98rem; }

.ship-flow { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.sf-step { text-align: center; flex: 1; }
.sf-num { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--grad-gold); color: #2a210a; font-weight: 800; font-family: 'Poppins'; font-size: 1.3rem; margin-bottom: 14px; box-shadow: 0 10px 26px rgba(201,162,39,.4); }
.sf-step h4 { font-size: 1rem; margin-bottom: 4px; }
.sf-step p { font-size: .82rem; color: rgba(255,255,255,.75); }
.sf-line { flex: .6; height: 2px; margin-top: 26px; background: linear-gradient(90deg, var(--gold-light), rgba(255,255,255,.2)); }

/* ---------- Markets ---------- */
.markets { background: #fff; }
.markets-grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: stretch; }
.world-map {
  border-radius: var(--radius-lg); background: var(--green-soft);
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm); padding: 16px;
}
.region-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.region { display: flex; align-items: flex-start; gap: 14px; padding: 18px 22px; border-radius: var(--radius); background: var(--cream); border-left: 4px solid var(--green-brand); transition: transform .35s var(--ease), box-shadow .35s; }
.region:hover { transform: translateX(8px); box-shadow: var(--shadow-sm); border-left-color: var(--gold); }
.region .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); margin-top: 7px; box-shadow: 0 0 0 4px rgba(201,162,39,.2); flex-shrink: 0; }
.region h4 { color: var(--green-800); }
.region p { font-size: .9rem; color: var(--muted); }

.counters { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 70px; }
.counter { text-align: center; padding: 36px 20px; border-radius: var(--radius-lg); transition: transform .4s var(--ease), box-shadow .4s; }
.counter:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.counter strong { display: block; font-family: 'Poppins'; font-size: 2.8rem; font-weight: 800; background: var(--grad-green); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.counter span { font-size: .9rem; color: var(--muted); font-weight: 500; }

/* ---------- Enquiry ---------- */
.enquiry { background: linear-gradient(160deg, var(--green-800), var(--green-600)); position: relative; overflow: hidden; }
.enquiry::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 90% 10%, rgba(201,162,39,.2), transparent 40%); }
.enquiry-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.enquiry-intro { padding: 50px 44px; color: #fff; position: relative; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(7,48,31,.86), rgba(11,61,46,.82)),
    url("../assets/images/spices-grid.jpg") center/cover no-repeat;
}
.enquiry-intro > * { position: relative; z-index: 1; }
.enquiry-intro .kicker { background: rgba(201,162,39,.2); }
.enquiry-intro h2 { color: #fff; font-size: 2rem; margin: 6px 0 14px; }
.enquiry-intro p { color: rgba(255,255,255,.85); }
.enquiry-points { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.enquiry-points li { color: var(--gold-light); font-weight: 500; }
.enquiry-form { padding: 50px 44px; background: rgba(255,255,255,.96); }
.enquiry-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: .82rem; font-weight: 600; color: var(--green-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  padding: 13px 16px; border: 1.5px solid #e2e6e2; border-radius: 12px; font-family: inherit;
  font-size: .95rem; color: var(--ink); background: #fff; transition: border .25s, box-shadow .25s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(46,158,78,.12); }
.field input.err, .field select.err { border-color: #d9534f; }
.form-success {
  margin-top: 16px; display: flex; align-items: center; gap: 12px; text-align: left;
  color: var(--green-700); font-weight: 600; background: var(--green-soft);
  border: 1px solid rgba(46,158,78,.25); padding: 14px 16px; border-radius: 12px;
  opacity: 1;
}
/* Base state is always fully visible so the alert can never get stuck
   invisible if the "show" class fails to apply — the animation is a
   progressive-enhancement pop-in, not what makes it visible. */
.form-success.show { animation: alertPop .45s var(--ease); }
.form-success.is-error { color: #8a2c26; background: #fce8e6; border-color: rgba(217,83,79,.3); }
.form-success i { font-size: 1.3rem; flex-shrink: 0; }
.form-success .fs-title { display: block; font-size: .98rem; }
.form-success .fs-sub { display: block; margin-top: 2px; font-size: .82rem; font-weight: 500; color: var(--green-600); opacity: .9; }
.form-success.is-error .fs-sub { color: #b3261e; }
@keyframes alertPop {
  0% { opacity: 0; transform: translateY(-8px) scale(.98); }
  60% { opacity: 1; transform: translateY(2px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Contact ---------- */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info { background: var(--cream); border-radius: var(--radius-lg); padding: 44px; }
.contact-info h3 { color: var(--green-800); font-size: 1.5rem; margin-bottom: 24px; }
.contact-list { list-style: none; display: grid; gap: 20px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list span { font-size: 22px; }
.contact-list p { color: var(--muted); font-size: .98rem; }
.contact-list a { color: var(--green-700); font-weight: 500; }
.contact-list a:hover { color: var(--gold-deep); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-md); }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: rgba(255,255,255,.8); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { height: 70px; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; font-size: .8rem; font-weight: 600; text-transform: uppercase; transition: .3s; }
.socials a:hover { background: var(--grad-gold); color: #2a210a; transform: translateY(-4px); }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.7); font-size: .92rem; margin-bottom: 10px; transition: color .25s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 950;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.5);
  animation: waPulse 2.4s infinite; transition: transform .3s;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow: 0 0 0 18px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 26px; right: 96px; z-index: 940;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--green-700); color: #fff; font-size: 1.3rem; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #2a210a; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 340px;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    background: rgba(7,48,31,.97); backdrop-filter: blur(16px); padding: 40px;
    transition: right .45s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: #fff !important; font-size: 1.1rem; width: 100%; }
  .nav-toggle { display: flex; z-index: 1001; }
  .about-grid, .markets-grid, .contact-grid, .enquiry-wrap { grid-template-columns: 1fr; }
  .why-grid, .product-grid { grid-template-columns: repeat(2,1fr); }
  .export-services { grid-template-columns: repeat(3,1fr); }
  .cert-grid { grid-template-columns: 1fr; max-width: 460px; }
  .counters { grid-template-columns: repeat(2,1fr); }
  .ship-flow { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .sf-line { display: none; }
  .sf-step { flex: 0 0 40%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-media { margin-bottom: 60px; }
}
@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .hero-stats { gap: 26px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .why-grid, .product-grid, .export-services, .counters { grid-template-columns: 1fr 1fr; }
  .vm-cards { grid-template-columns: 1fr; }
  .enquiry-form .row { grid-template-columns: 1fr; }
  .enquiry-intro, .enquiry-form { padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .to-top { right: 26px; bottom: 96px; }
}
@media (max-width: 400px) {
  .why-grid, .product-grid, .timeline { grid-template-columns: 1fr; }
}

/* =========================================================
   ICONS (Font Awesome) + MAP + RESPONSIVE v2
   ========================================================= */

/* feature / section icons */
.fc-icon { color: var(--green-600); }
.feature-card:hover .fc-icon { color: var(--green-700); }
.vm-icon { color: var(--gold-deep); font-size: 26px; }
.cert-mark i { color: #fff; }
.exs span i { color: var(--gold-light); }
.contact-list span { color: var(--green-600); width: 26px; text-align: center; }
.enquiry-points li i { color: var(--gold-light); margin-right: 6px; }
.hero-eyebrow i { margin-right: 6px; }

/* hero floats now use <i> */
.hero-floats .float-spice {
  position: absolute; font-size: 50px; opacity: .22; color: #fff;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.3)); animation: floaty 7s ease-in-out infinite;
}

/* particles wrap <i> */
.particles span i { color: var(--green-600); }

/* timeline dots with icons */
.timeline::before { top: 22px; }
.tl-dot {
  width: 50px; height: 50px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gold);
  display: grid; place-items: center; color: var(--green-700); font-size: 19px;
  box-shadow: 0 8px 22px rgba(7,48,31,.12); margin: 0 auto 16px;
}

/* product card icon / photo */
.pc-ic { font-size: 60px; color: rgba(255,255,255,.92); filter: drop-shadow(0 10px 18px rgba(0,0,0,.28)); transition: transform .55s var(--ease); z-index: 2; }
.product-card:hover .pc-ic { transform: scale(1.12) rotate(-6deg); }
.pc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .pc-photo { transform: scale(1.08); }
.pc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.18), transparent 60%); }

/* region list with icon chips */
.region { align-items: center; }
.region-ic {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-600); font-size: 16px;
}
.region:hover .region-ic { background: var(--gold); color: #2a210a; }

/* counters with icons */
.counter-ic {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: var(--green-soft); color: var(--green-600); font-size: 22px; margin: 0 auto 14px;
}

/* WhatsApp float + back-to-top icons */
.wa-float i { font-size: 30px; }
.to-top i { font-size: 1.1rem; }
.btn i { font-size: .95em; }

/* ---- World map ---- */
.world-map {
  background: linear-gradient(160deg, #f3f9f4, #e6f2e9);
  border: 1px solid #dcebdf; padding: 18px;
}
.world-map svg { width: 100%; height: auto; display: block; }
.markets .section-lead { margin-bottom: 4px; }
.wm-dot { fill: #b6d3bb; transition: fill .3s; }
.wm-arc { fill: none; stroke-width: 2.4; opacity: .9; animation: wmDraw 2.4s var(--ease) forwards, wmFlow 3s linear infinite 2.4s; }
@keyframes wmDraw { to { stroke-dashoffset: 0; } }
@keyframes wmFlow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1200; } }
.wm-ping { transform-box: fill-box; transform-origin: center; animation: wmPing 2.4s ease-out infinite; }
@keyframes wmPing { 0% { opacity: .5; transform: scale(1); } 70%,100% { opacity: 0; transform: scale(3.4); } }

/* ---- Tablet ---- */
@media (max-width: 1024px) and (min-width: 981px) {
  .why-grid { grid-template-columns: repeat(3,1fr); }
  .product-grid { grid-template-columns: repeat(3,1fr); }
}

/* ---- Large phones / small tablets ---- */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .timeline { grid-template-columns: repeat(4,1fr); }
  .region-list { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .world-map { padding: 10px; }
}

@media (max-width: 600px) {
  .hero-floats .float-spice { font-size: 34px; }
  .nav-logo img { height: 46px; }
  .navbar.scrolled .nav-logo img { height: 42px; }
  .region-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr 1fr; }
  .pc-ic { font-size: 46px; }
  .pc-body { padding: 14px 16px 18px; }
  .pc-body h3 { font-size: 1.02rem; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .section-head h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .contact-info, .enquiry-intro, .enquiry-form { padding: 26px 20px; }
}

/* =========================================================
   Vertical progress steppers (phones + portrait tablets)
   ========================================================= */
@media (max-width: 820px) {
  /* ---- Who We Are: Sourcing → Processing → Packaging → Export ---- */
  .timeline {
    grid-template-columns: 1fr; gap: 6px; margin: 44px auto 0; max-width: 460px;
    position: relative;
  }
  .timeline::before {
    content: ""; display: block; top: 28px; bottom: 28px; left: 26px; right: auto;
    width: 3px; height: auto; border-radius: 3px;
    background: linear-gradient(180deg, var(--green-brand), var(--gold));
  }
  .tl-item {
    display: grid; grid-template-columns: 52px 1fr; column-gap: 18px;
    align-items: center; text-align: left; padding: 9px 0; position: relative; z-index: 1;
  }
  .tl-dot { grid-row: 1 / span 2; align-self: center; margin: 0; width: 52px; height: 52px; font-size: 19px; }
  .tl-item h4 { grid-column: 2; align-self: end; margin: 0 0 2px; text-align: left; }
  .tl-item p  { grid-column: 2; align-self: start; text-align: left; }

  /* ---- Export & Logistics: 5-step shipment flow ---- */
  .ship-flow {
    flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 6px;
    margin: 0 auto; max-width: 460px; position: relative;
  }
  .ship-flow::before {
    content: ""; position: absolute; top: 28px; bottom: 28px; left: 27px;
    width: 3px; border-radius: 3px;
    background: linear-gradient(180deg, var(--gold-light), rgba(255,255,255,.28));
  }
  .sf-step {
    display: grid; grid-template-columns: 54px 1fr; column-gap: 18px;
    align-items: center; text-align: left; flex: none; padding: 9px 0; position: relative; z-index: 1;
  }
  .sf-num { grid-row: 1 / span 2; align-self: center; margin: 0; }
  .sf-step h4 { grid-column: 2; align-self: end; margin: 0 0 2px; text-align: left; }
  .sf-step p  { grid-column: 2; align-self: start; text-align: left; }
  .sf-line { display: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .wm-arc { stroke-dashoffset: 0 !important; }
}
