/* =========================================================
   Swastik Solar Energy (OPC) Pvt Ltd — corporate theme
   Palette taken from the company logo: navy, leaf green, sun orange.
   Tailwind (CDN) handles layout utilities; this file holds the
   brand tokens, components and animations.
   ========================================================= */

:root {
  --bg: #ffffff;
  --soft: #f3f7fc;          /* alternating section background */
  --ink: #0a2250;           /* headings (deep navy) */
  --navy: #0d3b8e;          /* primary brand */
  --navy-d: #071a40;        /* dark bands / footer */
  --body: #3b4a63;
  --muted: #64748b;
  --faint: #94a3b8;
  --border: #e3e9f2;
  --green: #2e9a3e;
  --green-soft: #e8f6ea;
  --orange: #f59e0b;
  --orange-d: #d97706;
  --blue-soft: #eaf1fb;
  --shadow-sm: 0 1px 2px rgba(10, 34, 80, .05), 0 4px 14px -6px rgba(10, 34, 80, .10);
  --shadow-md: 0 2px 4px rgba(10, 34, 80, .04), 0 18px 40px -18px rgba(10, 34, 80, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.6;
}
h1, h2, h3, h4, .font-display {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: -.025em; color: var(--ink); font-weight: 800;
}
::selection { background: var(--orange); color: #1b1200; }

/* ---------- Tailwind colour utilities remapped to the light theme ---------- */
body .text-white { color: var(--ink); }
body .text-slate-300 { color: #44526b; }
body .text-slate-400 { color: var(--muted); }
body .text-slate-500 { color: var(--faint); }
body .text-amber-300 { color: var(--orange-d); }
body .text-emerald-400 { color: var(--green); }
body .text-black { color: #1b1200; }
body .bg-amber-400 { background: var(--orange); }
body .border-white\/10 { border-color: var(--border); }
body .bg-white\/5 { background: var(--soft); }
body .hover\:text-amber-300:hover { color: var(--orange-d); }
body .hover\:text-white:hover { color: var(--navy); }
body .hover\:bg-white\/5:hover { background: var(--soft); }

/* sections sitting on navy get light text */
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark .text-white { color: #fff; }
.on-dark .text-slate-300, .on-dark .text-slate-400 { color: #bccbe6; }
.on-dark .text-slate-500 { color: #8da2c8; }
.on-dark .text-amber-300 { color: #fcd34d; }
.on-dark .text-emerald-400 { color: #86efac; }
.on-dark .text-gradient, .text-gradient-light {
  background: linear-gradient(100deg, #fde68a, #fbbf24 55%, #fdba74);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}

/* ---------- Background ---------- */
.bg-ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #fff; }
.bg-grid { display: none; }
.band { position: relative; }
.band-soft { background: var(--soft); border-block: 1px solid var(--border); }
.band-navy {
  color: #fff; background:
    radial-gradient(40rem 22rem at 90% -20%, rgba(245,158,11,.22), transparent 60%),
    radial-gradient(36rem 20rem at 0% 120%, rgba(46,154,62,.25), transparent 60%),
    linear-gradient(135deg, #0a2a6b 0%, var(--navy-d) 100%);
}

/* ---------- Scroll progress ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--green), var(--orange));
}

/* ---------- Cards ---------- */
.glass {
  background: #fff; border: 1px solid var(--border); border-radius: 1rem; box-shadow: var(--shadow-sm);
}
.glass-hover { transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; }
.glass-hover:hover { transform: translateY(-5px); border-color: #c9d8f0; box-shadow: var(--shadow-md); }

/* ---------- Header: info bar + navigation ---------- */
#navbar { background: #fff; box-shadow: 0 1px 0 var(--border); transition: box-shadow .3s; }
#navbar.scrolled { box-shadow: 0 8px 30px -14px rgba(10, 34, 80, .3); }
.topbar { background: var(--navy-d); color: #c9d6ee; font-size: .78rem; max-height: 44px; overflow: hidden; transition: max-height .35s, opacity .3s; }
.topbar a { color: #e6edfb; text-decoration: none; }
.topbar a:hover { color: #fcd34d; }
.topbar svg { width: .95rem; height: .95rem; color: #fbbf24; flex-shrink: 0; }
#navbar.scrolled .topbar { max-height: 0; opacity: 0; }
.nav-link { position: relative; color: #33435f; font-weight: 600; font-size: .92rem; padding: .4rem 0; transition: color .25s; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

#mobile-menu {
  position: fixed; inset: 0; z-index: 45; padding: 6rem 1.5rem 2rem; overflow-y: auto; background: #fff;
  transform: translateY(-100%); transition: transform .5s cubic-bezier(.7,0,.2,1);
  display: flex; flex-direction: column; gap: .25rem;
}
#mobile-menu.open { transform: translateY(0); }
#mobile-menu a.m-link { font-size: 1.5rem; font-weight: 700; padding: .8rem 0; border-bottom: 1px solid var(--border); color: var(--ink); }
#mobile-menu a.m-link.active { color: var(--orange-d); }
.burger { border: 1px solid var(--border); background: #fff; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --mx: 50%; --my: 50%;
  position: relative; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: .7rem; font-weight: 700; font-size: .95rem; line-height: 1;
  cursor: pointer; border: 1px solid transparent; text-decoration: none; overflow: hidden; isolation: isolate;
  transition: box-shadow .3s, background .3s, border-color .3s, color .3s; will-change: transform;
}
.btn:not(.hidden) { display: inline-flex; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(110px circle at var(--mx) var(--my), rgba(255,255,255,.35), transparent 70%);
}
.btn:hover::before { opacity: 1; }
.btn-primary { color: #fff; background: linear-gradient(180deg, #f6a313, var(--orange-d)); box-shadow: 0 8px 20px -8px rgba(217,119,6,.7); }
.btn-primary:hover { box-shadow: 0 14px 28px -8px rgba(217,119,6,.75); }
.btn-green { color: #fff; background: linear-gradient(180deg, #38ad48, #277f35); box-shadow: 0 8px 20px -8px rgba(39,127,53,.6); }
.btn-green:hover { box-shadow: 0 14px 28px -8px rgba(39,127,53,.7); }
.btn-navy { color: #fff; background: linear-gradient(180deg, #144aa8, var(--navy)); box-shadow: 0 8px 20px -8px rgba(13,59,142,.6); }
.btn-ghost { color: var(--navy); background: #fff; border-color: #cdd9ee; }
.btn-ghost:hover { border-color: var(--navy); box-shadow: 0 8px 20px -10px rgba(13,59,142,.5); }
.on-dark .btn-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; box-shadow: none; }
.btn-whatsapp { color: #fff; background: #1faa59; box-shadow: 0 8px 20px -8px rgba(31,170,89,.6); }
.btn-whatsapp:hover { box-shadow: 0 14px 28px -8px rgba(31,170,89,.7); }

/* ---------- Text effects ---------- */
.text-gradient {
  background: linear-gradient(100deg, var(--navy) 0%, #1c6bd0 45%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: var(--blue-soft); border: 1px solid #d3e1f6;
}
.on-dark .eyebrow { color: #fde68a; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

.split-line { display: block; overflow: hidden; padding-bottom: .08em; }
.split-line > span { display: inline-block; will-change: transform; }

.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-reveal="left"] { transform: translateX(-44px); }
.js [data-reveal="right"] { transform: translateX(44px); }
.js [data-reveal="scale"] { transform: scale(.94); }

/* ---------- Icon tiles ---------- */
.icon-tile {
  width: 3.25rem; height: 3.25rem; border-radius: .9rem; display: grid; place-items: center;
  background: var(--blue-soft); border: 1px solid #d3e1f6; color: var(--navy);
}
.icon-tile svg { width: 1.5rem; height: 1.5rem; }
.on-dark .icon-tile { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fcd34d; }

/* ---------- Hero ---------- */
.hero-bg {
  background:
    radial-gradient(46rem 30rem at 85% 10%, rgba(245,158,11,.14), transparent 62%),
    radial-gradient(40rem 28rem at 0% 80%, rgba(13,59,142,.08), transparent 60%),
    linear-gradient(180deg, #f6f9fe 0%, #ffffff 100%);
}
.hero-visual { position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 640 / 600; }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
.hero-glow {
  position: absolute; inset: 6% 4%; border-radius: 50%; filter: blur(60px); z-index: -1;
  background: radial-gradient(circle, rgba(245,158,11,.28), rgba(37,99,235,.14) 55%, transparent 72%);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.sun-rays { transform-origin: 500px 90px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.beam { stroke-dasharray: 6 10; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -64; } }
.panel-cell { animation: cellShine 5s ease-in-out infinite; }
@keyframes cellShine { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .9rem;
  border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; color: var(--ink);
  box-shadow: var(--shadow-md);
}
.float-chip svg { width: 1rem; height: 1rem; color: var(--orange-d); }
.float-a { animation: floaty 6s ease-in-out infinite; }
.float-b { animation: floaty 7s ease-in-out -2s infinite; }
.float-c { animation: floaty 8s ease-in-out -4s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.battery-fill { animation: charge 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
@keyframes charge { 0% { transform: scaleX(.15); } 70%,100% { transform: scaleX(1); } }

/* trust strip under hero */
.trust-strip { background: #fff; border-block: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-item b { display: block; color: var(--ink); font-size: .95rem; }
.trust-item span.s { display: block; color: var(--muted); font-size: .8rem; }

/* ---------- Stats on navy ---------- */
.stat { text-align: center; padding: 2rem 1rem; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255,255,255,.16); }
@media (max-width: 1023px) { .stat:nth-child(odd)::before { display: none; } .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); } }
.stat .num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); color: #fff; letter-spacing: -.03em; }
.stat .num em { font-style: normal; color: #fbbf24; }
.stat .lbl { margin-top: .3rem; color: #bccbe6; font-weight: 600; font-size: .9rem; }

/* ---------- Calculator ---------- */
.seg { display: inline-flex; padding: .3rem; border-radius: .8rem; background: var(--soft); border: 1px solid var(--border); position: relative; }
.seg button {
  position: relative; z-index: 1; padding: .6rem 1.3rem; border-radius: .6rem; font-weight: 700; font-size: .88rem;
  color: var(--muted); background: transparent; border: 0; cursor: pointer; transition: color .3s;
  display: inline-flex; align-items: center; gap: .45rem; font-family: inherit;
}
.seg button.active { color: #fff; }
.seg .seg-thumb {
  position: absolute; top: .3rem; bottom: .3rem; left: .3rem; border-radius: .6rem; z-index: 0;
  background: linear-gradient(180deg, #144aa8, var(--navy)); box-shadow: 0 6px 16px -6px rgba(13,59,142,.6);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), width .4s cubic-bezier(.2,.8,.2,1);
}
input[type="range"].slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; outline: none; cursor: pointer; --pct: 0%;
  background: linear-gradient(90deg, var(--green) 0%, var(--orange) var(--pct), #dfe7f3 var(--pct));
}
input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 4px solid var(--orange); box-shadow: 0 0 0 5px rgba(245,158,11,.18), 0 4px 10px rgba(10,34,80,.25);
}
input[type="range"].slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--orange);
  box-shadow: 0 0 0 5px rgba(245,158,11,.18), 0 4px 10px rgba(10,34,80,.25);
}
.result-tile { padding: 1.1rem 1.2rem; border-radius: .9rem; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.result-tile .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; }
.result-tile .value { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; margin-top: .25rem; color: var(--ink); letter-spacing: -.02em; }
.result-tile.hero-tile { background: linear-gradient(135deg, var(--blue-soft), var(--green-soft)); border-color: #cfe0f6; }

/* ---------- EPC timeline ---------- */
.timeline { position: relative; }
.timeline-track { position: absolute; top: 0; bottom: 0; left: 1.35rem; width: 4px; border-radius: 4px; background: #dfe7f3; }
.timeline-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 4px;
  background: linear-gradient(180deg, var(--green), var(--orange)); box-shadow: 0 0 14px 1px rgba(245,158,11,.45);
  transform-origin: top; transform: scaleY(0);
}
.timeline-spark {
  position: absolute; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; top: 0;
  background: #fff; border: 3px solid var(--orange); box-shadow: 0 0 0 5px rgba(245,158,11,.25), 0 0 24px 4px rgba(245,158,11,.6);
}
.step { position: relative; padding-left: 4.2rem; padding-bottom: 2.5rem; }
.step:last-child { padding-bottom: 0; }
.step-node {
  position: absolute; left: 0; top: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; background: #fff; border: 2px solid #cdd9ee; color: var(--muted); transition: all .5s; z-index: 2;
}
.step.on .step-node { border-color: var(--navy); color: #fff; background: var(--navy); box-shadow: 0 0 0 6px rgba(13,59,142,.14); }
@media (min-width: 1024px) {
  .timeline-track { left: 50%; margin-left: -2px; }
  .step { width: 50%; padding-left: 0; padding-right: 4.2rem; }
  .step-node { left: auto; right: -1.375rem; }
  .step:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 4.2rem; }
  .step:nth-child(even) .step-node { right: auto; left: -1.375rem; }
}

/* ---------- Filters / projects ---------- */
.chip {
  padding: .6rem 1.2rem; border-radius: .7rem; font-weight: 700; font-size: .88rem; cursor: pointer; font-family: inherit;
  background: #fff; border: 1px solid var(--border); color: var(--muted); transition: all .3s;
}
.chip:hover { color: var(--navy); border-color: #b8cbe9; }
.chip.active { color: #fff; background: var(--navy); border-color: var(--navy); box-shadow: 0 8px 18px -8px rgba(13,59,142,.6); }
.project-card { transition: opacity .4s, transform .4s; }
.project-card.hide { display: none; }
.proj-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 1rem 1rem 0 0; background: var(--blue-soft); }
.proj-thumb svg { width: 100%; height: 100%; display: block; }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1); }
.project-card:hover .proj-thumb img { transform: scale(1.06); }
.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 700; border: 1px solid var(--border); background: var(--soft); color: var(--body); }
.tag.gold { color: #92560a; border-color: #f6dca4; background: #fff6e0; }
.tag.green { color: #1f7a2e; border-color: #bfe3c6; background: var(--green-soft); }
.tag svg { width: .85rem; height: .85rem; }
.sample-badge {
  position: absolute; top: .7rem; left: .7rem; padding: .2rem .55rem; border-radius: 6px; font-size: .64rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; background: rgba(10,34,80,.85); color: #fff;
}

/* ---------- Forms ---------- */
.field label, .field > label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.input {
  width: 100%; padding: .85rem 1rem; border-radius: .7rem; color: var(--ink); font-size: .96rem; font-family: inherit;
  background: #fff; border: 1px solid #cfd9ea; outline: none; transition: border-color .25s, box-shadow .25s;
}
.input::placeholder { color: #9aa8bf; }
.input:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(13,59,142,.12); }
.input.invalid { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card span {
  display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem .6rem; border-radius: .7rem; cursor: pointer;
  font-weight: 700; font-size: .9rem; color: var(--muted); background: #fff; border: 1px solid #cfd9ea; transition: all .25s;
}
.radio-card input:checked + span { color: #fff; background: var(--navy); border-color: var(--navy); box-shadow: 0 8px 18px -10px rgba(13,59,142,.8); }
.radio-card input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.error-msg { color: #dc2626; font-size: .76rem; margin-top: .35rem; display: none; }
.error-msg.show { display: block; }
body .text-red-300 { color: #dc2626; } body .text-emerald-300 { color: #1f7a2e; } body .text-amber-300.text-sm { color: var(--orange-d); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; background: none; border: 0; color: var(--ink); font-weight: 700; font-size: 1.02rem; text-align: left; cursor: pointer; font-family: inherit; }
.faq-q svg { flex-shrink: 0; transition: transform .35s; color: var(--orange-d); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { color: var(--muted); }
.faq-a > div { padding-bottom: 1.2rem; line-height: 1.75; }
/* Progressive enhancement: only collapse answers when JS is active */
.js .faq-a { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2,.8,.2,1); }
.js .faq-item.open .faq-a { max-height: 1200px; }

@media (max-width: 640px) {
  .hero-visual { aspect-ratio: 640 / 640; max-width: 100%; }
  .float-chip { font-size: .68rem; padding: .35rem .65rem; }
  .float-chip svg { width: .85rem; height: .85rem; }
}

/* ---------- Misc ---------- */
.divider-glow { height: 3px; background: linear-gradient(90deg, var(--green), var(--orange), var(--navy)); }
.logo-plate { background: #fff; border-radius: .8rem; padding: .7rem 1rem; display: inline-block; }
.list-check li { display: flex; gap: .7rem; align-items: flex-start; padding: .3rem 0; color: var(--body); }
.list-check li svg { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: .2rem; color: var(--green); }
.page-banner {
  padding-top: 9.5rem; padding-bottom: 4.5rem; position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(34rem 20rem at 88% 0%, rgba(245,158,11,.28), transparent 60%),
    radial-gradient(30rem 18rem at 0% 110%, rgba(46,154,62,.3), transparent 60%),
    linear-gradient(135deg, #0a2a6b 0%, var(--navy-d) 100%);
}
.page-banner::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.crumbs { font-size: .8rem; color: #9fb4d9; }
.crumbs a { color: #cfdcf3; text-decoration: none; } .crumbs a:hover { color: #fcd34d; }
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 70; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  display: grid; place-items: center; background: #1faa59; color: #fff; box-shadow: 0 10px 26px -6px rgba(31,170,89,.8); transition: transform .3s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1faa59; animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.wa-float svg { width: 1.75rem; height: 1.75rem; }

footer.site-footer { background: var(--navy-d); color: #bccbe6; }
footer.site-footer h4 { color: #fff; }
footer.site-footer .text-slate-400 { color: #a9bbdb; }
footer.site-footer .text-slate-500 { color: #7f95bd; }
footer.site-footer .text-amber-300 { color: #fbbf24; }
footer.site-footer .text-emerald-400 { color: #86efac; }
footer.site-footer a:hover { color: #fcd34d; }
footer.site-footer .border-white\/10 { border-color: rgba(255,255,255,.12); }

.person {
  display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: .9rem; background: var(--soft); border: 1px solid var(--border);
}
.avatar { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--navy), #1c6bd0); flex-shrink: 0; font-size: 1.1rem; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.particle { position: fixed; pointer-events: none; }
#main { overflow-x: hidden; overflow-x: clip; }

/* ---------- Blog & Article Formatting ---------- */
.article-body h2 { font-size: 1.85rem; font-weight: 800; color: var(--ink); margin-top: 2.2rem; margin-bottom: 0.8rem; line-height: 1.25; }
.article-body h3 { font-size: 1.35rem; font-weight: 700; color: var(--ink); margin-top: 1.8rem; margin-bottom: 0.6rem; }
.article-body p { margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.8; color: #334155; }
.article-body ul, .article-body ol { margin-bottom: 1.4rem; padding-left: 1.5rem; }
.article-body ul { list-style-type: disc; }
.article-body ol { list-style-type: decimal; }
.article-body li { margin-bottom: 0.5rem; font-size: 1.02rem; line-height: 1.7; color: #334155; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body blockquote { border-left: 4px solid var(--orange); padding: 1rem 1.2rem; margin: 1.8rem 0; font-style: italic; color: #475569; background: #fffaf0; border-radius: 0 8px 8px 0; }

/* ---------- Auto-Rotating Spotlight Carousel ---------- */
.spotlight-carousel {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.spotlight-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.spotlight-slide.active {
  display: grid;
  opacity: 1;
}
.spotlight-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: all 0.2s ease;
  cursor: pointer;
}
.spotlight-nav-btn:hover {
  background: var(--orange);
  color: #111;
  transform: scale(1.08);
}
.spotlight-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 0;
  padding: 0;
}
.spotlight-dot.active {
  width: 1.85rem;
  background: #f59e0b;
}

/* Service Card Highlights */
.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Director's Message Box */
.director-message-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.09) 0%, rgba(15, 23, 42, 0.94) 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.45);
  border-radius: 1rem;
}

/* Responsive Enhancements across All Devices (Mobile 320px to Desktop) */
@media (max-width: 640px) {
  .hero-bg h1 { font-size: 2.15rem !important; line-height: 1.15 !important; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .btn { min-height: 44px; }
  .chip { min-height: 40px; padding: 0.45rem 0.9rem !important; font-size: 0.82rem !important; }
  .spotlight-slide.active { grid-template-columns: 1fr !important; }
  .spotlight-slide img { height: 200px !important; }
  .project-thumb { height: 190px !important; }
  .mt-28 { margin-top: 3.5rem !important; }
  .mt-24 { margin-top: 3rem !important; }
  .py-20 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .py-24 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .h-16 { height: 1.5rem !important; }
  .h-12 { height: 1.25rem !important; }
}

@media (max-width: 768px) {
  .two-col, .two { grid-template-columns: 1fr !important; }
  .modal { width: 95vw !important; max-width: 95vw !important; padding: 1.25rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
