/* ==========================================================================
   Hariom Cyber Cafe — Stylesheet
   Design tokens live at the top as CSS variables.
   ========================================================================== */

:root {
  /* Brand palette (per brief) */
  --primary: #0F4C81;
  --primary-dark: #0A3862;
  --secondary: #00A86B;
  --accent: #FFC107;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --ink: #142433;
  --muted: #5C7086;

  /* Elevation & shape */
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 30px rgba(15, 76, 129, 0.10);
  --shadow-card: 0 6px 18px rgba(15, 76, 129, 0.08);

  /* Type */
  --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

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

/* Anchor targets scroll clear of the sticky header instead of under it. */
[id] { scroll-margin-top: 88px; }

/* Keyboard users get a way past the navigation; invisible until focused. */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--primary); color: var(--white);
  padding: .7rem 1.3rem; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Shared text utilities — replace the inline styles that had crept in. */
.label-note  { color: var(--muted); font-weight: 400; font-size: .8em; }
.fineprint   { font-size: .8rem; color: var(--muted); }
.muted-note  { color: var(--muted); font-size: .95rem; }

::selection { background: var(--accent); color: var(--ink); }

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Reveal on scroll
   Replaces the AOS library. The crucial difference: the hiding rules only
   apply under .js-reveal, a class JavaScript adds to <html> once it knows it
   can reveal things again. If the script fails, is blocked, or is switched
   off, that class is never added and every element is simply visible.
   AOS did the opposite — it hid everything in CSS and depended on its script
   to bring it back, so one failed CDN request produced a blank page.
   ========================================================================== */
.js-reveal [data-aos] {
  opacity: 0;
  transition: opacity .55s ease-out, transform .55s ease-out;
}
.js-reveal [data-aos="fade-up"]    { transform: translateY(26px); }
.js-reveal [data-aos="fade-right"] { transform: translateX(-26px); }
.js-reveal [data-aos="fade-left"]  { transform: translateX(26px); }
.js-reveal [data-aos="zoom-in"]    { transform: scale(.95); }

.js-reveal [data-aos].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Loader
   ========================================================================== */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: none;
  transition: opacity .5s ease, visibility .5s ease;
  /* A blocked CDN can delay the script that normally hides this overlay. */
  animation: loaderFailsafe .01s linear 2.2s forwards;
}
#page-loader.loaded { opacity: 0; visibility: hidden; animation: none; }
.loader-mark { position: relative; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.loader-mark i { font-size: 1.6rem; color: var(--primary); }
.loader-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid rgba(15,76,129,0.15);
  border-top-color: var(--secondary);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes loaderFailsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-apply {
  background: var(--secondary) !important; border: 1px solid var(--secondary) !important;
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-apply:hover,
.btn-apply:focus,
.btn-apply:active {
  background: var(--primary) !important; border-color: var(--primary) !important;
  color: var(--white) !important; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15,76,129,.28);
}

.btn-primary-cta {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  border: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary-cta:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-outline-cta {
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  transition: all .2s ease;
}
.btn-outline-cta:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

.btn-offer {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: transform .2s ease;
}
.btn-offer:hover { transform: translateY(-2px) scale(1.03); color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,76,129,0.08);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(15,76,129,0.08); }
.navbar { padding: 0.8rem 0; }
.navbar-brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.15rem;
}
.brand-logo {
  width: 42px; height: 42px; flex: 0 0 42px;
  object-fit: contain; display: block;
  padding: 2px; border: 1px solid rgba(15,76,129,.12);
  border-radius: var(--radius); background: var(--white);
  box-shadow: 0 4px 12px rgba(15,76,129,.08);
}

.brand-text { font-weight: 500; color: var(--primary-dark); font-size: 1.1rem; }
.brand-text strong { font-weight: 800; color: var(--primary); }

.nav-link {
  font-weight: 500;
  color: var(--ink) !important;
  margin: 0 0.5rem;
  position: relative;
  padding: 0.4rem 0.1rem !important;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--secondary);
  transition: width .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--primary) !important; }

.navbar-toggler { border: none; padding: 0.4rem; min-width: 44px; min-height: 44px; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; border-radius: 2px; }

/* ==========================================================================
   Language toggle
   Sits outside the collapsing menu, so someone who cannot read the English
   navigation does not have to open an English menu to find it.
   ========================================================================== */
.nav-right-mobile { display: flex; align-items: center; gap: .6rem; }

.lang-toggle {
  display: inline-flex; align-items: center;
  background: var(--white); border: 1.5px solid rgba(15,76,129,.18);
  border-radius: 999px; padding: 2px; overflow: hidden;
}
.lang-opt {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 .8rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--muted);
  white-space: nowrap; transition: background .2s ease, color .2s ease;
}
.lang-opt:hover { color: var(--primary); }
.lang-opt.active { background: var(--primary); color: var(--white); }

@media (min-width: 1200px) {
  /* On desktop the toggle sits to the right of the links, before Apply. */
  .nav-right-mobile { order: 3; margin-left: .8rem; }
  .navbar > .container { flex-wrap: nowrap; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 7.5rem 0 5rem;
  overflow: hidden;
}
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.35; z-index: 0;
}
.hero-blob--one {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--secondary), transparent 70%);
  top: -180px; right: -160px;
}
.hero-blob--two {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  bottom: -160px; left: -140px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,168,107,0.1); color: var(--secondary);
  font-size: 0.8rem; font-weight: 600;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  position: relative; z-index: 1;
}
.hero-title span { color: var(--secondary); }
.hero-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 520px; margin-bottom: 1.8rem;
  position: relative; z-index: 1;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; position: relative; z-index: 1; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%; max-width: 620px; gap: 0; position: relative; z-index: 1;
}
.stat { display: flex; flex-direction: column; min-width: 0; padding-right: 1rem; }
/* A quiet divider keeps the three numbers from reading as one long figure. */
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid rgba(15,76,129,.15); }
.stat-value { display: inline-flex; align-items: baseline; white-space: nowrap; line-height: 1; }
.stat-num, .stat-plus { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }

/* Signature hero visual: Digital Seva Card with orbiting service chips */
.hero-visual {
  position: relative;
  height: 420px;
  display: flex; align-items: center; justify-content: center;
}

