/* ==========================================================================
   AHS Education - Parent Success Stories ("What Parents Are Saying")
   Pure CSS3 with custom variables, responsive design, and smooth animations
   ========================================================================== */

:root {
  /* Brand Color Tokens */
  --primary-orange: #FF7E1D;
  --primary-orange-dark: #E85B17;
  --primary-orange-light: #FFF4EC;
  --secondary-navy: #0C2340;
  --crimson-cta: #B71C1C;

  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light-muted: #94A3B8;
  --border-light: #E2E8F0;
  --card-bg-white: #FFFFFF;

  /* Fonts */
  --font-display: 'Fredoka', cursive, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 28px rgba(12, 35, 64, 0.05);
  --shadow-card-hover: 0 16px 36px rgba(12, 35, 64, 0.1);
  --shadow-modal: 0 24px 60px rgba(12, 35, 64, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #FFFDF9;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   1. HERO SECTION: WHAT PARENTS ARE SAYING
   Uses hero-bg.png which has family on left & globe/books on right
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 580px;
  background-color: #FFAE2E;
  background-image: url('/assets/img/summer-camp-parent-stories/hero-bg.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 75px 0 95px;
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-content {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #E65100;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 7px 22px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(180, 60, 0, 0.25);
  margin-bottom: 20px;
}

/* Hero Title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-navy {
  color: #0C2340;
  -webkit-text-stroke: 3px #FFFFFF;
  paint-order: stroke fill;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.title-orange {
  color: #FF7A00;
  -webkit-text-stroke: 3px #FFFFFF;
  paint-order: stroke fill;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
  color: #173866;
  line-height: 1.55;
  max-width: 440px;
}

/* ==========================================================================
   3. SECTION DIVIDERS (Dot - Line - Title - Line - Dot)
   ========================================================================== */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  width: 100%;
}

.divider-dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.divider-line {
  width: 46px;
  height: 2.5px;
  background-color: var(--secondary-navy);
  border-radius: 2px;
}

.divider-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  color: var(--secondary-navy);
  letter-spacing: 0.3px;
  padding: 0 4px;
  white-space: nowrap;
}

/* ==========================================================================
   4. FEATURED PARENT STORIES (2 Large Cards)
   ========================================================================== */
.page-content {
  padding-top: 50px;
  padding-bottom: 80px;
}

.section-featured-parents {
  margin-bottom: 70px;
}

.featured-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.featured-card {
  background-color: #FFFFFF;
  border-radius: 22px;
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card-quote-icon {
  margin-bottom: 16px;
}

.featured-quote {
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 24px;
  flex: 1;
}

.featured-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary-navy);
}

.author-location {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Card 2: Split Video Layout */
.card-video-split {
  padding: 24px;
  cursor: pointer;
}

.video-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 20px;
  align-items: center;
  height: 100%;
}

.video-split-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.video-preview-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 190px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-video-split:hover .preview-img {
  transform: scale(1.04);
}

.play-btn-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.play-btn-circle svg {
  margin-left: 2px;
}

.card-video-split:hover .play-btn-circle {
  transform: translate(-50%, -50%) scale(1.1);
  background: #FFFFFF;
}

.video-duration-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(12, 35, 64, 0.85);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   5. MORE PARENT REVIEWS (6 Cards Grid)
   ========================================================================== */
.section-more-reviews {
  margin-bottom: 75px;
}

.reviews-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.parent-review-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.parent-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: #FFE6D5;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.avatar-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #E0F2FE;
  color: #0284C7;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quote-symbol {
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1;
  color: var(--primary-orange);
  font-weight: 700;
}

.review-body {
  font-size: 13.5px;
  line-height: 1.65;
  color: #475569;
}

/* Load More Button */
.load-more-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #F57C00;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 124, 0, 0.35);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-load-more:hover {
  background-color: #E65100;
  transform: translateY(-1px);
}

/* ==========================================================================
   6. TRUSTED LEARNING ENVIRONMENT (4 Feature Cards)
   ========================================================================== */
.section-trusted-environment {
  margin-bottom: 80px;
}

.trusted-header {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.trusted-main-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  color: var(--secondary-navy);
  margin-bottom: 6px;
}

.trusted-subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: #F36523;
}

/* Whimsical doodles around title */
.paper-plane-doodle {
  position: absolute;
  top: -16px;
  left: clamp(20px, 8vw, 140px);
  transform: rotate(-10deg);
  opacity: 0.85;
}

.doodle-star {
  position: absolute;
  color: #FBBF24;
  font-size: 18px;
}

.doodle-star-left {
  left: clamp(60px, 12vw, 200px);
  top: 30px;
}

.doodle-star-right {
  right: clamp(40px, 10vw, 180px);
  top: -10px;
}

.doodle-heart {
  position: absolute;
  right: clamp(80px, 14vw, 240px);
  top: 32px;
  color: #F87171;
  font-size: 16px;
  opacity: 0.85;
}

/* 4 Cards Grid */
.trusted-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.trusted-card {
  border-radius: 22px;
  padding: 30px 22px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.04);
}

.trusted-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(12, 35, 64, 0.08);
}

