/* ============================================
   KALYAAN UJWALA FOUNDATION - Main Stylesheet
   Brand: Green | Gold | Blue | White
   Style: Glassmorphism + Premium NGO UI
   ============================================ */

/* --- CSS Variables --- */
:root {
  --green-dark: #1B5E20;
  --green: #2E7D32;
  --green-light: #43A047;
  --gold: #D4AF37;
  --gold-light: #F4D03F;
  --gold-dark: #B8860B;
  --blue-dark: #0D47A1;
  --blue: #1565C0;
  --blue-light: #42A5F5;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-600: #64748B;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 8px 32px rgba(13, 71, 161, 0.15);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --nav-height: 132px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--off-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p,
h1,
h2,
h3,
h4,
a,
span {
  overflow-wrap: anywhere;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3rem, 5vw, 4rem);
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(27, 94, 32, 0.1));
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* --- Utility: Glass Card --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}

.glass-dark {
  background: rgba(13, 71, 161, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  text-align: center;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--gray-900);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(46, 125, 50, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue-dark);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.35);
}

.btn-blue:hover {
  transform: translateY(-3px);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--green-dark) 50%, var(--blue-dark) 100%);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: clamp(210px, 34vw, 320px);
  height: clamp(118px, 18vw, 180px);
  object-fit: contain;
  object-position: center;
  animation: pulseGlow 2s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(244, 208, 63, 0.6));
}

.preloader-ring {
  position: absolute;
  width: clamp(246px, 38vw, 360px);
  height: clamp(246px, 38vw, 360px);
  border: 3px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--green-light);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.preloader-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(260px, 42vw, 390px);
  height: clamp(260px, 42vw, 390px);
  margin-bottom: 2rem;
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--white);
  letter-spacing: 0.05em;
  animation: fadeText 2s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--green-light));
  border-radius: 4px;
  animation: loadBar 2.5s ease forwards;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes fadeText {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes loadBar {
  to { width: 100%; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
  padding: 0 4%;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(13, 71, 161, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar.scrolled .nav-link {
  color: var(--gray-800);
}

.navbar.scrolled .nav-logo-text {
  color: var(--blue-dark);
}

.nav-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.nav-logo img {
  width: 280px;
  height: 105px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-left: -3.6rem;
  white-space: nowrap;
}

.nav-logo-text span {
  display: block;
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green-light));
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--blue-dark);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 71, 161, 0.82) 0%,
    rgba(27, 94, 32, 0.65) 45%,
    rgba(13, 71, 161, 0.75) 100%
  );
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
  opacity: 0.4;
  animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 4% 4rem;
  max-width: 900px;
  width: 100%;
}

.hero-logo {
  width: clamp(135px, 20vw, 220px);
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 1.75rem;
  animation: heroFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 40px rgba(244, 208, 63, 0.5));
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease 0.9s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s ease infinite;
}

.hero-scroll i {
  font-size: 1.25rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--gray-100) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.about-image-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold-light);
}

.about-image-badge span {
  font-size: 0.85rem;
  color: var(--white);
}

.about-content p {
  margin-bottom: 1.25rem;
  color: var(--gray-600);
}

.mv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mv-card {
  padding: 1.5rem;
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition);
}

.mv-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 20px 40px rgba(21, 101, 192, 0.15);
}

.mv-card i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--gold), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mv-card h4 {
  font-family: var(--font-heading);
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.mv-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* Counters */
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.counter-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition);
}

.counter-card:hover {
  transform: translateY(-10px) perspective(500px) rotateX(5deg);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}

.counter-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(46, 125, 50, 0.1));
  color: var(--blue);
  font-size: 1.5rem;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}

.counter-number span {
  color: var(--gold-dark);
}

.counter-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */
.programs {
  background: var(--white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.program-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
}

.program-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(13, 71, 161, 0.18);
}

.program-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}

.program-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.program-img-women {
  object-position: center 32%;
}

