/* ============================================================
   MAI VRIDDHASHRAM — COMPLETE RESPONSIVE DESIGN SYSTEM
   Premium Navy + Antique Gold Theme
   PC + Tablet + Mobile
   ============================================================ */

:root{
  /* Original palette */
  --ivory:#FBF3E7;
  --ivory-deep:#F3E7D4;
  --brown-deep:#3B2A20;
  --brown-text:#2A2019;
  --gold:#C8963E;
  --gold-soft:#E7C88A;
  --sage:#6E8F6C;
  --cta:#7A3B2E;
  --cta-hover:#61281E;
  --white:#FFFDF9;
  --line:rgba(59,42,32,0.14);

  /* Premium palette */
  --premium-navy:#172A3A;
  --premium-navy-dark:#0F1E2A;
  --premium-navy-soft:#EAF0F4;
  --premium-gold:#B8904A;
  --premium-gold-light:#D8BD83;
  --premium-cream:#FAF7F0;
  --premium-white:#FFFFFF;

  /* Layout */
  --shadow:0 10px 30px rgba(23,42,58,0.10);
  --radius:18px;
  --radius-sm:10px;
  --maxw:1180px;
}


/* ============================================================
   RESET
   ============================================================ */

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  overflow-x:hidden;
}

body{
  margin:0;
  padding:0;
  background:var(--premium-cream);
  color:#25313B;
  font-family:'Noto Sans Devanagari',sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

[lang-mr],
html[data-lang="mr"] body{
  font-family:'Noto Sans Devanagari','Work Sans',sans-serif;
}

img{
  max-width:100%;
  display:block;
}

svg{
  max-width:100%;
}

a{
  color:inherit;
}

button,
input,
textarea,
select{
  font:inherit;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1,
h2,
h3,
h4,
.font-display{
  font-family:'Fraunces','Noto Serif Devanagari',serif;
  font-weight:600;
  letter-spacing:-0.01em;
}

html[data-lang="mr"] h1,
html[data-lang="mr"] h2,
html[data-lang="mr"] h3,
html[data-lang="mr"] h4,
html[data-lang="mr"] .font-display{
  font-family:'Noto Serif Devanagari','Fraunces',serif;
}

h1{
  font-size:clamp(2.1rem,4.6vw,3.4rem);
  line-height:1.12;
  margin:0 0 .5em;
}

h2{
  font-size:clamp(1.6rem,3.2vw,2.3rem);
  line-height:1.2;
  margin:0 0 .4em;
}

h3{
  font-size:1.25rem;
  line-height:1.3;
  margin:0 0 .35em;
}

h4{
  margin:0 0 .35em;
}

p{
  margin:0 0 1em;
}


/* ============================================================
   CONTAINER
   ============================================================ */

.container{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding-left:24px;
  padding-right:24px;
}


/* ============================================================
   COMMON SECTIONS
   ============================================================ */

.eyebrow{
  display:inline-block;
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--premium-gold);
  font-weight:600;
  margin-bottom:.6em;
}

.section{
  padding:76px 0;
}

.section-tight{
  padding:48px 0;
}

.section-alt{
  background:var(--premium-white);
}

.section-deep{
  background:var(--premium-navy);
  color:#FFFFFF;
}

.section-deep .eyebrow{
  color:var(--premium-gold-light);
}


/* ============================================================
   ROOFLINE
   ============================================================ */

.roofline{
  width:100%;
  height:34px;
  display:block;
}

.roofline svg{
  width:100%;
  height:100%;
  display:block;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;

  padding:14px 26px;

  border-radius:999px;
  border:1.5px solid transparent;

  font-weight:600;
  font-size:1rem;

  text-decoration:none;
  cursor:pointer;

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease,
    color .15s ease,
    border-color .15s ease;
}

.btn:focus-visible{
  outline:3px solid var(--premium-gold);
  outline-offset:2px;
}

.btn-primary,
.btn-donate,
button.primary{
  background:var(--premium-gold);
  color:#FFFFFF;
  border-color:var(--premium-gold);
  box-shadow:0 8px 24px rgba(184,144,74,.22);
}

.btn-primary:hover,
.btn-donate:hover,
button.primary:hover{
  background:#A27D3F;
  border-color:#A27D3F;
  transform:translateY(-2px);
}

.btn-outline{
  background:transparent;
  border-color:var(--premium-navy);
  color:var(--premium-navy);
}

.btn-outline:hover{
  background:var(--premium-navy);
  color:#FFFFFF;
}

.btn-outline-light{
  background:transparent;
  border-color:#FFFFFF;
  color:#FFFFFF;
}

.btn-outline-light:hover{
  background:#FFFFFF;
  color:var(--premium-navy);
}

.btn-gold{
  background:var(--premium-gold);
  color:#FFFFFF;
}

.btn-gold:hover{
  background:#A27D3F;
}

.btn-secondary{
  background:transparent;
  color:var(--premium-navy);
  border:1px solid var(--premium-navy);
}

.btn-sm{
  padding:9px 18px;
  font-size:.9rem;
}


/* ============================================================
   CARDS
   ============================================================ */

.card,
.info-card,
.story-card,
.facility-card,
.mother-card,
.stat-card{
  background:var(--premium-white);
  border:1px solid rgba(23,42,58,.09);
  border-radius:var(--radius);
  box-shadow:0 12px 35px rgba(23,42,58,.08);
}

.card{
  padding:28px;
}

.card:hover,
.info-card:hover,
.story-card:hover,
.facility-card:hover,
.mother-card:hover{
  border-color:rgba(184,144,74,.45);
  box-shadow:0 18px 42px rgba(23,42,58,.13);
  transform:translateY(-4px);
  transition:.2s ease;
}

/* ============================================================
   MOTHERS — PREMIUM STORY CARDS
============================================================ */

.mother-card{
  position:relative;

  overflow:hidden;

  background:var(--premium-white);

  border:1px solid rgba(23,42,58,.09);

  border-radius:var(--radius);

  box-shadow:
    0 12px 35px rgba(23,42,58,.08);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.mother-card:hover{
  transform:translateY(-5px);

  border-color:rgba(184,144,74,.45);

  box-shadow:
    0 20px 45px rgba(23,42,58,.13);
}


/* Mother photo / placeholder area */

.mother-card .hero-media{
  width:100%;

  aspect-ratio:1/1;

  margin:0 0 0 0;

  border-radius:0;

  overflow:hidden;

  background:var(--premium-navy-soft);

  box-shadow:none;
}


/* Placeholder */

.mother-card .placeholder-media{
  width:100%;
  height:100%;

  min-height:260px;

  background:
    linear-gradient(
      145deg,
      var(--premium-navy-soft),
      #F7F3EA
    );

  color:var(--premium-navy);

  display:flex;

  flex-direction:column;

  align-items:center;
  justify-content:center;

  gap:14px;

  padding:28px;

  text-align:center;
}

.mother-card .placeholder-media svg{
  width:58px;
  height:58px;

  opacity:.45;

  color:var(--premium-navy);
}


/* Consent badge */

.mother-card .placeholder-tag{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  margin:0;

  padding:6px 12px;

  border-radius:999px;

  background:rgba(184,144,74,.10);

  border:1px solid rgba(184,144,74,.35);

  color:#80652F;

  font-size:.72rem;

  font-weight:600;

  letter-spacing:.01em;
}


/* Mother content */

.mother-card h3{
  margin:0 0 8px;

  color:var(--premium-navy);

  font-family:
    'Noto Serif Devanagari',
    'Fraunces',
    serif;

  font-size:1.28rem;

  line-height:1.35;
}

.mother-card .form-note{
  margin:0 0 8px;

  color:#69727A;

  font-size:.88rem;

  line-height:1.7;
}


/* Content spacing */

.mother-card .text-center,
.mother-card > div:last-child{
  text-align:center;
}


/* ============================================================
   MOTHER CARD — MOBILE
============================================================ */

@media(max-width:600px){

  .mother-card .hero-media{
    aspect-ratio:1/1;
  }

  .mother-card .placeholder-media{
    min-height:240px;

    padding:22px;
  }

  .mother-card .placeholder-media svg{
    width:52px;
    height:52px;
  }

  .mother-card h3{
    font-size:1.18rem;
  }

  .mother-card .form-note{
    font-size:.84rem;
  }
}


/* ============================================================
   HOME PAGE MOTHER CARDS
============================================================ */

.mothers-grid{
  display:grid;

  grid-template-columns:
    repeat(3,minmax(0,1fr));

  gap:24px;

  margin-top:38px;
}

.mothers-grid .mother-card{
  min-width:0;
}


/* Home page image placeholder */

.mothers-grid .mother-image{
  position:relative;

  width:100%;

  aspect-ratio:4/5;

  overflow:hidden;

  background:
    linear-gradient(
      145deg,
      var(--premium-navy-soft),
      #F7F3EA
    );

  display:flex;

  align-items:center;
  justify-content:center;

  text-align:center;
}

.mothers-grid .mother-image::before{
  content:"";

  width:58px;
  height:58px;

  border-radius:50%;

  border:1px solid rgba(23,42,58,.18);

  background:rgba(255,255,255,.45);

  position:absolute;
}

.mothers-grid .mother-image span{
  position:relative;
  z-index:2;

  margin-top:92px;

  padding:6px 12px;

  border-radius:999px;

  background:rgba(255,255,255,.78);

  border:1px solid rgba(184,144,74,.35);

  color:#80652F;

  font-size:.72rem;

  font-weight:600;
}


/* Home page card content */

.mothers-grid .mother-content{
  padding:24px 22px 26px;

  text-align:center;
}

.mothers-grid .mother-content h3{
  margin:0 0 8px;

  color:var(--premium-navy);

  font-family:
    'Noto Serif Devanagari',
    'Fraunces',
    serif;
}

.mothers-grid .mother-content p{
  margin:0;

  color:#69727A;

  font-size:.88rem;

  line-height:1.7;
}


/* ============================================================
   MOTHER GRID — RESPONSIVE
============================================================ */

@media(max-width:900px){

  .mothers-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:20px;
  }
}

@media(max-width:600px){

  .mothers-grid{
    grid-template-columns:1fr;

    gap:18px;

    margin-top:30px;
  }

  .mothers-grid .mother-image{
    aspect-ratio:4/3;
  }

  .mothers-grid .mother-content{
    padding:20px 18px 22px;
  }
}
/* ============================================================
   GRID
   ============================================================ */

.grid{
  display:grid;
  gap:24px;
}

.grid-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.grid-4{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

@media(max-width:900px){

  .grid-4{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .grid-3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){

  .grid-2,
  .grid-3,
  .grid-4{
    grid-template-columns:1fr;
  }
}


/* ============================================================
   HEADER — FULL RESPONSIVE VERSION
   ============================================================ */

header.site-header,
.site-header{
  position:sticky;
  top:0;
  left:0;
  width:100%;
  z-index:1000;

  background:rgba(23,42,58,.98);
  border-bottom:1px solid rgba(184,144,74,.35);

  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);

  overflow:visible;
}


/* Header inner */

.header-inner{
  width:100%;
  max-width:var(--maxw);
  min-height:70px;

  margin:0 auto;
  padding:10px 24px;

  display:flex;
  align-items:center;

  gap:20px;

  overflow:visible;
}


/* ============================================================
   BRAND / LOGO
   ============================================================ */

.brand{
  display:flex;
  align-items:center;

  gap:12px;

  min-width:0;
  flex:1 1 auto;

  color:#FFFFFF;
  text-decoration:none;

  overflow:visible;
}


/* Logo container */

.brand-mark{
  width:44px;
  height:44px;

  min-width:44px;
  min-height:44px;

  flex:0 0 44px;

  display:flex;
  align-items:center;
  justify-content:center;

  overflow:visible;

  object-fit:contain;
}


/* If logo is img */

.brand-mark img{
  width:100%;
  height:100%;

  max-width:100%;
  max-height:100%;

  object-fit:contain;

  display:block;
}


/* If logo is SVG */

.brand-mark svg{
  width:100%;
  height:100%;

  max-width:100%;
  max-height:100%;

  display:block;
}


/* Brand name */

.brand-name{
  min-width:0;

  color:#FFFFFF;

  font-family:'Noto Serif Devanagari','Fraunces',serif;

  font-size:1.05rem;
  font-weight:600;

  line-height:1.2;

  white-space:normal;

  overflow-wrap:anywhere;
}


/* Brand subtitle */

.brand-name small{
  display:block;
  margin-top:2px;
  color:var(--premium-gold-light);

  font-family:'Noto Sans Devanagari', sans-serif;
  font-size:.72rem;
  font-weight:500;
  line-height:1.4;
  letter-spacing:0;
  word-spacing:0;

  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;

  font-variant-ligatures:normal;
  text-rendering:optimizeLegibility;
}

/* ============================================================
   DESKTOP NAVIGATION
   ============================================================ */

nav.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;

  gap:20px;

  flex:0 1 auto;

  min-width:0;
}

nav.main-nav a{
  position:relative;

  padding:6px 0;

  color:#FFFFFF;

  font-size:.92rem;
  font-weight:500;

  text-decoration:none;

  white-space:nowrap;

  transition:
    color .2s ease;
}

nav.main-nav a:hover{
  color:var(--premium-gold-light);
}

nav.main-nav a.active{
  color:var(--premium-gold-light);
}

nav.main-nav a.active::after{
  content:"";

  position:absolute;

  left:0;
  right:0;
  bottom:-5px;

  height:2px;

  background:var(--premium-gold);

  border-radius:2px;
}


/* ============================================================
   HEADER ACTIONS
   ============================================================ */

.header-actions{
  display:flex;
  align-items:center;

  justify-content:flex-end;

  gap:8px;

  flex:0 0 auto;

  min-width:0;
}


/* ============================================================
   LANGUAGE SWITCH
   ============================================================ */

.lang-switch{
  display:flex;
  align-items:center;

  flex-shrink:0;

  border:1px solid rgba(255,255,255,.25);

  border-radius:999px;

  overflow:hidden;

  background:rgba(255,255,255,.05);

  font-size:.78rem;
  font-weight:600;
}

.lang-switch button{
  border:0;

  background:transparent;

  color:#FFFFFF;

  padding:7px 11px;

  cursor:pointer;

  line-height:1;

  white-space:nowrap;

  transition:
    background .2s ease,
    color .2s ease;
}

.lang-switch button:hover{
  background:rgba(184,144,74,.18);
}

.lang-switch button.active{
  background:var(--premium-gold);

  color:#FFFFFF;
}


/* ============================================================
   HAMBURGER MENU BUTTON
   ============================================================ */

.menu-toggle{
  display:none;

  width:42px;
  height:42px;

  min-width:42px;
  min-height:42px;

  flex:0 0 42px;

  align-items:center;
  justify-content:center;

  padding:7px;

  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;

  background:transparent;

  color:#FFFFFF;

  cursor:pointer;

  -webkit-tap-highlight-color:transparent;
}

.menu-toggle:hover{
  background:rgba(184,144,74,.15);
}

.menu-toggle svg{
  width:25px;
  height:25px;

  max-width:25px;
  max-height:25px;

  display:block;

  stroke:currentColor;
}


/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */

.mobile-nav{
  display:none;

  width:100%;
  max-width:100%;

  flex-direction:column;

  gap:0;

  padding:8px 24px 18px;

  background:var(--premium-navy);

  border-top:1px solid rgba(184,144,74,.35);

  overflow-x:hidden;
  overflow-y:auto;

  max-height:calc(100vh - 70px);
}

.mobile-nav.open{
  display:flex;
}

.mobile-nav a{
  display:block;

  width:100%;

  padding:12px 4px;

  color:#FFFFFF;

  border-bottom:1px solid rgba(255,255,255,.12);

  font-weight:500;

  text-decoration:none;

  white-space:normal;

  overflow-wrap:anywhere;
}

.mobile-nav a:hover{
  color:var(--premium-gold-light);
}

.mobile-nav a.active{
  color:var(--premium-gold-light);
}


/* ============================================================
   HEADER — TABLET
   ============================================================ */

@media(max-width:1100px){

  .header-inner{
    padding-left:18px;
    padding-right:18px;

    gap:14px;
  }

  nav.main-nav{
    gap:13px;
  }

  nav.main-nav a{
    font-size:.86rem;
  }

  .brand-name{
    font-size:1rem;
  }

  .brand-mark{
    width:42px;
    height:42px;

    min-width:42px;
    min-height:42px;

    flex-basis:42px;
  }
}


/* ============================================================
   HEADER — MOBILE
   ============================================================ */

@media(max-width:880px){

  .header-inner{
    min-height:64px;

    width:100%;

    padding:8px 14px;

    gap:8px;
  }

  nav.main-nav{
    display:none;
  }

  .brand{
    flex:1 1 auto;

    min-width:0;

    gap:9px;
  }

  .brand-mark{
    width:40px;
    height:40px;

    min-width:40px;
    min-height:40px;

    flex:0 0 40px;
  }

  .brand-name{
    font-size:.94rem;

    line-height:1.18;

    min-width:0;
  }

  .brand-name small{
    font-size:.63rem;

    line-height:1.25;
  }

  .header-actions{
    flex:0 0 auto;

    gap:6px;
  }

  .lang-switch button{
    padding:6px 8px;

    font-size:.72rem;
  }

  .menu-toggle{
    display:inline-flex;
  }

  .mobile-nav{
    padding:8px 14px 18px;

    max-height:calc(100vh - 64px);
  }

  .mobile-nav a{
    padding:12px 4px;

    font-size:.95rem;
  }
}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media(max-width:420px){

  .header-inner{
    padding-left:10px;
    padding-right:10px;

    gap:6px;
  }

  .brand{
    gap:7px;
  }

  .brand-mark{
    width:38px;
    height:38px;

    min-width:38px;
    min-height:38px;

    flex-basis:38px;
  }

  .brand-name{
    font-size:.88rem;
  }

  .brand-name small{
    font-size:.58rem;
  }

  .lang-switch button{
    padding:6px 7px;

    font-size:.68rem;
  }

  .menu-toggle{
    width:40px;
    height:40px;

    min-width:40px;
    min-height:40px;

    flex-basis:40px;
  }

  .menu-toggle svg{
    width:23px;
    height:23px;
  }

  .mobile-nav{
    padding-left:10px;
    padding-right:10px;
  }
}


/* ============================================================
   EXTREMELY SMALL SCREEN
   ============================================================ */

@media(max-width:350px){

  .header-inner{
    padding-left:7px;
    padding-right:7px;

    gap:5px;
  }

  .brand{
    gap:6px;
  }

  .brand-mark{
    width:36px;
    height:36px;

    min-width:36px;
    min-height:36px;

    flex-basis:36px;
  }

  .brand-name{
    font-size:.82rem;
  }

  .brand-name small{
    font-size:.55rem;
  }

  .lang-switch button{
    padding:5px 6px;

    font-size:.64rem;
  }

  .menu-toggle{
    width:38px;
    height:38px;

    min-width:38px;
    min-height:38px;

    flex-basis:38px;
  }
}


/* ============================================================
   MOBILE BOTTOM BAR
   ============================================================ */

.mobile-bottom-bar{
  display:none;

  position:fixed;

  left:0;
  right:0;
  bottom:0;

  z-index:900;

  width:100%;

  background:var(--premium-white);

  border-top:1px solid rgba(23,42,58,.12);

  box-shadow:0 -6px 20px rgba(23,42,58,.12);
}

.mobile-bottom-bar .row{
  display:flex;
  width:100%;
}

.mobile-bottom-bar a{
  flex:1 1 0;

  min-width:0;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  gap:2px;

  padding:9px 4px 11px;

  color:#25313B;

  font-size:.72rem;
  font-weight:600;

  text-decoration:none;

  text-align:center;
}

.mobile-bottom-bar a.donate{
  color:var(--premium-gold);
}

@media(max-width:880px){

  .mobile-bottom-bar{
    display:block;
  }

  body{
    padding-bottom:64px;
  }
}


/* ============================================================
   HERO
   ============================================================ */

.hero{
  position:relative;

  padding:64px 0 0;

  overflow:hidden;

  background:
    linear-gradient(
      135deg,
      var(--premium-navy),
      var(--premium-navy-dark)
    );

  color:#FFFFFF;
}

.hero-inner{
  width:100%;
  max-width:var(--maxw);

  margin:0 auto;

  padding:0 24px;

  display:grid;

  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);

  gap:48px;

  align-items:center;
}

