/* =========================
   CSS CUSTOM PROPERTIES
========================= */
:root {
  --primary: #4F7DFF;
  --secondary: #82CFFF;
  --soft-blue: #EAF5FF;
  --navy: #102A56;
  --white: #FFFFFF;
  --soft-gray: #F7F9FC;
  --text-gray: #65758B;
  --hope-green: #6BCB9A;
  --gradient-primary: linear-gradient(135deg, #4F7DFF, #82CFFF);
  --gradient-hero: linear-gradient(135deg, #3D6FEF 0%, #4F7DFF 35%, #6B9FFF 65%, #82CFFF 100%);
  --gradient-card-1: linear-gradient(135deg, #4F7DFF, #6B9FFF);
  --gradient-card-2: linear-gradient(135deg, #5B8AFF, #82CFFF);
  --gradient-card-3: linear-gradient(135deg, #3D6FEF, #82CFFF);
  --gradient-shine: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  --shadow-soft: 0 8px 32px rgba(79, 125, 255, 0.12);
  --shadow-medium: 0 12px 40px rgba(16, 42, 86, 0.1);
  --shadow-strong: 0 20px 60px rgba(16, 42, 86, 0.15);
  --shadow-glow: 0 0 60px rgba(79, 125, 255, 0.25);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-pill: 999px;
  --font-body: 'Manrope', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-handwritten: 'Caveat', cursive;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --container-max: 1320px;
  --section-pad: clamp(60px, 8vw, 100px);
  --inner-pad: clamp(20px, 4vw, 48px);
}

/* =========================
   RESET & GLOBAL STYLES
========================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--soft-blue);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.loading {
  overflow: hidden;
}

/* Animated page background */
.page-wrapper {
  min-height: 100vh;
  padding: clamp(12px, 2vw, 24px);
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(79, 125, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(130, 207, 255, 0.12) 0%, transparent 50%),
    var(--soft-blue);
}
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(135deg, #3D6FEF, #82CFFF);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  color: var(--white);
}

.loader-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  animation: loaderPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  margin: 0 auto 16px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: var(--white);
  border-radius: 3px;
  animation: loaderBar 1.8s ease-in-out forwards;
}

.loader-text {
  font-family: var(--font-handwritten);
  font-size: 1.4rem;
  opacity: 0.9;
  animation: loaderFade 1s ease 0.5s both;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes loaderBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes loaderFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 0.9; transform: translateY(0); }
}

/* =========================
   SCROLL PROGRESS
========================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: rgba(79, 125, 255, 0.1);
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(79, 125, 255, 0.5);
}

/* =========================
   SECTION SYSTEM
========================= */
.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
  width: 100%;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* =========================
   PAGE LAYOUT
========================= */
.site-container {
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  position: relative;
}

/* =========================
   TYPOGRAPHY
========================= */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-gray);
  margin-top: 8px;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-header .section-eyebrow {
  display: block;
  padding-left: 0;
}

.section-header .section-eyebrow::before {
  display: none;
}

.section-header .section-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 10px auto 0;
  border-radius: 3px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(79, 125, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(79, 125, 255, 0.5);
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-shine);
  transition: left 0.6s ease;
}

.btn-shine:hover::after {
  left: 100%;
}

.btn-shine span {
  position: relative;
  z-index: 1;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* =========================
   NAVIGATION
========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 32px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-medium);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.navbar-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.2;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-gray);
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--soft-blue);
}

.navbar-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  font-size: 0.875rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  margin: 20px var(--inner-pad) 0;
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(560px, 85vh, 720px);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 35%);
  animation: meshShift 12s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  min-height: inherit;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.hero-circle-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: 10%;
}

.hero-circle-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  background: rgba(255, 255, 255, 0.05);
}

.hero-circle-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 30%;
  background: rgba(255, 255, 255, 0.06);
}

.hero-paw {
  position: absolute;
  color: rgba(255, 255, 255, 0.15);
  font-size: 1.5rem;
}

.hero-paw-1 { top: 15%; left: 8%; animation: float 4s ease-in-out infinite; }
.hero-paw-2 { top: 60%; right: 15%; animation: float 5s ease-in-out infinite 1s; }
.hero-paw-3 { bottom: 20%; left: 25%; animation: float 3.5s ease-in-out infinite 0.5s; }