.seva-card {
  position: relative;
  width: 300px; height: 190px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #082c4a 100%);
  box-shadow: 0 25px 50px rgba(15,76,129,0.35);
  color: var(--white);
  padding: 1.3rem 1.4rem;
  z-index: 3;
  animation: floatCard 5s ease-in-out infinite;
  overflow: hidden;
}
.seva-card-row {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; letter-spacing: 1.5px; font-weight: 700;
  color: var(--accent); margin-bottom: 1.6rem;
}
.seva-card-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.2rem; }
.seva-card-id { font-size: 0.75rem; opacity: 0.75; letter-spacing: 0.5px; }
.seva-card-chip {
  position: absolute; top: 1.3rem; right: 1.4rem;
  width: 38px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), #f5a623);
}
.seva-card-shine {
  position: absolute; top: -50%; left: -60%;
  width: 60%; height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: rotate(20deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
@keyframes shine {
  0% { left: -60%; }
  50% { left: 120%; }
  100% { left: 120%; }
}

.ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(15,76,129,0.25); }
.ring--outer { width: 400px; height: 400px; }
.ring--inner { width: 290px; height: 290px; border-color: rgba(0,168,107,0.3); }

.orbit { position: absolute; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.chip {
  position: absolute;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.chip--aadhaar { color: var(--primary); }
.chip--pan { color: var(--secondary); }
.chip--pension { color: #d6540b; }
.chip--farmer { color: #2e7d32; }
.chip--student { color: #7b3fbf; }

.orbit--one { animation: orbit1 9s linear infinite; }
.orbit--two { animation: orbit2 11s linear infinite; }
.orbit--three { animation: orbit3 13s linear infinite reverse; }
.orbit--four { animation: orbit4 10s linear infinite reverse; }
.orbit--five { animation: orbit5 12s linear infinite; }

.orbit--one .chip { top: -8px; left: 50%; margin-left: -28px; }
.orbit--two .chip { top: 50%; right: -8px; margin-top: -28px; }
.orbit--three .chip { bottom: -8px; left: 50%; margin-left: -28px; }
.orbit--four .chip { top: 50%; left: -8px; margin-top: -28px; }
.orbit--five .chip { top: 15%; right: 10%; }

@keyframes orbit1 { from { transform: rotate(0deg) translateX(0) rotate(0deg); } to { transform: rotate(360deg) translateX(0) rotate(-360deg); } }
@keyframes orbit2 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit3 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit4 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit5 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 991px) {
  .hero-visual { height: 340px; margin-top: 2rem; }
  .ring--outer { width: 320px; height: 320px; }
  .ring--inner { width: 230px; height: 230px; }
  .seva-card { width: 250px; height: 160px; }
}

/* ==========================================================================
   Notifications
   ========================================================================== */
.notify-section {
  background: var(--white);
  border-top: 1px solid rgba(15,76,129,0.08);
  border-bottom: 1px solid rgba(15,76,129,0.08);
  padding: 1.1rem 0;
}
.notify-heading { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }
.notify-heading i { color: var(--accent); font-size: 1.1rem; }
.notify-heading h2 { font-size: 1.05rem; font-weight: 700; color: var(--primary-dark); }

.notify-track-wrap { overflow: hidden; position: relative; }
/* Items fade out at the edges instead of being sliced mid-word. */
.notify-track-wrap::before,
.notify-track-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 56px;
  z-index: 1; pointer-events: none;
}
.notify-track-wrap::before { left: 0;  background: linear-gradient(to right, var(--white), transparent); }
.notify-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--white), transparent); }
.notify-track {
  display: flex; gap: 2.5rem; white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.notify-track-wrap:hover .notify-track { animation-play-state: paused; }
.notify-item {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
  padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--bg);
  border: 1px solid rgba(15,76,129,0.08);
  transition: background .2s ease;
}
.notify-item:hover { background: rgba(0,168,107,0.1); }
.notify-item i { color: var(--secondary); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Section shared
   ========================================================================== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  color: var(--secondary); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.8rem; text-wrap: balance; }
.section-desc { color: var(--muted); font-size: 1rem; }

/* One vertical rhythm for every band on the page. Before this, sections used
   5rem, 4.5rem and 4rem each, and the page breathed unevenly. */
:root { --section-pad: clamp(3.25rem, 7vw, 5rem); }

.services-section, .schemes-section, .why-us-section, .blog-section, .contact-section {
  padding: var(--section-pad) 0;
}
.services-section { background: var(--bg); }
.schemes-section { background: var(--white); }
.why-us-section { background: var(--bg); }
.blog-section { background: var(--white); }
.contact-section { background: var(--bg); }

/* ==========================================================================
   Service cards
   ========================================================================== */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.8rem 1.4rem;
  height: 100%;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(0,168,107,0.25);
}
.service-icon {
  width: 62px; height: 62px; margin: 0 auto 1rem;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white);
}
/* Clamped to a fixed number of lines so every card in a row lines up: a long
   name or description is trimmed with an ellipsis instead of stretching its
   card and misaligning the whole grid. */
.service-card h3 {
  font-size: 1.02rem; margin-bottom: 0.5rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.7em;
}
.service-card p {
  font-size: 0.86rem; color: var(--muted); margin-bottom: 1.1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.9em;
}
.service-card .read-more {
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.service-card .read-more i { transition: transform .2s ease; }
.service-card:hover .read-more i { transform: translateX(4px); }

.service-hidden { display: none; }

/* ==========================================================================
   Scheme cards (glassmorphism)
   ========================================================================== */
.scheme-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  height: 100%;
  background: linear-gradient(145deg, rgba(15,76,129,0.06), rgba(0,168,107,0.06));
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.scheme-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.scheme-card i.scheme-icon {
  font-size: 1.7rem; color: var(--secondary);
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; box-shadow: var(--shadow-card);
}
.scheme-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.scheme-card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 0; }

/* ==========================================================================
   Offer banner
   ========================================================================== */
