/* ==========================================================================
   Deepam Trust — Header & Footer Custom Design
   Built on brand palette. This file only styles the topbar, header/nav
   (desktop + mobile) and footer. Load AFTER style.css so it overrides.
   ========================================================================== */

:root {
  --text-primary: #111111;
  --text-secondary: #333333;
  --text-muted: #666666;
  --white: #FFFFFF;
  --black: #111111;
  --primary: #C11923;
  --primary-dark: #8F1018;
  --primary-light: #F9E6E7;
  --secondary: #6F151B;
  --secondary-light: #FBEDEE;
  --background: #FFFFFF;
  --background-soft: #FAF8F5;
  --background-light: #FFF7F7;
  --border: rgba(193, 25, 35, 0.14);
  --border-light: #EDE1E2;
  --accent: #C11923;
  --accent-light: #F9E6E7;
  --radius: 24px;
  --shadow-sm: 0 6px 20px rgba(193, 25, 35, 0.06);
  --shadow-md: 0 14px 40px rgba(193, 25, 35, 0.10);
  --shadow-lg: 0 24px 70px rgba(193, 25, 35, 0.14);
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   0. SHARED / RESET (scoped to header + footer elements only)
   ========================================================================== */
.topbar,
.topbar *,
#site-header,
#site-header *,
.mobile-nav,
.mobile-nav *,
footer,
footer * {
  box-sizing: border-box;
  font-family: var(--font-body);
}

.site-fixed {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

/* ==========================================================================
   1. TOP CONTACT BAR
   ========================================================================== */
.topbar {
  background: linear-gradient(100deg, var(--secondary) 0%, var(--primary-dark) 55%, var(--primary) 130%);
  color: var(--white);
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  text-decoration: none;
  opacity: 0.92;
  font-weight: 500;
  letter-spacing: 0.1px;
  transition: opacity .2s ease;
  white-space: nowrap;
}

.topbar-contacts a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar-contacts a svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--white);
  flex-shrink: 0;
}

/* subtle divider dots between contact items */
.topbar-contacts a:not(:last-child) {
  position: relative;
  padding-right: 22px;
}

.topbar-contacts a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.topbar-social a {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition: background .2s ease, transform .2s ease;
}

.topbar-social a:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.topbar-social a svg {
  width: 13px;
  height: 13px;
  stroke: var(--white);
  fill: none;
  transition: stroke .2s ease;
}

.topbar-social a:hover svg {
  stroke: var(--primary);
}

/* ==========================================================================
   2. MAIN HEADER / NAV
   ========================================================================== */
#site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand / logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
  object-fit: contain;
  padding: 4px;
  transition: transform .25s ease, border-color .25s ease;
}

.brand:hover img {
  transform: scale(1.05) rotate(-3deg);
  border-color: var(--primary);
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.15;
  color: var(--primary-dark);
  display: flex;
  flex-direction: column;
  letter-spacing: -0.2px;
}

.brand-name span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* Primary nav links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width .25s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Header actions: donate button + mobile toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  font-family: var(--font-body);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.header-actions .btn {
  padding: 10px 22px;
}

/* Mobile menu toggle (hamburger) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-dark);
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   3. MOBILE NAV DRAWER
   ========================================================================== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1100;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  max-width: 82vw;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 70px 26px 30px;
  transition: right .3s ease;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-nav .btn {
  margin-top: 14px;
  width: 100%;
}

.mobile-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width:900px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .topbar-contacts a:nth-child(2) {
    display: none;
  }
}

@media (max-width:600px) {
  .topbar-contacts a span {
    display: none;
  }

  .brand-name span {
    display: none;
  }
}

/*--Home Css Start--*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700;900&family=Manrope:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333333;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(32px, 5.6vw, 48px);
  font-weight: 900;
  line-height: 1.08;
}

h2 {
  font-size: clamp(27px, 4.2vw, 36px);
  font-weight: 700;
  line-height: 1.16;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 22px;
  font-weight: 500;
}

h5,
h6 {
  font-size: 20px;
  font-weight: 500;
}

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

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.light {
  color: #FFFFFF !important;
}

/* Shared eyebrow label used by redesigned sections */
.eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C11923;
  margin-bottom: 14px;
}

/* ---------- Image placeholders (dummy paths) ---------- */
img {
  display: block;
  max-width: 100%;
  background: #F9E6E7;
  border: 1px dashed rgba(193, 25, 35, 0.3);
  color: #8F1018;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 999px;
  transition: transform .3s ease, box-shadow .3s ease;
  white-space: nowrap;
  isolation: isolate;
}