.program-img-education {
  object-position: center 42%;
}

.program-img-medical {
  object-position: center 36%;
}

.program-img-food {
  object-position: center 38%;
}

.program-card:hover .program-card-image img {
  transform: scale(1.1);
}

.program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 71, 161, 0.7), transparent);
}

.program-icon {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--white);
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.program-icon.gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.program-icon.green { background: linear-gradient(135deg, var(--green-light), var(--green-dark)); }
.program-icon.blue { background: linear-gradient(135deg, var(--blue-light), var(--blue-dark)); }
.program-icon.mixed { background: linear-gradient(135deg, var(--gold), var(--blue)); }

.program-card-body {
  padding: 2.5rem 1.25rem 1.5rem;
  text-align: center;
}

.program-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
}

.program-card-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   DIRECTORS SECTION
   ============================================ */
.directors {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--off-white) 100%);
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.director-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
  transform-style: preserve-3d;
}

.director-card:hover {
  transform: translateY(-10px) rotateY(3deg);
}

.director-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 1.25rem;
  border: 4px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(135deg, var(--gold), var(--blue), var(--green-light)) border-box;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.director-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--blue-dark);
  margin-bottom: 0.25rem;
}

.director-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.director-msg {
  font-size: 0.95rem;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.director-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.director-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.director-social a:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--gray-900);
}

/* ============================================
   GALLERY SLIDER
   ============================================ */
.gallery {
  background: var(--blue-dark);
  overflow: hidden;
}

.gallery .section-tag {
  color: var(--gold-light);
  border-color: rgba(244, 208, 63, 0.4);
}

.gallery .section-title {
  color: var(--white);
}

.gallery .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

.slider-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: clamp(280px, 50vw, 480px);
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(13, 71, 161, 0.9), transparent);
  color: var(--white);
}

.slide-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--gold);
  color: var(--gray-900);
}

.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active,
.slider-dot:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* ============================================
   DONATION CTA
   ============================================ */
.donate-cta {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  overflow: hidden;
}

.donate-cta-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1593113598332-cd288d649329?w=1600&q=80') center/cover no-repeat;
}

.donate-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.88), rgba(13, 71, 161, 0.85));
}

.donate-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
}

.donate-cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.donate-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.donate-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================
   CONTACT (Home preview)
   ============================================ */
.contact-preview {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  min-width: 0;
}

.contact-info-card > div {
  min-width: 0;
}

.contact-info-card:hover {
  transform: translateX(8px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.contact-info-card i {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--green-dark));
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  color: var(--blue-dark);
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0;
}

.contact-form {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-action-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(13, 71, 161, 0.94), rgba(27, 94, 32, 0.9)),
    url('https://res.cloudinary.com/dukbkeh4p/image/upload/f_auto,q_auto,w_900/v1779873837/logo1_mnxzin.png') center/76% no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-action-panel::before {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.contact-panel-kicker {
  position: relative;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(244, 208, 63, 0.16);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-action-panel h3 {
  position: relative;
  max-width: 520px;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-action-panel p {
  position: relative;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.5rem;
}

.contact-impact-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.contact-impact-grid div {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-impact-grid strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.contact-impact-grid span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-action-list {
  position: relative;
  display: grid;
  gap: 0.75rem;
}

.contact-action-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  font-weight: 700;
}

.contact-action-list a:hover {
  transform: translateX(6px);
  background: var(--gold-light);
  color: var(--gray-900);
}

.contact-action-list i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: var(--white);
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--gray-100);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-popup {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.form-popup.visible {
  opacity: 1;
  visibility: visible;
}

.form-popup-card {
  position: relative;
  width: min(420px, 100%);
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  border: 1px solid var(--gray-200);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.25s ease;
}

.form-popup.visible .form-popup-card {
  transform: translateY(0) scale(1);
}

.form-popup-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  cursor: pointer;
}

.form-popup-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 12px 30px rgba(46, 125, 50, 0.3);
}

.form-popup.error .form-popup-icon {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

.form-popup-card h3 {
  font-family: var(--font-heading);
  color: var(--blue-dark);
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
}

.form-popup-card p {
  color: var(--gray-600);
  margin: 0;
}

.map-placeholder {
  margin-top: 2rem;
  height: 280px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  border: 2px dashed var(--gray-200);
  font-size: 0.95rem;
}

.map-placeholder i {
  font-size: 2.5rem;
  color: var(--blue);
  margin-right: 0.75rem;
}

.map-embed {
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

/* ============================================
   PAGE HERO (About / Contact)
   ============================================ */
/* Inner pages: navbar over colored hero */
body.inner-page .navbar:not(.scrolled) .nav-link,
body.inner-page .navbar:not(.scrolled) .nav-logo-text {
  color: var(--white);
}

body.inner-page .navbar:not(.scrolled) .nav-logo-text span {
  color: var(--gold-light);
}

.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-dark), var(--green-dark));
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1488526530941-6cf947e6b013?w=1600&q=60') center/cover;
  opacity: 0.15;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb span {
  color: var(--gold-light);
}

/* About page extras */
.about-page-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 125, 50, 0.3);
}