.offer-banner {
  min-height: 120px;
  display: flex; align-items: center;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  margin: 0;
}
.offer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem 0;
}
.offer-tag { display: block; font-size: 0.95rem; font-weight: 700; color: var(--accent); margin-bottom: 0.3rem; }
.offer-text p { color: var(--white); font-size: 1.1rem; font-weight: 500; margin: 0; max-width: 560px; }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1rem;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
  /* Equal height whatever the title length, content vertically centred. */
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.why-card i {
  font-size: 1.25rem; color: var(--primary);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(15,76,129,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.8rem;
}
.why-card h3 { font-size: 0.92rem; line-height: 1.4; }

/* ==========================================================================
   Blog cards
   ========================================================================== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.blog-img {
  height: 170px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); font-size: 2rem;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-body { padding: 1.3rem; }
.blog-date { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.4rem; display: block; }
.blog-body h3 {
  font-size: 1rem; margin-bottom: 0.6rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s ease;
}
.blog-card:hover .blog-body h3 { color: var(--secondary); }
.blog-body .read-more { font-size: 0.85rem; font-weight: 600; color: var(--secondary); }
.blog-excerpt {
  font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  height: 100%;
}
.contact-form .form-label { font-size: 0.85rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 0.3rem; }
.contact-form .form-control, .contact-form .form-select {
  border-radius: 10px; border: 1.5px solid #e2e8f0; padding: 0.65rem 0.9rem;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(0,168,107,0.15);
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  height: 100%;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.map-placeholder {
  height: 220px;
  background: repeating-linear-gradient(45deg, #eef3f8, #eef3f8 10px, #e6edf5 10px, #e6edf5 20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--muted); gap: 0.5rem;
}
.map-placeholder i { font-size: 2rem; color: var(--primary); }
.contact-details { padding: 1.6rem; flex: 1; }
.contact-details li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.6rem 0; font-size: 0.92rem; color: var(--ink);
  border-bottom: 1px dashed #e2e8f0;
}
.contact-details li:last-child { border-bottom: none; }
.contact-details i { color: var(--secondary); width: 18px; margin-top: 0.2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 1.5rem;
}
.footer-brand { display: inline-flex; align-items: center; gap: .75rem; min-height: 48px; margin-bottom: .9rem; }
.footer-brand .brand-text { color: var(--white); font-size: 1.05rem; line-height: 1.2; }
.footer-brand .brand-text strong { color: #72e5b4; font-weight: 800; }
.footer-brand .brand-logo { width: 48px; height: 48px; flex-basis: 48px; border-color: rgba(255,255,255,.24); }
.footer-brand .brand-mark { flex: 0 0 48px; width: 48px; height: 48px; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.65); max-width: 320px; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-heading { color: var(--white); font-size: 0.95rem; margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  overflow-wrap: anywhere; transition: color .2s ease;
}
.footer-links a:hover { color: var(--accent); }
.site-footer hr { border-color: rgba(255,255,255,0.12); margin: 2.5rem 0 1.2rem; }
.footer-bottom { text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* ==========================================================================
   Back to top
   ========================================================================== */
#backToTop {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: var(--white); border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--secondary); }

/* ==========================================================================
   Service search + category filter (services section)
   ========================================================================== */
.service-toolbar {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: center;
  margin-bottom: 2.2rem;
}
.service-search {
  position: relative; flex: 1 1 320px; max-width: 420px;
}
.service-search i {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: .9rem; pointer-events: none;
}
.service-search input {
  width: 100%; border: 1.5px solid #e2e8f0; border-radius: 999px;
  padding: .7rem 1rem .7rem 2.6rem; font-family: inherit; font-size: .93rem;
  background: var(--white); color: var(--ink);
  min-height: 44px;   /* matches the filter pills beside it */
}
.service-search input:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(0,168,107,.15); }

.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.filter-pill {
  background: var(--white); border: 1.5px solid #e2e8f0; color: var(--muted);
  font-family: inherit; font-size: .82rem; font-weight: 600;
  padding: .45rem 1rem; border-radius: 999px; cursor: pointer;
  transition: all .2s ease;
  min-height: 44px;   /* comfortable to tap; see the mobile block at the end */
}
.filter-pill:hover { border-color: var(--secondary); color: var(--secondary); }
.filter-pill.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* Price badge on the home page service cards */
.service-card { display: flex; flex-direction: column; }
.service-price-badge {
  display: inline-block; align-self: center;
  background: rgba(0,168,107,.1); color: var(--secondary);
  font-size: .8rem; font-weight: 700;
  padding: .25rem .8rem; border-radius: 999px;
  margin-bottom: .8rem;
}
.service-card .read-more { margin-top: auto; }
.no-results {
  text-align: center; color: var(--muted); padding: 2.5rem 1rem; font-size: .95rem;
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 70%, #082c4a 100%);
  color: var(--white);
  padding: 3.2rem 0 3.4rem;
}
.page-hero::after {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,107,.45), transparent 70%);
  top: -220px; right: -120px; filter: blur(40px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: .7rem; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 640px; margin: 0; font-size: 1rem; }

.breadcrumb-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 1.1rem;
}
.breadcrumb-bar a { color: rgba(255,255,255,.85); }
.breadcrumb-bar a:hover { color: var(--accent); }
.breadcrumb-bar i { font-size: .6rem; opacity: .6; }

.hero-service-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--white);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 1.1rem;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.hero-meta span {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  color: var(--white); font-size: .8rem; font-weight: 500;
  padding: .42rem .9rem; border-radius: 999px;
}
.hero-meta i { color: var(--accent); }

/* ==========================================================================
   Service detail body
   ========================================================================== */
.service-body { padding: 3.5rem 0 5rem; background: var(--bg); }

.panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  margin-bottom: 1.6rem;
}
.panel-title {
  display: flex; align-items: center; gap: .7rem;
  font-size: 1.15rem; margin-bottom: 1.4rem;
}
.panel-title i { color: var(--secondary); font-size: 1.05rem; }
.panel-lead { color: var(--muted); font-size: .95rem; line-height: 1.7; margin: 0; }

/* Numbered process timeline */
.process-list { position: relative; padding-left: 0; }
.process-step { position: relative; display: flex; gap: 1.1rem; padding-bottom: 1.7rem; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: ''; position: absolute; left: 19px; top: 42px; bottom: 4px;
  width: 2px; background: linear-gradient(var(--secondary), rgba(0,168,107,.15));
}
.process-step:last-child::before { display: none; }
.step-num {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; z-index: 1;
}
.process-step:nth-child(even) .step-num { background: var(--secondary); }
.step-body h3 { font-size: 1rem; margin-bottom: .35rem; }
.step-body p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* Checklists (documents, eligibility) */
.check-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .6rem 0; font-size: .93rem; color: var(--ink);
  border-bottom: 1px dashed #e2e8f0;
}
.check-list li:last-child { border-bottom: none; }
.check-list i { color: var(--secondary); margin-top: .25rem; font-size: .85rem; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid #eef2f6; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  font-family: inherit; font-weight: 600; font-size: .95rem; color: var(--primary-dark);
  padding: 1rem 2rem 1rem 0; position: relative; cursor: pointer;
}
.faq-q::after {
  content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-size: .75rem; color: var(--secondary); transition: transform .25s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  font-size: .9rem; color: var(--muted); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1rem; }

/* ==========================================================================
   Quote card (the charge the customer agrees to)
   ========================================================================== */
.sticky-col { position: sticky; top: 90px; }

