/* ===== BRAND COLOR PALETTE ===== */
:root {
  --brand-primary: var(--brand-secondary);
  --brand-gold: var(--brand-cta);

  /* Expanded palette */
  --brand-secondary: #8c52ff; /* secondary accent */
  --brand-cta: #ff8b51;       /* highlight / CTA */
  --brand-white: #ffffff;     /* clean background */
}

/* ===== BASE STYLES ===== */
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;
}

/* Home hero: cover + anchored focal area so subjects stay visible across aspect ratios */
#hero.parallax {
  background-size: cover;
  background-repeat: no-repeat;
  /* Bias slightly right / upper-mid — matches group + robot in hero photos */
  background-position: 52% 36%;
}

@media (min-width: 992px) {
  #hero.parallax {
    background-position: 50% 40%;
  }
}

/* Narrow portrait: avoid cropping faces at top/bottom when cover kicks in */
@media (max-width: 991px) {
  #hero.parallax {
    background-attachment: scroll;
    background-size: cover;
    background-position: 54% 30%;
  }
}

@media (max-width: 991px) and (max-aspect-ratio: 10/16) {
  #hero.parallax {
    background-position: 56% 26%;
  }
}

.hero-content {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 2rem 3rem;
  border-radius: 12px;
  margin-right: 5%;
  color: #fff;
  max-width: 600px;
  text-align: left;
  z-index: 1;
  position: relative;
}

.parallax h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
  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: var(--brand-secondary);
}

.highlight-yellow {
  color: var(--brand-cta);
}

/* ---------- NAVBAR ---------- */
.navbar {
  background-color: #eaeaea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  /* Isolate on own layer to prevent glitching when other fixed elements (e.g. popup) are present during scroll */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.navbar .navbar-brand {
  margin-right: auto;
}

.navbar .nav-center {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 0.75rem;
  row-gap: 0.25rem;
  width: auto;
  max-width: 100%;
}

.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: var(--brand-secondary) !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);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 16px;
   background: linear-gradient(
    45deg,
    var(--brand-secondary),
    var(--brand-cta)
  );
  -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: var(--brand-cta);
  color: #fff !important;
  font-weight: bold;
}

.btn-custom:hover {
  background-color: #e6763f;
}

.btn-custom2 {
  background-color: var(--brand-secondary);
  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: var(--brand-secondary);
  text-decoration: none;
}

a {
  color: var(--brand-secondary);
}

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 var(--brand-secondary);
  color: #333;
  padding: 0.75rem;
  border-radius: 8px;
}

.form-control-custom::placeholder {
  color: #888;
}

.form-control-custom:focus {
  border-color: var(--brand-cta);
  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 var(--brand-secondary);
  color: var(--brand-secondary);
  background: transparent;
  font-weight: bold;
  transition: 0.3s;
}

.btn-outline-custom:hover {
  background: var(--brand-secondary);
  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: var(--brand-secondary);
  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: var(--brand-cta);
}

.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:not(#hero),
  .parallax2 {
    background-attachment: scroll;      /* disable parallax effect on mobile */
    background-size: cover;
    background-position: top center;
  }
}

/* Birthday Form Unified Styling */

/* Input + Textarea */
.birthday-form .form-control,
.birthday-form .form-select,
.birthday-form textarea {
  background-color: #fff;
  border: 1px solid var(--brand-secondary); /* 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: var(--brand-cta); /* 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: var(--brand-cta);
  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;
}

/* Side panel popup (non-intrusive, bottom-right) */
.side-popup-panel {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  max-width: 280px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.side-popup-panel.side-popup-visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.side-popup-card {
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--brand-cta);
  position: relative;
}

.side-popup-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 0.15rem;
}

.side-popup-close:hover {
  color: #333;
}