.value-card i {
  font-size: 2.25rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.value-card h4 {
  font-family: var(--font-heading);
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.timeline {
  margin-top: 4rem;
  padding-left: 2rem;
  border-left: 3px solid var(--gold);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
}

.timeline-item h4 {
  font-family: var(--font-heading);
  color: var(--blue-dark);
  margin-bottom: 0.35rem;
}

.timeline-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, var(--gray-900) 0%, #0a0f1a 100%);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  width: 320px;
  height: 175px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.footer h4 {
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--gray-900);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom span {
  color: var(--gold);
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--gray-900);
  transform: translateY(-4px);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: whatsappPulse 2s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 3%;
  }

  .nav-menu {
    gap: 1.25rem;
  }

  .about-grid,
  .contact-grid,
  .about-page-content {
    gap: 2rem;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .counters {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 88px;
  }

  body {
    font-size: 0.96rem;
  }

  .container {
    width: min(100% - 2rem, 1200px);
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-tag {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }

  .section-desc {
    font-size: 1rem;
  }

  .navbar {
    height: var(--nav-height);
    padding: 0 1rem;
  }

  .nav-logo img {
    width: clamp(126px, 36vw, 166px);
    height: auto;
    max-height: 76px;
  }

  .nav-logo-text {
    font-size: clamp(1.34rem, 5.2vw, 1.72rem);
    margin-left: clamp(-2rem, -6.5vw, -1.35rem);
  }

  .nav-logo-text span {
    font-size: clamp(0.76rem, 2.8vw, 0.96rem);
    letter-spacing: 0.08em;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 1.5rem) 1.5rem 2rem;
    background: rgba(13, 71, 161, 0.97);
    backdrop-filter: blur(20px);
    transition: right var(--transition);
    gap: 1.25rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    color: var(--white) !important;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-bg {
    background: linear-gradient(135deg, var(--blue-dark), var(--green-dark));
  }

  .hero-bg img {
    object-fit: contain;
    object-position: center;
  }

  .hero-content {
    padding: calc(var(--nav-height) + 1rem) 1rem 4.25rem;
  }

  .hero-logo {
    width: clamp(118px, 34vw, 150px);
    margin-bottom: 1.25rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    padding: 0.45rem 0.95rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-scroll {
    bottom: 1.1rem;
  }

  .about-grid,
  .contact-grid,
  .about-page-content {
    grid-template-columns: 1fr;
  }

  .mv-cards {
    grid-template-columns: 1fr;
  }

  .mv-card,
  .director-card,
  .value-card,
  .contact-form,
  .contact-action-panel {
    padding: 1.35rem;
    border-radius: var(--radius);
  }

  .about-image-wrap,
  .program-card,
  .donate-cta-content {
    border-radius: var(--radius);
  }

  .about-image-wrap img {
    height: clamp(240px, 58vw, 340px);
  }

  .about-image-badge {
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem 1rem;
  }

  .about-image-badge strong {
    font-size: 1.55rem;
  }

  .counters {
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .counter-card {
    padding: 1.4rem 1rem;
  }

  .counter-number {
    font-size: 2rem;
  }

  .directors-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .director-img {
    width: 116px;
    height: 116px;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .program-card-image {
    height: clamp(210px, 55vw, 300px);
  }

  .donate-cta {
    padding: 4rem 0;
  }

  .donate-cta-content {
    padding: 2rem 1.25rem;
  }

  .donate-cta-content p {
    font-size: 1rem;
  }

  .donate-cta-buttons,
  .contact-info-cards > div[style*="display:flex"] {
    flex-direction: column;
  }

  .donate-cta-buttons .btn,
  .contact-info-cards > div[style*="display:flex"] .btn {
    width: 100%;
  }

  .contact-info-card {
    padding: 1rem;
  }

  .contact-action-panel {
    min-height: 430px;
    background-size: 92%;
  }

  .contact-impact-grid {
    gap: 0.75rem;
  }

  .contact-action-list a {
    padding: 0.85rem;
  }

  .contact-info-card i {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .map-placeholder {
    min-height: 220px;
    height: auto;
    padding: 2rem 1rem;
    text-align: center;
    flex-direction: column;
    gap: 0.75rem;
  }

  .map-placeholder i {
    margin-right: 0;
  }

  .page-hero {
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 2rem;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-brand img {
    width: min(240px, 78vw);
    height: auto;
    margin-inline: 0;
  }

  .footer-bottom {
    text-align: left;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 76px;
  }

  .container {
    width: min(100% - 1.5rem, 1200px);
  }

  .navbar {
    padding: 0 0.75rem;
  }

  .nav-logo img {
    width: clamp(106px, 32vw, 126px);
    max-height: 64px;
  }

  .nav-logo-text {
    font-size: clamp(1.18rem, 5.8vw, 1.42rem);
    margin-left: clamp(-1.45rem, -5.4vw, -0.9rem);
  }

  .nav-logo-text span {
    font-size: clamp(0.68rem, 3vw, 0.82rem);
    letter-spacing: 0.06em;
  }

  .nav-toggle {
    padding: 6px;
  }

  .nav-toggle span {
    width: 25px;
    height: 2.5px;
  }

  .nav-menu {
    width: min(290px, 88vw);
    padding-inline: 1.25rem;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 1rem;
  }

  .hero-logo {
    width: clamp(100px, 32vw, 128px);
  }

  .hero-title {
    font-size: clamp(1.85rem, 11vw, 2.35rem);
  }

  .preloader-logo {
    width: 220px;
    height: 126px;
  }

  .preloader-ring {
    width: 244px;
    height: 244px;
  }

  .preloader-wrap {
    width: 270px;
    height: 270px;
  }

  .preloader-bar {
    width: min(200px, 72vw);
  }

  .counters {
    grid-template-columns: 1fr;
  }

  .program-card-image {
    height: 220px;
  }

  .director-card h3,
  .program-card-body h3 {
    font-size: 1.15rem;
  }

  .contact-info-card {
    align-items: flex-start;
    gap: 0.8rem;
  }

  .contact-info-card p,
  .footer-links a {
    font-size: 0.86rem;
  }

  .contact-action-panel {
    min-height: auto;
  }

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

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .back-to-top {
    right: 16px;
    bottom: 90px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 380px) {
  .nav-logo img {
    width: 96px;
  }

  .nav-logo-text {
    font-size: 1.04rem;
    margin-left: -0.75rem;
  }

  .nav-logo-text span {
    font-size: 0.62rem;
  }

  .hero-content {
    padding-inline: 0.75rem;
  }

  .contact-info-card {
    flex-direction: column;
    text-align: left;
  }
}
