/* AFTER SCHOOL Page Layout & Typography */
.programs-container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #222;
  line-height: 1.6;
}

/* Hero Banner with Split Layout */
.programs-hero {
  border: 4px solid var(--color-red);  
  background-color: #fffbf7;
  border-radius: 16px;
  padding: 2.2rem;
  margin-bottom: 3.5rem;
  box-shadow: 8px 8px 0px var(--color-yellow); /* Graphic drop shadow */
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .programs-hero {
    flex-direction: row;
    padding: 3rem;
  }
}

.hero-text-side {
  flex: 1.2;
}

/* Update this class to stack its children vertically */
.hero-image-side {
  flex: 0.8;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column; /* Forces ABC graphic to stay directly over the photo */
  gap: 1.5rem;            /* Clean spatial gap separating the vector from the photo */
  justify-content: center;
  align-items: center;
}

/* Sizing and alignment rules for the new upper right SVG graphic */
.hero-vector-top {
  width: 40%;
  max-width: 170px;
  height: auto;
  display: block;
  /* 1. Add a smooth transition directly to the SVG class */
  transition: filter 0.3s ease-in-out; 
}

/* 2. Light it up when the mouse hovers over the parent column (.hero-image-side) */
.hero-image-side:hover .hero-vector-top {
  /* Boosts brightness by 25% and adds a clean, soft white drop-shadow glow */
  filter: brightness(1.15) drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}


.hero-img-frame {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 4px solid var(--color-red);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* Loud, playful, multi-colored headline with 3D Pop Shadow */
.fun-headline {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.fun-headline .word-purple { color: black; text-shadow: 2px 2px 0px var(--color-yellow); }
.fun-headline .word-red    { color: #EE4266; text-shadow: 2px 2px 0px #3B82F6; }
.fun-headline .word-orange { color: var(--color-red); text-shadow: 2px 2px 0px black; }

.programs-hero p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* Flex Container for Call to Action Actions */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

/* 2-Column Track Layout */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Program Column Cards */
.program-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.program-card h2 {
  margin: 0;
  padding: 1.25rem;
  color: #ffffff;
  text-align: center;
  font-size: 1.5rem;
}

.program-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-grow: 1;
}

.program-content p {
  margin: 0;
  color: black;
}

/* Card Identity Rules & Explicit Hover Neutralizers */
.card-purple { border: 4px solid var(--color-green); }
.card-purple h2 { background-color: var(--color-green) !important; }
.card-purple:hover .program-content { background-color: #ffffff !important; }

.card-blue { border: 4px solid var(--color-blue); }
.card-blue h2 { background-color: var(--color-blue) !important; }
.card-blue:hover .program-content { background-color: #ffffff !important; }

/* Special Notice Alert Box */
.special-requests-box {
  background-color: #f4f4f4;
  border-left: 4px solid var(--color-blue); /* accent bar */
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  margin-top: auto;
}

/* Interactive Action Buttons */
.btn {
  display: inline-block;
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  color: #ffffff;
  transition: transform 0.1s ease, background-color 0.1s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-orange { background-color: var(--color-red); }
.btn-orange:hover { background-color: #ca005f; }

.btn-purple { background-color: #540D6E; }
.btn-purple:hover { background-color: #3D0951; }

.btn-outline {
  background-color: transparent;
  color: #222;
  border: 2px solid #ccc;
}
.btn-outline:hover {
  background-color: #f9f9f9;
  border-color: #999;
}

.contact-info-list {
  background: rgba(255, 210, 63, 0.15);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