/* Mobile: animate with bottom instead of transform to avoid navbar scroll glitch */
@media (max-width: 768px) {
  .side-popup-panel {
    bottom: -100vh;
    right: 1rem;
    left: 1rem;
    max-width: none;
    transform: none;
    transition: bottom 0.35s ease, opacity 0.35s ease;
  }
  .side-popup-panel.side-popup-visible {
    bottom: 1rem;
    transform: none;
  }
}

.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: 55vh;
  margin-top: 90px;
  overflow: hidden;
}

.fundraiser-hero2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--fundraiser-hero-bg, url("https://img.freepik.com/free-photo/ai-robot-interacting-with-futuristic-data-interface_23-2152005489.jpg?semt=ais_hybrid&w=1920&q=80"));
  background-repeat: no-repeat;
  background-position: center 35%;
  background-size: cover;
  z-index: 0;
}

/* Slight darkening so titles stay readable without blurring the photo */
.fundraiser-hero2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.45)
  );
  z-index: 1;
  pointer-events: none;
}

.fundraiser-hero2 > * {
  position: relative;
  z-index: 2;
}


.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: var(--brand-cta);
  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: var(--brand-secondary);
  font-size: 30px;
}
#birthdayCarousel img {
  height: 350px;
  object-fit: cover;
}

@media (max-width: 768px) {
  #birthdayCarousel img {
    height: 220px;
  }
}

.btn-primary {
  background-color: var(--brand-secondary);
  border: none;
}

.btn-primary:hover {
   background-color: #6f3de0;
  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; }

.hackathon-section {
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 50px;
}

.challenge-image {
  max-width: 340px;
}

