/* =========================================================
   ASAWAR KRISHI ENERGY — Stylesheet
   Fonts: Montserrat (base) + Dancing Script (cursive accents)
   ========================================================= */

:root {
  /* palette */
  --green:        #1f7a3d;
  --green-deep:   #12532a;   /* header / footer */
  --green-dark:   #0d3d20;
  --green-light:  #cdeccf;
  --green-soft:   #eaf6ea;
  --yellow:       #ffcf33;
  --yellow-deep:  #f5b921;
  --orange:       #ff9f45;
  --orange-light: #ffd8a8;
  --red-light:    #f4a3a0;
  --cream:        #fdf6e6;
  --off-white:    #faf9f5;
  --blue-light:   #cfe4f5;
  --black:        #17201a;
  --ink:          #24302a;
  --muted:        #5d6b62;
  --line:         rgba(18,83,42,.12);

  --radius:   18px;
  --radius-lg:28px;
  --shadow-sm: 0 6px 20px rgba(18,60,32,.08);
  --shadow:    0 18px 44px rgba(18,60,32,.14);
  --shadow-lg: 0 30px 70px rgba(18,60,32,.20);

  --f-base: 'Montserrat', system-ui, -apple-system, sans-serif;
  --f-script: 'Dancing Script', cursive;

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 42px);
}

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

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

body {
  font-family: var(--f-base);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* yellow divider line at the end of every section */
section { border-bottom: 4px solid var(--yellow); }

.section { padding-block: clamp(64px, 8vw, 110px); }
.section--tint { background: var(--green-soft); }
.section--dark { background: linear-gradient(150deg, var(--green-deep), var(--green-dark)); }

.script { font-family: var(--f-script); font-weight: 700; }

.section__head { margin-bottom: clamp(34px, 5vw, 58px); }
.section__head.center { text-align: center; }
.eyebrow {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}
.eyebrow--light { color: var(--yellow); }
.section__title {
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--black);
  line-height: 1.12;
}
.section__title--light { color: #fff; }
.section__head.center .section__title { margin-inline: auto; max-width: 720px; }
.section__sub { color: var(--muted); font-size: clamp(.95rem, 1.5vw, 1.06rem); max-width: 660px; margin: 14px auto 0; }
.section__sub--light { color: rgba(255,255,255,.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--f-base);
  font-weight: 700; font-size: .95rem;
  letter-spacing: .01em;
  padding: 14px 30px;
  border-radius: 60px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  color: var(--green-dark);
  box-shadow: 0 12px 26px rgba(245,185,33,.34);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(245,185,33,.46); }
.btn--ghost { background: transparent; border-color: var(--green); color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; transform: translateY(-3px); }
.btn--full { width: 100%; }

/* ---------- Icons ---------- */
.ic { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Image placeholders ---------- */
.img-ph {
  position: relative;
  width: 100%;
  min-height: 220px;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--green-light), var(--yellow) 55%, var(--orange-light));
  display: grid; place-items: center;
  overflow: hidden;
  color: var(--green-dark);
}
.img-ph::after {
  content: attr(data-label);
  font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 40px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-sm);
}
.img-ph--tall { min-height: 340px; height: 100%; }
.img-ph--real { background: none; }
.img-ph--real::after { display: none; }
.img-ph--real img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #ffffff;
  display: grid; place-content: center; justify-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
body.is-loading { overflow: hidden; }
.preloader__video {
  width: min(560px, 88vw);
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  background: #ffffff;
}

/* =========================================================
   TOP CONTACT STRIP
   ========================================================= */
.topbar {
  background: var(--cream);
  color: var(--green-dark);
  font-size: .82rem;
  border-bottom: 1px solid rgba(18,83,42,.10);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: var(--green-dark); transition: color .2s; }
