* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
:root {
  --primary: #1e88e5;
  --secondary: #43a047;
  --dark: #1c1c1c;
  --muted: #555;
  --light-bg: #f7f9fc;
}
html, body {
  width: 100%;
  max-width: 100%;
   overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}
body {
  position: relative;
}
body {
  line-height: 1.7;
  color: #222;
}

.header {
  position: fixed;
  width: 100%;
   max-width: 100%;
  top: 0;
  background: #fff;
  display: flex;
  justify-content: space-between;
  padding: 15px 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}
/* ===============================
   HEADER NAV LINKS FIX
================================ */

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Make Join Us behave like other links */
.join-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* ===== JOIN US DESKTOP DROPDOWN (FIX) ===== */

.join-dropdown .join-menu {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  min-width: 200px;
  z-index: 1500;
}

@media (min-width: 769px) {
  .join-dropdown:hover .join-menu {
    display: block;
  }
}

.join-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  padding-bottom: 2px;
  position: relative;
}

.join-trigger i {
  font-size: 15px;
}

/* Hover underline consistency */
.join-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.join-trigger:hover::after {
  width: 100%;
}

.header a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.logo-placeholder {
  width: 42px;
  height: 42px;
  background: #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #666;
}
/* Logo image */
.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

h1, h2, h3 {
  color: var(--dark);
}

h2 {
  font-size: 38px;
  position: relative;
  display: inline-block;
}

/* Accent line under section headings */
h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  margin-top: 8px;
  border-radius: 2px;
}

/* ===============================
   GLOBAL SECTION HEADING STYLE
================================ */

.section > h2,
.impact-top h2,
.visual-header h2 {
  display: block;          /* override inline-block */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Center the underline */
.section > h2::after,
.impact-top h2::after,
.visual-header h2::after {
  margin-left: auto;
  margin-right: auto;
}

p {
  color: var(--muted);
}
.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 140px 6vw 100px;
  width: 100%;
  max-width: 100vw;
  overflow: clip;
}
/* ===============================
   HERO ANIMATED EDUCATION BACKGROUND
================================ */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    120deg,
    #e3f2fd,
    #f1f8e9,
    #e8f5e9
  );
}

/* Animated gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    #bbdefb,
    #c8e6c9,
    #e3f2fd,
    #dcedc8
  );
  background-size: 600% 600%;
  animation: heroGradient 18s ease infinite;
  z-index: 0;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating shapes */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  animation: floatShape 12s infinite ease-in-out;
}

.hero-bg .s1 {
  width: 120px;
  height: 120px;
  background: #1e88e5;
  top: 15%;
  left: 10%;
}

.hero-bg .s2 {
  width: 180px;
  height: 180px;
  background: #43a047;
  top: 60%;
  left: 5%;
  animation-duration: 16s;
}

.hero-bg .s3 {
  width: 140px;
  height: 140px;
  background: #90caf9;
  top: 20%;
  right: 15%;
  animation-duration: 14s;
}

.hero-bg .s4 {
  width: 220px;
  height: 220px;
  background: #a5d6a7;
  bottom: 10%;
  right: 8%;
  animation-duration: 20s;
}

.hero-bg .s5 {
  width: 90px;
  height: 90px;
  background: #64b5f6;
  bottom: 40%;
  left: 45%;
  animation-duration: 18s;
}

@keyframes floatShape {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -30px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Keep content above background */
.hero-content,
.hero-image {
  position: relative;
  z-index: 2;
}

.hero-content p {
  margin: 20px 0 35px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero h1 {
  font-size: 48px;
}
.btn {
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

/* Primary button */
.primary {
  background: linear-gradient(135deg, #1e88e5, #1565c0);
  color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 10px 25px rgba(30,136,229,0.25);
}

.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(30,136,229,0.35);
}

/* Secondary button */
.secondary {
  background: #fff;
  color: #1e88e5;
  border: 2px solid #1e88e5;
}

.secondary:hover {
  background: #1e88e5;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(30,136,229,0.3);
}

/* Hero Image Animation */
.hero-img-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  animation: floatImage 6s ease-in-out infinite;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

/* Image itself */
.hero-img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.8s ease;
}

/* Hover Effects */
.hero-img-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 70px rgba(30,136,229,0.35);
}

.hero-img-wrapper:hover .hero-img {
  transform: scale(1.08);
}

/* Soft gradient glow */
.hero-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(30,136,229,0.15),
    rgba(67,160,71,0.15)
  );
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-img-wrapper:hover::after {
  opacity: 1;
}

