/* =========================================================
   Vishva Darji Federation — Unity | Welfare | Progress
   Public site stylesheet: brand tokens, layout, components
   Fonts: Montserrat (headings) + Poppins (body)  — per brand kit
   ========================================================= */

:root{
  /* --- Brand palette (from the branding kit) --- */
  --navy:#0B2D6B;          /* primary blue — trust & stability */
  --navy-deep:#071C47;
  --blue:#1976D2;
  --sun:#FDB813;           /* growth yellow */
  --sun-soft:#FFD25A;
  --amber:#F57C00;         /* energy orange */
  --leaf:#0A8F4A;          /* harmony green */
  --coral:#E53935;         /* support red */

  /* legacy names used by inner-page css, mapped to the brand */
  --brand:#0B2D6B; --brand-dark:#071C47; --brand-light:#1976D2;
  --bg:#FFFFFF; --bg-soft:#F4F7FC; --mist:#F4F7FC;
  --ink:#0F1B33; --ink-soft:#46536E; --line:#DCE5F3; --white:#FFFFFF;

  --grad-brand:linear-gradient(135deg,#0B2D6B 0%,#1976D2 100%);
  --grad-warm:linear-gradient(135deg,#FDB813 0%,#F57C00 100%);
  --grad-leaf:linear-gradient(135deg,#0A8F4A 0%,#43A047 100%);
  --grad-joy:linear-gradient(135deg,#E53935 0%,#FF7043 100%);

  --radius-sm:8px; --radius-md:16px; --radius-lg:28px;
  --shadow-sm:0 4px 14px rgba(11,45,107,.08);
  --shadow-md:0 16px 38px rgba(11,45,107,.14);
  --shadow-orange:0 12px 26px rgba(245,124,0,.30);
  --shadow-navy:0 12px 26px rgba(11,45,107,.28);

  --font-head:'Montserrat','Noto Sans Devanagari','Segoe UI',sans-serif;
  --font-sub:'Poppins','Noto Sans Devanagari','Segoe UI',sans-serif;
  --font-body:'Poppins','Noto Sans Devanagari','Segoe UI',sans-serif;

  --container:1220px;
  --header-h:84px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{ font-family:var(--font-body); font-weight:400; color:var(--ink); background:#fff; overflow-x:hidden; line-height:1.65; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
input,textarea,select{ font-family:inherit; }
h1,h2,h3,h4{ font-family:var(--font-head); color:var(--ink); line-height:1.18; letter-spacing:-.01em; }
:focus-visible{ outline:3px solid var(--sun); outline-offset:3px; border-radius:6px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }

/* English only for now. Hindi spans are kept in the markup and switch on when SITE_LANGS includes 'hi'. */
.lang-hi{ display:none !important; }
html[data-lang="hi"] .lang-hi{ display:inline !important; }
html[data-lang="hi"] .lang-en{ display:none !important; }

/* ---------- Section heading: orange bar marker, as in the brand kit ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-head); font-weight:700; font-size:14px; color:var(--navy);
  margin-bottom:14px; letter-spacing:0;
}
.eyebrow::before{ content:""; width:4px; height:20px; background:var(--amber); border-radius:3px; }
.eyebrow i{ display:none; }
.section-head{ max-width:660px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.8vw,42px); font-weight:800; margin-bottom:14px; color:var(--navy); }
.section-head p{ color:var(--ink-soft); font-size:16.5px; }
.section{ padding:96px 0; position:relative; }
.section.alt{ background:var(--mist); }

/* ---------- Buttons: primary navy / secondary orange / outline ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-head); font-weight:700; font-size:14.5px; line-height:1;
  min-height:52px; padding:0 30px; border-radius:12px; position:relative; white-space:nowrap; border:2px solid transparent;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-primary{ background:var(--navy); color:#fff; box-shadow:var(--shadow-navy); }
.btn-primary:hover{ transform:translateY(-2px); background:var(--navy-deep); }
.btn-secondary{ background:var(--grad-warm); color:#fff; box-shadow:var(--shadow-orange); }
.btn-secondary:hover{ transform:translateY(-2px); }
.btn-outline{ background:#fff; color:var(--amber); border:2px solid var(--amber); }
.btn-outline:hover{ background:var(--amber); color:#fff; transform:translateY(-2px); }
.btn-ghost-light{ background:rgba(255,255,255,.10); color:#fff; border:2px solid rgba(255,255,255,.55); }
.btn-ghost-light:hover{ background:#fff; color:var(--navy); transform:translateY(-2px); }
.btn i{ transition:transform .25s ease; }
.btn:hover i.fa-arrow-right{ transform:translateX(4px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:200; height:var(--header-h);
  background:rgba(255,255,255,.97); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line); transition:box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled{ box-shadow:0 8px 24px rgba(11,45,107,.10); --header-h:72px; height:72px; }
.nav-wrap{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:22px; }
.brand{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.brand img{ height:56px; width:56px; object-fit:contain; transition:height .3s ease,width .3s ease; }
.site-header.scrolled .brand img{ height:48px; width:48px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-text .name-main{ font-family:var(--font-head); font-weight:800; font-size:21px; color:var(--navy); letter-spacing:-.02em; }
.brand-text .name-sub{
  display:flex; align-items:center; gap:7px; margin-top:4px;
  font-family:var(--font-head); font-weight:600; font-size:11.5px; letter-spacing:.34em; color:var(--ink); text-transform:none;
}
.brand-text .name-sub::before,.brand-text .name-sub::after{ content:""; width:14px; height:2px; background:var(--amber); border-radius:2px; }

.nav-links{ display:flex; align-items:center; gap:2px; margin-left:auto; }
.nav-links a{
  position:relative; padding:10px 14px; font-family:var(--font-head); font-weight:600; font-size:14px; color:var(--ink);
  border-radius:10px; transition:color .2s ease, background .2s ease;
}
.nav-links a::after{ content:""; position:absolute; left:14px; right:14px; bottom:3px; height:3px; border-radius:3px; background:var(--amber); transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.nav-links a:hover{ color:var(--navy); }
.nav-links a:hover::after,.nav-links a.active::after{ transform:scaleX(1); }
.nav-links a.active{ color:var(--navy); }

.header-actions{ display:flex; align-items:center; gap:10px; }
.header-actions .btn{ min-height:44px; padding:0 20px; font-size:13.5px; }
.icon-btn,.icon-action{
  width:44px; height:44px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center;
  background:var(--mist); color:var(--navy); border:1px solid var(--line); transition:background .2s,color .2s;
}
.icon-btn:hover,.icon-action:hover{ background:var(--navy); color:#fff; }
.hamburger{ display:none; width:44px; height:44px; border-radius:12px; background:var(--mist); border:1px solid var(--line); flex-direction:column; align-items:center; justify-content:center; gap:5px; }
.hamburger span{ display:block; width:20px; height:2.5px; background:var(--navy); border-radius:2px; transition:transform .3s, opacity .3s; }
.hamburger.active span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

/* ---------- Mobile full-screen menu ---------- */
.mobile-menu{
  position:fixed; inset:0; z-index:300; background:var(--navy-deep); color:#fff; padding:96px 28px 40px; overflow-y:auto;
  transform:translateX(100%); visibility:hidden; transition:transform .4s cubic-bezier(.22,.8,.3,1), visibility .4s;
  display:flex; flex-direction:column; gap:8px;
  background-image:radial-gradient(circle at 100% 0%, rgba(253,184,19,.22), transparent 45%);
}
.mobile-menu.active{ transform:none; visibility:visible; }
.mobile-menu .hamburger{ background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.25); }
.mobile-menu .hamburger span{ background:#fff; }
.mobile-menu .brand-text .name-main{ color:#fff; }
.mobile-menu .brand-text .name-sub{ color:rgba(255,255,255,.8); }
.mobile-menu .brand img{ background:#fff; border-radius:50%; padding:4px; }
.mobile-menu-links{ display:flex; flex-direction:column; margin-top:22px; }
.mobile-menu-links a{ font-family:var(--font-head); font-weight:700; font-size:22px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.mm-actions{ display:flex; gap:12px; margin-top:26px; flex-wrap:wrap; }
.mm-social{ display:flex; gap:12px; margin-top:26px; }
.mm-social a{ width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; }

/* =========================================================
   HERO  (home) — navy sky, fine sun-ring line art, brand wave
   ========================================================= */
.hero{ position:relative; display:grid; background:var(--navy-deep); color:#fff; overflow:hidden; isolation:isolate; }
.hero-slide{ grid-area:1/1; position:relative; z-index:1; display:flex; align-items:center; opacity:0; visibility:hidden; transition:opacity .8s ease, visibility .8s;
  padding:calc(var(--header-h) + 64px) 0 200px; }
.hero-slide.active{ opacity:1; visibility:visible; z-index:2; }
.slide-bg{ position:absolute; inset:0; background-size:cover; background-position:center; z-index:-2; }
.slide-overlay{ position:absolute; inset:0; z-index:-1; overflow:hidden; background:linear-gradient(100deg, rgba(7,28,71,.92) 0%, rgba(11,45,107,.78) 55%, rgba(11,45,107,.45) 100%); }
.hero .container{ position:relative; width:100%; }
.hero-content{ max-width:660px; }
.hero-tag,.hero-emblem,.hero-scroll,.hero-arrows{ display:none !important; }
.hero-content h1{ color:#fff; font-size:clamp(38px,5.2vw,66px); font-weight:800; line-height:1.1; margin-bottom:22px; letter-spacing:-.02em; text-wrap:balance; }
.hero-content p{ font-size:clamp(16px,1.4vw,18.5px); color:rgba(255,255,255,.85); max-width:540px; margin-bottom:36px; line-height:1.75; }
.hero-btns{ display:flex; flex-wrap:wrap; gap:16px; }
.hero-btns .btn-primary{ background:var(--grad-warm); box-shadow:var(--shadow-orange); }
.hero-btns .btn-primary:hover{ background:var(--grad-warm); filter:brightness(1.06); }
.hero-wave{ position:absolute; left:0; right:0; bottom:-1px; z-index:4; width:100%; height:clamp(70px,9vw,140px); display:block; pointer-events:none; }
.hero-nav{ position:absolute; z-index:6; left:0; right:0; bottom:clamp(104px,11.5vw,170px); }
.hero-dots{ max-width:var(--container); margin:0 auto; padding:0 24px; display:flex; gap:10px; }
.hero-dots button{ width:44px; height:5px; border-radius:5px; background:rgba(255,255,255,.28); position:relative; overflow:hidden; }
.hero-dots button .fill{ position:absolute; inset:0; background:var(--sun); transform:scaleX(0); transform-origin:left; }
.hero-dots button.active .fill{ animation:heroFill 6s linear forwards; }
@keyframes heroFill{ to{ transform:scaleX(1); } }

/* ---------- Pillars row under the hero ---------- */
.pillars{ position:relative; z-index:7; margin-top:-64px; }
.pillars-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.pillar{ background:#fff; border-radius:20px; padding:26px 28px; display:flex; gap:18px; align-items:flex-start; box-shadow:var(--shadow-md); border:1px solid var(--line); }
.pillar-icon{ width:56px; height:56px; border-radius:16px; flex-shrink:0; display:flex; align-items:center; justify-content:center; color:#fff; font-size:22px; }
.pillar:nth-child(1) .pillar-icon{ background:var(--grad-brand); }
.pillar:nth-child(2) .pillar-icon{ background:var(--grad-leaf); }
.pillar:nth-child(3) .pillar-icon{ background:var(--grad-warm); }
.pillar h3{ font-size:19px; font-weight:800; color:var(--navy); margin-bottom:4px; }
.pillar p{ font-size:14.5px; color:var(--ink-soft); line-height:1.6; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(40px,6vw,84px); align-items:center; }
.about-media{ position:relative; padding:0 0 28px 28px; }
.about-media::before{ content:""; position:absolute; left:0; top:28px; right:28px; bottom:0; border-radius:var(--radius-lg); background:var(--grad-warm); }
.about-media .frame{ position:relative; border-radius:var(--radius-lg); overflow:hidden; background:var(--mist); box-shadow:var(--shadow-md); aspect-ratio:4/4.3; }
.about-media .frame{ background:linear-gradient(160deg,#fff,#EAF1FC); }
.about-media .frame img{ width:100%; height:100%; object-fit:contain; padding:34px; }
.about-ring{ display:none; }
.about-badge{ position:absolute; right:-8px; bottom:0; background:#fff; border-radius:18px; padding:16px 20px; display:flex; align-items:center; gap:14px; box-shadow:var(--shadow-md); border:1px solid var(--line); max-width:260px; }
.about-badge .num{ width:46px; height:46px; border-radius:14px; background:var(--grad-leaf); color:#fff; display:flex; align-items:center; justify-content:center; font-size:19px; flex-shrink:0; }
.about-badge .lbl{ font-family:var(--font-head); font-weight:700; font-size:14px; color:var(--navy); line-height:1.35; }
.about-body h2{ font-size:clamp(28px,3.6vw,42px); font-weight:800; color:var(--navy); margin-bottom:18px; }
.about-body p{ color:var(--ink-soft); font-size:16.5px; margin-bottom:16px; max-width:60ch; }
.about-points{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:22px 0 28px; }

/* =========================================================
   SERVICES / INITIATIVES — each card takes one brand colour
   ========================================================= */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card{ --c:var(--navy); position:relative; background:#fff; border:1px solid var(--line); border-radius:22px; padding:30px 28px 26px; transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; display:flex; flex-direction:column; }
.service-card:nth-child(5n+1){ --c:var(--navy); }
.service-card:nth-child(5n+2){ --c:var(--leaf); }
.service-card:nth-child(5n+3){ --c:var(--amber); }
.service-card:nth-child(5n+4){ --c:var(--coral); }
.service-card:nth-child(5n+5){ --c:var(--blue); }
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:color-mix(in srgb, var(--c) 40%, #fff); }
.service-icon{ width:60px; height:60px; border-radius:18px; display:flex; align-items:center; justify-content:center; font-size:24px; color:var(--c); background:color-mix(in srgb, var(--c) 12%, #fff); margin-bottom:20px; transition:background .3s,color .3s; }
.service-card:hover .service-icon{ background:var(--c); color:#fff; }
.s-no{ display:none; }
.service-card h3{ font-size:20px; font-weight:800; color:var(--navy); margin-bottom:10px; }
.service-card p{ color:var(--ink-soft); font-size:15px; line-height:1.7; flex:1; margin-bottom:18px; }
.s-link{ font-family:var(--font-head); font-weight:700; font-size:14px; color:var(--c); display:inline-flex; align-items:center; gap:8px; }
.s-link i{ transition:transform .25s; }
.s-link:hover i{ transform:translateX(5px); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:210px; gap:16px; }
.gallery-item{ position:relative; border-radius:20px; overflow:hidden; background:var(--mist); cursor:pointer; }
.gallery-item.g-wide{ grid-column:span 2; }
.gallery-item.g-tall{ grid-row:span 2; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.gallery-item:hover img{ transform:scale(1.06); }
.g-overlay{ position:absolute; inset:auto 0 0 0; padding:60px 20px 18px; background:linear-gradient(0deg, rgba(7,28,71,.85), transparent); color:#fff; display:flex; flex-direction:column; gap:2px; }
.g-overlay span{ font-size:12.5px; opacity:.85; }
.g-overlay strong{ font-family:var(--font-head); font-size:17px; font-weight:700; }
.g-plus{ position:absolute; top:14px; right:14px; width:38px; height:38px; border-radius:12px; background:rgba(255,255,255,.92); color:var(--navy); display:flex; align-items:center; justify-content:center; opacity:0; transform:scale(.8); transition:.25s; }
.gallery-item:hover .g-plus{ opacity:1; transform:none; }
.gallery-more{ text-align:center; margin-top:40px; }

/* =========================================================
   QUOTE BAND — warm gradient
   ========================================================= */
.quote-band{ background:var(--grad-warm); padding:96px 0; text-align:center; position:relative; overflow:hidden; }
.quote-band::before{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 12% 120%, rgba(255,255,255,.35), transparent 40%), radial-gradient(circle at 92% -20%, rgba(11,45,107,.25), transparent 45%); }
.quote-band .container{ position:relative; max-width:900px; }
.quote-mark{ font-size:34px; color:var(--navy); opacity:.75; margin-bottom:14px; }
.quote-band blockquote{ font-family:var(--font-head); font-weight:800; font-size:clamp(24px,3.4vw,40px); line-height:1.3; color:var(--navy-deep); margin-bottom:22px; text-wrap:balance; }
.quote-band cite{ font-style:normal; font-family:var(--font-head); font-weight:700; color:var(--navy); font-size:15px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ position:relative; background:var(--navy-deep); color:rgba(255,255,255,.78); padding:84px 0 0; margin-top:0;
  background-image:radial-gradient(circle at 100% 0%, rgba(25,118,210,.35), transparent 40%); }
.site-footer::before{ content:""; position:absolute; left:0; right:0; top:0; height:6px; background:linear-gradient(90deg,var(--navy) 0 20%,var(--sun) 20% 40%,var(--amber) 40% 60%,var(--leaf) 60% 80%,var(--coral) 80% 100%); }
.footer-grid{ display:grid; grid-template-columns:1.5fr .8fr .9fr .9fr 1.2fr; gap:40px; padding-bottom:56px; }
.footer-brand{ display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.footer-brand img{ width:62px; height:62px; object-fit:contain; background:#fff; border-radius:16px; padding:6px; }
.footer-brand .name-main{ font-family:var(--font-head); font-weight:800; font-size:20px; color:#fff; line-height:1.1; }
.footer-brand .name-sub{ font-family:var(--font-head); font-size:11px; letter-spacing:.3em; color:var(--sun); font-weight:600; }
.footer-col p{ font-size:14.5px; line-height:1.75; max-width:36ch; }
.footer-col h4{ color:#fff; font-size:16px; font-weight:800; margin-bottom:18px; padding-left:12px; border-left:4px solid var(--amber); line-height:1.1; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col ul a{ font-size:14.5px; display:inline-flex; align-items:center; gap:8px; transition:color .2s, transform .2s; }
.footer-col ul a i{ font-size:10px; color:var(--sun); }
.footer-col ul a:hover{ color:#fff; transform:translateX(3px); }
.footer-contact li{ display:flex; gap:12px; font-size:14.5px; }
.footer-contact i{ color:var(--sun); margin-top:5px; }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{ width:42px; height:42px; border-radius:12px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:background .2s,color .2s,transform .2s; }
.footer-social a:hover{ background:var(--sun); color:var(--navy-deep); transform:translateY(-3px); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding:22px 0; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:13.5px; }
.footer-policy-links{ display:flex; gap:20px; flex-wrap:wrap; }
.footer-policy-links a:hover,.footer-bottom a:hover{ color:var(--sun); }

.download-float{ position:fixed; right:22px; bottom:84px; z-index:150; height:48px; border-radius:14px; background:var(--grad-warm); color:#fff; display:flex; align-items:center; gap:10px; padding:0 16px; box-shadow:var(--shadow-orange); font-family:var(--font-head); font-weight:700; font-size:13px; }
.download-float-label{ display:none; }
.download-float:hover .download-float-label{ display:inline; }
.back-top{ position:fixed; right:22px; bottom:22px; z-index:150; width:48px; height:48px; border-radius:14px; background:var(--navy); color:#fff; box-shadow:var(--shadow-navy); opacity:0; pointer-events:none; transform:translateY(10px); transition:.3s; }
.back-top.show{ opacity:1; pointer-events:auto; transform:none; }

/* ---------- Scroll reveal (single, gentle) ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }
.reveal-delay-1{ transition-delay:.06s; } .reveal-delay-2{ transition-delay:.12s; } .reveal-delay-3{ transition-delay:.18s; }
.reveal-delay-4{ transition-delay:.24s; } .reveal-delay-5{ transition-delay:.3s; } .reveal-delay-6{ transition-delay:.36s; }

/* =========================================================
   PAGE BANNER (inner pages) — navy sky + brand wave
   ========================================================= */
.page-banner{
  position:relative; padding:168px 0 110px; overflow:hidden; text-align:left; color:#fff;
  background:radial-gradient(circle at 92% 10%, rgba(253,184,19,.28), transparent 40%), linear-gradient(120deg,#071C47 0%,#0B2D6B 60%,#1565C0 130%);
}
.page-banner::before{ content:""; position:absolute; right:-80px; top:50%; width:520px; height:520px; transform:translateY(-50%);
  background:url('../assets/img/sun-rays.svg') center/contain no-repeat; opacity:.9; }
.page-banner::after{ content:""; position:absolute; left:0; right:0; bottom:-1px; height:70px; background:url('../assets/img/wave-light.svg') bottom/100% 100% no-repeat; }
.page-banner .container{ position:relative; z-index:2; }
.page-banner .eyebrow{ color:var(--sun-soft); }
.page-banner .eyebrow::before{ background:var(--sun); }
.page-banner h1{ color:#fff; font-size:clamp(32px,5vw,56px); font-weight:800; margin-bottom:14px; max-width:16ch; }
.page-banner p{ color:rgba(255,255,255,.82); max-width:560px; font-size:17px; }

/* =========================================================
   GENERIC CTA STRIP (used across pages)
   ========================================================= */
.cta-strip{
  position:relative; overflow:hidden; background:var(--grad-brand); border-radius:var(--radius-lg); padding:52px 52px;
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; color:#fff;
}
.cta-strip::before{ content:""; position:absolute; right:-60px; top:-60px; width:300px; height:300px; border-radius:50%; background:radial-gradient(circle, rgba(253,184,19,.45), transparent 65%); }
.cta-strip > *{ position:relative; }
.cta-strip .eyebrow{ color:var(--sun-soft); }
.cta-strip h3{ color:#fff; font-size:clamp(22px,3vw,32px); font-weight:800; max-width:560px; }
.cta-strip p{ color:rgba(255,255,255,.8); margin-top:10px; font-size:15.5px; max-width:560px; }
.cta-strip .btn-primary{ background:var(--grad-warm); box-shadow:var(--shadow-orange); }
@media(max-width:720px){ .cta-strip{ padding:36px 26px; text-align:center; justify-content:center; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width:1239px){
  .nav-links,.header-actions .btn{ display:none; }
  .hamburger{ display:flex; }
  .nav-wrap{ gap:12px; }
  .header-actions{ margin-left:auto; }
}
@media(max-width:1080px){
  .about-grid{ grid-template-columns:1fr; gap:56px; }
  .about-media{ max-width:480px; margin:0 auto; width:100%; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid > .footer-col:first-child{ grid-column:1 / -1; }
  .gallery-grid{ grid-template-columns:repeat(3,1fr); }
  .pillars-grid{ grid-template-columns:1fr; }
  .pillars{ margin-top:-40px; }
  .hero-emblem{ display:none; }
}
@media(max-width:720px){
  .section{ padding:68px 0; }
  .services-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:150px; }
  .gallery-item.g-wide{ grid-column:span 2; }
  .footer-grid{ grid-template-columns:1fr; gap:36px; }
  .about-points{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; text-align:center; align-items:center; }
  .hero-arrows{ display:none; }
  .about-badge{ right:0; }
  .page-banner{ padding:132px 0 90px; }
  .page-banner::before{ opacity:.35; right:-200px; }
}
@media(max-width:560px){
  .brand img{ height:46px; width:46px; }
  .brand-text .name-main{ font-size:17px; }
  .brand-text .name-sub{ font-size:9.5px; letter-spacing:.24em; }
  .brand-text .name-sub::before,.brand-text .name-sub::after{ width:8px; }
  .icon-btn,.icon-action,.hamburger{ width:42px; height:42px; }
  .container{ padding:0 18px; }
}


/* =========================================================
   LEGAL CONTENT (Privacy Policy / Terms & Conditions pages)
   ========================================================= */
.legal-content{ max-width:820px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-md); padding:44px 48px; }
.legal-content p{ color:var(--ink-soft); font-size:15px; line-height:1.85; margin-bottom:18px; }
.legal-content p:last-child{ margin-bottom:0; }
@media (max-width:640px){ .legal-content{ padding:28px 22px; } }
/* Policy switch bar (Terms / Privacy / Cancellation / Refund) */
.legal-switch{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; max-width:820px; margin:0 auto 26px; }
.legal-switch a{ display:inline-flex; align-items:center; gap:8px; padding:10px 18px; border-radius:50px; border:1.5px solid var(--line); background:#fff; color:var(--ink-soft); font-family:var(--font-sub); font-weight:600; font-size:13.5px; transition:all .25s ease; }
.legal-switch a:hover{ border-color:var(--brand); color:var(--brand-dark); }
.legal-switch a.active{ background:var(--brand); border-color:var(--brand); color:#fff; box-shadow:0 6px 16px rgba(11,45,107,.28); }
/* short laptop screens (100% zoom): keep the open mobile menu compact so every link fits */
@media(max-width:1180px) and (max-height:760px){
  .mobile-menu{ padding:24px 20px; }
  .mobile-menu-links{ margin-top:8px; gap:0; }
  .mobile-menu-links a{ font-size:clamp(19px,3.4vh,26px); padding:6px 0; }
  .mobile-menu .mm-actions{ margin-top:14px; }
  .mobile-menu .mm-social{ margin-top:16px; }
}
.breadcrumb{
  display:inline-flex; align-items:center; gap:10px; margin-top:26px; font-family:var(--font-sub);
  font-size:13px; font-weight:500; color:rgba(255,255,255,.7);
}
.breadcrumb a{ color:var(--sun-soft); }
.breadcrumb i{ font-size:9px; }

/* =========================================================
   MILESTONES / TIMELINE (about page)
   ========================================================= */
.timeline{ position:relative; max-width:820px; margin:0 auto; }
.timeline::before{
  content:""; position:absolute; left:24px; top:6px; bottom:6px; width:2px;
  background:repeating-linear-gradient(180deg, var(--sun) 0 10px, transparent 10px 18px);
}
.timeline-item{ position:relative; padding-left:70px; margin-bottom:44px; }
.timeline-item:last-child{ margin-bottom:0; }
.timeline-dot{
  position:absolute; left:0; top:0; width:50px; height:50px; border-radius:50%; background:var(--brand);
  color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:700;
  font-size:13.5px; box-shadow:var(--shadow-orange); z-index:2;
}
.timeline-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:26px 28px; box-shadow:var(--shadow-sm);
}
.timeline-card h4{ font-size:18px; font-weight:600; margin-bottom:8px; }
.timeline-card p{ color:var(--ink-soft); font-size:14.5px; }

/* Mission / vision cards */
.mv-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.mv-card{
  background:var(--bg-soft); border:1px solid var(--line); border-radius:var(--radius-md); padding:34px 28px; text-align:center;
  transition:transform .4s ease, box-shadow .4s ease;
}
.mv-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); }
.mv-card .service-icon{ margin:0 auto 20px; }
.mv-card h3{ font-size:19px; font-weight:600; margin-bottom:10px; }
.mv-card p{ color:var(--ink-soft); font-size:14.5px; }

/* =========================================================
   SERVICE DETAIL ROWS (services page)
   ========================================================= */
.service-row{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; margin-bottom:100px; }
.service-row:last-child{ margin-bottom:0; }
.service-row.reverse .sr-media{ order:2; }
.service-row.reverse .sr-body{ order:1; }
.sr-media{ position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); aspect-ratio:5/4; }
.sr-media img{ width:100%; height:100%; object-fit:cover; transition:transform .8s ease; }
.sr-media:hover img{ transform:scale(1.07); }
.sr-tag{
  position:absolute; top:20px; left:20px; background:var(--brand); color:#fff; padding:9px 18px; border-radius:50px;
  font-family:var(--font-sub); font-weight:600; font-size:12.5px; display:flex; align-items:center; gap:8px; box-shadow:var(--shadow-orange);
}
.sr-body h3{ font-size:clamp(22px,3vw,30px); font-weight:700; margin-bottom:16px; }
.sr-body p{ color:var(--ink-soft); margin-bottom:18px; }
.sr-list{ display:flex; flex-direction:column; gap:12px; }
.sr-list li{ display:flex; gap:12px; align-items:center; font-size:14.5px; font-family:var(--font-sub); font-weight:500; }
.sr-list li i{ color:var(--brand); }

@media(max-width:900px){
  .service-row, .service-row.reverse{ grid-template-columns:1fr; gap:32px; }
  .service-row.reverse .sr-media, .service-row.reverse .sr-body{ order:initial; }
  .mv-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   TEAM PAGE — auto-scrolling columns
   ========================================================= */
.team-tabs{ display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-bottom:50px; }
.team-tab{
  font-family:var(--font-sub); font-weight:600; font-size:14px; padding:12px 26px; border-radius:50px;
  border:1.5px solid var(--line); color:var(--ink-soft); transition:all .3s ease;
}
.team-tab.active, .team-tab:hover{ background:var(--brand); border-color:var(--brand); color:#fff; }

.team-marquee-wrap{ overflow:hidden; -webkit-mask-image:linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent); max-height:640px; }
.team-marquee{ display:flex; flex-direction:column; gap:22px; width:100%; animation:teamScroll linear infinite; }
.team-marquee.no-scroll{ animation:none; }
@keyframes teamScroll{ from{ transform:translateY(0);} to{ transform:translateY(-50%);} }
.team-marquee-wrap:hover .team-marquee{ animation-play-state:paused; }

.team-panel{ display:none; }
.team-panel.active{ display:block; }
.team-grid-static{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }

.team-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; text-align:center;
  transition:transform .4s ease, box-shadow .4s ease; padding-bottom:22px;
}
.team-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); }
.team-photo{ aspect-ratio:1/1; overflow:hidden; margin-bottom:18px; position:relative; }
.team-photo img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.team-card:hover .team-photo img{ transform:scale(1.08); }
.team-photo::after{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(15,27,51,.35), transparent 45%); }
.team-card h4{ font-size:16.5px; font-weight:600; margin-bottom:4px; }
.team-card span{ font-family:var(--font-sub); font-weight:500; font-size:12.5px; color:var(--brand-dark); text-transform:uppercase; letter-spacing:.05em; }

.team-row-list{ display:flex; flex-direction:column; gap:16px; }
.team-row-card{
  display:flex; align-items:center; gap:20px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:16px 22px; transition:transform .35s ease, box-shadow .35s ease;
}
.team-row-card:hover{ transform:translateX(6px); box-shadow:var(--shadow-sm); }
.team-row-card img{ width:60px; height:60px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.team-row-card h4{ font-size:15.5px; font-weight:600; }
.team-row-card span{ font-family:var(--font-sub); font-size:12.5px; color:var(--ink-soft); }

@media(max-width:1080px){ .team-grid-static{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:720px){ .team-grid-static{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px){ .team-grid-static{ grid-template-columns:1fr 1fr; gap:14px; } .team-row-card{ padding:12px 16px; } }

/* =========================================================
   EVENTS PAGE — tabs
   ========================================================= */
.event-tabs{ display:flex; justify-content:center; gap:14px; margin-bottom:54px; }
.event-tab{
  font-family:var(--font-sub); font-weight:600; font-size:14.5px; padding:14px 30px; border-radius:50px;
  border:1.5px solid var(--line); color:var(--ink-soft); display:flex; align-items:center; gap:10px; transition:all .3s ease;
}
.event-tab.active{ background:var(--brand); border-color:var(--brand); color:#fff; box-shadow:var(--shadow-orange); }
.event-panel{ display:none; }
.event-panel.active{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }

.event-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; transition:transform .4s ease, box-shadow .4s ease; }
.event-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); }
.event-media{ position:relative; aspect-ratio:16/11; overflow:hidden; }
.event-media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.event-card:hover .event-media img{ transform:scale(1.08); }
.event-date{
  position:absolute; top:16px; left:16px; background:var(--white); color:var(--brand-dark); border-radius:12px;
  padding:8px 12px; text-align:center; font-family:var(--font-head); line-height:1.1; box-shadow:var(--shadow-sm);
}
.event-date .d{ font-size:20px; font-weight:700; display:block; }
.event-date .m{ font-size:10.5px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; }
.event-status{ position:absolute; top:16px; right:16px; padding:6px 14px; border-radius:50px; font-family:var(--font-sub); font-weight:600; font-size:11px; color:#fff; }
.event-status.done{ background:var(--ink-soft); }
.event-status.upcoming{ background:var(--sun); color:var(--ink); }
.event-body{ padding:24px; }
.event-body h4{ font-size:17.5px; font-weight:600; margin-bottom:10px; }
.event-body p{ color:var(--ink-soft); font-size:14px; margin-bottom:14px; }
.event-meta{ display:flex; gap:16px; flex-wrap:wrap; font-family:var(--font-sub); font-size:12.5px; color:var(--ink-soft); }
.event-meta span{ display:flex; align-items:center; gap:6px; }
.event-meta i{ color:var(--brand); }

@media(max-width:1080px){ .event-panel.active{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:640px){ .event-panel.active{ grid-template-columns:1fr; } .event-tabs{ flex-wrap:wrap; } }

/* =========================================================
   BOOKING PAGE — calendar + form
   ========================================================= */
.hall-tabs{ display:flex; gap:14px; margin-bottom:30px; flex-wrap:wrap; }
.hall-tab{
  display:flex; align-items:center; gap:10px; padding:14px 26px; border-radius:14px; border:1.5px solid var(--line);
  background:var(--white); font-family:var(--font-sub); font-weight:600; font-size:14.5px; color:var(--ink-soft);
  transition:all .3s ease; cursor:pointer;
}
.hall-tab i{ font-size:17px; }
.hall-tab:hover{ border-color:var(--brand); color:var(--brand-dark); }
.hall-tab.active{ background:var(--brand); border-color:var(--brand); color:#fff; box-shadow:var(--shadow-orange); }

.booking-notice{
  display:flex; gap:16px; align-items:flex-start; background:var(--bg-soft); border:1.5px solid var(--sun);
  border-radius:var(--radius-md); padding:22px 26px; margin-bottom:50px;
}
.booking-notice i{ color:var(--brand); font-size:22px; margin-top:2px; }
.booking-notice p{ font-size:14.5px; color:var(--ink-soft); }
.booking-notice strong{ color:var(--ink); }

.booking-layout{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:50px; align-items:start; }

.calendar-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); overflow:hidden; }
.calendar-head{ background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:space-between; padding:24px 28px; }
.calendar-head .cal-title{ font-family:var(--font-head); font-weight:700; font-size:20px; }
.calendar-head .cal-title small{ display:block; font-family:var(--font-sub); font-weight:400; font-size:12px; color:var(--sun-soft); margin-top:2px; }
.calendar-nav{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.calendar-nav button{ width:38px; height:38px; border-radius:50%; border:1.5px solid rgba(255,255,255,.3); color:#fff; display:flex; align-items:center; justify-content:center; transition:all .3s ease; flex-shrink:0; }
.calendar-nav button:hover{ background:var(--brand); border-color:var(--brand); }
.calendar-nav .cal-select{ background:rgba(255,255,255,.12); border:1.5px solid rgba(255,255,255,.3); color:#fff; border-radius:8px; padding:7px 10px; font-size:12.5px; font-weight:600; cursor:pointer; }
.calendar-nav .cal-select option{ color:#0F1B33; }

/* ---------- Booked date details modal ---------- */
.booked-date-modal{ position:fixed; inset:0; z-index:1200; display:flex; align-items:center; justify-content:center; padding:20px; }
.booked-date-modal-backdrop{ position:absolute; inset:0; background:rgba(20,15,10,.55); }
.booked-date-modal-box{ position:relative; background:#fff; border-radius:16px; padding:26px 24px; max-width:420px; width:100%; box-shadow:0 20px 50px rgba(0,0,0,.25); max-height:90vh; overflow-y:auto; }
.booked-date-modal-box h3{ font-size:17px; margin-bottom:16px; display:flex; align-items:center; gap:8px; color:var(--brand-dark); }
.booked-date-modal-close{ position:absolute; top:14px; right:14px; width:32px; height:32px; border-radius:50%; background:var(--bg-soft); display:flex; align-items:center; justify-content:center; color:var(--ink-soft); }
.booked-date-modal-close:hover{ background:var(--brand); color:#fff; }

/* Hall booking Terms & Conditions modal (shown before payment) */
.terms-modal-box{ max-width:560px; }
.terms-modal-body{ max-height:340px; overflow-y:auto; border:1px solid var(--line); border-radius:10px; padding:16px 18px; margin-bottom:16px; background:var(--bg-soft); }
.terms-list{ list-style:none; padding:0; margin:0; }
.terms-list li{ position:relative; padding-left:22px; margin-bottom:10px; font-size:13.5px; line-height:1.55; color:var(--ink); }
.terms-list li:last-child{ margin-bottom:0; }
.terms-list li::before{ content:"\2713"; position:absolute; left:0; top:0; color:var(--brand-dark); font-weight:700; }
.terms-accept-row{ display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--ink); margin-bottom:16px; cursor:pointer; }
.terms-accept-row input[type="checkbox"]{ width:18px; height:18px; margin-top:2px; flex-shrink:0; accent-color:var(--brand); cursor:pointer; }
.booked-detail-row{ display:flex; justify-content:space-between; gap:14px; padding:9px 0; border-bottom:1px dashed var(--line); font-size:13.5px; }
.booked-detail-row:last-child{ border-bottom:none; }
.booked-detail-row span{ color:var(--ink-soft); }
.booked-detail-row strong{ text-align:right; word-break:break-word; }
@media(max-width:640px){
  .calendar-nav{ width:100%; justify-content:space-between; }
  .calendar-nav .cal-select{ flex:1; }
}

.calendar-body{ padding:26px 28px 30px; }
.cal-weekdays{ display:grid; grid-template-columns:repeat(7,1fr); text-align:center; margin-bottom:12px; }
.cal-weekdays span{ font-family:var(--font-sub); font-weight:600; font-size:12px; color:var(--ink-soft); text-transform:uppercase; }
.cal-days{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.cal-day{
  aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; border-radius:10px; font-family:var(--font-sub);
  font-weight:600; font-size:14px; color:var(--ink); background:var(--bg-soft); cursor:pointer; transition:all .25s ease; position:relative;
}
.cal-day.empty{ background:transparent; cursor:default; }
.cal-day.today{ box-shadow:inset 0 0 0 2px var(--sun); }
.cal-day.past{ color:#c9bfae; cursor:not-allowed; }
.cal-day.booked{ background:#F6DCC9; color:var(--brand-dark); cursor:pointer; }
.cal-day.booked:hover{ background:#F0C7A5; }
.cal-day.booked::after{ content:""; position:absolute; bottom:5px; width:5px; height:5px; border-radius:50%; background:var(--brand); }
.cal-day.selected{ background:var(--brand); color:#fff; transform:scale(1.08); box-shadow:var(--shadow-orange); }
.cal-day:not(.empty):not(.past):not(.booked):hover{ background:var(--sun-soft); color:var(--ink); }
.cal-legend{ display:flex; gap:20px; margin-top:22px; flex-wrap:wrap; }
.cal-legend span{ display:flex; align-items:center; gap:8px; font-size:12.5px; font-family:var(--font-sub); color:var(--ink-soft); }
.cal-legend i{ width:10px; height:10px; border-radius:3px; display:inline-block; }

.booking-form-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:34px 30px; box-shadow:var(--shadow-sm); }
.booking-form-card h3{ font-size:21px; font-weight:700; margin-bottom:22px; }
.form-group{ margin-bottom:18px; }
.form-group label{ display:block; font-family:var(--font-sub); font-weight:600; font-size:13px; margin-bottom:8px; color:var(--ink); }
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:13px 16px; border:1.5px solid var(--line); border-radius:10px; font-size:14.5px; color:var(--ink);
  background:var(--bg-soft); transition:border-color .3s ease, background .3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{ outline:none; border-color:var(--brand); background:#fff; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group textarea{ resize:vertical; min-height:100px; }
.form-note{ font-size:12.5px; color:var(--ink-soft); margin-top:-6px; margin-bottom:18px; display:flex; gap:8px; align-items:flex-start; }
.form-note i{ color:var(--brand); margin-top:2px; }

@media(max-width:980px){ .booking-layout{ grid-template-columns:1fr; } }
@media(max-width:480px){ .form-row{ grid-template-columns:1fr; } .cal-day{ font-size:12px; } }

/* =========================================================
   MEDIA PAGE — albums + video
   ========================================================= */
.media-tabs{ display:flex; justify-content:center; gap:14px; margin-bottom:54px; }
.album-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.album-card{ position:relative; border-radius:var(--radius-md); overflow:hidden; aspect-ratio:1/1; cursor:pointer; box-shadow:var(--shadow-sm); }
.album-card img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.album-card:hover img{ transform:scale(1.1); }
.album-card .album-overlay{
  position:absolute; inset:0; background:linear-gradient(0deg, rgba(20,15,10,.88), rgba(20,15,10,.1) 60%); display:flex;
  flex-direction:column; justify-content:flex-end; padding:20px; color:#fff;
}
.album-card .album-overlay h4{ color:#fff; font-size:16.5px; font-weight:600; }
.album-card .album-overlay span{ font-family:var(--font-sub); font-size:12px; color:var(--sun-soft); }
.album-card .album-count{ position:absolute; top:14px; right:14px; background:rgba(255,255,255,.2); backdrop-filter:blur(4px); color:#fff; font-size:11.5px; font-family:var(--font-sub); font-weight:600; padding:6px 12px; border-radius:50px; display:flex; align-items:center; gap:6px; }

.video-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.video-card{ border-radius:var(--radius-md); overflow:hidden; background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow-sm); }
.video-frame{ position:relative; aspect-ratio:16/9; background:#000; }
.video-frame iframe{ width:100%; height:100%; border:0; }
.video-info{ padding:18px 20px; }
.video-info h4{ font-size:15.5px; font-weight:600; margin-bottom:4px; }
.video-info span{ font-family:var(--font-sub); font-size:12px; color:var(--ink-soft); }

@media(max-width:1080px){ .album-grid{ grid-template-columns:repeat(3,1fr); } .video-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:640px){ .album-grid{ grid-template-columns:repeat(2,1fr); } .video-grid{ grid-template-columns:1fr; } }

/* Lightbox */
.lightbox{ position:fixed; inset:0; background:rgba(15,11,8,.94); z-index:2000; display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:opacity .35s ease; padding:30px; }
.lightbox.active{ opacity:1; visibility:visible; }
.lightbox-inner{ max-width:900px; width:100%; }
.lightbox-inner h3{ color:#fff; text-align:center; margin-bottom:20px; }
.lightbox-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; max-height:70vh; overflow-y:auto; }
.lightbox-grid img{ width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:10px; cursor:zoom-in; transition:transform .2s ease, opacity .2s ease; }
.lightbox-grid img:hover{ transform:scale(1.03); opacity:.92; }
.img-viewer{ position:fixed; inset:0; background:rgba(8,6,4,.97); z-index:2100; display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:opacity .25s ease; }
.img-viewer.active{ opacity:1; visibility:visible; }
.img-viewer .iv-img{ max-width:92vw; max-height:88vh; object-fit:contain; border-radius:6px; box-shadow:0 10px 40px rgba(0,0,0,.5); }
.img-viewer button{ position:absolute; background:rgba(255,255,255,.14); color:#fff; border:0; border-radius:50%; width:46px; height:46px; display:flex; align-items:center; justify-content:center; font-size:18px; cursor:pointer; }
.img-viewer button:hover{ background:var(--brand); }
.img-viewer .iv-close{ top:22px; right:26px; }
.img-viewer .iv-prev{ left:18px; top:50%; transform:translateY(-50%); }
.img-viewer .iv-next{ right:18px; top:50%; transform:translateY(-50%); }
.img-viewer .iv-count{ position:absolute; bottom:18px; left:50%; transform:translateX(-50%); color:#fff; font-size:13px; background:rgba(255,255,255,.14); padding:5px 14px; border-radius:50px; }
@media (max-width:600px){ .img-viewer .iv-nav{ width:38px; height:38px; } .lightbox-grid{ grid-template-columns:repeat(2,1fr); } }
.lightbox-close{ position:absolute; top:26px; right:30px; width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; display:flex; align-items:center; justify-content:center; font-size:18px; }
.lightbox-close:hover{ background:var(--brand); }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-layout{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:50px; }
.contact-info-card{ background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:40px 34px; position:relative; overflow:hidden; }
.contact-info-card::after{ content:""; position:absolute; width:220px; height:220px; border:1.5px solid rgba(255,255,255,.1); border-radius:50%; bottom:-100px; right:-80px; }
.contact-info-card h3{ color:#fff; font-size:22px; font-weight:700; margin-bottom:10px; }
.contact-info-card > p{ color:rgba(255,255,255,.7); font-size:14.5px; margin-bottom:30px; }
.ci-item{ display:flex; gap:16px; margin-bottom:24px; position:relative; z-index:2; }
.ci-item i{ width:44px; height:44px; min-width:44px; border-radius:12px; background:rgba(255,255,255,.08); color:var(--sun-soft); display:flex; align-items:center; justify-content:center; font-size:16px; }
.ci-item h5{ color:#fff; font-size:14.5px; font-weight:600; margin-bottom:4px; }
.ci-item p{ color:rgba(255,255,255,.65); font-size:13.5px; }
.ci-social{ display:flex; gap:12px; margin-top:30px; position:relative; z-index:2; }
.ci-social a{ width:40px; height:40px; border-radius:50%; border:1.5px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; color:#fff; transition:all .3s ease; }
.ci-social a:hover{ background:var(--brand); border-color:var(--brand); transform:translateY(-4px); }

.contact-form-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:40px 34px; box-shadow:var(--shadow-sm); }
.contact-form-card h3{ font-size:22px; font-weight:700; margin-bottom:24px; }
.map-embed{ border-radius:var(--radius-lg); overflow:hidden; margin-top:26px; border:1px solid var(--line); }
.map-embed iframe{ width:100%; height:320px; border:0; display:block; }

@media(max-width:980px){ .contact-layout{ grid-template-columns:1fr; } }

/* =========================================================
   LOGIN PAGE
   ========================================================= */
.login-wrap{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding:150px 20px 80px; background:linear-gradient(150deg,var(--bg) 0%, var(--bg-soft) 100%); position:relative; overflow:hidden; }
.login-wrap::before{ content:""; position:absolute; width:480px; height:480px; border-radius:50%; background:radial-gradient(circle, rgba(11,45,107,.10), transparent 70%); top:-160px; right:-160px; }
.login-card{ position:relative; z-index:2; width:100%; max-width:440px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:44px 38px; box-shadow:var(--shadow-md); }
.login-card .brand{ justify-content:center; margin-bottom:10px; }
.login-card h2{ text-align:center; font-size:24px; font-weight:700; margin:14px 0 6px; }
.login-card > p{ text-align:center; color:var(--ink-soft); font-size:14px; margin-bottom:28px; }
.login-tabs{ display:flex; background:var(--bg-soft); border-radius:50px; padding:4px; margin-bottom:26px; }
.login-tabs button{ flex:1; padding:11px; border-radius:50px; font-family:var(--font-sub); font-weight:600; font-size:13.5px; color:var(--ink-soft); transition:all .3s ease; }
.login-tabs button.active{ background:var(--brand); color:#fff; box-shadow:var(--shadow-orange); }
.login-options{ display:flex; justify-content:space-between; align-items:center; font-size:13px; margin:6px 0 22px; }
.login-options label{ display:flex; align-items:center; gap:8px; color:var(--ink-soft); }
.login-options a{ color:var(--brand-dark); font-weight:600; }
.login-divider{ display:flex; align-items:center; gap:14px; margin:24px 0; color:var(--ink-soft); font-size:12.5px; }
.login-divider::before,.login-divider::after{ content:""; flex:1; height:1px; background:var(--line); }
.login-note{ margin-top:22px; text-align:center; font-size:13.5px; color:var(--ink-soft); }
.login-note a{ color:var(--brand-dark); font-weight:600; }

/* =========================================================
   NUMBERED PAGINATION (used by find-services / donors etc.)
   ========================================================= */
.pagination{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; justify-content:center; margin-top:36px; }
.page-link{ display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:38px; padding:0 12px; border-radius:8px; border:1px solid var(--line); background:#fff; color:var(--ink); font-size:13.5px; font-weight:600; text-decoration:none; transition:.15s; }
.page-link:hover{ border-color:var(--brand); color:var(--brand); }
.page-link.active{ background:var(--brand); border-color:var(--brand); color:#fff; }
.page-link.disabled{ opacity:.4; pointer-events:none; }
.page-link.page-nav{ font-weight:700; }

/* =========================================================
   EVENT IMAGE VIEWER (click image -> full image popup)
   Created by js/main.js for any img.zoomable-img.
   Hidden by default so the close "X" never shows in the page/footer.
   ========================================================= */
.zoomable-img{ cursor:zoom-in; }
.event-media .zoom-hint{
  position:absolute; right:14px; bottom:14px; width:36px; height:36px; border-radius:50%;
  background:rgba(15,27,51,.62); color:#fff; display:flex; align-items:center; justify-content:center;
  font-size:14px; pointer-events:none; opacity:0; transform:scale(.85); transition:opacity .3s ease, transform .3s ease;
}
.event-card:hover .zoom-hint{ opacity:1; transform:scale(1); }
@media(hover:none){ .event-media .zoom-hint{ opacity:1; transform:none; } }

.img-viewer{
  position:fixed; inset:0; z-index:3000; background:rgba(15,11,8,.94);
  display:flex; align-items:center; justify-content:center; padding:56px 20px 64px;
  opacity:0; visibility:hidden; pointer-events:none; transition:opacity .3s ease, visibility .3s ease;
}
.img-viewer.active{ opacity:1; visibility:visible; pointer-events:auto; }
.img-viewer img{
  width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain;
  border-radius:10px; box-shadow:0 20px 60px rgba(0,0,0,.5); cursor:default; background:#000;
  transform:scale(.96); transition:transform .3s ease;
}
.img-viewer.active img{ transform:scale(1); }
.img-viewer .iv-close{
  position:absolute; top:16px; right:18px; width:46px; height:46px; border-radius:50%; border:0;
  background:rgba(255,255,255,.14); color:#fff; font-size:20px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background .25s ease;
}
.img-viewer .iv-close:hover{ background:var(--brand); }
.img-viewer .iv-caption{
  position:absolute; left:0; right:0; bottom:16px; text-align:center; color:#fff;
  font-size:14px; padding:0 70px;
}
@media(max-width:640px){
  .img-viewer{ padding:60px 10px 56px; }
  .img-viewer .iv-caption{ padding:0 16px; font-size:13px; }
}
/* Media page — Darji Samaj e-Magazine E-Book tab */
.media-tabs{ flex-wrap:wrap; }
.ebook-note{ text-align:center; max-width:560px; margin:0 auto 34px; background:var(--bg-soft); border:1px solid var(--line); color:var(--ink-soft); font-size:14px; padding:12px 18px; border-radius:12px; }
.ebook-note i{ color:var(--brand); margin-right:6px; }
.ebook-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:30px 26px; }
.ebook-card{ display:block; text-decoration:none; color:inherit; }
.ebook-cover{ position:relative; aspect-ratio:3/4; border-radius:10px; overflow:hidden; background:var(--bg-soft); box-shadow:0 10px 24px rgba(15,27,51,.16); transition:transform .35s ease, box-shadow .35s ease; }
.ebook-card:hover .ebook-cover{ transform:translateY(-6px); box-shadow:0 18px 34px rgba(15,27,51,.24); }
.ebook-cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.ebook-cover-empty{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--brand); font-size:42px; }
.ebook-lock{ position:absolute; top:12px; right:12px; width:32px; height:32px; border-radius:50%; background:rgba(20,15,10,.6); backdrop-filter:blur(4px); color:#fff; display:flex; align-items:center; justify-content:center; font-size:13px; }
.ebook-title{ margin-top:12px; font-weight:700; font-size:15px; }
.ebook-meta{ font-family:var(--font-sub); font-size:12px; color:var(--ink-soft); margin-top:2px; }
@media(max-width:1080px){ .ebook-grid{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:640px){ .ebook-grid{ grid-template-columns:repeat(2,1fr); gap:24px 16px; } }
/* ---- Image captcha ---- */
.cap-wrap{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.cap-img{ border:1.5px solid #e2dcd2; border-radius:10px; background:#f3f3f3; max-width:100%; height:auto; user-select:none; -webkit-user-select:none; }
.cap-refresh{ width:42px; height:42px; border-radius:50%; border:1.5px solid #e2dcd2; background:#fff; color:var(--brand); cursor:pointer; font-size:15px; flex:0 0 auto; }
.cap-refresh:hover{ background:var(--brand); color:#fff; }

/* ---------- Member / Samaj registration switch ---------- */
.reg-switch{ display:inline-flex; margin:14px auto 6px; padding:5px; gap:4px; background:var(--mist); border:1px solid var(--line); border-radius:14px; }
.reg-switch a{ display:inline-flex; align-items:center; gap:8px; padding:10px 22px; border-radius:10px; font-family:var(--font-head); font-weight:700; font-size:14px; color:var(--ink-soft); transition:background .2s,color .2s; }
.reg-switch a.active{ background:var(--navy); color:#fff; box-shadow:var(--shadow-navy); }
.reg-switch a:not(.active):hover{ color:var(--navy); }
.login-card h2 + .reg-switch{ display:flex; width:max-content; max-width:100%; }

/* ---------- Samaj registration form ---------- */
.samaj-person{ border:1px solid var(--line); border-radius:14px; padding:16px 16px 4px; margin-bottom:14px; background:var(--mist); }
.samaj-person h5{ font-family:var(--font-head); font-size:14px; color:var(--navy); margin-bottom:10px; display:flex; align-items:center; gap:8px; }
.samaj-person h5 .tag{ font-size:11.5px; font-weight:700; padding:3px 10px; border-radius:20px; background:var(--sun); color:var(--navy-deep); }
.samaj-person h5 .tag.opt{ background:#fff; color:var(--ink-soft); border:1px solid var(--line); }

/* ---- header: Donate nav link + fully fluid desktop header (Join Us / Member Login / Organization Login) ----
   Header gets its own wider container (the 1220px page container was too narrow for 8 links + 4 buttons).
   Tiers:  >=1800 roomy | 1560-1799 compact | 1360-1559 extra compact (no icons) | 1240-1359 tight | <=1239 hamburger menu
   (covers 100% AND 110% browser zoom on 1366 / 1440 / 1536 / 1920 screens)
   (widths measured with the real Montserrat font; each tier keeps 80px+ spare so nothing wraps at 100% zoom)  */
.site-header .nav-wrap{ max-width:1760px; padding:0 clamp(16px,2vw,40px); gap:clamp(12px,1.4vw,28px); }
.nav-links{ flex:1 1 auto; justify-content:center; min-width:0; margin-left:0; }
.header-actions{ flex-shrink:0; }
.nav-links a{ white-space:nowrap; }
.nav-links a.nav-donate{ color:var(--amber); }
.nav-links a.nav-donate i{ font-size:.85em; margin-right:2px; }
.nav-links a.nav-donate:hover,.nav-links a.nav-donate.active{ color:var(--navy); }
.header-actions .btn{ white-space:nowrap; gap:8px; }
@media(max-width:1799px){
  .nav-links a{ padding:10px 10px; font-size:13.5px; }
  .nav-links a::after{ left:10px; right:10px; }
  .header-actions{ gap:8px; }
  .header-actions .btn{ padding:0 14px; font-size:13px; gap:6px; }
}
@media(max-width:1559px){
  .brand img{ height:48px; width:48px; }
  .brand-text .name-main{ font-size:19px; }
  .brand-text .name-sub{ font-size:10.5px; letter-spacing:.28em; }
  .nav-links{ gap:0; }
  .nav-links a{ padding:10px 8px; font-size:13px; }
  .nav-links a::after{ left:8px; right:8px; }
  .header-actions{ gap:6px; }
  .header-actions .btn{ padding:0 12px; font-size:12.5px; min-height:42px; }
  .header-actions .btn i{ display:none; }
  .nav-links a.nav-donate i{ display:none; }
}
.mm-actions .btn{ flex:1 1 calc(50% - 6px); justify-content:center; white-space:nowrap; }
@media(min-width:1240px) and (max-width:1359px){
  .site-header .nav-wrap{ padding:0 14px; gap:10px; }
  .brand{ gap:8px; }
  .brand img{ height:42px; width:42px; }
  .brand-text .name-main{ font-size:17px; }
  .brand-text .name-sub{ font-size:9px; letter-spacing:.2em; gap:5px; }
  .brand-text .name-sub::before,.brand-text .name-sub::after{ width:7px; }
  .nav-links a{ padding:10px 6px; font-size:12.5px; }
  .nav-links a::after{ left:6px; right:6px; }
  .header-actions{ gap:5px; }
  .header-actions .btn{ padding:0 10px; font-size:12px; min-height:40px; }
}

/* ---- EN / हिं language switch ---- */
.lang-switch{ display:inline-flex; align-items:center; border:1.5px solid var(--line, #dfe6f2); border-radius:50px; padding:3px; gap:2px; background:#fff; }
.lang-switch button{ font-family:'Poppins',sans-serif; font-weight:700; font-size:12px; letter-spacing:.03em; padding:6px 12px; border-radius:50px; color:var(--ink-soft, #46536E); transition:all .25s ease; cursor:pointer; border:none; background:none; }
.lang-switch button.active{ background:var(--brand, #0B2D6B); color:#fff; box-shadow:0 4px 10px rgba(11,45,107,.3); }
.lang-switch button:not(.active):hover{ background:var(--bg-soft, #eef3fb); color:var(--ink, #0b1b3a); }
html[lang="hi"] body, html[lang="hi"] input, html[lang="hi"] select, html[lang="hi"] textarea, html[lang="hi"] button{ font-family:'Poppins','Noto Sans Devanagari','Mangal','Nirmala UI',sans-serif; }
