/* Bharatpur Sainik Canteen — informational site
   Layout follows the "Ecommerce Shop Landing Page" Figma template (Template 1):
   top bar, logo row, category strip, angled hero, about + stats, category cards,
   two-tone CTA band, testimonials, range strip, four-column footer.
   Palette is the store's: army green (#035524) and gold (#B88D2A) from the logo. */

:root {
  --green: #035524;
  --green-dark: #02411b;
  --green-soft: #e6f1ea;
  --green-tint: #f1f7f3;
  --gold: #b88d2a;
  --gold-dark: #9a7420;
  --gold-soft: #f6efdc;
  --ink: #282828;
  --muted: #6b6b73;
  --line: #e2e2e6;
  --grey: #c4c4c4;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(3, 85, 36, 0.08);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1274px, 100% - 32px); margin-inline: auto; }
.section { padding: 64px 0; }
.h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; margin: 0 0 24px; line-height: 1.25; }
.h2--underline { display: inline-block; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.h2--rule { padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.lead { font-size: 18px; line-height: 1.6; margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border-radius: 6px; padding: 14px 28px; font-size: 18px; line-height: 1.2; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); }
.btn--accent { background: var(--gold); color: var(--white); font-size: 22px; padding: 16px 36px; }
.btn--accent:hover { background: var(--gold-dark); }
.btn--light { background: var(--white); color: var(--green); font-size: 24px; font-weight: 600; padding: 14px 32px; border-radius: 4px; }
.btn--sm { font-size: 14px; padding: 10px 18px; }

/* Top bar */
.topbar { background: #ececec; font-size: 15px; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; flex-wrap: wrap; }
.topbar__meta { margin: 0; }
.topbar .sep { margin: 0 14px; color: #999; }
.topbar__right { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.social { display: flex; gap: 10px; }
.social a, .footer__social svg { display: inline-flex; }
.social svg { width: 16px; height: 16px; fill: var(--ink); }

/* Header */
.header { background: var(--white); }
.header__row { display: flex; align-items: center; gap: 24px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 22px; font-weight: 700; color: var(--green); }
.brand__text small { font-size: 13px; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.mainnav { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: 16px; }
.mainnav a:hover { color: var(--green); }
.catbar { background: var(--gold); }
.catbar__row { display: flex; gap: 8px; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
.catbar__row::-webkit-scrollbar { display: none; }
.catbar a { color: var(--white); font-weight: 500; font-size: 18px; padding: 20px 14px; white-space: nowrap; }
.catbar a:hover { background: rgba(0,0,0,.08); }

/* Hero: angled green panel on the left, media on the right (template hero) */
.hero { position: relative; min-height: 703px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: #e9ece9; }
.hero__panel { position: relative; background: var(--green); color: var(--white); padding: 96px 0 96px max(24px, calc((100vw - 1274px) / 2 + 16px)); z-index: 1; }
.hero__panel::after { content: ""; position: absolute; top: 0; right: -140px; width: 280px; height: 100%; background: var(--green); clip-path: polygon(0 0, 100% 0, 25% 100%, 0 100%); }
.hero__content { max-width: 480px; position: relative; z-index: 2; }
.hero__logo { width: 120px; height: 120px; border-radius: 50%; margin-bottom: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.hero__eyebrow { font-size: 30px; font-weight: 500; margin: 0 0 8px; }
.hero__eyebrow strong { font-weight: 900; }
.hero h1 { font-size: clamp(30px, 3.2vw, 38px); font-weight: 500; line-height: 1.45; margin: 0 0 32px; }
.hero__media { display: grid; place-items: center; padding: 48px 24px; background: radial-gradient(circle at 70% 40%, #f4f1e6, #e9ece9 60%); }

/* Phone mockup (CSS only) */
.phone { width: 300px; height: 600px; border-radius: 42px; background: #111; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.25), inset 0 0 0 2px #333; }
.phone__screen { background: #f7f7f8; height: 100%; border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; font-size: 12px; }
.phone__bar { height: 36px; display: grid; place-items: center; }
.phone__bar span { width: 90px; height: 24px; border-radius: 12px; background: #111; }
.phone__header { display: flex; gap: 10px; align-items: center; padding: 6px 14px 10px; background: var(--white); }
.phone__header img { border-radius: 50%; }
.phone__header b { display: block; font-size: 14px; }
.phone__header small { color: var(--muted); font-size: 11px; }
.phone__search { margin: 10px 14px; padding: 12px 16px; border-radius: 24px; background: #ededf0; color: #888; }
.phone__banner { margin: 4px 14px; height: 120px; border-radius: 14px; background: linear-gradient(135deg, var(--green), #0a7d3a); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px; }
.phone__grid i { height: 110px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); position: relative; }
.phone__grid i::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 10px; height: 22px; border-radius: 6px; background: var(--green); }
.phone__tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 6px 18px; background: var(--white); border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.phone__tabs .on { color: var(--green); font-weight: 700; }

/* About + stats */
.about__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.stat { display: flex; gap: 14px; }
.stat__icon { width: 38px; height: 47px; flex: 0 0 38px; background: var(--green-soft); border-radius: 4px; display: grid; place-items: center; }
.stat__icon svg { width: 22px; height: 22px; fill: var(--green); }
.stat b { font-size: 30px; font-weight: 500; color: var(--gold); line-height: 1; display: inline-block; margin-right: 8px; }
.stat b span { font-size: 20px; }
.stat strong { font-size: 18px; font-weight: 700; }
.stat p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; }

/* Category cards */
.cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; margin-top: 32px; }
.cat { text-align: center; font-weight: 500; font-size: 16px; }
.cat__img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: var(--green-tint); border: 1px solid var(--green-soft); margin-bottom: 10px; transition: background .15s, transform .15s; }
.cat__img svg { width: 42%; height: 42%; fill: var(--green); }
.cat:hover .cat__img { background: var(--green-soft); transform: translateY(-2px); }

/* Two-tone band (template Section-3) */
.band-wrap { padding-block: 24px 64px; }
.band { display: grid; grid-template-columns: 445px 1fr 230px; min-height: 298px; border-radius: 4px; overflow: hidden; }
.band__left { background: var(--green); color: var(--white); display: grid; place-items: center; padding: 32px; text-align: center; }
.band__title { margin: 0; font-size: clamp(30px, 3.4vw, 43px); line-height: 1.3; }
.band__title strong { display: block; font-weight: 800; }
.band__title span { font-weight: 600; }
.band__right { background: var(--green-tint); padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.band__right p { margin: 0; font-size: 20px; line-height: 1.35; max-width: 520px; }
.band__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.band__note { color: var(--muted); font-size: 14px; }
.band__badge { background: var(--green-tint); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; }
.band__badge strong { color: var(--green); font-size: 20px; font-weight: 700; text-align: center; line-height: 1.2; }
.band__badge img { width: 128px; height: 128px; border-radius: 28px; box-shadow: var(--shadow); }

/* Testimonials */
.testi { display: grid; grid-template-columns: 392px 1fr; gap: 48px; align-items: start; }
.testi__intro p { font-size: 20px; line-height: 1.55; margin: 0 0 28px; }
.testi__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--green-tint); border: 1px solid var(--green-soft); border-radius: 4px; padding: 36px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.card__head { display: flex; align-items: center; gap: 16px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 3px solid var(--gold); display: grid; place-items: center; font-weight: 700; color: var(--green); font-size: 20px; }
.card__head b { display: block; font-size: 22px; font-weight: 500; }
.card__head small { color: var(--gold); font-weight: 500; font-size: 14px; }
.card__quote { position: absolute; top: 28px; right: 28px; width: 63px; height: 77px; opacity: .25; }
.card p { margin: 0; font-size: 15px; line-height: 2; }
.card__tag { align-self: flex-start; background: var(--green); color: var(--white); font-size: 13px; font-weight: 600; padding: 10px 22px; border-radius: 3px; }

/* Range strip (template Section-5 logo boxes) */
.range__head { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.range__head .h2 { margin: 0; }
.range__arrows { display: flex; gap: 12px; }
.range { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 40px; }
.range span { display: grid; place-items: center; height: 70px; border-radius: 6px; background: var(--gold-soft); color: var(--gold-dark); font-weight: 600; text-align: center; padding: 0 12px; }

/* Footer */
.footer { background: var(--green-tint); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr 1.3fr; gap: 32px; }
.footer h3 { font-size: 23px; font-weight: 700; margin: 0 0 14px; }
.footer a { display: block; font-size: 17px; line-height: 31px; }
.footer a:hover { color: var(--green); }
.footer p { font-size: 17px; line-height: 31px; margin: 0 0 12px; }
.footer__brand img { width: 110px; height: 110px; border-radius: 50%; margin-bottom: 24px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 18px 24px; }
.footer__social a { display: flex; align-items: center; gap: 8px; line-height: 1.15; }
.footer__social svg { width: 38px; height: 38px; padding: 9px; border-radius: 6px; background: var(--green); fill: var(--white); }
.footer__social b { display: block; font-size: 17px; }
.footer__social small { font-size: 10px; color: var(--muted); }
.newsletter { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.newsletter input { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: 15px; background: var(--white); }
.footer__bottom { margin-top: 56px; padding: 24px 0; border-top: 1px solid rgba(0,0,0,.2); text-align: center; }
.footer__bottom p { margin: 0; font-size: 16px; }

/* Responsive */
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; }
  .band__badge { flex-direction: row; justify-content: flex-start; padding: 0 40px 32px; }
  .testi { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .range { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__panel::after { display: none; }
  .hero__panel { padding: 56px 24px; }
  .hero__media { padding: 32px 16px; }
  .phone { width: 240px; height: 480px; }
  .mainnav { display: none; }
  .brand__text strong { font-size: 18px; }
  .about__grid { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 44px 0; }
}
@media (max-width: 560px) {
  .topbar__row { justify-content: center; text-align: center; font-size: 13px; }
  .header__cta { display: none; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .testi__cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .range { grid-template-columns: repeat(2, 1fr); }
  .btn--light, .btn--accent { font-size: 18px; padding: 14px 24px; }
}