@media (max-width: 768px) {
  .challenge-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

/* Newsletter CTA Button */
.btn-newsletter {
  background-color: #ff8b51; /* CTA accent */
  color: #ffffff;
  transition: all 0.3s ease;
}

.btn-newsletter:hover {
  background-color: #e6763f;
  color: white;
  text-decoration: none;
}

/* ---------- Summer camps landing (compact, hover details on desktop) ---------- */
.summer-camps-landing {
  background-color: #1e1e26;
  background-image: url("images/camps-stem-pattern.svg");
  background-size: 480px 480px;
  background-repeat: repeat;
  background-attachment: scroll;
}

.summer-camps-landing .summer-camps-eyebrow {
  letter-spacing: 0.06em;
  color: #b4b8cc;
}

.summer-camps-eyebrow {
  letter-spacing: 0.06em;
  color: #666;
}

/* Camps hero title — matches About story hero (white + brand colors + shadow) */
.camps-story-hero {
  text-align: center;
  margin-bottom: 0.25rem;
}

.camps-hero-title {
  font-size: clamp(1.85rem, 4.6vw, 3.85rem);
  font-weight: 700;
  line-height: 1.12;
  text-shadow: 1px 5px 3px rgba(0, 0, 0, 0.9);
}

.camps-hero-title .highlight-yellow,
.camps-hero-title .highlight-blue {
  text-shadow: 1px 5px 3px rgba(0, 0, 0, 0.9);
}

.camps-hero-tagline {
  font-size: clamp(0.68rem, 1.65vw, 0.82rem);
  color: var(--brand-cta);
  letter-spacing: 0.06em;
  text-shadow: 1px 3px 3px rgba(0, 0, 0, 0.85);
}

@media (max-width: 768px) {
  .camps-story-hero {
    margin-top: 0.25rem;
  }

  .camps-hero-title {
    font-size: clamp(1.5rem, 6.2vw, 2.05rem);
  }
}

.summer-camps-intro {
  font-size: clamp(0.72rem, 1.05vw, 0.875rem);
  line-height: 1.35;
  max-width: 52rem;
}

.summer-camps-landing .summer-camps-intro {
  color: rgba(255, 255, 255, 0.92);
}

.summer-camps-landing .summer-camps-actions .btn-outline-secondary {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
}

.summer-camps-landing .summer-camps-actions .btn-outline-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.summer-program-grid-desktop {
  display: none;
}

@media (min-width: 992px) {
  .summer-camps-viewport {
    min-height: calc(100svh - 5.75rem);
    max-height: calc(100svh - 5.75rem);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .summer-program-grid-desktop {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    flex: 1;
    min-height: 0;
    align-content: stretch;
    padding-bottom: 0.25rem;
  }
}

@media (max-width: 991.98px) {
  .summer-program-grid-desktop {
    display: none !important;
  }

  .summer-camps-landing {
    padding-bottom: 1rem;
  }
}

.summer-program-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.45rem 0.35rem;
  min-height: 4.25rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: #333;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.summer-program-tile:hover,
.summer-program-tile:focus-visible {
  border-color: var(--brand-secondary);
  box-shadow: 0 4px 14px rgba(140, 82, 255, 0.18);
  outline: none;
}

.summer-program-title {
  font-weight: 700;
  font-size: clamp(0.68rem, 0.95vw, 0.86rem);
  line-height: 1.2;
  color: var(--brand-secondary);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}

.summer-program-tile:hover .summer-program-title,
.summer-program-tile:focus-visible .summer-program-title {
  text-decoration-color: var(--brand-cta);
}

.summer-program-summary {
  font-size: clamp(0.6rem, 0.78vw, 0.72rem);
  color: #555;
  margin-top: 0.2rem;
  line-height: 1.25;
}

.summer-program-hover {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.45rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.summer-program-hover p {
  font-size: 0.68rem !important;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

@media (hover: hover) and (pointer: fine) {
  .summer-program-tile:hover .summer-program-hover {
    opacity: 1;
    visibility: visible;
  }
}

.summer-program-tile:focus-within .summer-program-hover {
  opacity: 1;
  visibility: visible;
}

.summer-program-tile-wide {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 28rem);
}

.summer-camps-accordion .accordion-button {
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
}

.summer-camps-accordion .accordion-body {
  padding: 0.65rem 0.85rem;
}

.summer-camps-accordion .accordion-body p {
  font-size: 0.9rem !important;
}

/* ----- Native Instagram feed (home, no third-party widget) ----- */
.instagram-native .instagram-native-header h3 {
  font-size: 1.5rem;
}

.instagram-native .instagram-native-header p {
  font-size: 1rem !important;
}

.instagram-native-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  padding: 1.1rem 1.35rem;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.instagram-native-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.instagram-native-avatar {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 2px solid #e9ecef;
  flex-shrink: 0;
}

.instagram-native-stats {
  display: flex;
  gap: 1.35rem;
  justify-content: center;
  text-align: center;
}

.instagram-native-stats .stat-val {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.instagram-native-stats .stat-label {
  font-size: 0.8rem;
  color: #6c757d;
}

.btn-instagram-follow {
  background: #0095f6;
  color: #fff !important;
  border: none;
  padding: 0.45rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-instagram-follow:hover {
  background: #1877f2;
  color: #fff !important;
}

.instagram-native-grid-wrap {
  position: relative;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.25rem;
}

.instagram-native-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.instagram-native-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e9ecef;
  display: block;
  outline-offset: 2px;
}

.instagram-native-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .instagram-native-tile:hover img {
    transform: scale(1.04);
  }
}

.instagram-native-type {
  position: absolute;
  top: 6px;
  right: 6px;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75));
  pointer-events: none;
}

.instagram-native-scroll-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(40%, -50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #495057;
}

.instagram-native-scroll-btn:hover {
  background: #fff;
  color: #212529;
}

@media (max-width: 575.98px) {
  .instagram-native-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    gap: 4px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .instagram-native-tile {
    flex: 0 0 min(42vw, 11rem);
    scroll-snap-align: start;
    min-height: 0;
  }

  .instagram-native-scroll-btn.is-visible {
    display: flex;
  }

  .instagram-native-grid-wrap {
    padding-right: 1.25rem;
  }
}

@media (min-width: 576px) {
  .instagram-native-scroll-btn {
    display: none !important;
  }
}

@media (max-width: 991.98px) and (min-width: 576px) {
  .instagram-native-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