.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(0,168,107,.18);
  margin-bottom: 1.6rem;
}
.quote-head {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: var(--white); padding: 1.4rem 1.6rem;
}
.quote-head span { font-size: .78rem; letter-spacing: 1.4px; text-transform: uppercase; opacity: .85; font-weight: 600; }
.quote-amount { font-size: 2.1rem; font-weight: 800; line-height: 1.2; margin-top: .3rem; }
.quote-amount small { font-size: .85rem; font-weight: 500; opacity: .85; }
.quote-body { padding: 1.5rem 1.6rem; }
.quote-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .6rem 0; font-size: .9rem; border-bottom: 1px dashed #e2e8f0;
}
.quote-row:last-of-type { border-bottom: none; }
.quote-row span { color: var(--muted); }
.quote-row b { color: var(--primary-dark); text-align: right; }
.quote-note {
  background: #FFF8E1; border-left: 3px solid var(--accent);
  border-radius: 8px; padding: .8rem 1rem; margin-top: 1rem;
  font-size: .84rem; color: #6b5713; line-height: 1.6;
}
.quote-actions { margin-top: 1.3rem; display: grid; gap: .7rem; }
.btn-agree {
  background: var(--secondary); color: var(--white); border: none;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  padding: .95rem 1.2rem; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-agree:hover { background: #00915c; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,168,107,.3); }
.btn-whatsapp {
  background: #25D366; color: var(--white); font-weight: 600;
  padding: .8rem 1.2rem; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  transition: transform .2s ease;
}
.btn-whatsapp:hover { color: var(--white); transform: translateY(-2px); }
.quote-trust {
  display: flex; align-items: center; gap: .5rem; justify-content: center;
  margin-top: 1rem; font-size: .8rem; color: var(--muted);
}
.quote-trust i { color: var(--secondary); }

/* ==========================================================================
   Apply form
   ========================================================================== */
.apply-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.8rem 1.6rem;
  border: 2px solid rgba(0,168,107,.25);
  scroll-margin-top: 90px;
}
.apply-panel[hidden] { display: none; }
.apply-head { margin-bottom: 1.2rem; }
.apply-head h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.apply-head p { font-size: .86rem; color: var(--muted); margin: 0; }

.form-label { font-size: .85rem; font-weight: 600; color: var(--primary-dark); margin-bottom: .3rem; }
.form-label .req { color: #c0392b; }
.form-control, .form-select {
  border-radius: 10px; border: 1.5px solid #e2e8f0; padding: .65rem .9rem;
  font-family: inherit; font-size: .93rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(0,168,107,.15);
}
.field-error { display: block; font-size: .8rem; color: #c0392b; margin-top: .3rem; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #c0392b; }

.agree-box {
  background: rgba(0,168,107,.06);
  border: 1px solid rgba(0,168,107,.2);
  border-radius: 10px; padding: .9rem 1rem;
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .87rem; line-height: 1.6; color: var(--ink);
}
.agree-box input { margin-top: .25rem; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--secondary); }
.agree-box b { color: var(--primary-dark); }

/* Data-protection consent. Visually distinct from the price agreement so the
   two do not read as one bundled tick — which is exactly what the DPDP Act
   prohibits. Never pre-ticked. */
.consent-box {
  background: rgba(15,76,129,.05);
  border-color: rgba(15,76,129,.18);
  font-size: .84rem;
}
.consent-box a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.consent-box a:hover { color: var(--secondary); }

/* Honeypot — hidden from people, tempting to bots. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Alerts and the submission success panel
   ========================================================================== */
.alert-box {
  border-radius: 12px; padding: 1rem 1.2rem; font-size: .9rem;
  display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.2rem;
  line-height: 1.6;
}
.alert-box i { margin-top: .18rem; }
.alert-error   { background: #FDECEA; color: #922b21; border-left: 4px solid #c0392b; }
.alert-success { background: #E8F8F1; color: #14634a; border-left: 4px solid var(--secondary); }
.alert-info    { background: #EAF2FA; color: #14456f; border-left: 4px solid var(--primary); }

.success-panel {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 2.5rem 2rem; text-align: center;
  border-top: 5px solid var(--secondary);
}
.success-mark {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.3rem;
  background: rgba(0,168,107,.12); color: var(--secondary);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.success-panel h2 { font-size: 1.4rem; margin-bottom: .7rem; }
.success-panel p { color: var(--muted); font-size: .95rem; max-width: 460px; margin: 0 auto 1.2rem; line-height: 1.7; }
.ref-chip {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--bg); border: 1.5px dashed var(--primary);
  border-radius: 12px; padding: .8rem 1.4rem; margin-bottom: 1.6rem;
}
.ref-chip small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.ref-chip b { font-size: 1.15rem; color: var(--primary); letter-spacing: 1px; }
.success-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.summary-table { width: 100%; margin: 0 auto 1.6rem; max-width: 460px; text-align: left; }
.summary-table tr td { padding: .55rem 0; font-size: .9rem; border-bottom: 1px dashed #e2e8f0; }
.summary-table tr td:first-child { color: var(--muted); width: 45%; }
.summary-table tr td:last-child { color: var(--primary-dark); font-weight: 600; }
.summary-table tr:last-child td { border-bottom: none; }

/* ==========================================================================
   Related services
   ========================================================================== */
.related-section { background: var(--white); padding: var(--section-pad) 0; }

/* ==========================================================================
   Schemes signpost on the home page
   ========================================================================== */
.scheme-cta {
  display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap;
  background: linear-gradient(145deg, rgba(15,76,129,.06), rgba(0,168,107,.08));
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2.2rem;
}
.scheme-cta-icon {
  width: 72px; height: 72px; flex: 0 0 72px; border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white); font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
}
.scheme-cta-text { flex: 1 1 320px; }
.scheme-cta-text .section-eyebrow { margin-bottom: .3rem; }
.scheme-cta-text .section-title { margin-bottom: .5rem; text-align: left; }
.scheme-cta .btn { flex: 0 0 auto; }

/* ==========================================================================
   Scheme cards on schemes.php
   ========================================================================== */
.scheme-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.8rem;
  height: 100%;
  display: flex; flex-direction: column;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.scheme-panel:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(0,168,107,.25);
}
.scheme-panel-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.scheme-panel-icon {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white); font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.scheme-panel-head h2 { font-size: 1.05rem; line-height: 1.35; }
.scheme-panel-desc { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: .9rem; }
.scheme-panel-details {
  font-size: .86rem; color: var(--ink); line-height: 1.7;
  background: var(--bg); border-radius: 10px; padding: .9rem 1rem; margin-bottom: 1rem;
}
.scheme-panel-foot { margin-top: auto; }
.scheme-panel-foot .btn { width: 100%; }

/* ==========================================================================
   About Us page
   ========================================================================== */
.about-point { display: flex; gap: .9rem; align-items: flex-start; height: 100%; }
.about-point i {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px;
  background: rgba(0,168,107,.1); color: var(--secondary);
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
  margin-top: .15rem;
}
.about-point h3 { font-size: .96rem; margin-bottom: .25rem; }
.about-point p { font-size: .86rem; color: var(--muted); line-height: 1.65; margin: 0; }

.panel-title.justify-content-center { justify-content: center; }
.panel.p-0 { padding: 0; overflow: hidden; }

/* The map inside the contact card. */
.map-frame { height: 220px; overflow: hidden; }
.map-frame--tall { height: 300px; }
.map-frame iframe { border: 0; width: 100%; height: 100%; display: block; }

/* ==========================================================================
   Service image (under "About this service")
   ========================================================================== */
.panel-figure { margin: 0 0 1.2rem; border-radius: var(--radius); overflow: hidden; }
/* Capped height so a tall phone photo cannot push the actual content off
   screen; cover-cropped rather than letterboxed. */
.panel-figure img { width: 100%; height: auto; max-height: 340px; object-fit: cover; display: block; }

/* ==========================================================================
   Photo upload on the apply form
   ========================================================================== */
.file-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .3rem; text-align: center; cursor: pointer;
  border: 2px dashed #cfdae6; border-radius: 12px;
  padding: 1.3rem 1rem; background: var(--bg);
  transition: border-color .2s ease, background .2s ease;
}
.file-drop:hover { border-color: var(--secondary); background: rgba(0,168,107,.05); }
.file-drop i { font-size: 1.3rem; color: var(--primary); }
.file-drop-text { font-weight: 600; font-size: .9rem; color: var(--primary-dark); }
.file-drop small { font-size: .75rem; color: var(--muted); }

.file-chosen { margin-top: .7rem; }
.file-chosen li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--ink);
  background: rgba(0,168,107,.08); border-radius: 8px;
  padding: .45rem .7rem; margin-bottom: .35rem;
}
.file-chosen i { color: var(--secondary); }
.file-chosen .size { margin-left: auto; color: var(--muted); font-size: .75rem; }

.hint-line {
  display: flex; align-items: flex-start; gap: .4rem;
  font-size: .78rem; color: var(--muted); margin-top: .5rem; line-height: 1.5;
}
.hint-line i { color: var(--secondary); margin-top: .15rem; }

/* ==========================================================================
   UPI payment
   ========================================================================== */
.pay-panel {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); border: 1px solid rgba(0,168,107,.2);
  padding: 1.6rem; margin-top: 1.6rem; text-align: left;
}
.pay-title { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; margin-bottom: 1rem; }
.pay-title i { color: var(--secondary); }