/* Floating animation */
@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}


/* ===============================
   NEW HERO DESIGN
================================ */

.hero-new {
  background: linear-gradient(135deg, #e3f2fd, #f1f8e9);
  padding-top: 140px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.hero-text h1 {
  font-size: 52px;
  line-height: 1.2;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 18px;
  margin: 25px 0 35px;
  max-width: 520px;
}

.hero-tag {
  display: inline-block;
  background: #e8f1fd;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  gap: 20px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.hero-badges div {
  background: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.hero-badges i {
  color: var(--secondary);
  margin-right: 6px;
}

/* Hero Image */
.hero-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.2);
}

/* about */
/* About section layout */

/* ===============================
   NEW ABOUT DESIGN
================================ */

.about-new {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.about-content {
  background: #ffffff;
  padding: 45px;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.06);
}

.about-content h2 {
  margin-bottom: 25px;
}

.about-image img {
  height: 420px;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

/* Focus Cards → Pill Style */
.focus-card {
  background: #ffffff;
  border-left: 5px solid var(--primary);
  text-align: left;
}

/* Focus Area */
.focus-area {
   margin-top: 100px;
  text-align: center;
}

.focus-area h3 {
   font-size: 34px;
  margin-bottom: 10px;
  color: var(--dark);

 
}

/* Focus cards */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

.focus-card {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  padding: 40px 30px;
  border-radius: 22px;
  border-top: 4px solid var(--primary);
  text-align: center;
  transition: all 0.35s ease;
}

.focus-card i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 18px;
}

.focus-card h4 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--dark);
}

.focus-card p {
  font-size: 15px;
  line-height: 1.7;
}
/* Hover = premium NGO feel */
.focus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(30,136,229,0.15);
  background: #ffffff;
}

.section {
  padding: 100px clamp(20px, 5vw, 80px);
  scroll-margin-top: 100px;
}

.light {
  background: #f7f9fc;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #fff;
  padding: 32px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: all 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.08);
  border-color: var(--primary);
}
.header a {
  position: relative;
  transition: color 0.3s ease;
}

.header a:hover {
  color: #1e88e5;
}

.header a:not(.join-trigger)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #1e88e5;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.header a:not(.join-trigger):hover::after {
  width: 100%;
}
.header a.active {
  color: var(--primary);
  font-weight: 600;
}

.header a.active::after {
  width: 100%;
}


/* Mission & Vision Section */
.mission-section {
  text-align: center;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.mission-card {
  background: #fff;
  padding: 45px 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.icon-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), #1565c0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle.green {
  background: linear-gradient(135deg, var(--secondary), #2e7d32);
}

.icon-circle i {
  color: #fff;
  font-size: 28px;
}

.mission-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark);
}

.mission-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

/* Values */
.values-section {
  margin-top: 80px;
}

.values-section h3 {
  font-size: 30px;
  margin-bottom: 35px;
  color: var(--dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
}

.value-item {
  background: #fff;
  padding: 25px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.value-item i {
  font-size: 28px;
  color: var(--primary);
}

.value-item span {
  font-weight: 600;
  color: var(--dark);
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.08);
}

/* What We Do / Programs Section */
.programs-section {
  text-align: center;
}

.section-intro {
  max-width: 720px;
  margin: 20px auto 60px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.program-card {
  background: #fff;
  padding: 45px 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  text-align: left;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.program-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), #1565c0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-icon.green {
  background: linear-gradient(135deg, var(--secondary), #2e7d32);
}

.program-icon i {
  color: #fff;
  font-size: 30px;
}

.program-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark);
}

.program-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

/* Program List */
.program-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.program-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--muted);
}

.program-list i {
  color: var(--secondary);
  font-size: 14px;
}
/* Impact Story Section */
.impact-story {
  background: #ffffff;
}

/* Top */
.impact-top {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 70px;
}

.impact-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin-top: 15px;
  line-height: 1.8;
}

/* Big Numbers */
.impact-numbers {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.impact-number {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.impact-number span {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.impact-number label {
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
  display: block;
}

/* Divider */
.impact-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #ccc, transparent);
  margin: 80px 0;
}

/* Story Rows */
.impact-stories {
  max-width: 900px;
  margin: 0 auto;
}

.impact-row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 45px;
}

.impact-row i {
  font-size: 32px;
  color: var(--secondary);
  margin-top: 5px;
}

.impact-row h4 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 8px;
}