.hero h1{
  color:#FFFFFF;
}

.hero h2,
.hero h3{
  color:#FFFFFF;
}

.hero p{
  color:rgba(255,255,255,.88);
}

.hero .eyebrow{
  color:var(--premium-gold-light);
}

.hero-media{
  width:100%;

  border-radius:var(--radius);

  overflow:hidden;

  box-shadow:var(--shadow);

  aspect-ratio:4/5;

  background:var(--premium-navy-soft);

  position:relative;
}

.placeholder-media{
  width:100%;
  height:100%;

  display:flex;
  flex-direction:column;

  align-items:center;
  justify-content:center;

  gap:10px;

  color:var(--premium-navy);

  background:var(--premium-navy-soft);

  text-align:center;

  padding:24px;

  font-size:.85rem;
}

.placeholder-media svg{
  width:56px;
  height:56px;

  display:block;

  opacity:.55;

  flex:none;
}

.hero-cta-row{
  display:flex;

  flex-wrap:wrap;

  gap:14px;

  margin-top:1.6em;
}

@media(max-width:920px){

  .hero-inner{
    grid-template-columns:1fr;

    gap:32px;
  }
}

@media(max-width:600px){

  .hero{
    padding:42px 0 0;
  }

  .hero-inner{
    padding:0 16px;

    gap:28px;
  }

  .hero-cta-row{
    flex-direction:column;

    gap:10px;
  }

  .hero-cta-row .btn{
    width:100%;
  }
}