.hero-sparkle {
  position: absolute;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

.hero-sparkle-1 { top: 25%; right: 20%; animation: sparkle 2s ease-in-out infinite; }
.hero-sparkle-2 { top: 45%; left: 15%; animation: sparkle 2.5s ease-in-out infinite 0.5s; }
.hero-sparkle-3 { bottom: 35%; right: 35%; animation: sparkle 3s ease-in-out infinite 1s; }

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  padding-left: 28px;
}

.hero-eyebrow::before {
  background: rgba(255, 255, 255, 0.6);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-line {
  display: block;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.hero-highlight {
  font-family: var(--font-handwritten);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-style: italic;
  display: inline-block;
  line-height: 1;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  margin-bottom: 12px;
  opacity: 0.95;
}

.hero-description {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  opacity: 0.85;
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual.revealed {
  opacity: 1;
  transform: translateX(0);
}

.hero-image-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hero-animal {
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.hero-animal-main {
  width: 100%;
  height: clamp(340px, 42vw, 460px);
  object-position: center top;
  animation: floatAnimal 6s ease-in-out infinite;
  border: 4px solid rgba(255, 255, 255, 0.25);
}

.hero-animal-secondary {
  position: absolute;
  bottom: -20px;
  right: -30px;
  width: clamp(120px, 18vw, 180px);
  height: clamp(150px, 22vw, 220px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  animation: floatAnimal 5s ease-in-out infinite 1s;
  z-index: 2;
}

.hero-float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(16, 42, 86, 0.15);
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform var(--transition);
}

.hero-float-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.float-card-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-float-card div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.hero-float-card div span {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 500;
}

.hero-float-card-1 {
  top: 5%;
  left: -10%;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card-2 {
  top: 40%;
  right: -8%;
  animation: floatCard 6s ease-in-out infinite 0.8s;
}

.hero-float-card-3 {
  bottom: 8%;
  left: 0;
  animation: floatCard 5.5s ease-in-out infinite 0.4s;
}

/* Trust Marquee */
.trust-marquee {
  overflow: hidden;
  padding: 18px 0;
  background: var(--white);
  border-bottom: 1px solid rgba(79, 125, 255, 0.08);
  margin: 0 var(--inner-pad);
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gray);
  letter-spacing: 0.5px;
}

.marquee-track i {
  color: var(--primary);
  font-size: 0.75rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
   STATISTICS SECTION
========================= */
.stats-section {
  padding: 0;
  margin-top: -40px;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 36px) 24px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-text-value {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

/* =========================
   MISSION / BENTO GRID
========================= */
.mission-section {
  padding: var(--section-pad) 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(79, 125, 255, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(79,125,255,0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(79, 125, 255, 0.2);
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-featured {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--gradient-card-1);
  color: var(--white);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-featured .bento-card-text {
  color: rgba(255, 255, 255, 0.9);
}

.bento-featured .bento-arrow {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.bento-medium {
  grid-column: span 2;
  background: var(--soft-blue);
}

.bento-small {
  background: var(--soft-gray);
}

.bento-small:nth-child(3) {
  background: linear-gradient(135deg, var(--soft-blue), var(--white));
}

.bento-small:nth-child(5) {
  background: var(--gradient-card-2);
  color: var(--white);
}

.bento-small:nth-child(5) .bento-card-text {
  color: rgba(255, 255, 255, 0.9);
}

.bento-small:nth-child(5) .bento-arrow {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.bento-small:nth-child(6) {
  background: var(--gradient-card-3);
  color: var(--white);
}

.bento-small:nth-child(6) .bento-card-text {
  color: rgba(255, 255, 255, 0.9);
}

.bento-small:nth-child(6) .bento-arrow {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.bento-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.bento-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.bento-card-text {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.bento-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.bento-arrow:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.bento-deco-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 4rem;
  opacity: 0.1;
  color: currentColor;
}

.bento-card-image {
  position: absolute;
  bottom: -20px;
  right: -10px;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.bento-inline-image {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-soft);
}

/* =========================
   OUR STORY SECTION
========================= */
.story-section {
  padding: var(--section-pad) 0;
  background: var(--soft-gray);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.story-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--navy);
}

.story-highlight {
  font-family: var(--font-handwritten);
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  color: var(--primary);
  font-weight: 700;
}

.story-text {
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.story-collage {
  position: relative;
  height: 480px;
}

.story-img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition);
}

.story-img:hover {
  transform: scale(1.03);
  z-index: 5;
}

.story-img-1 {
  width: 55%;
  height: 55%;
  top: 0;
  left: 0;
  z-index: 3;
}

.story-img-2 {
  width: 45%;
  height: 50%;
  top: 10%;
  right: 0;
  z-index: 4;
}

.story-img-3 {
  width: 40%;
  height: 45%;
  bottom: 10%;
  left: 10%;
  z-index: 2;
}

.story-img-4 {
  width: 38%;
  height: 42%;
  bottom: 0;
  right: 15%;
  z-index: 1;
}

.story-quote {
  margin-top: 60px;
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.story-quote p {
  font-family: var(--font-handwritten);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.4;
}

.quote-icon {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
}

/* =========================
   RESCUE PROCESS
========================= */
.rescue-section {
  padding: var(--section-pad) 0;
}

.process-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.process-line {
  width: 100%;
  height: 80px;
  display: block;
  margin-bottom: -40px;
}

.process-paws {
  display: flex;
  justify-content: space-between;
  max-width: 90%;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.process-paw {
  color: var(--primary);
  font-size: 1.25rem;
  opacity: 0.3;
  transition: all 0.6s ease;
}

.process-paw.active {
  opacity: 1;
  transform: scale(1.3);
  color: var(--secondary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--soft-gray);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.process-step:hover {
  background: var(--soft-blue);
  transform: translateY(-4px);
}

.process-step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.process-step-text {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* =========================
   ANIMALS SECTION
========================= */
.animals-section {
  padding: var(--section-pad) 0;
  background: var(--soft-gray);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-gray);
  background: var(--white);
  border: 2px solid transparent;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.animals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rescue-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(79, 125, 255, 0.06);
}

.rescue-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-glow);
}

.rescue-card.hidden {
  display: none;
}

.rescue-card-image-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.rescue-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rescue-card:hover .rescue-card-image {
  transform: scale(1.08);
}

.status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-recovered { background: var(--hope-green); color: var(--white); }
.status-care { background: #FFB347; color: var(--white); }
.status-ready { background: var(--primary); color: var(--white); }
.status-adopted { background: var(--navy); color: var(--white); }

.rescue-card-body {
  padding: 24px;
}

.rescue-card-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.rescue-card-story {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.rescue-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.rescue-card-meta i {
  color: var(--primary);
  margin-right: 4px;
}

.adoption-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.adoption-available { background: rgba(107, 203, 154, 0.15); color: #3da87a; }
.adoption-unavailable { background: rgba(255, 179, 71, 0.15); color: #d4880a; }
.adoption-adopted { background: rgba(79, 125, 255, 0.15); color: var(--primary); }

/* =========================
   FOUNDER SECTION
========================= */
.founder-section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--soft-blue) 50%, var(--white) 100%);
}

.founder-glow {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 125, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.founder-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 800;
  color: var(--primary);
  opacity: 0.035;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
}

.founder-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.founder-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.founder-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.founder-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(79, 125, 255, 0.15);
  pointer-events: none;
}

.founder-ring-outer {
  inset: -24px;
  animation: ringRotate 20s linear infinite;
  border-style: dashed;
}

.founder-ring-inner {
  inset: -12px;
  animation: ringRotate 15s linear infinite reverse;
  border-color: rgba(130, 207, 255, 0.25);
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.founder-portrait-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  aspect-ratio: 1;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.12;
}

.founder-paw-pattern {
  position: absolute;
  inset: -10px;
  background-image: radial-gradient(circle, var(--primary) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.06;
  border-radius: 50%;
}

.founder-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 28% 28% 32% 32% / 30% 30% 35% 35%;
  box-shadow: 0 30px 80px rgba(79, 125, 255, 0.35), 0 0 0 6px var(--white);
  z-index: 2;
  transition: transform var(--transition);
}

.founder-frame:hover .founder-portrait {
  transform: scale(1.02);
}

.founder-credential {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-medium);
  white-space: nowrap;
}

.founder-credential i {
  color: var(--primary);
}

.founder-content {
  padding: 20px 0;
}

.founder-label {
  color: var(--primary);
  padding-left: 28px;
}

.founder-name {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 0.95;
  color: var(--navy);
  margin-bottom: 8px;
}

.founder-name-line {
  display: block;
}

.founder-name-line:first-child {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.founder-name-main {
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-title {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 28px;
  font-weight: 600;
}

.founder-quote {
  font-family: var(--font-handwritten);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: rgba(79, 125, 255, 0.06);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  position: relative;
}

.founder-quote i {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  opacity: 0.2;
}

.founder-story p {
  color: var(--text-gray);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.founder-stats {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(79, 125, 255, 0.1);
  border-bottom: 1px solid rgba(79, 125, 255, 0.1);
}

.founder-stat {
  text-align: center;
}

.founder-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.founder-stat-label {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 12px 0;
  box-shadow: 0 8px 24px rgba(79, 125, 255, 0.3);
}

.founder-signature {
  font-family: var(--font-handwritten);
  font-size: 2.25rem;
  color: var(--navy);
  font-weight: 700;
  margin-top: 20px;
}

/* =========================
   VOLUNTEER SECTION
========================= */
.volunteer-section {
  padding: var(--section-pad) 0;
  background: var(--soft-gray);
}

.volunteer-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.volunteer-description {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-top: 12px;
}

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.volunteer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.volunteer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.volunteer-card:hover::before {
  transform: scaleX(1);
}

.volunteer-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(79, 125, 255, 0.15);
}

.volunteer-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--soft-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all var(--transition);
}

.volunteer-card:hover .volunteer-card-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.1);
}

.volunteer-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.volunteer-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* =========================
   ADOPTION SECTION
========================= */
.adoption-section {
  padding: 60px 32px;
}

.adoption-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 60px;
  overflow: hidden;
  color: var(--white);
}

.adoption-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.adoption-heart,
.adoption-paw {
  position: absolute;
  opacity: 0.15;
  animation: float 4s ease-in-out infinite;
}

.adoption-heart:nth-child(1) { top: 15%; left: 10%; font-size: 2rem; }
.adoption-paw:nth-child(2) { top: 60%; left: 5%; font-size: 1.5rem; animation-delay: 1s; }
.adoption-heart:nth-child(3) { bottom: 20%; right: 40%; font-size: 1.75rem; animation-delay: 0.5s; }
.adoption-paw:nth-child(4) { top: 30%; right: 45%; font-size: 1.25rem; animation-delay: 1.5s; }

.adoption-content {
  position: relative;
  z-index: 2;
}

.adoption-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.adoption-text {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.adoption-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.adoption-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

/* =========================
   TRANSPARENCY SECTION
========================= */
.transparency-section {
  padding: 80px 32px;
  background: var(--soft-gray);
}

.transparency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.transparency-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

.transparency-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.transparency-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
}

.transparency-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.transparency-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.transparency-statement {
  text-align: center;
  padding: 32px 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.transparency-statement p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

/* =========================
   GALLERY SECTION
========================= */
.gallery-section {
  padding: 80px 32px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(2) {
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 42, 86, 0);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background var(--transition);
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(16, 42, 86, 0.5);
}

.gallery-item:hover .gallery-overlay span {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  position: relative;
  margin: 0 var(--inner-pad) var(--inner-pad);
  padding: clamp(60px, 8vw, 90px) clamp(32px, 5vw, 56px);
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  color: var(--white);
  overflow: hidden;
}

.contact-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-heart {
  position: absolute;
  top: 10%;
  right: 15%;
  font-size: 8rem;
  opacity: 0.06;
  color: var(--white);
}

.contact-paw-image {
  position: absolute;
  bottom: -30px;
  right: 40px;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  opacity: 0.9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-heading {
  font-family: var(--font-handwritten);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-description {
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.rescue-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.required {
  color: #ffcccb;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--white);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ff6b6b;
}

.form-error {
  display: block;
  color: #ffcccb;
  font-size: 0.8rem;
  margin-top: 4px;
  min-height: 18px;
}

.file-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background var(--transition);
}

.file-upload-label:hover {
  background: rgba(255, 255, 255, 0.3);
}

.file-upload-input {
  display: none;
}

.file-name {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 6px;
}

.form-success {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(107, 203, 154, 0.3);
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 4px;
}

.contact-detail a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-detail a:hover {
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 48px 32px 32px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-tagline {
  font-family: var(--font-handwritten);
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-content: flex-start;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--secondary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 6px;
}

.footer-statement {
  font-weight: 700;
  color: var(--secondary);
  margin-top: 8px;
}

/* =========================
   MODAL
========================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 42, 86, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-overlay.active:not([hidden]) {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition);
  box-shadow: var(--shadow-strong);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--soft-gray);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-gray);
  margin-bottom: 28px;
}

.volunteer-form .form-group label {
  color: var(--navy);
}

.volunteer-form .form-group input,
.volunteer-form .form-group select,
.volunteer-form .form-group textarea {
  background: var(--soft-gray);
  border-color: transparent;
}

.volunteer-form .form-group input:focus,
.volunteer-form .form-group select:focus,
.volunteer-form .form-group textarea:focus {
  border-color: var(--primary);
}

.volunteer-form .form-error {
  color: #e74c3c;
}

.volunteer-form .form-success {
  background: rgba(107, 203, 154, 0.15);
  color: #3da87a;
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(16, 42, 86, 0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.active:not([hidden]) {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
}

.lightbox-caption {
  color: var(--white);
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* =========================
   BACK TO TOP
========================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

/* =========================
   SCROLL REVEAL ANIMATIONS
========================= */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(50px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: none; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: none; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: none; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: none; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: none; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: none; }

/* =========================
   KEYFRAME ANIMATIONS
========================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatAnimal {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* =========================
   REDUCED MOTION
========================= */
@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: auto;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* =========================
   RESPONSIVE — TABLET
========================= */
@media (max-width: 1024px) {
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    box-shadow: var(--shadow-strong);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    gap: 0;
  }

  .navbar-menu.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .navbar-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-featured {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 260px;
  }

  .bento-medium {
    grid-column: span 2;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-collage {
    height: 400px;
    max-width: 500px;
    margin: 0 auto;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-line,
  .process-paws {
    display: none;
  }

  .animals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 360px;
  }

  .hero-eyebrow {
    padding-left: 0;
  }

  .hero-eyebrow::before {
    display: none;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-float-card-1 {
    top: 0;
    left: 0;
  }

  .hero-float-card-2 {
    top: auto;
    bottom: 60px;
    right: -5%;
  }

  .hero-float-card-3 {
    bottom: 0;
    left: -5%;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .founder-portrait-wrap {
    order: -1;
  }

  .volunteer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adoption-card {
    grid-template-columns: 1fr;
    padding: 48px 40px;
  }

  .adoption-image {
    height: 260px;
  }

  .transparency-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-float-card-2,
  .hero-float-card-3 {
    display: none;
  }
}

/* =========================
   RESPONSIVE — MOBILE
========================= */
@media (max-width: 768px) {
  .page-wrapper {
    padding: 0;
  }

  .site-container {
    border-radius: 0;
    box-shadow: none;
  }

  .header {
    padding: 12px 16px 0;
  }

  .navbar {
    padding: 10px 16px;
  }

  .navbar-logo-text {
    font-size: 0.85rem;
  }

  .navbar-logo-img {
    width: 40px;
    height: 40px;
  }

  .hero {
    margin: 12px 0 0;
    padding: 48px 0 60px;
    min-height: auto;
    border-radius: var(--radius-lg);
  }

  .hero-inner {
    padding: 0 20px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-animal-secondary {
    right: -10px;
    bottom: -10px;
  }

  .hero-float-card-2,
  .hero-float-card-3 {
    display: none;
  }

  .trust-marquee {
    margin: 0;
  }

  .stats-section {
    padding: 0 16px;
    margin-top: -30px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .mission-section,
  .story-section,
  .rescue-section,
  .animals-section,
  .founder-section,
  .volunteer-section,
  .adoption-section,
  .transparency-section,
  .gallery-section {
    padding: 60px 16px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-featured,
  .bento-medium {
    grid-column: span 1;
  }

  .bento-card-image {
    width: 120px;
    height: 120px;
  }

  .story-collage {
    height: 350px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    padding: 24px;
  }

  .process-step-number {
    font-size: 1.75rem;
    flex-shrink: 0;
  }

  .animals-grid {
    grid-template-columns: 1fr;
  }

  .founder-name-main {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .founder-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .founder-credential {
    font-size: 0.7rem;
    padding: 8px 14px;
    white-space: normal;
    text-align: center;
    max-width: 90%;
  }

  .volunteer-grid {
    grid-template-columns: 1fr;
  }

  .adoption-section {
    padding: 40px 16px;
  }

  .adoption-card {
    padding: 36px 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item:nth-child(2) {
    grid-row: span 1;
  }

  .contact-section {
    margin: 0 16px 16px;
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }

  .rescue-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-paw-image {
    width: 120px;
    height: 120px;
    right: 16px;
  }

  .footer {
    padding: 40px 16px 24px;
  }

  .modal {
    padding: 28px 20px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 425px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .hero-animal-left,
  .hero-animal-right {
    opacity: 0.85;
  }
}

@media (max-width: 320px) {
  .navbar-logo-text {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