.trusted-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.trusted-card-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary-navy);
  margin-bottom: 10px;
  line-height: 1.35;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-accent-bar {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.trusted-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
}

/* Color Themes for the 4 Cards */
.card-green {
  background-color: #F0FDF4;
  border: 1.5px solid #DCFCE7;
}
.icon-bg-green {
  background-color: #16A34A;
}
.bar-green {
  background-color: #16A34A;
}

.card-orange {
  background-color: #FFF7ED;
  border: 1.5px solid #FFEDD5;
}
.icon-bg-orange {
  background-color: #EA580C;
}
.bar-orange {
  background-color: #EA580C;
}

.card-blue {
  background-color: #EFF6FF;
  border: 1.5px solid #DBEAFE;
}
.icon-bg-blue {
  background-color: #2563EB;
}
.bar-blue {
  background-color: #2563EB;
}

.card-purple {
  background-color: #FAF5FF;
  border: 1.5px solid #F3E8FF;
}
.icon-bg-purple {
  background-color: #9333EA;
}
.bar-purple {
  background-color: #9333EA;
}

/* ==========================================================================
   7. JOIN OUR PARENT COMMUNITY CTA BANNER (100% Match to reference)
   Uses cta-bg.png which has Captain AHS mascot on left
   ========================================================================== */
.section-parent-cta {
  margin-top: 10px;
  margin-bottom: 50px;
}

.parent-cta-banner {
  position: relative;
  width: 100%;
  max-width: 1140px;
  min-height: 230px;
  margin: 0 auto;
  background-color: transparent;
  background-image: url('/assets/img/summer-camp-parent-stories/cta-bg.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.06));
  display: flex;
  align-items: center;
  padding: 30px 44px;
}

.parent-cta-content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* Padding keeps text cleanly situated between mascot on left & right edge */
  padding-left: clamp(170px, 24vw, 290px);
  padding-right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-text-group {
  flex: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 600;
  color: var(--secondary-navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.cta-subtitle {
  font-size: 13.5px;
  line-height: 1.5;
  color: #1E293B;
  font-weight: 500;
  max-width: 460px;
}

.btn-parent-join {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--crimson-cta);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  padding: 13px 30px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(183, 28, 28, 0.4);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  flex-shrink: 0;
}

.btn-parent-join:hover {
  background-color: #991B1B;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(183, 28, 28, 0.55);
}

.btn-arrow {
  font-size: 16px;
  transition: transform var(--transition-fast);
}

.btn-parent-join:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   8. VIDEO PLAYER MODAL
   ========================================================================== */
.sc-parent-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 35, 64, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sc-parent-modal-overlay.is-active {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sc-parent-modal-dialog {
  background-color: #000000;
  border-radius: 20px;
  width: 100%;
  max-width: 820px;
  box-shadow: var(--shadow-modal);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.sc-parent-modal-overlay.is-active .sc-parent-modal-dialog {
  transform: translateY(0) scale(1);
}

.sc-parent-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #111111;
  border-bottom: 1px solid #222222;
}

.sc-parent-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
}

.sc-parent-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #CCCCCC;
  cursor: pointer;
  padding: 0 4px;
  transition: color var(--transition-fast);
}

.sc-parent-modal-close:hover {
  color: var(--primary-orange);
}

.sc-parent-video-container video {
  width: 100%;
  height: auto;
  max-height: 75vh;
  display: block;
}

/* ==========================================================================
   9. RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

/* Large Tablets & Small Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    min-height: 480px;
    padding: 50px 0 70px;
  }

  .featured-cards-grid {
    gap: 18px;
  }

  .reviews-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .trusted-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .parent-cta-content {
    padding-left: clamp(150px, 22vw, 200px);
    gap: 16px;
  }
}

/* Tablets (<= 860px) */
@media (max-width: 860px) {
  .hero-section {
    min-height: 440px;
    padding: 40px 0 60px;
  }

  .featured-cards-grid {
    grid-template-columns: 1fr;
  }

  .video-split-layout {
    grid-template-columns: 1fr;
  }

  .video-preview-box {
    min-height: 220px;
  }

  .parent-cta-banner {
    padding: 30px 20px;
    min-height: auto;
  }

  .parent-cta-content {
    padding-left: 0;
    padding-right: 0;
    flex-direction: column;
    text-align: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px 20px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }

  .cta-subtitle {
    max-width: 100%;
  }
}

/* Phablets & Mobile (<= 768px) */
@media (max-width: 768px) {
  .page-content {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .reviews-cards-grid {
    grid-template-columns: 1fr;
  }

  .trusted-cards-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .hero-section {
    min-height: 380px;
    padding: 36px 0 50px;
  }

  .hero-badge {
    font-size: 11.5px;
    padding: 6px 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .divider-title {
    font-size: 19px;
  }

  .divider-line {
    width: 24px;
  }

  .featured-card {
    padding: 24px 20px;
  }

  .trusted-main-title {
    font-size: 22px;
  }

  .trusted-subtitle {
    font-size: 17px;
  }

  .paper-plane-doodle {
    display: none;
  }
}