/* ============================================================
   TRUST STRIP
   ============================================================ */

.trust-strip{
  background:var(--premium-white);

  color:#25313B;

  padding:14px 0;

  text-align:center;

  font-size:.92rem;

  border-top:1px solid rgba(184,144,74,.18);

  border-bottom:1px solid rgba(184,144,74,.18);
}


/* ============================================================
   STATISTICS
   ============================================================ */

.stat-card{
  text-align:center;

  padding:22px 14px;

  border-top:3px solid var(--premium-gold);
}

.stat-number,
.stat-card strong{
  font-family:'Fraunces','Noto Serif Devanagari',serif;

  font-size:2.4rem;

  font-weight:600;

  color:var(--premium-gold);
}

.stat-label{
  font-size:.9rem;

  color:#25313B;

  opacity:.85;
}


/* ============================================================
   ICON SYSTEM
   ============================================================ */

.icon-badge{
  width:52px;
  height:52px;

  min-width:52px;
  min-height:52px;

  border-radius:14px;

  background:var(--premium-navy-soft);

  display:flex;
  align-items:center;
  justify-content:center;

  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    "Android Emoji",
    "EmojiSymbols",
    sans-serif;

  font-size:1.6rem;

  line-height:1;

  text-align:center;

  margin-bottom:14px;

  flex-shrink:0;

  visibility:visible;

  opacity:1;

  -webkit-font-smoothing:auto;

  text-rendering:optimizeLegibility;
}