.pay-amount {
  display: flex; justify-content: space-between; align-items: baseline;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: var(--white); border-radius: 12px; padding: .8rem 1.1rem; margin-bottom: 1.2rem;
}
.pay-amount span { font-size: .82rem; opacity: .85; }
.pay-amount b { font-size: 1.4rem; font-weight: 800; }

.pay-body { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: flex-start; }
.pay-qr { flex: 0 0 auto; text-align: center; }
.pay-qr img {
  width: 168px; height: 168px; object-fit: contain;
  border: 1px solid var(--line, #e2e8f0); border-radius: 12px; padding: .5rem; background: #fff;
}
.pay-qr small { display: block; font-size: .75rem; color: var(--muted); margin-top: .4rem; }

.pay-actions { flex: 1 1 220px; display: flex; flex-direction: column; gap: .6rem; }
.btn-pay {
  background: var(--secondary); color: var(--white); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.2rem; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  transition: transform .2s ease, background .2s ease;
}
.btn-pay:hover { background: #00915c; color: var(--white); transform: translateY(-2px); }
.pay-hint { font-size: .76rem; color: var(--muted); text-align: center; }

.pay-vpa {
  background: var(--bg); border-radius: 10px; padding: .7rem .9rem;
  border: 1px dashed #cfdae6;
}
.pay-vpa span { display: block; font-size: .74rem; color: var(--muted); }
.pay-vpa b { font-size: .92rem; color: var(--primary-dark); word-break: break-all; }

.pay-ref {
  background: #FFF8E1; border-left: 3px solid var(--accent); border-radius: 8px;
  padding: .7rem .9rem; margin-top: 1rem; font-size: .84rem; color: #6b5713; line-height: 1.6;
}
.pay-note {
  font-size: .8rem; color: var(--muted); margin: .9rem 0 0; line-height: 1.6;
  display: flex; gap: .45rem; align-items: flex-start;
}
.pay-note i { color: var(--secondary); margin-top: .15rem; }

/* ==========================================================================
   WhatsApp community
   ========================================================================== */
.join-section { background: var(--bg); padding: 0 0 var(--section-pad); }

.join-panel {
  background: linear-gradient(135deg, rgba(37,211,102,.1), rgba(0,168,107,.08));
  border: 1px solid rgba(37,211,102,.28);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.join-head { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.3rem; }
.join-icon {
  width: 54px; height: 54px; flex: 0 0 54px; border-radius: 16px;
  background: #25D366; color: var(--white); font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.join-head h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.join-head p { font-size: .89rem; color: var(--muted); margin: 0; line-height: 1.6; }

.join-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .8rem; }
.join-link {
  display: flex; align-items: center; gap: .8rem;
  background: var(--white); border: 1px solid rgba(15,76,129,.1);
  border-radius: 12px; padding: .95rem 1.1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.join-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: #25D366; }
.join-link > i:first-child { color: #25D366; font-size: 1.05rem; width: 20px; text-align: center; }
.join-link b { display: block; font-size: .9rem; color: var(--primary-dark); }
.join-link small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.5; margin-top: .15rem; }
.join-arrow { margin-left: auto; color: var(--muted); font-size: .78rem; }
.join-link:hover .join-arrow { color: #25D366; }

/* Sidebar variant */
.join-compact { padding: 1.4rem; margin-bottom: 1.6rem; }
.join-compact .join-head { margin-bottom: .9rem; }
.join-compact .join-icon { width: 42px; height: 42px; flex-basis: 42px; font-size: 1.15rem; border-radius: 12px; }
.join-compact .join-head h3 { font-size: .98rem; }
.join-compact .join-links { grid-template-columns: 1fr; }

/* ==========================================================================
   Photo strip above the footer
   ========================================================================== */
.gallery-section { background: var(--white); padding: var(--section-pad) 0; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem;
}
.gallery-item {
  position: relative; margin: 0; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3; background: var(--bg);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(10,56,98,.85));
  color: var(--white); font-size: .82rem; font-weight: 500;
  padding: 1.6rem .9rem .8rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ==========================================================================
   Visitor counter
   ========================================================================== */
.visitor-chip {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: .5rem 1.1rem;
  font-size: .84rem; color: rgba(255,255,255,.8);
}
.visitor-chip i { color: var(--accent); }
.visitor-chip b { color: var(--white); font-weight: 700; letter-spacing: .5px; }

/* ==========================================================================
   Database-down notice
   ========================================================================== */
.db-down {
  max-width: 620px; margin: 5rem auto; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 2.5rem; text-align: center;
}
.db-down i { font-size: 2.4rem; color: var(--accent); margin-bottom: 1rem; }
.db-down h1 { font-size: 1.3rem; margin-bottom: .6rem; }
.db-down p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ==========================================================================
   Responsive tweaks
   ========================================================================== */
@media (max-width: 991px) {
  .sticky-col { position: static; }
  /* On a phone the price must be read before the long process copy. */
  .service-layout { display: flex; flex-direction: column; }
  .service-layout .quote-col { order: 1; }
  .service-layout .detail-col { order: 2; }
}

@media (max-width: 767px) {
  .hero { padding: 5rem 0 2.5rem; text-align: left; }
  /* The orbiting card is decoration; on a phone it was pushing the actual
     services most of a screen further down. */
  .hero-visual { height: 260px; margin-top: 1rem; }
  .ring--outer { width: 240px; height: 240px; }
  .ring--inner { width: 175px; height: 175px; }
  .seva-card { width: 215px; height: 138px; padding: 1rem 1.1rem; }
  .seva-card-row { margin-bottom: 1rem; }
  .chip { width: 44px; height: 44px; font-size: 1rem; }
  .orbit--one .chip, .orbit--three .chip { margin-left: -22px; }
  .orbit--two .chip, .orbit--four .chip { margin-top: -22px; }

  .hero-stats { gap: 0; }
  .stat + .stat { padding-left: .7rem; }
  .section-head { margin-bottom: 2.2rem; }
  .offer-inner { flex-direction: column; align-items: flex-start; }
  .panel { padding: 1.5rem 1.2rem; }
  .page-hero { padding: 2.4rem 0 2.6rem; }
  .quote-amount { font-size: 1.8rem; }
  .success-panel { padding: 2rem 1.2rem; }

  /* Filters scroll sideways rather than wrapping into a block of buttons
     tall enough to hide the services underneath them. */
  .service-toolbar { gap: .8rem; }
  .filter-pills {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1rem; padding: .2rem 1rem .5rem;
    scrollbar-width: none;
  }
  .filter-pills::-webkit-scrollbar { display: none; }
  .filter-pill { flex: 0 0 auto; scroll-snap-align: start; }

  /* Two cards per row still, but tighter, so names and prices fit without
     the card growing taller than the screen. */
  .service-card { padding: 1.2rem .85rem; }
  .service-icon { width: 48px; height: 48px; font-size: 1.15rem; margin-bottom: .7rem; border-radius: 13px; }
  .service-card h3 { font-size: .92rem; line-height: 1.35; }
  .service-card p { font-size: .78rem; min-height: 0; margin-bottom: .8rem; }
  .service-card .read-more { font-size: .78rem; }
  .service-price-badge { font-size: .78rem; margin-bottom: .6rem; }

  /* Anything tappable clears 44px. */
  .btn, .btn-agree, .btn-whatsapp, .btn-pay,
  .btn-primary-cta, .btn-outline-cta, .btn-apply, .btn-offer { min-height: 44px; }
  .nav-link { padding: .7rem .1rem !important; }
  .footer-links a { display: inline-block; padding: .25rem 0; }

  .scheme-cta { padding: 1.5rem 1.2rem; gap: 1.1rem; }
  .scheme-cta-icon { width: 56px; height: 56px; flex-basis: 56px; font-size: 1.4rem; }
  .scheme-cta .btn { width: 100%; justify-content: center; }
  .scheme-panel { padding: 1.4rem 1.2rem; }

  .pay-panel { padding: 1.2rem; }
  .pay-body { flex-direction: column; align-items: stretch; }
  .pay-qr { align-self: center; }
  .join-panel { padding: 1.4rem 1.2rem; }
  .gallery-section { padding: 3rem 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }

  .success-actions .btn, .success-actions .btn-whatsapp { width: 100%; justify-content: center; }
  .summary-table { max-width: 100%; }
}

/* Very small phones: one service per row rather than two cramped ones. */
@media (max-width: 380px) {
  #servicesGrid > [data-service] { width: 100%; }
  .hero-visual { height: 220px; }
}

/* ==========================================================================
   Hindi typography
   Poppins has no Devanagari, so Hindi would otherwise fall back to whatever
   the device happens to have — often something that renders conjuncts badly.
   ========================================================================== */
html[lang="hi"] body,
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3,
html[lang="hi"] h4, html[lang="hi"] h5, html[lang="hi"] h6,
html[lang="hi"] .btn, html[lang="hi"] input, html[lang="hi"] select, html[lang="hi"] textarea {
  font-family: 'Noto Sans Devanagari', 'Poppins', 'Nirmala UI', sans-serif;
}
/* Devanagari sits lower and needs more room between lines than Latin. */
html[lang="hi"] body { line-height: 1.75; }
html[lang="hi"] .hero-title { line-height: 1.35; }
html[lang="hi"] .service-card h3 { line-height: 1.5; }

/* Hindi labels run longer than their English originals; tighten the desktop
   header so the last item does not wrap onto a second line. */
@media (min-width: 1200px) {
  html[lang="hi"] .nav-link { margin: 0 0.3rem; font-size: .95rem; }
  html[lang="hi"] .btn-apply { padding: 0.55rem 1rem; white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .nav-link { margin: 0 .22rem; font-size: .84rem; }
  .nav-right-mobile { margin-left: .35rem; }
  .lang-opt { padding: 0 .55rem; }
  .btn-apply { padding: .55rem .85rem; font-size: .84rem; white-space: nowrap; }
  .brand-text { font-size: .96rem; }
  /* Three full language names no longer fit beside the compressed nav on this
     band — fall back to the compact codes (EN | हि | हि+EN) early. */
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang-opt { min-width: 34px; }
}

.lang-toggle { flex-shrink: 0; }
.lang-opt { white-space: nowrap; }

/* ==========================================================================
   Bilingual header labels (the दोनों / Both mode)
   Inline "होम / Home" wraps raggedly across a seven-item nav. Inside the
   roomy collapsed mobile menu the pair stays on one line; on the desktop nav
   the two languages stack — Hindi on top, English smaller beneath — so every
   item is a tidy, equal-height block.
   ========================================================================== */
.bi-label { display: inline-flex; align-items: baseline; gap: .3rem; white-space: nowrap; }
.bi-sep   { opacity: .45; }

@media (min-width: 1200px) {   /* the nav expands at xl */
  .nav-link .bi-label,
  .btn-apply .bi-label {
    flex-direction: column; align-items: center; gap: .1rem; line-height: 1.2;
  }
  .nav-link .bi-sep,
  .btn-apply .bi-sep { display: none; }

  .nav-link .bi-hi { font-size: .92em; }
  .nav-link .bi-en { font-size: .74em; opacity: .75; letter-spacing: .2px; }
  .nav-link:hover .bi-en, .nav-link.active .bi-en { opacity: 1; }

  /* The button stays a compact pill even with two lines inside. */
  .btn-apply .bi-label { line-height: 1.25; }
  .btn-apply .bi-hi { font-size: .92em; }
  .btn-apply .bi-en { font-size: .78em; opacity: .9; }
  .navbar-nav .btn-apply:has(.bi-label) { padding-top: .45rem; padding-bottom: .45rem; }
}

/* ========================================================================== 
   2026 homepage refresh: mobile header, photo hero, service icon grid, popup
   ========================================================================== */

.lang-short { display: none; }

/* Reference-inspired proof strip above the hero content. */
.hero {
  padding: 2rem 0 4.5rem;
  background:
    radial-gradient(circle at 92% 10%, rgba(15,76,129,.12), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(2rem, 5vw, 4rem);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,76,129,.1);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(15,76,129,.1);
  overflow: hidden;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  padding: 1rem 1.15rem;
}
.hero-trust-item + .hero-trust-item { border-left: 1px solid rgba(15,76,129,.1); }
.hero-trust-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(15,76,129,.08);
  color: var(--primary);
  font-size: 1.15rem;
}
.hero-trust-item:nth-child(2) .hero-trust-icon { background: rgba(0,168,107,.1); color: var(--secondary); }
.hero-trust-item:nth-child(3) .hero-trust-icon { background: rgba(214,84,11,.1); color: #d6540b; }
.hero-trust-item:nth-child(4) .hero-trust-icon { background: rgba(123,63,191,.1); color: #7b3fbf; }
.hero-trust-item span:last-child { min-width: 0; }
.hero-trust-item b,
.hero-trust-item small { display: block; }
.hero-trust-item b { color: var(--primary-dark); font-size: .9rem; line-height: 1.25; }
.hero-trust-item small { color: var(--muted); font-size: .72rem; line-height: 1.4; margin-top: .12rem; }

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-title {
  max-width: 680px;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-title span { color: #e85d04; }
.hero-sub { max-width: 640px; margin-bottom: 1rem; line-height: 1.75; }
.hero-service-list {
  max-width: 650px;
  margin: 0 0 1.65rem;
  padding-left: 1rem;
  border-left: 4px solid #e85d04;
  color: var(--primary-dark);
  font-size: .92rem;
  line-height: 1.75;
}
.hero-cta { margin-bottom: 2rem; }
.hero-cta .btn { border-radius: 999px; min-width: 170px; justify-content: center; }
.hero-photo {
  position: relative;
  aspect-ratio: 1.12 / 1;
  min-height: 440px;
  overflow: visible;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: -14px -14px 18px 20px;
  border-radius: 48% 26px 26px 48%;
  background: linear-gradient(145deg, rgba(15,76,129,.12), rgba(0,168,107,.12));
  z-index: -1;
}
.hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  border-radius: 48% 24px 24px 48%;
  box-shadow: 0 26px 65px rgba(15,76,129,.2);
}
.hero-photo-badge {
  position: absolute;
  left: -1.6rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 240px;
  padding: .8rem 1rem;
  border: 1px solid rgba(15,76,129,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-soft);
}
.hero-photo-badge > span {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0,168,107,.12);
  color: var(--secondary);
}
.hero-photo-badge b,
.hero-photo-badge small { display: block; }
.hero-photo-badge b { font-size: .82rem; color: var(--primary-dark); }
.hero-photo-badge small { font-size: .68rem; color: var(--muted); }

/* Clean round icons and a denser, reference-inspired service grid. */
#servicesGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
#servicesGrid > [data-service] { min-width: 0; }
#servicesGrid > [data-service][hidden] { display: none !important; }
.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.55rem 1rem;
}
.service-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: var(--service-color, var(--primary));
  background: #f3f7fc;
  background: color-mix(in srgb, var(--service-color, var(--primary)) 11%, white);
  border: 1px solid color-mix(in srgb, var(--service-color, var(--primary)) 24%, white);
  box-shadow: 0 8px 20px rgba(15,76,129,.09);
}
.service-icon i { color: var(--service-color, var(--primary)); }
.service-icon { position: relative; }
.service-icon img,
.service-icon svg {
  position: relative; z-index: 1; display: block;
  width: 86%; height: 86%; object-fit: contain; border-radius: 50%;
  background: #f3f7fc;
}
.service-icon img.service-icon-realistic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.92);
  box-shadow: 0 5px 14px rgba(15,76,129,.14);
}
.service-icon svg { overflow: visible; }
.service-icon .service-icon-fallback { position: absolute; z-index: 0; inset: 50% auto auto 50%; transform: translate(-50%, -50%); }
.service-card:hover { transform: translateY(-5px); }

/* Accessible notification dialog on desktop and bottom sheet on phones. */
.notification-popup[hidden],
.notification-popup-trigger[hidden] { display: none !important; }
.notification-popup {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.notification-popup.show { opacity: 1; visibility: visible; }
.notification-popup-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(6,30,51,.62);
  backdrop-filter: blur(5px);
  cursor: default;
}
.notification-popup-card {
  position: relative;
  width: min(100%, 540px);
  max-height: min(80vh, 660px);
  overflow: auto;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(6,30,51,.32);
  transform: translateY(18px) scale(.98);
  transition: transform .22s ease;
}
.notification-popup.show .notification-popup-card { transform: none; }
.notification-popup-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .9rem;
  align-items: center;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.notification-popup-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary-dark);
  background: var(--accent);
}
.notification-popup-head span:not(.notification-popup-mark) {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.notification-popup-head h2 { color: var(--white); font-size: 1.25rem; }
.notification-popup-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--white);
}
.notification-popup-list { padding: .8rem 1rem .2rem; }
.notification-popup-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  min-height: 62px;
  padding: .7rem .35rem;
  border-bottom: 1px solid #e8eef5;
}
.notification-popup-item > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(15,76,129,.08);
  color: var(--primary);
}
.notification-popup-item b { font-size: .88rem; line-height: 1.45; }
.notification-popup-item > i { color: var(--muted); font-size: .72rem; }
.notification-popup-note { margin: 0; padding: .75rem 1.25rem 1.2rem; color: var(--muted); font-size: .75rem; }
.notification-popup-trigger {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 1050;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 10px 28px rgba(15,76,129,.3);
}
.notification-popup-trigger span {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  background: #e85d04;
  font-size: .65rem;
  font-weight: 700;
}
.notification-popup-open { overflow: hidden; }

