html {
    scroll-behavior: smooth;
  }
  
  /* ===== THEME VARIABLES ===== */
  :root {
  
    /* Primary Blues */
    --blue-dark: #1E3A8A;
    --blue-primary: #2563EB;
    --blue-accent: #60A5FA;
  
    /* Light Backgrounds */
    --blue-light: #DBEAFE;
    --blue-very-light: #F0F7FF;
  
    /* Text */
    --text-dark: #0F172A;
    --text-medium: #334155;
    --text-light: #E0ECFF;
  
    /* Base */
    --white: #FFFFFF;
  
    /* Shadows */
    --shadow-soft: 0 6px 18px rgba(37, 99, 235, 0.15);
    --shadow-medium: 0 12px 28px rgba(37, 99, 235, 0.25);
  
    /* Borders */
    --border-light: 1px solid var(--blue-light);
  
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
  }
  
  /* ===== GLOBAL / RESET ===== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html,
  body {
    font-family: "Outfit", sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
  }
  
  
  /* ===== FONTS ===== */
  :root {
    --funnel-display: "Funnel Display", sans-serif;
  }
  
  @font-face {
    font-family: regfont;
    src: url("Nexa-ExtraLight.ttf");
  }
  
  /* ─── NAVBAR ─────────────────────────────────────────────── */
  .navbar {
    background: rgba(4, 10, 28, 0.75);
    padding: 0 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 54px;
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid rgba(80, 140, 255, 0.1);
    box-shadow: 0 1px 0 rgba(80, 140, 255, 0.06), 0 8px 32px rgba(0, 0, 0, 0.35);
  }
  
  
  /* ─── LINKS ──────────────────────────────────────────────── */
  .navbar-links {
    list-style: none;
    display: flex;
    gap: 2px;
    align-items: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
  }
  
  .navbar-links li {
    position: relative;
  }
  
  .navbar-links a {
    color: rgba(194, 212, 255, 0.7);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    position: relative;
    transition: color 0.25s ease, background 0.25s ease;
    overflow: hidden;
  }
  
  /* Animated underline on hover */
  .navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, #4f8fff, #82b4ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
  }
  
  .navbar-links a:hover {
    color: #c8dcff;
    background: rgba(79, 143, 255, 0.08);
  }
  
  .navbar-links a:hover::after {
    transform: scaleX(1);
  }
  
  .navbar-links a.active {
    color: #a8c8ff;
    background: rgba(79, 143, 255, 0.12);
  }
  
  .navbar-links a.active::after {
    transform: scaleX(1);
    background: linear-gradient(90deg, #6fa8ff, #a8c8ff);
  }
  
  /* ─── HAMBURGER TOGGLE ──────────────────────────────────── */
  .navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: 0;
    z-index: 1001;
  }

  .navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(194, 212, 255, 0.8);
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .navbar-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* ─── RESPONSIVE ─────────────────────────────────────────── */
  @media (max-width: 768px) {
    .navbar {
      padding: 0 16px;
      justify-content: flex-end;
    }

    .navbar-toggle {
      display: block;
    }

    .navbar-links {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      height: calc(100vh - 54px);
      background: rgba(4, 10, 28, 0.85);
      backdrop-filter: blur(24px) saturate(160%);
      -webkit-backdrop-filter: blur(24px) saturate(160%);
      border-bottom: none;
      box-shadow: none;
      padding: 0;
      gap: 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-20px);
      transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
    }

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

    .navbar-links li {
      width: 100%;
      text-align: center;
      opacity: 0;
      transform: translateY(12px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navbar-links.open li {
      opacity: 1;
      transform: translateY(0);
    }

    .navbar-links.open li:nth-child(1) { transition-delay: 0.05s; }
    .navbar-links.open li:nth-child(2) { transition-delay: 0.1s; }
    .navbar-links.open li:nth-child(3) { transition-delay: 0.15s; }
    .navbar-links.open li:nth-child(4) { transition-delay: 0.2s; }
    .navbar-links.open li:nth-child(5) { transition-delay: 0.25s; }
    .navbar-links.open li:nth-child(6) { transition-delay: 0.3s; }
    .navbar-links.open li:nth-child(7) { transition-delay: 0.35s; }

    .navbar-links a {
      padding: 16px 24px;
      font-size: 0.95rem;
      width: 100%;
      border-radius: 0;
      background: rgba(79, 143, 255, 0.06);
      border-bottom: 1px solid rgba(80, 140, 255, 0.08);
    }

    .navbar-links a::after {
      display: none;
    }
  }
  
  /* Glowing top accent */
  .dropdown-content::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 143, 255, 0.5), transparent);
  }
  
  /* Left accent bar on hover */
  .dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 2px;
    background: linear-gradient(180deg, #4f8fff, #82b4ff);
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transition: transform 0.18s ease;
  }
  
  .dropdown-content a:hover {
    color: #c8dcff;
    background: rgba(79, 143, 255, 0.08);
    padding-left: 24px;
  }
  
  .dropdown-content a:hover::before {
    transform: scaleY(1);
  }
  .logo {
    position: absolute;
    left: 40px;
    color: white;
    text-decoration: none;
    font-family: "Funnel Display", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 1001;
  }


/* ===== VOLUNTEER HERO ===== */
.volunteer-hero {
  margin-top: 54px; /* accounts for navbar */
  height: calc(100vh - 54px); /* PERFECT fit below navbar */

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 0 20px;

  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('about.jpg') center/cover no-repeat;

  position: relative;
}
.volunteer-hero h1 {
  font-size: 3rem;
  color: white;
  max-width: 800px;
  line-height: 1.2;
  font-family: "Funnel Display", sans-serif;
}

