/* ============================================================
   UNITED HAVEN FOUNDATION — style.css
   Design System & Full Page Styles
   ============================================================ */

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

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

body {
  font-family: 'Lato', 'Segoe UI', sans-serif;
  color: #2D2D1A;
  background: #FFFDE7;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* === CSS VARIABLES === */
:root {
  --navy: #2D2D1A;
  --navy-dark: #1A1A0A;
  --teal: #C8A800;
  --teal-light: #F5C518;
  --gold: #F0B429;
  --gold-light: #FFD84D;
  --terracotta: #E8A020;
  --cream: #FFF8DC;
  --cream-light: #FFFDE7;
  --white: #ffffff;
  --gray-100: #FAFAF0;
  --gray-200: #F5F5E8;
  --gray-400: #B8B89A;
  --gray-600: #6B6B50;
  --gray-800: #3A3A20;
  --shadow-sm: 0 2px 8px rgba(45, 45, 26, 0.08);
  --shadow-md: 0 4px 24px rgba(45, 45, 26, 0.12);
  --shadow-lg: 0 8px 48px rgba(45, 45, 26, 0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: 0.3s ease;
  --section-pad: 96px;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy-dark);
  text-wrap: balance;
  overflow-wrap: break-word;
}

h3 {
  font-weight: 700;
}

p {
  line-height: 1.8;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* === MALAYALAM TYPOGRAPHY & WORD ALIGNMENT === */
html[lang="ml"],
[lang="ml"] body {
  font-family: 'Manjari', 'Lato', sans-serif;
  line-height: 1.85;
}

html[lang="ml"] h1,
html[lang="ml"] h2,
html[lang="ml"] h3,
html[lang="ml"] h4,
html[lang="ml"] h5,
html[lang="ml"] .hero-headline,
html[lang="ml"] .page-hero-title,
html[lang="ml"] .section-title,
html[lang="ml"] .campaign-title-ml,
html[lang="ml"] .commitment-heading {
  font-family: 'Manjari', sans-serif;
  font-weight: 700;
  letter-spacing: normal !important;
  text-transform: none !important;
  line-height: 1.35;
  text-wrap: balance;
}

html[lang="ml"] .section-label,
html[lang="ml"] .footer-nav-heading,
html[lang="ml"] .commitment-label,
html[lang="ml"] .campaign-motto-label,
html[lang="ml"] .campaign-tagline-badge,
html[lang="ml"] .badge-mini,
html[lang="ml"] .hero-badge,
html[lang="ml"] .nav-link,
html[lang="ml"] .btn {
  letter-spacing: normal !important;
  text-transform: none !important;
  font-family: 'Manjari', sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

html[lang="ml"] p,
html[lang="ml"] li,
html[lang="ml"] span,
html[lang="ml"] a {
  word-break: normal;
  overflow-wrap: break-word;
}


/* === UTILITIES === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.highlight {
  color: var(--teal);
}

.highlight-gold {
  color: var(--gold);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(240, 180, 41, 0.45);
  font-weight: 800;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 28px rgba(240, 180, 41, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-call {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 20px;
  box-shadow: 0 2px 12px rgba(240, 180, 41, 0.4);
}

.btn-call:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(240, 180, 41, 0.55);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-involve {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  background: transparent;
  border: 2px solid var(--navy-dark);
  color: var(--navy-dark);
  transition: all var(--transition);
}

.btn-involve:hover,
.btn-involve:focus-visible {
  background: var(--navy-dark);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-involve-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(240, 180, 41, 0.4);
  transition: all var(--transition);
}

.btn-involve-primary:hover,
.btn-involve-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(240, 180, 41, 0.55);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
}

/* === SECTION COMMONS === */
.section {
  padding: var(--section-pad) 0;
}

.section-label {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8B6A00;
  background: rgba(240, 180, 41, 0.18);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(240, 180, 41, 0.3);
}

.section-label.light {
  color: var(--gold-light);
  background: rgba(240, 180, 41, 0.18);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  color: var(--navy-dark);
  text-wrap: balance;
  line-height: 1.25;
}

.section-title.light {
  color: var(--white);
}

.section-intro {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.8;
  text-wrap: pretty;
}

.section-intro.light {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   STICKY HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(45, 45, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 180, 41, 0.15);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(26, 26, 10, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.site-header .container,
.header-inner {
  max-width: 1440px !important;
  width: 100%;
  margin: 0 auto;
  padding-left: clamp(16px, 2.5vw, 36px) !important;
  padding-right: clamp(16px, 2.5vw, 36px) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.logo-link:hover {
  opacity: 0.9;
}

.header-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  color: var(--white);
  line-height: 1.2;
  white-space: nowrap;
}

.logo-tagline {
  font-size: clamp(0.64rem, 1.8vw, 0.74rem);
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(240, 180, 41, 0.4);
  border-radius: 999px;
  padding: 3px 6px;
  gap: 2px;
  flex-shrink: 0;
  margin-left: 6px;
  backdrop-filter: blur(8px);
}

.lang-btn {
  font-family: 'Nunito', 'Manjari', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #D8D8B8;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  border: none;
  line-height: 1.2;
  white-space: nowrap;
}

.lang-btn:hover {
  color: var(--gold);
}

.lang-btn.active {
  background: var(--gold);
  color: #1A1A0A;
  box-shadow: 0 2px 10px rgba(240, 180, 41, 0.45);
}

.lang-divider {
  color: rgba(240, 180, 41, 0.35);
  font-size: 0.75rem;
  user-select: none;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: clamp(2px, 0.6vw, 10px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.nav-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: clamp(0.82rem, 0.85vw, 0.92rem);
  color: rgba(255, 255, 255, 0.88);
  padding: 8px clamp(8px, 0.8vw, 14px);
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: var(--gold-light);
}

.header-call {
  flex-shrink: 0;
  padding: 9px 16px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

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

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

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

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 76px;
  padding-bottom: 32px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(26, 26, 10, 0.82) 0%,
      rgba(45, 45, 26, 0.65) 50%,
      rgba(200, 168, 0, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  color: var(--gold-light);
  background: rgba(201, 162, 75, 0.15);
  border: 1px solid rgba(201, 162, 75, 0.35);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-badge-icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 900;
  line-height: 1.18;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  text-wrap: balance;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-headline-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 8px;
  font-weight: 400;
  text-wrap: pretty;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline-sub {
  font-size: 0.95rem;
  color: var(--gold-light);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  justify-content: center;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--white);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.about-card {
  background: var(--cream-light);
  border: 1px solid rgba(240, 180, 41, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px 4px 0 0;
}

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

.about-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy-dark);
}

.about-card-icon svg {
  width: 28px;
  height: 28px;
}

.about-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 12px;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.about-card p {
  color: var(--gray-600);
  font-size: 0.97rem;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.trust-explainer {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 48px;
}

.trust-explainer-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}

.trust-explainer-icon svg {
  width: 26px;
  height: 26px;
}

.trust-explainer h3 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.trust-explainer p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.97rem;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.vm-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.vm-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(240, 180, 41, 0.3);
}

.vm-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(240, 180, 41, 0.15), rgba(245, 197, 24, 0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal);
}

.vm-icon svg {
  width: 28px;
  height: 28px;
}

.vm-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.vm-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-media {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--gray-200);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.service-card:hover .service-card-media img {
  transform: scale(1.07);
}

.service-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(27, 56, 32, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.25);
}

.service-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr, var(--teal)), transparent);
  border-radius: 0 0 0 4px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--clr, var(--teal)) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--clr, var(--teal));
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--clr, var(--teal));
  color: var(--white);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.93rem;
  line-height: 1.7;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* WHY CHOOSE US */