.impact-row p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

/* Closing */
.impact-closing {
  margin-top: 80px;
  padding: 50px 40px;
  background: var(--light-bg);
  border-left: 6px solid var(--primary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.impact-closing p {
  font-size: 20px;
  color: var(--dark);
  line-height: 1.8;
}
/* Visual Journey Section */
.visual-journey {
  background: var(--light-bg);
  text-align: center;
}

.visual-header {
  max-width: 800px;
  margin: 0 auto 60px;
}

.visual-header p {
  font-size: 17px;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.8;
}

/* Viewport */
.visual-viewport {
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
}

/* Track */
.visual-track {
  display: flex;
  gap: 30px;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
/* === SLIDER WIDTH CONTAINMENT FIX (IMPORTANT) === */
.visual-slider,
.visual-viewport,
.visual-journey {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}
.visual-track {
  will-change: transform;
}

/* Slide */
.visual-slide {
  flex: 0 0 320px;
  opacity: 0.4;
  transform: scale(0.85);
  transition: all 0.6s ease;
}

.visual-slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
}

/* Center slide */
.visual-slide.center {
  transform: scale(1.2);
  opacity: 1;
  z-index: 2;
}

/* Smooth shadow */
.visual-slide.center img {
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.image-placeholder {
  background: #e0e0e0;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #777;
}

.large {
  height: 400px;
}

.stats {
  display: flex;
  gap: 30px;
  font-size: 22px;
  font-weight: 600;
}
/* Contact Section */
.contact-section {
  background: #f7f9fc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  margin-top: 60px;
  align-items: flex-start;
}

/* Left Content */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.contact-block h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--dark);
}

.contact-block h3 i {
  color: var(--primary);
  margin-right: 8px;
}

.contact-block h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--dark);
}

.contact-block p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 20px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--muted);
}

.contact-list i {
  color: var(--secondary);
}

.contact-highlight {
  background: #ffffff;
  padding: 18px 20px;
  border-left: 5px solid var(--primary);
  border-radius: 8px;
  font-weight: 500;
  color: var(--dark);
}

/* Form */
.contact-form-wrapper {
  background: #ffffff;
  padding: 45px 35px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.contact-form-wrapper h3 {
  font-size: 26px;
  margin-bottom: 25px;
  color: var(--dark);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.15);
}
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

/* Success Message */
.form-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 15px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 500;
  border-left: 5px solid #43a047;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0d47a1, #1e88e5);
  color: #ffffff;
  padding: 70px 80px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
}

.footer-col h4::after {
  content: '';
  width: 40px;
  height: 3px;
  background: #ffffff;
  display: block;
  margin-top: 8px;
  border-radius: 2px;
}

.footer-col p {
  font-size: 15px;
  line-height: 1.8;
  color: #e3f2fd;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #e3f2fd;
}

.footer-col ul li a {
  color: #e3f2fd;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-col i {
  margin-right: 8px;
  color: #bbdefb;
}

/* Bottom Bar */
.footer-bottom {
  margin-top: 60px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  background: rgba(0,0,0,0.15);
  color: #e3f2fd;
}

/* ===============================
   RESPONSIVE & MOBILE STYLES
================================ */

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Mobile Sidebar */
.mobile-nav {
  position: fixed;
  top: 0;
  width: 280px;
  right: -280px;
  height: 100vh;
  background: #ffffff;
  padding: 100px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2000;
  transition: right 0.35s ease;
}

.mobile-nav a {
  font-size: 18px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
}