@media (max-width: 1199.98px) {
  .hero-shell { grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: 2.5rem; }
  .hero-title { font-size: clamp(2.25rem, 4.5vw, 3.35rem); }
  .hero-trust-item { padding: .9rem .75rem; gap: .6rem; }
  .hero-trust-icon { flex-basis: 38px; width: 38px; height: 38px; }
}

@media (max-width: 1199.98px) {
  .navbar { padding: .55rem 0; }
  .navbar > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .55rem;
    align-items: center;
  }
  .navbar-brand { min-width: 0; margin-right: 0; }
  .brand-mark, .brand-logo { flex: 0 0 38px; width: 38px; height: 38px; }
  .brand-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .94rem; }
  .nav-right-mobile { justify-self: end; gap: .35rem; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang-opt { min-width: 34px; min-height: 32px; padding: 0 .45rem; font-size: .72rem; }
  .navbar-toggler { padding: .35rem; min-width: 42px; min-height: 42px; }
  .navbar-collapse { grid-column: 1 / -1; }
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    margin-top: .45rem;
    padding: .55rem .85rem .9rem;
    border: 1px solid rgba(15,76,129,.1);
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-soft);
  }
  .navbar-nav { align-items: stretch !important; }
  .nav-link { margin: 0; padding: .72rem .2rem !important; }
  .nav-link::after { bottom: .35rem; }

  .nav-item.ms-lg-3 { margin-top: .35rem; margin-left: 0 !important; }
  .nav-item .btn-apply { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

  .hero-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-trust-item:nth-child(3) { border-left: 0; border-top: 1px solid rgba(15,76,129,.1); }
  .hero-trust-item:nth-child(4) { border-top: 1px solid rgba(15,76,129,.1); }
  .hero-shell { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .hero-photo::before { inset: -10px -8px 14px 14px; border-radius: 30px; }
  .hero-photo > img { border-radius: 28px; object-position: center 42%; }
  .hero-photo-badge { left: 1rem; bottom: 1rem; }
  #servicesGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .hero { padding: 1.2rem 0 3rem; text-align: left; }
  .hero-trust-strip { margin-bottom: 2rem; border-radius: 18px; }
  /* Flatten the copy wrapper so the photo can sit directly below the headline
     on phones while the same markup stays two-column on desktop. */
  .hero-shell { gap: 0; }
  .hero-copy { display: contents; }
  .js-reveal .hero-copy[data-aos] { opacity: 1; transform: none; }
  .hero-copy > .eyebrow { order: 1; }
  .hero-copy > .hero-title { order: 2; }
  .hero-media { order: 3; margin: .8rem 0 1.5rem; }
  .hero-copy > .hero-sub { order: 4; }
  .hero-copy > .hero-service-list { order: 5; }
  .hero-copy > .hero-cta { order: 6; }
  .hero-copy > .hero-stats { order: 7; }
  .hero-trust-item { padding: .8rem .65rem; }
  .hero-trust-item b { font-size: .78rem; }
  .hero-trust-item small { font-size: .65rem; }
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); letter-spacing: -.025em; }
  .hero-sub { font-size: .94rem; line-height: 1.65; }
  .hero-service-list { font-size: .82rem; line-height: 1.65; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
  .hero-cta .btn { min-width: 0; padding: .7rem .8rem; font-size: .82rem; }
  .hero-stats { gap: 0; }
  .stat { padding-right: .3rem; }
  .stat + .stat { padding-left: .55rem; }
  .stat-num, .stat-plus { font-size: 1.25rem; }
  .stat-label { font-size: .68rem; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-photo-badge { max-width: 210px; padding: .65rem .75rem; }

  .services-section .container { max-width: none; padding-left: .75rem; padding-right: .75rem; }
  #servicesGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid #e1e9f2;
    border-radius: 18px;
    background: var(--white);
  }
  .service-card {
    min-height: 152px;
    padding: .95rem .3rem .7rem;
    border: 0;
    border-right: 1px solid #e8eef5;
    border-bottom: 1px solid #e8eef5;
    border-radius: 0;
    box-shadow: none;
  }
  .service-card:hover { transform: none; box-shadow: none; }
  .service-icon { width: 50px; height: 50px; margin-bottom: .55rem; font-size: 1.1rem; }
  .service-card h3 { min-height: 2.75em; margin-bottom: .35rem; font-size: .72rem; line-height: 1.35; }
  .service-card p { display: none; }
  .service-price-badge { margin: 0; padding: .15rem .4rem; font-size: .62rem; }
  .service-card .read-more { position: absolute; inset: 0; z-index: 1; font-size: 0; }
  .service-card .read-more i { display: none; }

  .notification-popup { align-items: end; padding: 0; }
  .notification-popup-card { width: 100%; max-height: 84vh; border-radius: 24px 24px 0 0; transform: translateY(100%); }
  .notification-popup-head { padding: 1rem; }
  .notification-popup-trigger { right: 16px; bottom: 82px; }
}

