@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700;800&family=Noto+Serif+Devanagari:wght@400;600;700&display=swap');

:root {
  /* ─── Premium Color Palette ─── */
  --primary: #0A192F;
  /* Deep Sapphire / Navy */
  --primary-dark: #050C16;
  --primary-light: #172A45;
  --primary-tint: #F0F4F8;

  --accent: #E27D2F;
  /* Warm Saffron-Amber */
  --accent-dark: #BE5E17;
  --accent-light: #FFF5EC;

  --success: #115E59;
  /* Emerald / Teal */
  --success-light: #F0FDFA;

  --white: #FFFFFF;
  --cream: #FAF8F5;
  /* Soft Warm Cream background */
  --warm-gray: #F3EFEA;
  /* Soft Border / Divider Gray */
  --text: #1E293B;
  /* Dark Slate Text */
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --border: #E2E8F0;
  --border-warm: #E6DFD5;

  /* ─── Shadows ─── */
  --shadow-sm: 0 4px 6px -1px rgba(10, 25, 47, 0.05), 0 2px 4px -1px rgba(10, 25, 47, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(10, 25, 47, 0.08), 0 4px 6px -2px rgba(10, 25, 47, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(10, 25, 47, 0.1), 0 10px 10px -5px rgba(10, 25, 47, 0.04);
  --shadow-accent: 0 10px 20px -3px rgba(226, 125, 47, 0.25);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* ─── Radii & Borders ─── */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* ─── Transitions ─── */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── BASE RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--white);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── PRELOADER ─── */
#preloader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  z-index: 2000;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.preloader-inner {
  text-align: center;
  transform: translateY(0);
  transition: transform 0.35s ease, opacity 0.35s ease;
  padding: 28px 26px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
}

.preloader-progress {
  width: 220px;
  max-width: 68vw;
  height: 6px;
  margin: 18px auto 0;
  background: rgba(10, 25, 47, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.preloader-progress-bar {
  width: 0%;
  height: 100%;
  background: #0A3B74;
  transition: width 0.14s ease;
}

.preloader-progress-label {
  display: none;
}

.preloader-logo {
  width: 160px;
  max-width: 72vw;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

#preloader.preloader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#preloader.preloader--hide .preloader-inner {
  transform: translateY(-10px);
}

/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* ─── CUSTOM SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: var(--radius-full);
  border: 2px solid var(--cream);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ─── ICONS ─── */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.2em;
  height: 1.2em;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ─── HEADER & NAV (Glassmorphism) ─── */
.site-header {
  position: fixed;
  top: 20px;
  left: 5%;
  right: 5%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(226, 223, 213, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  padding: 4px 0;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.nav-logo-text {
  line-height: 1.15;
}

.nav-logo-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--primary);
  font-weight: 700;
}

.nav-logo-text span {
  display: block;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal), left var(--transition-normal);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links li.active a::after {
  width: 100%;
  left: 0;
}

.nav-links li.active a {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 12px 28px !important;
  border-radius: var(--radius-full) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-accent);
  transition: all var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(226, 125, 47, 0.45) !important;
}

.nav-cta::after {
  display: none !important;
}

/* ─── HAMBURGER BUTTON ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── MOBILE DRAWER MENU ─── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 100px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right var(--transition-normal) cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.mobile-menu .nav-cta {
  margin-top: 20px;
  text-align: center;
  border-bottom: none;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Pulse overlay when pulse.html is opened in another tab/window */
.pulse-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.45);
  backdrop-filter: blur(3px);
  z-index: 1500;
  display: none;
}

.pulse-overlay.active {
  display: block;
}

/* ─── HERO SECTION (Home Page) ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 5% 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 25, 47, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(226, 125, 47, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.hero-tagline {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image-main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.hero-image-main:hover img {
  transform: scale(1.04);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  border: 1px solid rgba(10, 25, 47, 0.05);
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--success-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 24px;
}

.hero-badge-text strong {
  display: block;
  font-size: 22px;
  color: var(--success);
  font-weight: 800;
  line-height: 1.1;
}

.hero-badge-text span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-badge-2 {
  position: absolute;
  top: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  width: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 25px rgba(10, 25, 47, 0.3);
  border: 2px solid var(--white);
}

.hero-badge-2 strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.hero-badge-2 span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 2px;
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 50px 5%;
  position: relative;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(226, 125, 47, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 10px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-number span {
  font-size: 32px;
  color: var(--accent);
  margin-left: 2px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── SECTION COMMONS ─── */
section {
  padding: 100px 5%;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: var(--accent);
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}

/* ─── HERO STANDARD BANNER (Inside pages) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 160px 5% 80px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(226, 125, 47, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.8;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(38px, 5vw, 56px);
  margin-bottom: 16px;
}

.page-hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.page-hero p {
  color: var(--text-light);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── ABOUT SECTION (Home/About Page) ─── */