.volunteer-hero p {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #ddd;
  max-width: 600px;
  line-height: 1.5;
  font-family: "Funnel Display", sans-serif;
}
.scroll-arrow {
  font-size: 28px;
  color: white;
  text-decoration: none;
  animation: scroll-arrow 2s infinite;
  display: block;
}

.arrowandtext {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrowtext {
  font-size: 14px;
  
}


.scroll-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  text-decoration: none;
  font-family: "Funnel Display", sans-serif;
}

.scroll-container span {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.scroll-container i {
  font-size: 26px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
  60% { transform: translateY(-6px); }
}
/* ===== VALUES SECTION ===== */
.flip-card {
  width: 300px;
  height: 220px;
  perspective: 1000px;
}

.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

/* flip on hover */
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

/* BOTH SIDES */
.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;

  backface-visibility: hidden;

  border-radius: 20px;
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(200, 220, 255, 0.4);

  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

/* FRONT STYLE */
.flip-front i {
  font-size: 32px;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.flip-front h3 {
  font-size: 1.4rem;
  color: var(--blue-dark);
  font-family: "Funnel Display", sans-serif;
}

/* BACK STYLE */
.flip-back {
  transform: rotateY(180deg);
  text-align: center;
}

.flip-back p {
  font-size: 14px;
  line-height: 1.6;
  font-family: "Funnel Display", sans-serif;
}



.card i {
  font-size: 28px;
  color: var(--blue-primary);
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.card:hover i {
  transform: scale(1.2) rotate(5deg);
}


.values-section {
  padding: 80px 10%;
  text-align: center;
  background: var(--blue-very-light);
}

.values-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--blue-dark);
  font-family: "Funnel Display", sans-serif;
}
.values-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--blue);
  font-family: "Funnel Display", sans-serif;
}
.values-section p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #444;
  font-size: 15px;
  font-family: "Funnel Display", sans-serif;
}
.card-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap; 
}
.values-section .card {
  width: 300px; 
  flex: 0 0 auto;
}

/* ===== IMPACT /STATS SECTION ===== */
.impact-section {
  padding: 20px 10%;
  text-align: center;
  background: white;
}

.impact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--blue-dark);
  font-family: "Funnel Display", sans-serif;
}

.impact-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.impact-box {
  background: var(--blue-very-light);
  padding: 40px 80px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
}

.impact-box:hover {
  transform: translateY(-8px);
}

.impact-box h3 {
  font-size: 2rem;
  color: var(--blue-dark);
  font-family: "Funnel Display", sans-serif;
}

.impact-box p {
  font-size: 17px;
  font-family: "Funnel Display", sans-serif;
}
/* ===== STORY SECTION ===== */
.story-section {
  padding: 120px 10%;
  background: linear-gradient(to bottom, #ffffff, #f8fbff);
}

.story-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

.story-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-family: "Funnel Display", sans-serif;
}

.story-text p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #444;
  font-family: "Funnel Display", sans-serif;
}

.story-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.2);
  transition: transform 0.3s ease;
}

.story-image img:hover {
  transform: scale(1.03);
}

/* ===== TEAM SECTION ===== */
.team-section .card {
  text-align: center;
  padding: 2.2rem 1.5rem;
}
.team-card .role {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue-primary);
  margin-bottom: 8px;
}
.team-section h2 {
  font-size: 50px;
  margin-bottom: 20px;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 50px;
  font-family: "Funnel Display", sans-serif;
}
.team-section .card h3 {
  margin-top: 10px;
  font-size: 25px;
  color: rgb(37, 57, 133);
  font-family: "Funnel Display", sans-serif;
}

.team-section .card p {
  font-size: 15px;
  color: gray;
  font-family: "Funnel Display", sans-serif;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .story-content {
    flex-direction: column;
  }
}

/* Card styling */
.card {
  flex: 1 1 calc(33.333% - 1.33rem); 
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(200, 220, 255, 0.4);

  border-radius: 20px;
  padding: 2rem;

  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(96,165,250,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 70px rgba(37, 99, 235, 0.2);
}


.card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--blue);
}

.card p {
  line-height: 1.7;
  color: #444;
  font-size: 15px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}



/* ===== footer ===== */
.footer {
  background: var(--blue-very-light);
  color: var(--text-dark);
  padding: 60px 10% 30px;
  margin-top: 80px;
  position: relative;
  border-top: 2px solid var(--blue-light);
}

.f-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
}

.f-section.mission {
  max-width: 200px;
}

.footer-left {
  display: flex;
  gap: 80px;
}

.connect {
  margin-left: auto;
}

/* ===== TEXT ===== */
.f-section h3, 
.f-section h4 {
  margin-bottom: 18px;
  font-family: "Funnel Display", sans-serif;
  color: var(--blue-dark);  
  font-weight: bold;
  font-size: 0.95rem;
}

.f-section p {
  line-height: 1.6;
  font-size: 0.85rem;
  color: var(--text-medium); 
  font-family: "Funnel Display", sans-serif;  
}

/* ===== LINKS ===== */
.f-section ul {
  list-style: none;
  padding: 0;
}

.f-section ul li {
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.f-section ul li a {
  color: var(--text-medium);
  text-decoration: none;
  transition: all 0.2s ease;
}

.f-section ul li a:hover {
  color: var(--blue-primary);  
  text-decoration: underline;
}

/* ===== BUTTON ===== */
.button-link {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  border: 1px solid var(--blue-dark);
  color: var(--blue-dark);
  transition: all 0.25s ease;
}

.button-link:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
}

/* ===== BOTTOM ===== */
.bottom-footer {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 40px;
  padding-top: 20px;
  font-family:  "Funnel Display", sans-serif;;
  text-align: center;
  font-size: 0.8rem;
  color: var(--blue-medium); 
}
.featured-section {
  padding: 80px 0;
}