.btn span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, #C11923, #8F1018);
  color: #FFFFFF;
  box-shadow: 0 14px 40px rgba(193, 25, 35, 0.10);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #8F1018, #6F151B);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 0;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(193, 25, 35, 0.14);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform .3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-ghost {
  background: #FFFFFF;
  color: #6F151B;
  border: 1.5px solid rgba(193, 25, 35, 0.14);
}

.btn-ghost:hover {
  border-color: #C11923;
  background: #F9E6E7;
  transform: translateY(-3px);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid #EDE1E2;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #111111;
}

.brand-reg {
  font-size: 11px;
  color: #666666;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #C11923;
  transition: width .25s ease;
}

.nav-links a:hover {
  color: #C11923;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  position: relative;
  overflow: hidden;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  background: #C11923;
  color: #FFFFFF;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(193, 25, 35, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(193, 25, 35, 0.10);
}

/* ---------- Ambient blobs + grain ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.blob-a {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -100px;
  background: radial-gradient(circle, rgba(193, 25, 35, 0.20), transparent 70%);
  animation: floatBlob 12s ease-in-out infinite;
}

.blob-b {
  width: 300px;
  height: 300px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(111, 21, 27, 0.16), transparent 70%);
  animation: floatBlob 15s ease-in-out infinite reverse;
}

.blob-c {
  width: 360px;
  height: 360px;
  top: -100px;
  left: 50%;
  background: radial-gradient(circle, rgba(193, 25, 35, 0.10), transparent 70%);
  animation: floatBlob 14s ease-in-out infinite;
}

.blob-d {
  width: 480px;
  height: 480px;
  bottom: -200px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 211, 122, 0.16), transparent 70%);
  animation: floatBlob 16s ease-in-out infinite;
}

.blob-e {
  width: 260px;
  height: 260px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 211, 122, 0.3), transparent 70%);
  animation: floatBlob 10s ease-in-out infinite;
}

.blob-m {
  width: 340px;
  height: 340px;
  top: -110px;
  left: -110px;
  background: radial-gradient(circle, rgba(255, 211, 122, 0.20), transparent 70%);
  animation: floatBlob 13s ease-in-out infinite;
}

@keyframes floatBlob {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-24px, 20px) scale(1.08);
  }
}

.grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(193, 25, 35, 0.14) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 75% 15%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 65% 60% at 75% 15%, #000 0%, transparent 70%);
}

.impact .grain {
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 25% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 70% at 25% 30%, #000 0%, transparent 70%);
  opacity: 0.16;
  background-image: radial-gradient(circle, #FFFFFF 1.4px, transparent 1.4px);
}

.reveal {
  animation: revealUp .85s cubic-bezier(.2, .7, .3, 1) both;
  animation-delay: var(--d, 0s);
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 0;
  background: linear-gradient(180deg, #FFF7F7, #FFFFFF 75%);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 70px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 4px 0 22px;
}

.grad-text {
  background: linear-gradient(100deg, #C11923, #8F1018 60%, #6F151B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 18px;
  max-width: 480px;
  margin-bottom: 34px;
}

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

.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.bento-cell {
  border-radius: 22px;
  padding: 22px;
  transition: transform .35s ease, box-shadow .35s ease;
}

.bento-logo {
  grid-column: 1 / 3;
  background: linear-gradient(135deg, #FFF7F7, #F9E6E7);
  border: 1px solid #EDE1E2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  min-height: 150px;
}

.bento-logo img {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  object-fit: cover;
}

.bento-stat {
  background: #FFFFFF;
  border: 1px solid #EDE1E2;
  box-shadow: 0 6px 20px rgba(193, 25, 35, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-stat.alt {
  background: linear-gradient(135deg, #C11923, #8F1018);
  border: none;
}

.bento-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: #111111;
}

.bento-stat.alt .bento-num {
  color: #FFFFFF;
}

.bento-num em {
  font-style: normal;
  color: #C11923;
}

.bento-stat.alt .bento-num em {
  color: #FFD37A;
}

.bento-label {
  font-family: 'Manrope', sans-serif;
  font-size: 12.5px;
  color: #666666;
  letter-spacing: 0.02em;
}

.bento-stat.alt .bento-label {
  color: #F9E6E7;
}

.bento-cell:hover {
  transform: translateY(-4px);
}

/* ---------- Marquee ---------- */
.marquee {
  background: #111111;
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marqueeScroll 26s linear infinite;
}