.why-choose-us {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  margin-bottom: 64px;
  text-align: center;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 40px 0;
  text-align: left;
}

.why-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.why-check {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy-dark);
}

.why-check svg {
  width: 18px;
  height: 18px;
}

.why-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition);
}

.trust-badge:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* BENEFITS */
.benefits {
  padding-top: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.benefit-num {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  color: rgba(240, 180, 41, 0.12);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -2px;
}

.benefit-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--gray-600);
  font-size: 0.92rem;
}

/* ============================================================
   NIRAAMAYAM SECTION
   ============================================================ */
.niraamayam {
  background: linear-gradient(160deg, #1A1A0A 0%, var(--navy) 40%, #2D2D1A 100%);
  position: relative;
  overflow: hidden;
}

.niraamayam::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.niraamayam-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.niraamayam-name-block {
  margin-bottom: 20px;
}

.niraamayam-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.niraamayam-subtitle {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.niraamayam-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.niraamayam-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.niraamayam-location svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.niraamayam-malayalam {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.niraamayam-ml-trans {
  font-size: 0.85rem;
  color: var(--gold-light);
  opacity: 0.8;
}

.niraamayam-photo-wrap {
  position: relative;
}

.niraamayam-photo {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  object-position: center top;
  max-height: 460px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(240, 180, 41, 0.35);
}

.facilities-heading {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 32px;
  text-align: center;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.facility-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
}

.facility-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.facility-icon {
  width: 40px;
  height: 40px;
  background: rgba(201, 162, 75, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}

.facility-icon svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   ACTIVITIES SECTION
   ============================================================ */
.activities {
  background: var(--cream-light);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.activity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(217, 138, 75, 0.15);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.activity-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: rgba(217, 138, 75, 0.3);
}

.activity-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(217, 138, 75, 0.12), rgba(201, 162, 75, 0.12));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--terracotta);
  transition: all var(--transition);
}

.activity-card:hover .activity-icon {
  background: var(--terracotta);
  color: var(--white);
}

.activity-icon svg {
  width: 26px;
  height: 26px;
}

.activity-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.activity-card p {
  color: var(--gray-600);
  font-size: 0.92rem;
}

/* ============================================================
   GET INVOLVED SECTION
   ============================================================ */
.get-involved {
  background: var(--white);
}

.involve-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.involve-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

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

.involve-card--featured {
  background: linear-gradient(160deg, var(--cream), var(--cream-light));
  border-color: var(--gold);
  box-shadow: 0 4px 32px rgba(201, 162, 75, 0.15);
}

.involve-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  box-shadow: 0 4px 20px rgba(45, 45, 26, 0.3);
}