.topbar__item .ic { fill: var(--green); }
.topbar__item:hover { color: var(--green); }
.topbar__hours { color: var(--muted); }
.topbar__social { display: inline-flex; gap: 8px; }
.topbar__social a { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(18,83,42,.10); transition: background .2s, transform .2s; }
.topbar__social a:hover { background: var(--green); transform: translateY(-2px); }
.topbar__social a:hover .ic { fill: #fff; }
.topbar__social .ic { fill: var(--green-dark); width: 13px; height: 13px; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 900;
  background: var(--green-deep);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  transition: background .3s, box-shadow .3s;
}
.header.is-scrolled { background: rgba(15,63,32,.96); backdrop-filter: blur(8px); border-bottom: 3px solid var(--yellow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 112px; gap: 20px; padding-block: 8px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 3px 8px rgba(0,0,0,.3)); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__mark--video { width: 96px; height: 96px; border-radius: 18px; overflow: hidden; background: #fff; }
.brand__mark--video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand__mark--footer { width: 160px; height: 160px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { color: #fff; font-weight: 900; letter-spacing: .16em; font-size: 1.18rem; }
.brand__sub { font-family: var(--f-script); color: var(--yellow); font-size: 1.1rem; margin-top: 1px; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__link { color: rgba(255,255,255,.86); font-weight: 500; font-size: .93rem; position: relative; padding: 6px 0; transition: color .2s; }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--yellow); border-radius: 2px; transition: width .28s ease; }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

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

/* =========================================================
   TICKER / MOVING STRIP
   ========================================================= */
.ticker { overflow: hidden; white-space: nowrap; }
.ticker--top { background: linear-gradient(90deg, var(--yellow), var(--orange)); color: var(--green-dark); }
.ticker--bottom { background: linear-gradient(90deg, var(--yellow), var(--yellow-deep)); color: var(--green-dark); }
.ticker__track { display: inline-flex; gap: 46px; padding-block: 11px; animation: ticker 26s linear infinite; }
.ticker--bottom .ticker__track { animation-duration: 30s; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { font-weight: 700; font-size: .9rem; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 6px; }
.ticker__item > svg { flex: none; width: 16px; height: 16px; fill: currentColor; }
.ticker__item::after { content: '✦'; margin-left: 46px; opacity: .5; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.15) 100%),
    linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%);
}
.hero__content { position: relative; z-index: 2; padding-block: 70px; }
.hero__eyebrow {
  display: inline-block; color: var(--yellow); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem;
  padding: 8px 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 40px; margin-bottom: 22px;
  background: rgba(255,255,255,.06); backdrop-filter: blur(4px);
}
.hero__title { color: #fff; font-weight: 900; font-size: clamp(2.3rem, 6.5vw, 4.6rem); line-height: 1.05; letter-spacing: -.02em; }
.hero__title .script { color: var(--yellow); font-weight: 700; font-size: 1.15em; }
.hero__title .hl { position: relative; color: var(--yellow); }
.hero__subtitle { color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.8vw, 1.22rem); max-width: 620px; margin-top: 22px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: var(--yellow); border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{opacity:0; top:8px} 40%{opacity:1} 80%{opacity:0; top:24px} 100%{opacity:0} }

/* =========================================================
   PARTNERSHIP STRIP
   ========================================================= */
.partner { background: var(--blue-light); }
.partner__inner { display: flex; align-items: center; justify-content: center; gap: 30px; padding-block: 26px; flex-wrap: wrap; }
.partner__label { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-size: .82rem; }
.partner__logo { display: flex; align-items: center; }
.partner__logo-img { height: 72px; width: auto; max-width: min(340px, 70vw); object-fit: contain; background: #fff; border-radius: 12px; padding: 8px 18px; box-shadow: var(--shadow-sm); border: 3px solid #e31e24; }
.img-ph--logo { min-height: 64px; width: 230px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.img-ph--logo::after { display: none; }
.oswal { font-weight: 900; letter-spacing: .04em; color: var(--green-deep); font-size: 1.3rem; }
.oswal b { color: var(--orange); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--cream); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about__media { position: relative; }
.video-ph { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--green-light); }
.video-ph video { width: 100%; height: 100%; object-fit: cover; }
.video-ph__badge { position: absolute; left: 18px; bottom: 18px; background: rgba(0,0,0,.55); color: #fff; font-weight: 600; font-size: .82rem; padding: 8px 16px; border-radius: 40px; backdrop-filter: blur(4px); }
.about__badge {
  position: absolute; right: -8px; bottom: -22px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  color: var(--green-dark); border-radius: 18px; padding: 16px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 170px;
}
.about__badge strong { font-size: 2rem; font-weight: 900; line-height: 1; }
.about__badge span { font-size: .74rem; font-weight: 600; margin-top: 4px; }
.about__text { color: var(--muted); margin-top: 16px; }
.about__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* =========================================================
   MARQUEE (infinite carousels)
   ========================================================= */
.marquee { overflow: hidden; padding-block: 10px; }
.marquee__track { display: flex; gap: 26px; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee[data-reverse="true"] .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* why cards — animated bold red moving outline */
@property --bd-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.why-card {
  position: relative; isolation: isolate;
  flex: 0 0 300px; background: var(--blue-light); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
/* rotating conic gradient, masked to a 3px ring = moving red outline */
.why-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 3px;
  background: conic-gradient(from var(--bd-angle),
    var(--red-light) 0deg,
    #e53935 55deg,
    #ff1f1f 90deg,
    #e53935 125deg,
    var(--red-light) 185deg,
    var(--red-light) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: bd-rotate 3.5s linear infinite;
  pointer-events: none;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.why-card:hover::before { animation-duration: 1.6s; }
@keyframes bd-rotate { to { --bd-angle: 360deg; } }
.why-card__icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 16px; background: #fff; box-shadow: 0 4px 12px rgba(18,60,32,.08); margin-bottom: 18px; }
.why-card__icon svg { width: 30px; height: 30px; fill: #1b5e88; }
.why-card h3 { font-size: 1.16rem; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: .93rem; }

/* services section */
.services { background: #fff4e8; }            /* soft, light orange */

/* service cards — pale green with a fixed bold outline (no animation) */
.service-card {
  flex: 0 0 320px; background: #edfaee; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 3px solid var(--green-deep); position: relative;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card__img { min-height: 178px; border-radius: 0; }
.service-card__icon { position: absolute; top: 152px; left: 24px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 15px; background: var(--blue-light); box-shadow: var(--shadow-sm); }
.service-card__icon svg { width: 28px; height: 28px; fill: #1b5e88; }
.service-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--black); margin: 34px 24px 6px; }
.service-card p { color: var(--muted); font-size: .92rem; margin: 0 24px 16px; }
.service-card__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 24px 26px; padding-top: 12px;
  border-top: 1px solid rgba(18,83,42,.25);
  font-weight: 700; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--green); transition: color .25s, gap .25s;
}
.service-card__more span { transition: transform .25s; display: inline-block; }
.service-card:hover .service-card__more { color: var(--yellow-deep); gap: 12px; }
.service-card:hover .service-card__more span { transform: translateX(4px); }

/* =========================================================
   VIDEO BANNER
   ========================================================= */
.vbanner { padding-block: 0; border-bottom: 0; }  /* frame already has its own yellow edges */
.vbanner__frame {
  position: relative; width: 100%; margin-inline: 0;
  border-radius: 0; overflow: hidden; aspect-ratio: 32/9; min-height: 260px; max-height: 420px;
  box-shadow: var(--shadow-lg);
  border-bottom: 6px solid var(--yellow);
}
.vbanner__text { max-width: var(--container); width: 100%; }
.vbanner__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vbanner__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.25)); }
.vbanner__text { position: relative; z-index: 2; max-width: 620px; padding: clamp(28px, 5vw, 56px); color: #fff; }
.vbanner__script { color: var(--yellow); font-size: 1.6rem; }
.vbanner__text h2 { font-size: clamp(1.5rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.14; margin: 6px 0 12px; }
.vbanner__sub { color: rgba(255,255,255,.9); }

/* =========================================================
   OUR VIDEOS (4:5)
   ========================================================= */
.vcard {
  flex: 0 0 clamp(240px, 26vw, 300px); position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  background: var(--green-dark);
  border: 3px solid #3b82c4;                 /* fixed blue outline */
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.vcard:hover { transform: translateY(-6px); border-color: #1b5e88; box-shadow: var(--shadow-lg); }
.vcard__video { width: 100%; height: 100%; object-fit: cover; }
.vcard__mute {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(4px);
  transition: background .2s, transform .2s;
}
.vcard__mute svg { width: 20px; height: 20px; fill: currentColor; }
.vcard__mute:hover { background: var(--yellow); transform: scale(1.08); }

/* =========================================================
   PM SURYA GHAR — SLIDESHOW HERO
   ========================================================= */
.sg-hero { position: relative; min-height: min(78vh, 640px); display: grid; align-items: center; overflow: hidden; }
.sg-hero__slides { position: absolute; inset: 0; }
.sg-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease, transform 6s ease; border-radius: 0; min-height: 100%; transform: scale(1.06); }
.sg-hero__slide.is-active { opacity: 1; transform: scale(1.14); }
.sg-hero__slide::after { display: none; }
.sg-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%); }
.sg-hero__content { position: relative; z-index: 3; color: #fff; padding-block: 60px; }
.sg-hero__script { color: var(--yellow); font-size: 1.7rem; }
/* overlay text fades in each time the slide changes */
.sg-hero__text.is-in .sg-hero__script,
.sg-hero__text.is-in .sg-hero__title,
.sg-hero__text.is-in .sg-hero__sub { animation: sgFade .7s ease both; }
.sg-hero__text.is-in .sg-hero__title { animation-delay: .08s; }
.sg-hero__text.is-in .sg-hero__sub   { animation-delay: .16s; }
@keyframes sgFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sg-hero__title { font-size: clamp(2rem, 5.4vw, 3.6rem); font-weight: 900; line-height: 1.06; margin: 4px 0 16px; }
.sg-hero__sub { color: rgba(255,255,255,.92); max-width: 560px; font-size: clamp(1rem, 1.7vw, 1.15rem); }
.sg-hero__sub strong { color: var(--yellow); }
.sg-hero__dots { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 4; display: flex; gap: 10px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s, width .3s; }
.dot.is-active { background: var(--yellow); width: 28px; border-radius: 8px; }

/* =========================================================
   SUBSIDY EXPLAINER
   ========================================================= */
.subsidy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.subsidy__intro p { color: var(--muted); margin-top: 16px; }
.subsidy__intro strong { color: var(--green); }
/* --- subsidy card: light-blue gradient, outlined, elevated --- */
.subsidy__table {
  position: relative; isolation: isolate;
  background: linear-gradient(155deg, #f4faff 0%, #ddeefb 45%, #c6dff3 100%);
  border: 3px solid #3b82c4;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 26px 60px rgba(27,94,136,.22), inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
}
/* soft light bloom for depth */
.subsidy__table::before {
  content: ''; position: absolute; z-index: -1; top: -45%; right: -18%;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.85), transparent 70%);
  pointer-events: none;
}

.subsidy__row {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px;
  padding: 17px 20px; border-radius: 14px; align-items: center;
}

/* header row */
.subsidy__row--head {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff; font-weight: 800; font-size: .74rem;
  letter-spacing: .11em; text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(18,83,42,.3);
}

/* data rows */
.subsidy__row:not(.subsidy__row--head) {
  margin-top: 11px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(59,130,196,.30);
  backdrop-filter: blur(2px);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}
.subsidy__row:not(.subsidy__row--head):hover {
  transform: translateX(5px);
  background: #fff;
  box-shadow: 0 12px 26px rgba(27,94,136,.18);
}
/* nth-of-type, not last-child: the highlighted row ends with the <em> badge */
.subsidy__row:not(.subsidy__row--head) span:nth-of-type(1) { font-weight: 800; color: var(--black); font-size: 1rem; }
.subsidy__row:not(.subsidy__row--head) span:nth-of-type(2) { color: #4a6b80; font-weight: 500; }
.subsidy__row:not(.subsidy__row--head) span:nth-of-type(3) { font-weight: 900; color: var(--green); font-size: 1.08rem; letter-spacing: -.01em; }

/* highlighted "most popular" row */
.subsidy__row--best {
  margin-top: 18px !important;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)) !important;
  border: 2px solid var(--green-deep) !important;
  box-shadow: 0 14px 30px rgba(245,185,33,.42);
}
.subsidy__row--best:hover { box-shadow: 0 18px 38px rgba(245,185,33,.55) !important; }
.subsidy__row--best span { color: var(--green-dark) !important; }

.subsidy__flag {
  position: absolute; top: -13px; right: 18px;
  background: var(--green-deep); color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 30px; font-style: normal;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(18,83,42,.38);
}

.subsidy__note { font-size: .74rem; color: #55707f; padding: 16px 20px 4px; line-height: 1.6; }

/* =========================================================
   TRIO CARDS
   ========================================================= */
.trio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
/* --- base card: light blue gradient + bold outline --- */
.trio-card {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #f4faff 0%, #ddeefb 48%, #c6dff3 100%);
  border: 3px solid #3b82c4;
  border-radius: var(--radius-lg); padding: 40px 30px 34px;
  box-shadow: 0 14px 34px rgba(27,94,136,.14);
  transition: transform .3s, box-shadow .3s;
}
.trio-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(27,94,136,.24); }
.trio-card__num { position: absolute; top: 14px; right: 22px; font-size: 3.4rem; font-weight: 900; line-height: 1; color: rgba(59,130,196,.24); }
.trio-card__icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 18px; background: #fff; box-shadow: 0 6px 16px rgba(27,94,136,.16); margin-bottom: 20px; }
.trio-card__icon svg { width: 32px; height: 32px; fill: #1b5e88; }
.trio-card h3 { position: relative; font-size: 1.25rem; font-weight: 800; color: var(--black); margin-bottom: 10px; }
.trio-card p { position: relative; color: var(--muted); font-size: .95rem; }

/* --- featured card: light green gradient ---
   NOTE: these modifier rules must stay AFTER the base .trio-card h3/p rules —
   same specificity, so source order decides which colour wins.              */
.trio-card--featured {
  background: linear-gradient(155deg, #f3fdf4 0%, #ddf4df 48%, #c2e8c6 100%);
  border-color: var(--green-deep);
  box-shadow: 0 14px 34px rgba(18,83,42,.16);
}
.trio-card--featured:hover { box-shadow: 0 24px 50px rgba(18,83,42,.26); }
.trio-card--featured .trio-card__num { color: rgba(18,83,42,.22); }
.trio-card--featured .trio-card__icon { background: var(--yellow); box-shadow: 0 6px 16px rgba(245,185,33,.42); }
.trio-card--featured h3 { color: var(--green-dark); }
.trio-card--featured p { color: #3d5a46; }

/* =========================================================
   SPLIT SOLUTIONS
   ========================================================= */
/* each solar-system segment sits in its own full-width colour band */
.solutions { padding-bottom: 0; }
.seg { padding-block: clamp(44px, 6vw, 78px); border-bottom: 4px solid var(--yellow); }
.seg:last-child { border-bottom: 0; }   /* the section's own divider closes it off */
.seg--cream { background: var(--cream); }          /* on-grid  */
.seg--blue  { background: #e9f3fc; }               /* off-grid */
.seg--green { background: #edf8ee; }               /* hybrid   */
.seg .split, .seg .hybrid { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; margin-bottom: clamp(40px, 6vw, 80px); }
.split:last-child { margin-bottom: 0; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__tag { position: absolute; top: 18px; left: 18px; color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; padding: 8px 18px; border-radius: 40px; box-shadow: var(--shadow-sm); }
.split__tag--green { background: var(--green); }
.split__tag--orange { background: var(--orange); }
.split__tag--blue { background: #3b82c4; }
.split__title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--black); margin-bottom: 14px; }
.split__body p { color: var(--muted); }
.split__list { margin-top: 20px; display: grid; gap: 12px; }
.split__list li { position: relative; padding-left: 32px; font-weight: 500; color: var(--ink); }
.split__list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; background: var(--green); color: #fff; border-radius: 50%; font-size: .72rem; font-weight: 800; }

/* hybrid (center image both sides content) */
.hybrid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.hybrid__media { position: relative; }
.hybrid__side .split__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* =========================================================
   APPLY FORM
   ========================================================= */
.apply__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: stretch; }
.apply__media { display: flex; }
.apply__media .img-ph { flex: 1; height: auto; min-height: 100%; }
.apply__lead { color: rgba(255,255,255,.85); margin: 14px 0 26px; }
.apply__media .img-ph { background: linear-gradient(135deg, var(--green-light), var(--blue-light)); }

.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form select, .form textarea {
  width: 100%; font-family: var(--f-base); font-size: .95rem;
  padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.95); color: var(--ink); outline: none;
  transition: border .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,207,51,.3); }
.form textarea { resize: vertical; }

/* =========================================================
   STREET LIGHTS & IRRIGATION (slideshow + content)
   ========================================================= */
.streetirr { background: var(--cream); }
.sl-slides { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.sl-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; min-height: 100%; border-radius: 0; }
.sl-slide.is-active { opacity: 1; }
.sl-slide::after { display: none; }
.sl-slides__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.15) 100%); border-radius: var(--radius-lg); pointer-events: none; }
.sl-slides__caption { position: absolute; left: 20px; bottom: 46px; z-index: 3; color: #fff; font-weight: 800; font-size: 1.3rem; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.sl-slides__dots { position: absolute; left: 20px; bottom: 20px; z-index: 3; display: flex; gap: 8px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: #e9f3fc; }
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: stretch; }
.faq__media { display: flex; }
.faq__media .img-ph { flex: 1; height: auto; min-height: 100%; }
.acc { margin-top: 22px; display: grid; gap: 12px; }
/* FAQ card: bold yellow outline, green question bar, cream-gradient answer */
.acc__item {
  background: #fff;
  border: 3px solid var(--yellow);
  border-radius: 16px; overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.acc__item.is-open { box-shadow: 0 14px 32px rgba(245,185,33,.32); }

.acc__q {
  width: 100%; text-align: left; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  font-family: var(--f-base); font-weight: 700; font-size: 1rem; color: #fff;
  padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transition: background .3s;
}
.acc__q:hover { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.acc__q span {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--yellow); color: var(--green-dark);
  font-size: 1.2rem; font-weight: 800; line-height: 1;
  transition: transform .3s, background .3s, color .3s;
}
.acc__item.is-open .acc__q span { transform: rotate(45deg); background: #fff; color: var(--green); }

.acc__a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  background: linear-gradient(135deg, var(--cream) 0%, #fff8e8 55%, #ffeed2 100%);
}
.acc__a p { padding: 16px 20px 18px; color: var(--ink); font-size: .93rem; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-card {
  flex: 0 0 360px; border-radius: var(--radius-lg); padding: 30px 30px 26px;
  background: linear-gradient(155deg, #f8fcff 0%, #e9f4fc 52%, #d7ebf8 100%);
  border: 3px solid var(--green-deep);
  box-shadow: 0 14px 34px rgba(18,83,42,.14);
  transition: transform .3s, box-shadow .3s;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(18,83,42,.24); }
.testi-card__stars { display: flex; gap: 3px; margin-bottom: 12px; }
.testi-card__stars svg { width: 18px; height: 18px; fill: var(--yellow-deep); }
.testi-card p { color: var(--ink); font-size: .98rem; font-style: italic; }
.testi-card__who { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(18,83,42,.22); }
.testi-card__who strong { display: block; color: var(--black); font-size: .95rem; }
.testi-card__who span { color: var(--muted); font-size: .82rem; }

/* =========================================================
   CONTACT
   ========================================================= */
/* two columns: details on the left, form on the right */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: start; }

.contact__cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; text-align: left;
  background: linear-gradient(140deg, #fffdf6 0%, var(--cream) 55%, #fdeccd 100%);
  border: 3px solid var(--green-deep);
  border-radius: var(--radius); padding: 20px 22px;
  box-shadow: 0 10px 26px rgba(18,83,42,.12);
  transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateX(6px); box-shadow: 0 18px 38px rgba(18,83,42,.2); }
.contact-card__ic {
  flex: none; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: #fff;
  box-shadow: 0 6px 16px rgba(18,83,42,.14);
}
.contact-card__ic svg { width: 24px; height: 24px; fill: var(--green-deep); }
.contact-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: .9rem; }

/* form panel */
.contact__form {
  background: linear-gradient(155deg, #f6fbff 0%, #e2f0fb 50%, #cde3f5 100%);
  border: 3px solid var(--green-deep);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 38px);
  box-shadow: 0 18px 44px rgba(27,94,136,.18);
}
.contact__form-title { font-size: 1.35rem; font-weight: 800; color: var(--black); }
.contact__form-sub { color: var(--muted); font-size: .92rem; margin: 4px 0 20px; }
.contact__form .form input,
.contact__form .form textarea {
  background: #fff; border: 1px solid rgba(18,83,42,.18);
}

/* =========================================================
   GOOGLE MAP BAND (full-bleed, reduced height)
   ========================================================= */
.mapband {
  position: relative; width: 100%; line-height: 0;
  height: clamp(260px, 32vw, 400px);
  overflow: hidden;
  border-bottom: 6px solid var(--yellow);
  background: var(--green-soft);
}
.mapband iframe { width: 100%; height: 100%; border: 0; display: block; }

/* floating address card over the map */
.mapband__card {
  position: absolute; z-index: 2; top: 50%; left: var(--gutter);
  transform: translateY(-50%);
  width: min(300px, calc(100% - var(--gutter) * 2));
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border: 3px solid var(--green-deep); border-radius: var(--radius);
  padding: 22px 24px; line-height: 1.6;
  box-shadow: 0 18px 44px rgba(18,60,32,.26);
}
.mapband__script { color: var(--green); font-size: 1.3rem; line-height: 1; }
.mapband__card h3 { font-size: 1.15rem; font-weight: 800; color: var(--black); margin: 2px 0 6px; }
.mapband__card p { color: var(--muted); font-size: .9rem; }
.mapband__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-weight: 700; font-size: .84rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--green); transition: gap .25s, color .25s;
}
.mapband__link:hover { color: var(--yellow-deep); gap: 12px; }

@media (max-width: 620px) {
  .mapband { height: auto; }
  .mapband iframe { height: 260px; }
  .mapband__card { position: static; transform: none; width: auto; margin: 0; border-radius: 0; border-width: 0; border-top: 3px solid var(--green-deep); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--green-deep); color: rgba(255,255,255,.8); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-block: clamp(48px, 6vw, 74px); }
.brand--footer { margin-bottom: 18px; }
.footer__about { font-size: .92rem; max-width: 320px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--yellow); transform: translateY(-3px); }
.footer__social a:hover .ic { fill: var(--green-dark); }
.footer__social .ic { fill: #fff; width: 16px; height: 16px; }
.footer__col h4 { color: #fff; font-size: 1.05rem; font-weight: 800; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer__col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--yellow); border-radius: 3px; }
.footer__col a { display: block; color: rgba(255,255,255,.75); font-size: .92rem; padding: 6px 0; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: var(--yellow); padding-left: 6px; }
.footer__contact { font-size: .9rem; margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.footer__contact span { flex: none; line-height: 0; }
.footer__contact span svg { width: 16px; height: 16px; fill: currentColor; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.12); }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-block: 20px; font-size: .84rem; color: rgba(255,255,255,.6); }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float { position: fixed; right: 20px; bottom: 22px; z-index: 800; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37,211,102,.45); transition: transform .25s; animation: floaty 2.6s ease-in-out infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes floaty { 50% { transform: translateY(-6px); } }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: #12532a; background: var(--green-deep); flex-direction: column; align-items: flex-start;
    padding: 100px 34px 40px; gap: 8px; transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -20px 0 50px rgba(0,0,0,.3); z-index: 9998;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.05rem; width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-toggle { display: flex; z-index: 9999; }

  .about__grid, .subsidy__grid, .apply__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__media .img-ph { min-height: 300px; }
  .apply__media .img-ph { min-height: 320px; }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .hybrid { grid-template-columns: 1fr; }
  .hybrid__media { order: -1; }
  .trio__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__badge { position: static; margin-top: 20px; max-width: none; flex-direction: row; align-items: center; gap: 14px; }
  .about__badge strong { font-size: 1.6rem; }
}

@media (max-width: 620px) {
  /* Top strip: only contact icons (left) + social icons (right) */
  .topbar__inner { justify-content: space-between; }
  .topbar__left { gap: 14px; }
  .topbar__right { display: flex; }
  .topbar__item { font-size: 0; gap: 0; padding: 6px; }
  .topbar__item .ic { width: 18px; height: 18px; }
  .topbar__item--loc, .topbar__hours { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: left; }
  .footer__col--brand { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
  .footer__col--brand .footer__about { max-width: none; }
  .footer__social { justify-content: flex-start; }
  .footer__col h4::after { left: 0; transform: none; }
  .contact-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__title { font-size: clamp(2rem, 9vw, 3rem); }
  .subsidy__row { grid-template-columns: 1fr auto; font-size: .82rem; }
  .subsidy__row span:nth-of-type(2) { display: none; }
  .subsidy__flag { right: auto; left: 20px; }
  .footer__bar-inner { justify-content: flex-start; text-align: left; }
  /* Surya Ghar slideshow: landscape in mobile view */
  .sg-hero { min-height: 0; aspect-ratio: 16/11; }
  .sg-hero__content { padding-block: 36px; }
  .sg-hero__script { font-size: 1.15rem; }
  .sg-hero__title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .sg-hero__sub { font-size: .9rem; }
  .sg-hero__slide img { object-position: center; }
  /* Infrastructure slideshow: landscape in mobile view */
  .sl-slides { aspect-ratio: 16/10; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