.about {
  background-color: var(--white);
}

.mission {
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
}

.mission-top {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}

.mission-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 20px;
}

.mission-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(226, 223, 213, 0.65);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mission-card h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

.mission-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  text-align: left;
}

.about-quote {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 30px;
  margin: 32px 0;
}

.about-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--primary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 8px;
}

.about-quote cite {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--cream);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  transition: all var(--transition-normal);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.pillar-icon {
  font-size: 22px;
  color: var(--accent);
  background: var(--accent-light);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar:nth-child(2) .pillar-icon {
  color: var(--success);
  background: var(--success-light);
}

.pillar:nth-child(3) .pillar-icon {
  color: var(--primary);
  background: var(--primary-tint);
}

.pillar:nth-child(4) .pillar-icon {
  color: #DC2626;
  background: #FEF2F2;
}

.pillar-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.pillar-text span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
}

/* ─── FOUNDER TRIBUTE ─── */
.founder {
  background-color: var(--cream);
  text-align: center;
  padding: 100px 5%;
}

.founder-inner {
  max-width: 800px;
  margin: 0 auto;
}

.founder-emblem {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.founder h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 10px;
}

.founder-dates {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.founder p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.founder-motto {
  display: inline-block;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
  padding: 14px 36px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-full);
  margin-top: 24px;
  transition: all var(--transition-normal);
}

.founder-motto:hover {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

/* ─── PROGRAMS SECTION ─── */
.programs {
  background-color: var(--white);
}

.programs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 24px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.program-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 125, 47, 0.3);
}

.program-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.program-card:hover .program-img img {
  transform: scale(1.06);
}

.program-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.program-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.program-body h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}

.program-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  flex-grow: 1;
}

.program-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.program-link .icon {
  transition: transform var(--transition-fast);
}

.program-link:hover {
  color: var(--accent-dark);
}

.program-link:hover .icon {
  transform: translateX(6px);
}

/* ─── IMPACT GALLERY SECTION ─── */
.gallery {
  background-color: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.gallery-item:first-child {
  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.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ─── HELP GRID (Get Involved) ─── */
.help {
  background-color: var(--white);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.help-card {
  text-align: center;
  padding: 50px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-warm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.help-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.help-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.help-card:nth-child(1) .help-icon {
  background: var(--accent-light);
  color: var(--accent);
}

.help-card:nth-child(2) .help-icon {
  background: var(--primary-tint);
  color: var(--primary);
}

.help-card:nth-child(3) .help-icon {
  background: var(--success-light);
  color: var(--success);
}

.help-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.help-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.help-card .btn {
  padding: 10px 24px;
  font-size: 13px;
}

/* ─── TESTIMONIALS SECTION ─── */
.testimonials {
  background-color: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 125, 47, 0.25);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--primary);
  border: 1px solid var(--border);
}

.testimonial-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 90px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(226, 125, 47, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: rgba(226, 125, 47, 0.08);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -5%;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* ─── CONTACT SECTION (Home Page / Contact details layout) ─── */
.contact {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-info {
  text-align: left;
}

.contact-info h3 {
  font-size: 32px;
  margin-bottom: 18px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--transition-normal);
}

.contact-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-warm);
  transform: translateX(6px);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--primary);
  border: 1px solid var(--border);
}

.contact-item-text strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-text a,
.contact-item-text span {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

.contact-item-text a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1.5px solid var(--border-warm);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit-btn {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-accent);
}

.form-submit-btn:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(226, 125, 47, 0.4);
}

.form-submit-btn .icon {
  font-size: 18px;
}

/* ─── DEDICATED DONATE PAGE SPECIFICS ─── */
.donation-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  margin-top: 40px;
}

.donation-card-box {
  background: var(--cream);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.donation-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.donation-tier {
  background: var(--white);
  border: 2px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 24px 16px;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-normal);
}

.donation-tier:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.donation-tier.selected {
  border-color: var(--accent);
  background-color: var(--accent-light);
  box-shadow: var(--shadow-md);
}

.donation-tier strong {
  display: block;
  font-size: 26px;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}

.donation-tier span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
  display: block;
}

.donation-meter-desc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--success);
}

.banking-info {
  background: var(--white);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 36px;
  height: max-content;
}

.banking-info h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.bank-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.bank-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

/* ─── BLOG & NEWSLETTER STYLES ─── */
.blog-hero {
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(23, 42, 69, 0.9) 100%);
  color: var(--white);
  padding: 130px 5% 80px;
  text-align: center;
  position: relative;
}

.blog-hero .section-tag {
  color: rgba(255, 255, 255, 0.8);
}