.marquee-track span {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #FBEDEE;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track .dot {
  color: #C11923;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Mission (redesigned: journey pillars) ---------- */
.mission {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  background: linear-gradient(180deg, #FFFFFF, #FFF7F7 55%, #FFFFFF);
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.mission-lead h2 {
  margin-bottom: 20px;
}

.mission-statement {
  font-size: 18px;
  color: #444444;
  max-width: 440px;
}

.mission-pillars {
  position: relative;
  display: flex;
  flex-direction: column;
}

.mission-pillars::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, #C11923, #FFD37A);
}

.pillar {
  position: relative;
  padding: 0 0 44px 66px;
}

.pillar:last-child {
  padding-bottom: 0;
}

.pillar-mark {
  position: absolute;
  left: 0;
  top: -4px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #C11923;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #C11923;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}

.pillar:hover .pillar-mark {
  background: #C11923;
  color: #FFFFFF;
  transform: scale(1.1);
}

.pillar h4 {
  font-size: 20px;
  margin-bottom: 6px;
}

.pillar p {
  color: #666666;
  font-size: 15.5px;
  max-width: 380px;
}

/* ---------- Founder Trustee (redesigned: portrait + pull-quote) ---------- */
.founder {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  background: #FAF8F5;
}

.founder-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: center;
}

.founder-portrait {
  position: relative;
  max-width: 360px;
}

.portrait-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: 7px;
  background: linear-gradient(160deg, #C11923, #6F151B);
  box-shadow: 0 30px 80px rgba(193, 25, 35, 0.18);
  transition: transform .35s ease, box-shadow .35s ease;
}

.portrait-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 90px rgba(193, 25, 35, 0.22);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  border: none;
}

.portrait-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border: 1px solid #EDE1E2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.badge-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: #C11923;
  line-height: 1;
}

.badge-num em {
  font-style: normal;
  color: #FFD37A;
}

.badge-label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  color: #666666;
  line-height: 1.3;
}

.founder-content h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.founder-content .cred {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #666666;
}

.founder-quote {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.5;
  color: #111111;
  border-left: 4px solid #C11923;
  padding-left: 24px;
  margin-bottom: 28px;
}

.founder-bio p {
  font-size: 16px;
  color: #444444;
  margin-bottom: 14px;
}

.founder-bio p:last-child {
  margin-bottom: 0;
}

/* ---------- Initiatives (bento) ---------- */
.initiatives {
  padding: 60px 0;
  background: #FFFFFF;
}

.init-head {
  margin-bottom: 46px;
}

.bento-init {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.init-card {
  border-radius: 24px;
  padding: 32px;
  background: #FFF7F7;
  border: 1px solid #EDE1E2;
  transition: transform .32s ease, box-shadow .32s ease;
}

.init-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(193, 25, 35, 0.14);
}

.init-card.feature {
  grid-row: span 2;
  background: linear-gradient(160deg, #C11923, #6F151B);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}

.init-card.feature h3 {
  color: #FFFFFF;
}

.init-card.feature p {
  color: #F9E6E7;
}

.init-card.wide {
  grid-column: span 2;
}

.init-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: #F9E6E7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform .3s ease;
}

.init-card.feature .init-icon {
  background: rgba(255, 255, 255, 0.16);
}

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

.init-card:hover .init-icon {
  transform: rotate(-8deg) scale(1.08);
}

.init-card h3 {
  margin-bottom: 10px;
}

.init-card p {
  color: #666666;
  font-size: 15.5px;
}

/* ---------- Impact ---------- */
.impact {
  position: relative;
  overflow: hidden;
  padding: 60px 0 120px;
  background: linear-gradient(135deg, #111111, #6F151B 55%, #8F1018);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  margin: -40px 0;
}

.impact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.impact h2 {
  margin-bottom: 18px;
}

.impact-lead {
  color: #FBEDEE;
  margin-bottom: 40px;
  font-size: 17px;
}

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

.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .3s ease, background .3s ease;
  animation: revealUp .8s cubic-bezier(.2, .7, .3, 1) both;
}

.stat:nth-child(1) {
  animation-delay: .05s;
}

.stat:nth-child(2) {
  animation-delay: .18s;
}

.stat:nth-child(3) {
  animation-delay: .31s;
}

.stat:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.11);
}

.stat svg {
  width: 26px;
  height: 26px;
}

.stat-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: #FFFFFF;
  line-height: 1;
}

.stat-num em {
  font-style: normal;
  color: #FFD37A;
}