.icon-badge span,
.icon-badge svg,
.icon-badge img{
  display:block;

  flex-shrink:0;
}

.icon-badge svg{
  width:28px;
  height:28px;

  max-width:28px;
  max-height:28px;

  color:var(--premium-gold);
}

.icon-badge img{
  width:30px;
  height:30px;

  max-width:30px;
  max-height:30px;

  object-fit:contain;
}

.icon,
.emoji,
[data-icon]{
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    "Android Emoji",
    "EmojiSymbols",
    sans-serif;

  font-variant-emoji:emoji;

  text-rendering:optimizeLegibility;
}

.feature-icon,
.care-icon{
  color:var(--premium-gold);

  background:var(--premium-navy-soft);
}


/* ============================================================
   HEADINGS / SECTIONS
   ============================================================ */

h1,
h2,
h3,
h4{
  color:var(--premium-navy);
}

.section-deep h1,
.section-deep h2,
.section-deep h3,
.section-deep h4{
  color:#FFFFFF;
}

.deep-section,
.section-dark{
  background:var(--premium-navy);

  color:#FFFFFF;
}

.deep-section h2,
.deep-section h3,
.section-dark h2,
.section-dark h3{
  color:#FFFFFF;
}

.deep-section p,
.section-dark p{
  color:rgba(255,255,255,.82);
}