.blog-hero h1 {
  margin-top: 16px;
  font-size: clamp(34px, 5vw, 54px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.blog-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  max-width: 700px;
  margin: 18px auto 0;
}

.blog-section {
  background: var(--cream);
  padding: 80px 5% 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.95fr;
  gap: 30px;
  align-items: start;
}

.blog-list {
  display: grid;
  gap: 24px;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.blog-card-image {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(10, 25, 47, 0.88);
  color: var(--white);
  padding: 8px 16px;
  font-size: 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.blog-card-body {
  padding: 28px;
}

.blog-card-meta {
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 14px;
}

.blog-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.blog-card p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.blog-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-small {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-share {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(10, 25, 47, 0.15);
}

.btn-share:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.blog-sidebar {
  display: grid;
  gap: 24px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}

.sidebar-card h3,
.sidebar-card h4 {
  margin-bottom: 16px;
  font-size: 20px;
}

.newsletter-card p {
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.7;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.newsletter-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--primary);
}

.newsletter-form button {
  align-self: flex-start;
}

.toc-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.toc-item {
  font-size: 14px;
}

.toc-item a {
  color: var(--primary);
  transition: color var(--transition-fast);
}

.toc-item a:hover {
  color: var(--accent);
}

.toc-h3 {
  margin-left: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.blog-detail-panel {
  background: var(--white);
  padding: 60px 5% 90px;
}

.blog-detail {
  max-width: 1100px;
  margin: 0 auto;
}

.blog-detail.active {
  padding-top: 20px;
}

.blog-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.blog-detail-header h2 {
  margin-bottom: 10px;
}

.blog-detail-body img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  box-shadow: var(--shadow-lg);
}

.blog-detail-content h2,
.blog-detail-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.blog-detail-content p,
.blog-detail-content li {
  color: var(--text-muted);
  line-height: 1.85;
}

.blog-detail-content ul {
  margin-left: 20px;
  margin-bottom: 18px;
}

.popular-posts {
  display: grid;
  gap: 14px;
}

.popular-link {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--cream);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--primary);
}

.popular-link:hover {
  border-color: var(--accent);
  background: rgba(226, 125, 47, 0.05);
}

.share-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.share-modal.active {
  display: flex;
}

.share-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.6);
}

.share-modal .modal-card {
  position: relative;
  width: min(520px, calc(100% - 40px));
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--cream);
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.share-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.share-link-box {
  display: grid;
  gap: 10px;
}

.share-link-box input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--primary);
}

.footer-newsletter {
  grid-column: span 1;
}

.footer-newsletter .newsletter-form {
  display: grid;
  gap: 10px;
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--cream);
}

.footer-newsletter button {
  width: 100%;
}

.footer-bottom button {
  border: 1px solid rgba(10, 25, 47, 0.12);
  background: transparent;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--primary);
}

.footer-bottom button:hover {
  background: rgba(10, 25, 47, 0.06);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .programs-grid,
  .help-grid,
  .testimonials-grid,
  .contact-grid,
  .donation-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {

  .hero-inner,
  .stats-inner,
  .blog-card,
  .blog-detail-header,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .blog-detail-header {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions,
  .blog-card-actions,
  .share-actions {
    flex-direction: column;
  }
}

.bank-table td:first-child {
  font-weight: 700;
  color: var(--text-muted);
  width: 40%;
}

.bank-table td:last-child {
  font-weight: 600;
  color: var(--primary);
  text-align: right;
}

.qr-code-card {
  background: var(--cream);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: var(--white);
  border-radius: var(--radius-sm);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-inset);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}

.qr-code-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
  font-weight: 600;
}

/* ─── FAQ ACCORDION ─── */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.faq-card {
  background: var(--cream);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-card.open {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-trigger h4 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.faq-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal);
  flex-shrink: 0;
}

.faq-card.open .faq-icon-box {
  transform: rotate(180deg);
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-content {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── FORM ELEMENTS (Global) ─── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(226, 125, 47, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748B' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

/* ─── CARD GRID & PREMIUM CARD ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.premium-card {
  background: var(--white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 125, 47, 0.25);
}

/* ─── GALLERY FILTER BUTTONS ─── */
.gallery-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-full);
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.gallery-item.hide {
  display: none;
}

/* ─── LEGAL PAGES CONTENT ─── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-meta {
  background: var(--cream);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.legal-content h2 {
  font-size: 24px;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 18px;
  color: var(--primary);
  margin-top: 28px;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.legal-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.legal-content a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--accent-dark);
}

/* ─── LIGHT THEMED FOOTER ─── */
footer,
.footer-light {
  background-color: var(--cream);
  color: var(--text-muted);
  padding: 80px 5% 40px;
  border-top: 3px solid var(--accent);
  position: relative;
  overflow: hidden;
}

footer::before,
.footer-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 25, 47, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

footer::after,
.footer-light::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(226, 125, 47, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-warm);
}

.footer-brand .nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-brand .nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.footer-brand .nav-logo-text strong {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  display: block;
}

.footer-brand .nav-logo-text span {
  color: var(--accent);
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px -4px rgba(226, 125, 47, 0.4);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding-left: 0;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.footer-col ul span {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-bottom {
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-light);
}

.footer-bottom p {
  font-size: 13px;
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--accent);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* ─── FLOATING WIDGETS ─── */
.float-call {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--success);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 25px -5px rgba(17, 94, 89, 0.4);
  z-index: 990;
  transition: all var(--transition-normal);
}

.float-call:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 30px -4px rgba(17, 94, 89, 0.5);
  background-color: #0d4d49;
}