.mobile-nav.active {
  right: 0;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  z-index: 1500;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {

  .nav-links {
    display: none;
  }

   .header {
    width: 100%;
  }

  .hamburger {
    position: relative;
    right: 0;
    z-index: 3000;
  }

  .header {
    padding: 15px 25px;
  }

  .section {
    padding: 80px 25px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }
  .mobile-nav {
    right: -280px; /* match sidebar width */
  }

  .mobile-nav.active {
    right: 0;
  }
  .hero {
    display: block;
    width: 100%;
    padding: 110px 20px 80px;
    overflow: hidden;
  }
 .hero-bg,
  .hero::before {
    display: none !important;
  }

 .hero *,
.hero-img-wrapper,
.hero-img {
  transform: none !important;
  animation: none !important;
}
  /* Stop sideways animation on mobile */
  .hero-bg .shape {
    animation: none;
  }

  .hero-content,
  .hero-image,
  .hero-img-wrapper {
    max-width: 100%;
  }
  .hero-image,
  .hero-img-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-badges {
    gap: 12px;
  }
  .programs-grid,
  .mission-grid,
  .values-grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .impact-number span {
    font-size: 34px;
  }

  .contact-form-wrapper {
    padding: 30px 25px;
  }

  .footer {
    padding: 60px 25px 0;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
  .visual-journey {
    overflow-x: hidden;
  }

  .visual-viewport {
    overflow-x: hidden;
  }

  .visual-track {
    gap: 16px;
  }

  .visual-slide {
    flex: 0 0 260px;
  }
   .about-new {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content {
    padding: 30px;
  }

  .about-image img {
    height: 280px;
  }
  .about-grid.about-new {
    padding-right: 10px;
    padding-left: 10px;
  }

  /* Ensure content box never touches screen edge */
  .about-content {
    margin-right: 6px;
  }

  /* Center image & keep side spacing */
  .about-image {
    padding-right: 6px;
  }

  .about-image img {
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  .contact-grid {
    grid-template-columns: 1fr; /* stack vertically */
    gap: 40px;
  }

  /* Ensure form comes below content */
  .contact-info {
    order: 1;
  }

  .contact-form-wrapper {
    order: 2;
    width: 100%;
  }

  /* Prevent edge sticking */
  .contact-form-wrapper,
  .contact-info {
    margin: 0 auto;
  }
   .contact-form-wrapper {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  }
}

.join-menu a {
  display: block;
  padding: 12px 18px;
  color: var(--dark);
}

.join-menu a:hover {
  background: var(--light-bg);
  color: var(--primary);
}

.join-dropdown:hover .join-menu {
  display: block;
}

.join-menu .donate {
  font-weight: 600;
  color: var(--secondary);
}
/* Footer Registration Info */
.footer-registration {
  max-width: 1000px;
  margin: 40px auto 15px;
  padding: 18px 25px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-registration strong {
  color: #fff;
}

/* ===============================
   SMALL MOBILE
================================ */
@media (max-width: 480px) {

  h1 {
    font-size: 30px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .visual-slide {
    flex: 0 0 260px;
  }
}
/* ===============================
   JOIN US MOBILE POPUP
================================ */

.join-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.join-modal.active {
  display: flex;
}

.join-modal-content {
  background: #fff;
  width: 90%;
  max-width: 420px;
  border-radius: 22px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  animation: popupScale 0.3s ease;
}

@keyframes popupScale {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.join-modal-content h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.join-modal-content p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 25px;
}

.join-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.join-option {
  padding: 14px;
  border-radius: 999px;
  background: #f1f5ff;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.join-option:hover {
  background: var(--primary);
  color: #fff;
}

.join-option.donate {
  background: linear-gradient(135deg, #43a047, #2e7d32);
  color: #fff;
}

.join-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #444;
}

/* Hide desktop dropdown on mobile */
@media (max-width: 768px) {
  .join-dropdown {
    display: none;
  }
}

/* ===============================
   FORCE SHOW HAMBURGER ON MOBILE
================================ */
@media (max-width: 768px) {

  .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .hamburger span {
    background: #333;
  }

}
@media (max-width: 768px) {
  body {
    overflow-x: clip;
  }
}

/* ===============================
   MOBILE JOIN US BEHAVIOUR
================================ */
@media (max-width: 768px) {

  /* Hide desktop join dropdown */
  .join-dropdown {
    display: none;
  }

  /* Mobile Join trigger styling */
  #mobileJoinTrigger {
    font-weight: 600;
    color: #1e88e5;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #mobileJoinTrigger i {
    font-size: 16px;
  }
}
.join-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.join-modal.active {
  opacity: 1;
  visibility: visible;
}

.join-modal-content {
  background: #fff;
  padding: 35px 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 380px;
  text-align: center;
  position: relative;
}

.join-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.join-options {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}

.join-option {
  padding: 14px;
  border-radius: 12px;
  background: #f7f9fc;
  font-weight: 600;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.join-option:hover {
  background: var(--primary);
  color: #fff;
}

.join-option.donate {
  background: linear-gradient(135deg, #43a047, #2e7d32);
  color: #fff;
}