/* ============================================================
   DONATION CTA
   ============================================================ */

.donation-cta,
.cta-section{
  background:
    linear-gradient(
      135deg,
      var(--premium-navy),
      var(--premium-navy-dark)
    );

  color:#FFFFFF;

  border-top:1px solid rgba(184,144,74,.35);
}

.donation-cta h2,
.donation-cta h3,
.cta-section h2,
.cta-section h3{
  color:#FFFFFF;
}

.donation-cta p,
.cta-section p{
  color:rgba(255,255,255,.84);
}


/* ============================================================
   DONATION AMOUNT BUTTONS
   ============================================================ */

.amount-grid{
  display:grid;

  grid-template-columns:repeat(4,minmax(0,1fr));

  gap:10px;
}

.amount-btn,
.donation-amount{
  padding:16px 8px;

  border-radius:var(--radius-sm);

  border:1px solid rgba(23,42,58,.18);

  background:#FFFFFF;

  color:var(--premium-navy);

  font-weight:700;

  font-size:1.05rem;

  cursor:pointer;

  transition:.2s ease;
}

.amount-btn:hover,
.amount-btn.active,
.donation-amount:hover,
.donation-amount.active{
  background:var(--premium-navy);

  color:#FFFFFF;

  border-color:var(--premium-navy);
}

