body {
  background-color: #f1f1f1;
  /* light grey background */
  color: #333;
  /* dark grey text for better readability */
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

p {
  font-size: 20px !important;
}
/* ---------- PARALLAX SECTIONS ---------- */
.parallax {
  min-height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: flex-end;
  /* push content block to the right */
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  background: rgba(0, 0, 0, 0.4);
  /* dark overlay */
  backdrop-filter: blur(10px);
  /* blur only behind text */
  padding: 2rem 3rem;
  border-radius: 12px;
  margin-right: 5%;
  /* spacing from edge */
  color: #fff;
  max-width: 600px;
  text-align: left;
  /* normal text flow */
  z-index: 1;
  position: relative;
}

.parallax h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
  /* dark grey text */
  text-shadow: 1px 1px 3px black;
}

.parallax2 {
  min-height: 100vh;
  height: 1010px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-image 1s ease-in-out;
}

/* ---------- HIGHLIGHTS ---------- */
.highlight-blue {
  color: #005f99;
}

.highlight-yellow {
  color: #d4a21d;
}

/* ---------- NAVBAR ---------- */
.navbar {
  background-color: #eaeaea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
/* Force logo to far left */
.navbar .navbar-brand {
  margin-right: auto;
}

/* Even spacing between nav links */
.navbar .nav-center {
  display: flex;
  justify-content: space-evenly;
  width: 70%; /* adjust to control spread of links */
}

/* Keep toggler to the far right on mobile */
.navbar .navbar-toggler {
  margin-left: auto;
}
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link,
.navbar-brand {
  color: #333 !important;
}

.nav-link:hover {
  color: #005f99 !important;
}

/* ---------- CARDS ---------- */
.card {
  position: relative;
  background-color: #ffffff;
  border-radius: 16px;
  color: #333;
  overflow: hidden;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Gradient border */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(45deg, #005f99, #d4a21d);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

/* ---------- BUTTONS ---------- */
.btn-custom {
  background-color: #d4a21d;
  color: #fff !important;
  font-weight: bold;
}

.btn-custom:hover {
  background-color: #b98c19;
}

.btn-custom2 {
  background-color: #005f99;
  color: #fff;
  font-weight: bold;
}

.btn-custom2:hover {
  background-color: #004c7a;
}

/* ---------- FOOTER ---------- */
footer {
  background: #eaeaea;
  color: #555;
  border-top: 1px solid #ccc;
}

footer a {
  color: #005f99;
  text-decoration: none;
}

a {
  color: #005f99;
}
footer a:hover {
  text-decoration: underline;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  padding: 5rem 2rem;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 3rem;
  background-image: url('https://static.wixstatic.com/media/30b32a_535b219ad99f4a79a219c21a4b102c27~mv2.jpg/v1/fill/w_1223,h_945,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/30b32a_535b219ad99f4a79a219c21a4b102c27~mv2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  color: #333;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  /* lighter overlay */
  border-radius: 12px;
}

.hero-section h1,
.hero-section p {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 2.8rem;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
}

.hero-section p {
  font-size: 1.2rem;
  color: #444;
}

/* ---------- FORMS ---------- */
.form-control-custom {
  background-color: #fff;
  border: 1px solid #005f99;
  color: #333;
  padding: 0.75rem;
  border-radius: 8px;
}

.form-control-custom::placeholder {
  color: #888;
}

.form-control-custom:focus {
  border-color: #d4a21d;
  box-shadow: 0 0 8px rgba(212, 162, 29, 0.3);
  outline: none;
}

/* ---------- SECTIONS ---------- */
.section-dark {
  background-color: #ffffff;
  padding: 4rem 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-light {
  background-color: #f1f1f1;
  padding: 4rem 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
}

/* ---------- OUTLINE BUTTON ---------- */
.btn-outline-custom {
  border: 2px solid #005f99;
  color: #005f99;
  background: transparent;
  font-weight: bold;
  transition: 0.3s;
}

.btn-outline-custom:hover {
  background: #005f99;
  color: #fff;
}

/* ---------- ANIMATION ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- ICON HEADER ---------- */
.card-icon {
  font-size: 2.5rem;
  color: #005f99;
  margin-bottom: 1rem;
}

.hero-section {
  margin-bottom: 0;
}

.section-dark+.section-dark {
  margin-top: 1rem;
}

/* specifically make graduation cap yellow */
.card .fa-graduation-cap {
  color: #d4a21d;
}

.thestorytxt {
  font-size: 80px;
  font-weight: bold;
  text-shadow: 1px 5px 3px black;
}

/* Grow-in animation */
@keyframes growIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.grow-effect {
  animation: growIn 1s ease-out forwards;
}

/* Desktop: floating cards around hero */
.story-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
}
/* Make all story cards in a row equal height */
.story-cards .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Base height for all story cards so rows look even */
.story-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px; /* set based on tallest base card */
  transition: min-height 0.3s ease;
}

/* Expand only the more-info section */
.more-info {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.more-info.show {
  max-height: 500px; /* adjust as needed */
  padding-top: 0.5rem;
}


.story-card .card-text {
  flex: 1 1 auto; /* let text take up space */
}

/* ===== Mobile fixes ===== */
@media (max-width: 768px) {

  /* Add space above the hero text so navbar doesn't overlap */
  .story-hero {
    margin-top: 5rem;
    /* Adjust as needed for navbar height */
  }

  /* Hero text smaller */
  .thestorytxt {
    font-size: 2rem;
    text-align: center;
  }

  /* Button smaller */
  .story-hero .btn-custom {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  /* Story cards adjustments */
  .story-cards {
    position: relative;
    /* remove absolute positioning on mobile */
    inset: auto;
    display: block;
    margin-top: 2rem;
  }

  .story-card {
    max-width: 100%;
    margin: 1rem auto;
    padding: 1rem;
  }

  .story-card h5 {
    font-size: 1rem;
  }

  .story-card .card-text {
    font-size: 0.85rem;
  }

  .story-card .card-icon {
    font-size: 2rem;
  }

  /* Reduce hero section height on mobile */
  .parallax2 {
    min-height: 50vh;
    height: auto;
    padding: 2rem 1rem;
    background-position: top center;
  }
}

/* Our Mission Section */
.mission-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  min-height: 500px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Left image full stretch */
.mission-image {
  flex: 0 0 45%; /* adjust width */
  display: flex;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right text */
.mission-text {
  flex: 1;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* Mobile layout */
@media (max-width: 768px) {
  .mission-container {
    flex-direction: column;
  }

  .mission-image {
    flex: 0 0 auto;
    height: 250px;
  }

  .mission-image img {
    height: 100%;
    object-fit: cover;
  }

  .mission-text {
    padding: 1.5rem 1rem;
  }
}
/* 2GETHER Section - same layout as Our Mission */
.together-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  min-height: 500px; /* same height as Our Mission */
  overflow: hidden;
  background: #f1f1f1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Left image full stretch */
.together-image {
  flex: 0 0 45%; /* width similar to Mission image */
  display: flex;
}

.together-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right text */
.together-text {
  flex: 1;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* Mobile layout */
@media (max-width: 768px) {
  .together-container {
    flex-direction: column;
  }

  .together-image {
    flex: 0 0 auto;
    height: 250px; /* similar to Mission mobile height */
  }

  .together-image img {
    height: 100%;
    object-fit: cover;
  }

  .together-text {
    padding: 1.5rem 1rem;
  }
}


/* ===== Mobile adjustments ===== */
@media (max-width: 768px) {
  /* Hero text smaller and centered */
  .hero-content h1 {
    font-size: 1.8rem !important; /* smaller text */
    line-height: 1.3;
    text-align: center;
  }

  .hero-content {
    padding: 1.5rem 1rem !important; /* less padding */
    margin-right: 0 !important;
  }

  /* Cards: stack nicely */
  .row.row-cols-1.row-cols-md-2.row-cols-lg-4 {
    row-gap: 1rem;
    column-gap: 0.5rem;
  }

  .card {
    flex-direction: column;
    padding: 0.8rem !important;
  }

  .card-body ul li {
    font-size: 0.85rem; /* smaller list text */
  }

  /* Reduce map height */
  #map1, #map2, #map3, #map4 {
    height: 150px !important;
  }
}
/* ===== Unified Our Mission & 2GETHER Sections ===== */
.section-flex {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  min-height: 500px;
  
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Left image (both sections) */
.section-flex .section-image {
  flex: 0 0 50%; /* make both sections 50% width */
  display: flex;
}

.section-flex .section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right text */
.section-flex .section-text {
  flex: 0 0 50%; /* match image width */
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* align text to top instead of center */
  text-align: left;
}


/* Mobile layout */
@media (max-width: 768px) {
  .section-flex {
    flex-direction: column;
  }

  .section-flex .section-image {
    flex: 0 0 auto;
    height: 250px; /* same for both */
  }

  .section-flex .section-image img {
    height: 100%;
    object-fit: cover;
  }

  .section-flex .section-text {
    flex: 0 0 auto;
    padding: 1.5rem 1rem;
  }
}
@media (max-width: 768px) {
  .parallax,
  .parallax2 {
    background-attachment: scroll;      /* disable parallax effect on mobile */
    background-size: cover;             /* still fill width */
    background-position: top center;    /* shift image up to show more vertically */
  }
}

/* Birthday Form Unified Styling */

/* Input + Textarea */
.birthday-form .form-control,
.birthday-form .form-select,
.birthday-form textarea {
  background-color: #fff;
  border: 1px solid #005f99; /* Access2Innovate blue */
  color: #333;
  padding: 0.75rem;
  border-radius: 8px;
  width: 100%;
  font-size: 1rem;
}

.birthday-form .form-control:focus,
.birthday-form .form-select:focus,
.birthday-form textarea:focus {
  border-color: #d4a21d; /* gold accent */
  box-shadow: 0 0 8px rgba(212, 162, 29, 0.35);
  outline: none;
}

/* Labels */
.birthday-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

/* Field spacing */
.birthday-form .form-group,
.birthday-form .mb-3 {
  margin-bottom: 1.25rem !important;
}

/* Section container */
.birthday-form-container {
  background: #ffffff;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-top: 6rem;
}

/* Submit Button */
.birthday-form .btn-submit {
  background-color: #d4a21d;
  color: #fff;
  font-weight: bold;
  padding: 0.75rem 2.5rem;
  border-radius: 10px;
  border: none;
  transition: 0.3s;
}

.birthday-form .btn-submit:hover {
  background-color: #b98c19;
  transform: translateY(-1px);
}

/* Mobile improvements */
@media (max-width: 768px) {
  .birthday-form-container {
    padding: 2rem 1.25rem;
  }
}
/* Simpler clean popup */
.simple-popup {
  width: 90%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
  position: relative;
  animation: popupFade 0.5s ease;
}

.christmas-overlay-simple {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.popup-image {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.popup-image:hover {
  transform: scale(1.02);
}


.close-popup {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
}

.snowflake {
  position: absolute;
  top: -10px;
  animation: fall linear infinite;
}

@keyframes popupFade {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(360deg);
  }
}


/* 📱 Mobile Layout */
@media (max-width: 768px) {
  .popup-flex {
    flex-direction: column;
  }
  .popup-col {
    width: 100%;
  }
  .improved-popup-desktop {
    max-height: 92vh;
    padding: 1.4rem;
  }
}
/* CHRISTMAS FUNDRAISER PAGE ONLY */
.fundraiser-hero {
  background: url("https://t3.ftcdn.net/jpg/09/50/17/64/360_F_950176443_XQGPTseUunB0UMYARE4DqORCKiwD3Izl.jpg") center/cover no-repeat;
  height: 25vh;
  margin-top: 90px;
}
.fundraiser-hero2 {
  position: relative;
  height: 35vh;
  margin-top: 90px;
  overflow: hidden;
}

.fundraiser-hero2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://img.freepik.com/free-photo/ai-robot-interacting-with-futuristic-data-interface_23-2152005489.jpg?semt=ais_hybrid&w=740&q=80");
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: 100%;
  filter: blur(3px);
  transform: scale(1.05); /* prevents blur edges */
  z-index: -1;
}


.goal-box {
  background: #ffffffdd;
  border-left: 5px solid #0d6efd;
}

.goal-line {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.goal-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
}
/* Vertical divider in the middle between columns */
.fundraiser-row {
  position: relative;
}

.fundraiser-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px; /* thickness of divider */
  background-color: green; /* adjust color as needed */
  transform: translateX(-50%); /* center exactly */
  z-index: 1;
}

/* Add padding so text doesn’t overlap the divider */
.left-goal {
  padding-right: 2rem;
  z-index: 2;
}

.right-support {
  padding-left: 2rem;
  z-index: 2;
}

/* Mobile: remove divider */
@media (max-width: 768px) {
  .fundraiser-row::before {
    display: none;
  }

  .left-goal, .right-support {
    padding: 0;
  }
}

.program-title-links:hover {
  text-decoration: none;
  color: #333;
  font-size: 30px;
}

.program-title-links {
  text-decoration: underline;
  color: #005f99;
  font-size: 30px;
}
#birthdayCarousel img {
  height: 350px;
  object-fit: cover;
}

@media (max-width: 768px) {
  #birthdayCarousel img {
    height: 220px;
  }
}

.btn-primary {
  background-color: #005f99;
}

.btn-primary:hover {
  background-color: #2c7cad;
  text-decoration: none;
}

/* Camps cards equal height */
.section-dark .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Push button to bottom */
.section-dark .card .btn {
  margin-top: auto;
}

/* Registration status badge */
.status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* Open state */
.status-badge.open {
  background-color: #e6f6ed;
  color: #198754; /* Bootstrap green */
  border: 1px solid #b7e4c7;
}


.status-badge.open {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(25,135,84,0.3); }
  70% { box-shadow: 0 0 0 6px rgba(25,135,84,0); }
  100% { box-shadow: 0 0 0 0 rgba(25,135,84,0); }
}

.status-badge.closed { background:#f8d7da; color:#842029; }
.status-badge.waitlist { background:#fff3cd; color:#664d03; }