/* ─── INSTANT SCROLL REVEALS (Disabled animation delay as requested) ─── */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ─── BUTTON STYLES ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(226, 125, 47, 0.45);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  font-weight: 800;
}

.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(255, 255, 255, 0.25);
}

/* ─── MEDIA QUERY BREAKPOINTS ─── */

/* Tablet landscape */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .about-grid,
  .contact-grid,
  .donation-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-images {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    height: 400px;
  }

  .programs-grid,
  .help-grid,
  .testimonials-grid,
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .programs-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Tablet portrait / large phone */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  nav {
    height: 68px;
  }

  .site-header {
    top: 10px;
    left: 3%;
    right: 3%;
  }

  section {
    padding: 60px 5%;
  }

  .page-hero {
    padding: 130px 5% 60px;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stat-item {
    border-right: none;
  }

  .stat-number {
    font-size: 36px;
  }

  .programs-grid,
  .help-grid,
  .testimonials-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item:first-child {
    grid-row: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .donation-tiers {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .donation-card-box {
    padding: 24px;
  }

  .banking-info {
    padding: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .float-call {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .section-title {
    font-size: clamp(26px, 5vw, 38px);
  }

  .help-card {
    padding: 36px 24px;
  }

  .hero {
    padding: 120px 5% 60px;
  }

  .cta-banner {
    padding: 60px 5%;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .site-header {
    top: 8px;
    left: 2%;
    right: 2%;
  }

  nav {
    padding: 0 4%;
    height: 60px;
  }

  .nav-logo img {
    width: 40px;
    height: 40px;
  }

  .nav-logo-text strong {
    font-size: 16px;
  }

  .nav-logo-text span {
    font-size: 9px;
  }

  .hero {
    padding: 110px 4% 50px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
    text-align: center;
  }

  .hero-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 16px;
  }

  .hero-badge-2 {
    width: 72px;
    height: 72px;
    top: -12px;
    right: -8px;
  }

  .hero-badge-2 strong {
    font-size: 20px;
  }

  .hero-badge-2 span {
    font-size: 8px;
  }

  .stats-bar {
    padding: 30px 4%;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 30px;
  }

  .stat-label {
    font-size: 11px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item {
    height: 220px;
  }

  .page-hero {
    padding: 110px 4% 50px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .contact-form {
    padding: 20px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  .form-submit-btn {
    padding: 14px;
    font-size: 14px;
  }

  .donation-tier {
    padding: 18px 14px;
  }

  .donation-tier strong {
    font-size: 22px;
  }

  .cta-banner {
    padding: 50px 4%;
  }

  .cta-banner h2 {
    font-size: 24px;
  }

  .mobile-menu {
    width: 260px;
    padding: 80px 28px 28px;
  }

  .mobile-menu a {
    font-size: 16px;
  }

  footer {
    padding: 50px 4% 30px;
  }

  .legal-content h2 {
    font-size: 20px;
  }

  .legal-content h3 {
    font-size: 16px;
  }

  .founder h2 {
    font-size: 24px;
  }

  .founder-emblem {
    width: 70px;
    height: 70px;
    font-size: 22px;
  }
}

/* ===== RECENT IMPACT SECTION ===== */

.impact-highlight {
  padding: 100px 5%;
  background: var(--cream);
}

.impact-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;

  background: #fff;
  border-radius: 24px;
  overflow: hidden;

  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);

  transition: all 0.35s ease;
}

.impact-card:hover {
  transform: translateY(-6px);
}

.impact-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.impact-content {
  padding: 50px;
}

.impact-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);

  padding: 8px 16px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;

  margin-bottom: 18px;
}

.impact-content h3 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.impact-content h3 em {
  color: var(--accent);
  font-style: italic;
}

.impact-content p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 18px;
}

.impact-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.impact-stat {
  background: var(--primary-tint);
  color: var(--primary);

  padding: 12px 18px;
  border-radius: 12px;

  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 900px) {

  .impact-card {
    grid-template-columns: 1fr;
  }

  .impact-card img {
    min-height: 280px;
  }

  .impact-content {
    padding: 30px;
  }

  .impact-content h3 {
    font-size: 28px;
  }
}