@media(max-width:600px){

  .amount-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* ============================================================
   FORMS
   ============================================================ */

.form-field{
  margin-bottom:18px;

  display:flex;
  flex-direction:column;

  gap:6px;
}

.form-field label{
  font-weight:600;

  font-size:.9rem;
}

.form-field input,
.form-field select,
.form-field textarea,
input,
textarea,
select{
  width:100%;

  padding:12px 14px;

  border-radius:var(--radius-sm);

  border:1px solid rgba(23,42,58,.18);

  font:inherit;

  background:#FFFFFF;

  color:#25313B;
}

.form-field textarea,
textarea{
  resize:vertical;

  min-height:100px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
input:focus,
textarea:focus,
select:focus{
  outline:none;

  border-color:var(--premium-gold);

  box-shadow:
    0 0 0 3px rgba(184,144,74,.12);
}

.form-field .req{
  color:var(--premium-gold);
}

.form-note{
  font-size:.82rem;

  color:#6B6F73;
}

.form-success{
  display:none;

  background:#EAF1E8;

  border:1px solid var(--sage);

  color:#33502F;

  padding:16px 18px;

  border-radius:var(--radius-sm);

  margin-top:16px;

  font-weight:500;
}

.form-error{
  color:var(--cta);

  font-size:.82rem;

  min-height:1.2em;

  display:block;
}


/* ============================================================
   GALLERY
   ============================================================ */

.gallery-filters{
  display:flex;

  flex-wrap:wrap;

  gap:10px;

  margin-bottom:28px;
}

.filter-btn{
  border:1.5px solid rgba(23,42,58,.15);

  background:#FFFFFF;

  color:var(--premium-navy);

  padding:8px 16px;

  border-radius:999px;

  cursor:pointer;

  font-weight:600;

  font-size:.85rem;
}

.filter-btn.active{
  background:var(--premium-navy);

  color:#FFFFFF;

  border-color:var(--premium-navy);
}

.gallery-grid{
  display:grid;

  grid-template-columns:repeat(4,minmax(0,1fr));

  gap:14px;
}

.gallery-item{
  width:100%;

  border-radius:var(--radius-sm);

  overflow:hidden;

  aspect-ratio:1/1;

  cursor:pointer;

  border:none;

  padding:0;

  background:var(--premium-navy-soft);
}

.gallery-item img{
  width:100%;
  height:100%;

  object-fit:cover;

  transition:
    transform .35s ease,
    filter .35s ease;
}

.gallery-item:hover img{
  transform:scale(1.025);
}

.gallery img{
  transition:
    transform .35s ease,
    filter .35s ease;
}

.gallery img:hover{
  transform:scale(1.025);
}

@media(max-width:900px){

  .gallery-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:600px){

  .gallery-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:10px;
  }
}


/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox{
  position:fixed;

  inset:0;

  background:rgba(15,30,42,.94);

  display:none;

  align-items:center;
  justify-content:center;

  z-index:2000;

  padding:24px;
}

.lightbox.open{
  display:flex;
}

.lightbox-inner{
  max-width:800px;

  width:100%;

  color:#FFFFFF;
}

.lightbox-close{
  position:absolute;

  top:20px;
  right:24px;

  background:none;

  border:none;

  color:#FFFFFF;

  font-size:2rem;

  cursor:pointer;
}


/* ============================================================
   TIMELINE
   ============================================================ */

.timeline{
  border-left:2px solid rgba(23,42,58,.14);

  margin-left:10px;

  padding-left:28px;

  display:flex;

  flex-direction:column;

  gap:30px;
}

.timeline-item{
  position:relative;
}

.timeline-item::before{
  content:"";

  position:absolute;

  left:-35px;

  top:4px;

  width:12px;
  height:12px;

  border-radius:50%;

  background:var(--premium-gold);

  border:2px solid #FFFFFF;

  box-shadow:
    0 0 0 2px var(--premium-gold);
}


/* ============================================================
   PAGE HERO
   ============================================================ */

.page-hero{
  padding:52px 0 40px;

  background:
    linear-gradient(
      135deg,
      var(--premium-navy-soft),
      var(--premium-cream)
    );

  text-align:center;
}

.breadcrumbs{
  font-size:.85rem;

  color:var(--premium-gold);

  margin-bottom:10px;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer.site-footer,
.site-footer,
footer{
  background:var(--premium-navy-dark);

  color:rgba(255,255,255,.78);

  padding:56px 0 24px;

  border-top:2px solid var(--premium-gold);
}

footer.site-footer a,
.site-footer a,
footer a{
  text-decoration:none;

  color:rgba(255,255,255,.78);
}

footer.site-footer a:hover,
.site-footer a:hover,
footer a:hover{
  color:var(--premium-gold-light);

  text-decoration:underline;
}

.footer-grid{
  display:grid;

  grid-template-columns:
    minmax(0,1.4fr)
    minmax(0,1fr)
    minmax(0,1fr)
    minmax(0,1fr);

  gap:32px;
}

.site-footer h3,
.site-footer h4,
footer h3,
footer h4{
  color:#FFFFFF;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.16);

  margin-top:38px;

  padding-top:20px;

  font-size:.82rem;

  display:flex;

  justify-content:space-between;

  flex-wrap:wrap;

  gap:10px;

  opacity:.85;
}

.social-row{
  display:flex;

  gap:12px;

  margin-top:14px;
}

.social-row a{
  width:36px;
  height:36px;

  border-radius:50%;

  border:1px solid rgba(255,255,255,.35);

  display:flex;

  align-items:center;
  justify-content:center;
}


/* ============================================================
   UTILITY
   ============================================================ */

.text-center{
  text-align:center;
}

.max-w-prose{
  max-width:680px;
}

.mx-auto{
  margin-left:auto;
  margin-right:auto;
}

.mt-0{
  margin-top:0;
}

.flex{
  display:flex;
}

.items-center{
  align-items:center;
}

.gap-8{
  gap:8px;
}

.badge{
  display:inline-flex;

  align-items:center;

  gap:6px;

  background:var(--premium-navy-soft);

  color:var(--premium-navy);

  padding:6px 14px;

  border-radius:999px;

  font-size:.82rem;

  font-weight:600;
}

.placeholder-tag{
  background:#FCE8D8;

  color:#8A4B12;

  border:1px dashed #C87F2E;

  font-size:.72rem;

  font-weight:700;

  padding:2px 8px;

  border-radius:6px;

  margin-left:6px;

  letter-spacing:.02em;
}

.quote-block{
  border-left:4px solid var(--premium-gold);

  padding:6px 0 6px 20px;

  font-style:italic;

  font-size:1.15rem;

  color:var(--premium-navy);
}


/* ============================================================
   GOLD ELEMENTS
   ============================================================ */

.gold-divider{
  height:2px;

  width:70px;

  background:var(--premium-gold);

  margin:18px 0;
}

.gold-text{
  color:var(--premium-gold);
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

.skip-link{
  position:absolute;

  left:-999px;
  top:auto;

  background:var(--premium-navy);

  color:#FFFFFF;

  padding:10px 16px;

  z-index:3000;

  border-radius:0 0 8px 0;
}

.skip-link:focus{
  left:0;
  top:0;
}

:focus-visible{
  outline:3px solid var(--premium-gold);

  outline-offset:2px;
}

::selection{
  background:var(--premium-navy);

  color:#FFFFFF;
}


/* ============================================================
   REVEAL ANIMATION
   ============================================================ */

.reveal{
  opacity:0;

  transform:translateY(16px);

  transition:
    opacity .6s ease,
    transform .6s ease;
}

.reveal.in{
  opacity:1;

  transform:none;
}

@media(prefers-reduced-motion:reduce){

  .reveal{
    opacity:1;

    transform:none;

    transition:none;
  }

  html{
    scroll-behavior:auto;
  }
}


/* ============================================================
   RESPONSIVE SPACING
   ============================================================ */

@media(max-width:800px){

  .footer-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .section{
    padding:60px 0;
  }

  .section-tight{
    padding:40px 0;
  }

  .container{
    padding-left:18px;
    padding-right:18px;
  }
}

@media(max-width:520px){

  .footer-grid{
    grid-template-columns:1fr;
  }

  .footer-bottom{
    flex-direction:column;

    align-items:flex-start;
  }

  .section{
    padding:50px 0;
  }

  .section-tight{
    padding:34px 0;
  }

  .container{
    padding-left:15px;
    padding-right:15px;
  }

  .card{
    padding:22px;
  }
}


/* ============================================================
   MOBILE BUTTONS / CONTENT
   ============================================================ */

@media(max-width:600px){

  .btn{
    padding:12px 20px;

    font-size:.95rem;
  }

  .btn-sm{
    padding:8px 15px;

    font-size:.85rem;
  }

  .stat-number,
  .stat-card strong{
    font-size:2rem;
  }

  .quote-block{
    font-size:1rem;

    padding-left:15px;
  }
}


/* ============================================================
   FINAL MOBILE SAFETY
   Prevent horizontal overflow
   ============================================================ */

@media(max-width:880px){

  html,
  body{
    width:100%;

    max-width:100%;

    overflow-x:hidden;
  }

  main,
  section,
  footer,
  header{
    max-width:100%;
  }

  .container,
  .header-inner,
  .hero-inner{
    max-width:100%;
  }

  table{
    max-width:100%;

    overflow-x:auto;

    display:block;
  }

  pre,
  code{
    max-width:100%;

    overflow-x:auto;
  }
}


/* ============================================================
   END — MAI VRIDDHASHRAM RESPONSIVE CSS
   ============================================================ */
/* Fix Devanagari conjunct rendering for ट्री */
.brand-name,
.brand-name small,
.site-footer p {
  font-family: 'Noto Sans Devanagari', sans-serif !important;
  font-variant-ligatures: none !important;
  font-feature-settings: "liga" 0, "clig" 0 !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
}