.involve-card--featured .involve-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 4px 20px rgba(240, 180, 41, 0.4);
}

.involve-icon svg {
  width: 32px;
  height: 32px;
}

.involve-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
}

.involve-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  flex: 1;
}

.involve-reassurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 28px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.reassurance-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 60%, #2D2D1A 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

.contact-info-heading {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 162, 75, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.97rem;
  line-height: 1.6;
}

.contact-link {
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--gold-light);
}

.contact-secondary {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.88rem !important;
}

.map-embed {
  margin-top: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* FORM */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(8px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3px;
}

.form-label span {
  color: var(--gold);
}

.form-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  transition: all var(--transition);
  outline: none;
  resize: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
  border-color: var(--teal-light);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(74, 157, 176, 0.2);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: rgba(220, 80, 80, 0.7);
}

.form-textarea {
  min-height: 130px;
}

.form-note {
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: -8px;
}

.form-note-link {
  color: var(--gold-light);
  font-weight: 700;
}

.form-success {
  text-align: center;
  padding: 40px 24px;
  color: var(--white);
}

.success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}

.success-icon svg {
  width: 28px;
  height: 28px;
}

.form-success h4 {
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.form-success p {
  color: rgba(255, 255, 255, 0.75);
}

.form-success a {
  color: var(--gold-light);
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid rgba(240, 180, 41, 0.4);
  flex-shrink: 0;
}

.footer-org-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-tagline-foot {
  font-size: 0.88rem;
  color: var(--gold-light);
  font-style: italic;
  margin-bottom: 6px;
}

.footer-reg {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'Nunito', sans-serif;
}

.footer-nav-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contact-info p,
.footer-contact-info address {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
  line-height: 1.7;
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-contact-info a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-tagline {
  color: rgba(240, 180, 41, 0.6) !important;
  font-style: italic;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(240, 180, 41, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — LAPTOP COMPACT HEADER
   ============================================================ */
@media (max-width: 1150px) {
  .header-inner {
    gap: 8px;
  }
  .nav-link {
    font-size: 0.82rem;
    padding: 6px 7px;
  }
  .logo-name {
    font-size: 0.9rem;
  }
  .logo-tagline {
    font-size: 0.64rem;
  }
  .header-logo {
    width: 42px;
    height: 42px;
  }
  .header-call {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
  .lang-btn {
    padding: 4px 8px;
    font-size: 0.74rem;
  }
}

/* ============================================================
   RESPONSIVE — TABLET & MOBILE
   ============================================================ */
@media (max-width: 980px) {
  :root {
    --section-pad: 64px;
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .header-call {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(26, 26, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 20px 32px;
    border-bottom: 1px solid rgba(240, 180, 41, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 0;
    z-index: 999;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
    display: block !important;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 13px 18px;
    width: 100%;
    border-radius: var(--radius-sm);
    justify-content: flex-start !important;
    min-height: 44px;
  }

  .niraamayam-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .why-choose-us {
    padding: 40px 28px;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 76px;
    padding-bottom: 36px;
    background: linear-gradient(180deg, #1A1A0A 0%, #242410 40%, #1A1A0A 100%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16 / 9;
    margin: 8px auto 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    overflow: hidden;
    z-index: 1;
    border-bottom: 2px solid rgba(240, 180, 41, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  }

  .hero-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      rgba(26, 26, 10, 0.05) 0%,
      rgba(26, 26, 10, 0.2) 60%,
      rgba(26, 26, 10, 0.75) 100%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 24px;
    padding-bottom: 24px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    line-height: 1.2;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --section-pad: 48px;
  }

  .site-header .container,
  .header-inner {
    padding-left: 14px !important;
    padding-right: 14px !important;
    gap: 10px;
  }

  .logo-link {
    gap: 8px;
  }

  .header-logo {
    width: 40px;
    height: 40px;
  }

  .logo-name {
    font-size: 0.88rem;
  }

  .logo-tagline {
    font-size: 0.62rem;
  }

  .lang-switch {
    padding: 2px 4px;
    margin-left: 0;
  }

  .lang-btn {
    font-size: 0.72rem;
    padding: 4px 7px;
  }

  .header-call {
    display: inline-flex;
    padding: 8px 12px;
    font-size: 0.78rem;
    gap: 6px;
    white-space: nowrap;
    border-radius: 999px;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 66px;
    padding-bottom: 28px;
    background: linear-gradient(180deg, #1A1A0A 0%, #242410 40%, #1A1A0A 100%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    z-index: 1;
    border-bottom: 1.5px solid rgba(240, 180, 41, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  }

  .hero-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      rgba(26, 26, 10, 0.05) 0%,
      rgba(26, 26, 10, 0.2) 60%,
      rgba(26, 26, 10, 0.8) 100%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    padding-bottom: 16px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-badge {
    margin-bottom: clamp(10px, 2vh, 18px);
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 6.2vw, 2.35rem);
    line-height: 1.2;
    margin-bottom: clamp(10px, 2vh, 16px);
  }

  .hero-sub {
    font-size: clamp(0.92rem, 3.2vw, 1.05rem);
    line-height: 1.45;
    margin-bottom: 6px;
  }

  .hero-tagline-sub {
    font-size: clamp(0.82rem, 2.8vw, 0.9rem);
    margin-bottom: clamp(16px, 3vh, 26px);
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 10px;
    margin-bottom: clamp(16px, 3vh, 26px);
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
  }

  .hero-trust-strip {
    gap: 8px 14px;
    justify-content: center;
  }

  .hero-trust-strip .trust-item {
    font-size: 0.76rem;
  }

  .page-hero {
    padding: 105px 16px 44px;
  }

  .page-hero-title {
    font-size: clamp(1.85rem, 6vw, 2.6rem);
  }

  .section-title {
    font-size: clamp(1.75rem, 5.5vw, 2.2rem);
  }

  .about-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .involve-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .activities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .facilities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

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

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

  .trust-explainer {
    flex-direction: column;
    gap: 16px;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form-wrap {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

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

  .form-input {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 13px 14px;
  }

  .why-choose-us {
    border-radius: var(--radius-lg);
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 40px;
  }

  .container {
    padding: 0 16px;
  }

  .site-header .container,
  .header-inner {
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 6px;
  }

  .header-logo {
    width: 36px;
    height: 36px;
  }

  .logo-name {
    font-size: 0.8rem;
    max-width: 140px;
    white-space: normal;
    line-height: 1.15;
  }

  .logo-tagline {
    display: none;
  }

  .header-call {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .header-call span {
    display: none; /* Icon-only button on compact mobile */
  }

  .header-call svg {
    width: 18px;
    height: 18px;
    margin: 0;
  }

  .lang-btn {
    font-size: 0.68rem;
    padding: 3px 5px;
  }

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

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }

  html[lang="ml"] .btn {
    white-space: normal;
    text-align: center;
  }
}

/* Focus Styles for Accessibility */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 140px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .section-label {
  color: var(--gold);
  background: rgba(240, 180, 41, 0.15);
  border-color: rgba(240, 180, 41, 0.3);
}

.page-hero-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.page-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================================================
   QUICK LINKS SECTION (Home page)
   ============================================================ */
.quick-links-section {
  background: var(--cream-light);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.quick-link-card {
  background: var(--white);
  border: 1px solid rgba(240, 180, 41, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.quick-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px 4px 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.quick-link-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: rgba(240, 180, 41, 0.3);
}

.quick-link-card:hover::before {
  opacity: 1;
}

.quick-link-card--featured {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  border-color: rgba(240, 180, 41, 0.3);
  color: var(--white);
}

.quick-link-card--featured h3 {
  color: var(--gold-light);
}

.quick-link-card--featured p {
  color: rgba(255, 255, 255, 0.8);
}

.quick-link-card--featured .quick-link-icon {
  background: rgba(240, 180, 41, 0.2);
  color: var(--gold-light);
}

.quick-link-icon {
  width: 56px;
  height: 56px;
  background: rgba(240, 180, 41, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: all var(--transition);
}

.quick-link-card:hover .quick-link-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
}

.quick-link-card--featured:hover .quick-link-icon {
  background: var(--gold);
  color: var(--navy-dark);
}

.quick-link-icon svg {
  width: 26px;
  height: 26px;
}

.quick-link-card h3 {
  font-size: 1.2rem;
  color: var(--navy-dark);
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.quick-link-card p {
  color: var(--gray-600);
  font-size: 0.93rem;
  line-height: 1.7;
  flex: 1;
  margin: 0;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.quick-link-arrow {
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 800;
  transition: transform var(--transition);
  align-self: flex-end;
  margin-top: auto;
}

.quick-link-card:hover .quick-link-arrow {
  transform: translateX(6px);
}

/* Fix highlight color for yellow scheme */
.highlight {
  color: var(--teal);
}

/* ============================================================
   FLAGSHIP CAMPAIGN: ഭക്ഷണദാനം മഹാദാനം (Food Donation Drive)
   ============================================================ */
.flagship-campaign {
  background: linear-gradient(145deg, #FFFCF7 0%, #FFF4E5 50%, #FFF9F0 100%);
  border-top: 1px solid rgba(232, 160, 32, 0.2);
  border-bottom: 1px solid rgba(232, 160, 32, 0.2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.flagship-campaign::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.campaign-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.campaign-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FFE8D6;
  color: #C25515;
  border: 1px solid rgba(194, 85, 21, 0.3);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.campaign-title-ml {
  font-family: 'Manjari', 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #2D2D1A;
  line-height: 1.25;
  margin-bottom: 12px;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.campaign-title-ml .highlight-terracotta {
  color: #D96B27;
  display: block;
}

.campaign-motto-box {
  background: #2D2D1A;
  color: #FFFDE7;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--gold);
  margin: 24px 0 32px;
  box-shadow: 0 8px 24px rgba(45, 45, 26, 0.12);
}

.campaign-motto-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.campaign-motto-text {
  font-family: 'Manjari', 'Nunito', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.4;
}

.campaign-items-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #2D2D1A;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.campaign-items-title span {
  color: #D96B27;
}

.food-provisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.food-item-card {
  background: #FFFFFF;
  padding: 20px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(240, 180, 41, 0.35);
  box-shadow: 0 4px 16px rgba(45, 45, 26, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.food-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(45, 45, 26, 0.12);
  border-color: var(--gold);
}

.food-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFF4E5;
  color: #D96B27;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.food-item-title-ml {
  font-family: 'Manjari', 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2D2D1A;
  margin-bottom: 4px;
  line-height: 1.3;
}

.food-item-title-en {
  font-size: 0.85rem;
  color: #7A7A5A;
  font-weight: 600;
}

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

.campaign-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 45, 26, 0.1);
  font-size: 0.95rem;
  color: #2D2D1A;
}

.campaign-contact-card a {
  font-weight: 800;
  color: #C25515;
}

.campaign-poster-wrap {
  position: relative;
  text-align: center;
}

.campaign-poster-img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(45, 45, 26, 0.2);
  border: 4px solid #FFFFFF;
  transition: transform var(--transition);
}

.campaign-poster-img:hover {
  transform: scale(1.02);
}

.campaign-poster-caption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #6B6B50;
  font-weight: 600;
}

/* ============================================================
   OUR COMMITMENT TO SOCIETY SECTION (Poster 3 & 2)
   ============================================================ */
.commitment-section {
  padding: 90px 0;
  background: #FFFDE7;
  position: relative;
}

.commitment-card {
  background: linear-gradient(135deg, #2D2D1A 0%, #3D3D22 100%);
  color: #FFFDE7;
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  box-shadow: 0 24px 64px rgba(45, 45, 26, 0.2);
  border: 2px solid rgba(240, 180, 41, 0.3);
  position: relative;
  overflow: hidden;
}

.commitment-card::after {
  content: '"';
  position: absolute;
  right: 40px;
  bottom: -40px;
  font-size: 18rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(240, 180, 41, 0.08);
  pointer-events: none;
}

.commitment-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.commitment-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  margin-bottom: 16px;
}

.commitment-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: #FFFFFF;
  margin-bottom: 24px;
  line-height: 1.3;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.commitment-quote {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #E6E6D0;
  margin-bottom: 28px;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.commitment-reg-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(240, 180, 41, 0.25);
  font-size: 0.92rem;
  color: #C8C8A8;
}

.commitment-reg-item strong {
  color: var(--gold);
}

.commitment-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.commitment-photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(240, 180, 41, 0.3);
  background: #1A1A0A;
  transition: transform var(--transition);
}

.commitment-photo-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.commitment-photo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.commitment-photo-card--single {
  grid-column: span 2;
}

.commitment-photo-card--single img {
  height: 320px;
  object-fit: contain;
  background: #FFF8DC;
}

.commitment-photo-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: #D8D8B8;
  text-align: center;
  background: rgba(26, 26, 10, 0.8);
}

/* ============================================================
   OFFICIAL BANNER SECTION
   ============================================================ */
.official-banner-wrap {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(240, 180, 41, 0.35);
}

.official-banner-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .campaign-inner,
  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .campaign-visual-showcase,
  .campaign-poster-wrap {
    order: -1;
  }
  
  .commitment-card {
    padding: 40px 24px;
  }
}

@media (max-width: 600px) {
  .emotional-sub-visuals {
    grid-template-columns: 1fr;
  }

  .emotional-main-photo {
    height: 240px;
  }

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

/* ============================================================
   NIRAAMAYAM ENHANCED SHOWCASE (Poster & Building)
   ============================================================ */
.niraamayam-dual-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.niraamayam-media-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(45, 45, 26, 0.18);
  border: 3px solid rgba(240, 180, 41, 0.35);
  background: #FFFFFF;
  transition: transform var(--transition);
}

.niraamayam-media-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.niraamayam-media-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.niraamayam-media-card--poster img {
  object-fit: contain;
  background: #FFFDF8;
}

.niraamayam-media-caption {
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  color: #2D2D1A;
  background: #FFF8DC;
  border-top: 1px solid rgba(240, 180, 41, 0.25);
}

/* ============================================================
   NIRAAMAYAM LIVING SPACES GALLERY
   ============================================================ */
.niraamayam-gallery-section {
  margin: 56px 0 48px;
}

.niraamayam-gallery-header {
  text-align: center;
  margin-bottom: 36px;
}

.niraamayam-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.niraamayam-gallery-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(240, 180, 41, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.niraamayam-gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.gallery-card-img-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.gallery-card-img-wrap.contain-mode img {
  object-fit: contain;
  background: #FFFDF8;
}

.niraamayam-gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.08);
}

.gallery-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #F0B429;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid rgba(240, 180, 41, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.gallery-card-info {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-card-info h4 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 800;
  line-height: 1.35;
}

.gallery-card-info p {
  color: #D8D8B8;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.niraamayam-opening-banner {
  background: linear-gradient(135deg, #1B3820 0%, #2D5030 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin: 32px 0 20px;
  border-left: 6px solid #F0B429;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 30px rgba(27, 56, 32, 0.25);
}

.opening-banner-text h4 {
  font-family: 'Manjari', sans-serif;
  color: #FFD84D;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.opening-banner-text p {
  color: #E2F0D9;
  font-size: 0.95rem;
  margin: 0;
}

.opening-banner-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.opening-banner-cta .btn {
  white-space: nowrap;
}

/* ============================================================
   SERVICES SHOWCASE & PATIENT CARE BROCHURE
   ============================================================ */
.service-brochure-section {
  background: linear-gradient(145deg, #FFFCF7 0%, #FFF8EE 100%);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  margin-bottom: 56px;
  border: 2px solid rgba(240, 180, 41, 0.35);
  box-shadow: 0 16px 48px rgba(45, 45, 26, 0.08);
}

.service-brochure-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.service-pillars-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 28px;
}

.service-pillar-badge {
  background: #FFFFFF;
  border: 1.5px solid rgba(240, 180, 41, 0.4);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
  color: #2D2D1A;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(45, 45, 26, 0.04);
}

.btn-call-primary {
  background: linear-gradient(135deg, #1B3820 0%, #2A5A32 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(27, 56, 32, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-call-primary:hover,
.btn-call-primary:focus-visible {
  background: linear-gradient(135deg, #2A5A32 0%, #1B3820 100%);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(27, 56, 32, 0.45);
}

.btn-outline-dark {
  background: #FFFFFF;
  color: #2D2D1A !important;
  border: 2px solid #2D2D1A;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(45, 45, 26, 0.06);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background: #2D2D1A;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 45, 26, 0.2);
}

/* ============================================================
   ABOUT TRUST POSTER DISPLAY
   ============================================================ */
.about-trust-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.about-trust-poster-card {
  text-align: center;
}

.about-trust-poster-card img {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(45, 45, 26, 0.16);
  border: 4px solid #FFFFFF;
  margin: 0 auto;
  transition: transform var(--transition);
}

.about-trust-poster-card img:hover {
  transform: scale(1.02);
}

@media (max-width: 960px) {
  .niraamayam-dual-media,
  .service-brochure-grid,
  .about-trust-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .service-brochure-section {
    padding: 36px 24px;
  }
}

@media (max-width: 540px) {
  .service-pillars-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   NATIVE UI CARDS (REPLACING POSTER IMAGES)
   ============================================================ */

/* 1. Campaign Native Summary Card */
/* ============================================================
   EMOTIONAL VISUAL SHOWCASE (FOOD DONATION DRIVE)
   ============================================================ */

/* 1. Emotional Impact Tiers (₹50 / ₹500 / ₹1500) */
.emotional-impact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.impact-tier-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(217, 107, 39, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(217, 107, 39, 0.08);
  transition: transform var(--transition), border-color var(--transition);
}

.impact-tier-card:hover {
  transform: translateY(-3px);
  border-color: #D96B27;
  box-shadow: 0 8px 22px rgba(217, 107, 39, 0.16);
}

.impact-tier-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.impact-tier-content {
  display: flex;
  flex-direction: column;
}

.impact-tier-content strong {
  font-size: 1.15rem;
  color: #D96B27;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

.impact-tier-content span {
  font-size: 0.8rem;
  color: #555535;
  line-height: 1.35;
  font-weight: 500;
}

/* 2. Visual Showcase Container */
.campaign-visual-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.emotional-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(45, 45, 26, 0.16);
  border: 3px solid #FFFFFF;
  background: #1A1A0A;
}

.emotional-main-photo {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.6s ease;
}

.emotional-photo-frame:hover .emotional-main-photo {
  transform: scale(1.03);
}

.emotional-photo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(26, 26, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 180, 41, 0.4);
  border-radius: 50px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: 0.8rem;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.emotional-photo-badge strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.82rem;
  line-height: 1.2;
}

.emotional-photo-badge span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  line-height: 1.1;
}

.heart-pulse {
  display: inline-block;
  font-size: 1.1rem;
  animation: heartBeat 1.8s infinite ease-in-out;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.25); }
  28% { transform: scale(1); }
  42% { transform: scale(1.25); }
  70% { transform: scale(1); }
}

.emotional-quote-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 20px 16px;
  background: linear-gradient(to top, rgba(26, 26, 10, 0.95) 0%, rgba(26, 26, 10, 0.6) 65%, transparent 100%);
  color: #FFFDE7;
  z-index: 2;
}

.emotional-quote-overlay p {
  margin: 0;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.5;
  color: #FFFDE7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* Secondary Visuals: Volunteer packing + Official poster */
.emotional-sub-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sub-visual-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid #FFFFFF;
  background: #FFFFFF;
  box-shadow: 0 6px 20px rgba(45, 45, 26, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.sub-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(45, 45, 26, 0.15);
}

.sub-visual-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.5s ease;
}

.sub-visual-card:hover img {
  transform: scale(1.04);
}

.sub-visual-caption {
  padding: 8px 10px;
  background: #FFFDF8;
  border-top: 1px solid rgba(240, 180, 41, 0.2);
  text-align: center;
}

.sub-visual-caption span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2D2D1A;
}

.emotional-card-trust {
  background: #FFFFFF;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(240, 180, 41, 0.3);
  text-align: center;
  font-size: 0.85rem;
  color: #6B6B50;
  box-shadow: 0 2px 10px rgba(45, 45, 26, 0.05);
}

.emotional-card-trust .team-badge {
  font-weight: 800;
  color: #2D2D1A;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.emotional-card-trust strong {
  color: #D96B27;
}

/* 2. Commitment Impact Stats Grid */
.commitment-impact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.impact-stat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(240, 180, 41, 0.25);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: background var(--transition);
}

.impact-stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
}

.impact-num {
  font-family: 'Nunito', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 8px;
}

.impact-label {
  font-size: 0.88rem;
  color: #D8D8B8;
  line-height: 1.6;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* 3. Service Checklist Card */
.service-checklist-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 16px 48px rgba(45, 45, 26, 0.1);
  border: 2px solid rgba(240, 180, 41, 0.35);
}

.service-checklist-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2D2D1A;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #FFF4E5;
}

.service-check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check-bullet {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #EBF3FF;
  color: #1A56DB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-bullet svg {
  width: 14px;
  height: 14px;
}

.service-check-item h4 {
  font-size: 1rem;
  color: #2D2D1A;
  margin-bottom: 2px;
}

.service-check-item p {
  font-size: 0.88rem;
  color: #6B6B50;
  margin: 0;
}

/* 4. Contact Trust Header */
.contact-trust-header {
  background: linear-gradient(135deg, #2D2D1A 0%, #3D3D22 100%);
  color: #FFFFFF;
  padding: 24px 32px;
  border-radius: var(--radius-md);
  border-left: 6px solid var(--gold);
  margin-bottom: 36px;
  box-shadow: 0 8px 24px rgba(45, 45, 26, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trust-badge-pill {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(240, 180, 41, 0.2);
  color: var(--gold);
  border: 1px solid rgba(240, 180, 41, 0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.trust-header-title {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.trust-header-meta {
  color: #D8D8B8;
  font-size: 0.95rem;
  margin: 0;
}

.trust-header-meta a {
  color: var(--gold);
  font-weight: 700;
}

/* ============================================================
   NIRAAMAYAM LIVING CARE SPOTLIGHT (Homepage)
   ============================================================ */
.niraamayam-spotlight {
  background: linear-gradient(180deg, #FFFDF8 0%, #FFF8EE 100%);
  border-top: 1px solid rgba(240, 180, 41, 0.2);
  border-bottom: 1px solid rgba(240, 180, 41, 0.2);
}

.spotlight-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.spotlight-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid rgba(240, 180, 41, 0.35);
  box-shadow: 0 10px 30px rgba(45, 45, 26, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 48px rgba(45, 45, 26, 0.16);
}

.spotlight-card-img {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #1A1A0A;
  flex-shrink: 0;
}

.spotlight-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card:hover .spotlight-card-img img {
  transform: scale(1.08);
}

.spotlight-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(26, 26, 10, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(240, 180, 41, 0.4);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.spotlight-card-body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.spotlight-card-body h3 {
  font-size: 1.2rem;
  color: #2D2D1A;
  margin-bottom: 10px;
  font-weight: 800;
  line-height: 1.35;
}

.spotlight-card-body p {
  color: #555535;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* ============================================================
   FINAL RESPONSIVE OVERRIDES (CARDS, VISUALS & CONTAINERS)
   ============================================================ */
@media (max-width: 980px) {
  .campaign-inner,
  .commitment-grid,
  .service-brochure-grid,
  .about-trust-layout,
  .niraamayam-dual-media {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .campaign-visual-showcase,
  .campaign-poster-wrap {
    order: -1;
  }

  /* Balanced Tablet Grids */
  .spotlight-media-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .niraamayam-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .why-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .emotional-impact-strip {
    grid-template-columns: 1fr;
  }

  .emotional-sub-visuals {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .emotional-main-photo {
    height: 230px;
  }

  .service-checklist-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .contact-trust-header {
    padding: 20px 18px;
    border-radius: var(--radius-md);
  }

  .commitment-card {
    padding: 32px 18px;
  }

  /* Mobile Single-Column Grids */
  .spotlight-media-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .spotlight-card-img {
    height: 210px;
  }

  .niraamayam-gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-card-img-wrap {
    height: 210px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .activities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .about-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .commitment-impact-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .impact-stat-card {
    padding: 18px 16px;
  }

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

  .niraamayam-media-card img {
    height: 280px;
  }
}

/* ============================================================
   LAUNCH PARTNER (COMPACT BANNER)
   ============================================================ */
.ambassador-section {
  padding: 28px 0 22px;
  background: #FCFAF5;
  position: relative;
}

.ambassador-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(45, 45, 26, 0.05);
  border: 1px solid rgba(240, 180, 41, 0.28);
  padding: 18px 24px;
  position: relative;
  overflow: hidden;
}

.ambassador-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--terracotta));
}

.ambassador-compact-wrap {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* Profile Column */
.ambassador-compact-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 240px;
}

.ambassador-photo-frame {
  position: relative;
  width: 76px;
  height: 76px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(45, 45, 26, 0.12), 0 0 0 2px #ffffff, 0 0 0 4px var(--gold);
  background: #1A1A0A;
  flex-shrink: 0;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transition: transform 0.25s ease;
}

.ambassador-photo-frame:hover {
  transform: scale(1.05);
}

.ambassador-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.ambassador-compact-meta {
  display: flex;
  flex-direction: column;
}

.ambassador-badge-tag {
  background: #FFF8E7;
  color: #8C6200;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 4px;
  border: 1px solid rgba(240, 180, 41, 0.4);
}

.ambassador-name {
  font-size: 1.15rem;
  color: var(--navy-dark);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 2px;
}

.ambassador-role {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.35;
  margin: 0;
  font-weight: 500;
}

/* Divider */
.ambassador-compact-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(45, 45, 26, 0.12) 15%, rgba(45, 45, 26, 0.12) 85%, transparent);
  flex-shrink: 0;
}

/* Content Column */
.ambassador-compact-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ambassador-quote-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--navy);
  font-style: italic;
  font-weight: 500;
  margin: 0;
}

.ambassador-compact-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px dashed rgba(45, 45, 26, 0.12);
}

.ambassador-inaug-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 600;
}

.inaug-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #278838;
  display: inline-block;
  flex-shrink: 0;
}

.btn-poster-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #FAF8F0;
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid var(--gold);
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-poster-trigger:hover {
  background: var(--gold);
  color: #1A1A0A;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-poster-trigger svg {
  color: currentColor;
}

/* ============================================================
   LIGHTBOX MODAL FOR LAUNCH POSTER
   ============================================================ */
.poster-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.poster-modal.active {
  opacity: 1;
  visibility: visible;
  display: flex !important;
}

.poster-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 10, 0.82);
  backdrop-filter: blur(6px);
  z-index: 1;
}

.poster-modal-dialog {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 580px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    transform: scale(0.92) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.poster-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  background: #FAFAF0;
}

.poster-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0;
}

.poster-modal-close {
  background: transparent;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.poster-modal-close:hover {
  background: rgba(45, 45, 26, 0.1);
  color: var(--navy-dark);
}

.poster-modal-body {
  padding: 16px;
  overflow-y: auto;
  text-align: center;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-modal-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.poster-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--gray-200);
  background: #FAFAF0;
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .ambassador-compact-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .ambassador-compact-divider {
    display: none;
  }

  .ambassador-compact-profile {
    width: 100%;
  }

  .ambassador-card {
    padding: 16px;
  }

  .ambassador-photo-frame {
    width: 64px;
    height: 64px;
  }

  .ambassador-name {
    font-size: 1.05rem;
  }

  .ambassador-quote-text {
    font-size: 0.88rem;
  }

  .ambassador-compact-sub {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .btn-poster-trigger {
    width: 100%;
    justify-content: center;
  }
}

/* Strict Prevention of Mobile Horizontal Scroll */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}