.stat-label {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: #FBEDEE;
}

.impact-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #FBEDEE;
}

/* ---------- Contact ---------- */
.contact {
  padding: 60px 0 100px;
  background: #FFFFFF;
}

.contact h2 {
  margin-bottom: 50px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: stretch;
}

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

.c-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #FAF8F5;
  border: 1px solid #EDE1E2;
  border-radius: 20px;
  padding: 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.c-row:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 40px rgba(193, 25, 35, 0.10);
}

.c-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  background: #F9E6E7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-icon svg {
  width: 22px;
  height: 22px;
}

.c-row h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.c-row p {
  color: #666666;
  font-size: 15px;
}

.c-row a {
  color: #C11923;
  font-weight: 600;
}

.c-row a:hover {
  text-decoration: underline;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 44px 38px;
  background: linear-gradient(150deg, #6F151B, #C11923 65%, #8F1018);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cta-panel h3 {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  font-size: 27px;
  line-height: 1.3;
  margin-bottom: 30px;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cta-panel .btn-primary {
  background: #FFFFFF;
  color: #8F1018;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.cta-foot {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: #FBEDEE;
}

/* ---------- Scroll-driven progressive enhancement ---------- */
@supports (animation-timeline: view()) {

  .init-card,
  .c-row,
  .pillar {
    animation: fadeInView linear both;
    animation-timeline: view();
    animation-range: entry 4% cover 28%;
  }

  @keyframes fadeInView {
    from {
      opacity: 0;
      transform: translateY(26px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .hero-bento {
    max-width: 420px;
    margin: 0 auto;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .mission-statement {
    margin-left: auto;
    margin-right: auto;
  }

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

  .mission-pillars::before {
    left: 50%;
    transform: translateX(-1px);
  }

  .pillar {
    padding: 0 0 44px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pillar-mark {
    position: static;
    margin-bottom: 14px;
  }

  .pillar p {
    max-width: 320px;
  }

  .founder-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-portrait {
    margin: 0 auto;
  }

  .founder-content h2 {
    justify-content: center;
  }

  .founder-quote {
    text-align: left;
  }

  .bento-init {
    grid-template-columns: 1fr 1fr;
  }

  .init-card.feature {
    grid-row: span 1;
    min-height: 260px;
  }

  .init-card.wide {
    grid-column: span 2;
  }

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

  .impact-media img {
    min-height: 240px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .section-inner {
    padding: 0 20px;
  }

  .hero-inner {
    padding: 0 20px 50px;
    gap: 34px;
  }

  .mission,
  .founder,
  .initiatives,
  .impact,
  .contact {
    padding: 74px 0;
  }

  .impact {
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
  }

  .bento-init {
    grid-template-columns: 1fr;
  }

  .init-card.wide {
    grid-column: 1;
  }

  .founder-portrait {
    max-width: 280px;
  }

  .portrait-badge {
    bottom: -18px;
    right: 50%;
    transform: translateX(50%);
  }

  .founder-quote {
    font-size: 19px;
  }

  .nav-cta {
    display: none;
  }

  .brand-reg {
    display: none;
  }

  .cta-panel h3 {
    font-size: 22px;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #C11923;
  outline-offset: 3px;
  border-radius: 6px;
}



/*--Home Css End--*/

/* ==========================================================================
   4. FOOTER
   ========================================================================== */
footer {
  background: linear-gradient(160deg, var(--secondary) 0%, var(--primary-dark) 100%);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 64px;
  position: relative;
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 1fr;
  gap: 36px;
}

.footer-col h5 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin: 0 0 18px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  position: relative;
  padding-left: 14px;
  transition: color .2s ease, padding-left .2s ease;
}

.footer-col ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1.5px;
  background: var(--primary-light);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 18px;
}

/* Brand column */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: var(--white);
}

/* social row */
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: background .2s ease, transform .2s ease;
}

.footer-social a:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* Contact Info column icons */
.footer-col .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.footer-col .contact-list li a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-col .contact-list li a:hover {
  color: var(--white);
}

.footer-col .contact-list svg {
  width: 15px;
  height: 15px;
  stroke: var(--primary-light);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Image column */
.footer-image {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-image figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.footer-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.footer-image figcaption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  text-align: center;
}

/* Bottom bar */
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.footer-bottom span:not(:last-child)::after {
  content: "•";
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width:980px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

@media (max-width:600px) {
  .footer-top {
    grid-template-columns: 1fr;
    padding-bottom: 30px;
  }

  footer {
    padding-top: 48px;
  }
}