@media (max-width: 399.98px) {
  .brand-text { font-size: .82rem; }
  .hero-trust-icon { flex-basis: 34px; width: 34px; height: 34px; font-size: .95rem; }
  .hero-cta { grid-template-columns: 1fr; }
}

@media (max-width: 359.98px) {
  #servicesGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Dedicated catalogue/content pages introduced when the homepage was split. */
.services-catalogue,
.blog-page-section,
.gallery-page-section { padding-top: 4.5rem; padding-bottom: 5rem; }
.contact-page-hero + .contact-section { padding-top: 4.5rem; }
.contact-cta-section { padding: 1.5rem 0 4.5rem; }
.empty-state {
  max-width: 620px; margin: 0 auto; padding: 3.5rem 1.5rem;
  border: 1px solid rgba(15,76,129,.12); border-radius: 22px;
  background: var(--white); text-align: center; box-shadow: var(--shadow-card);
}
.empty-state > i { display: block; margin-bottom: 1rem; color: var(--secondary); font-size: 2.5rem; }
.empty-state h2 { margin: 0; color: var(--primary-dark); font-size: 1.2rem; }
.blog-content {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(15,76,129,.1);
  color: var(--muted); font-size: .86rem; line-height: 1.7;
}
@media (max-width: 767.98px) {
  .services-catalogue,
  .blog-page-section,
  .gallery-page-section { padding-top: 3rem; padding-bottom: 3.5rem; }
}
