/* ========================================
   Design Tokens & CSS Variables
   ======================================== */
:root {
  /* Colors - Exact from Figma */
  --deep-blue: #0B2038;
  --white: #FFFFFF;
  --primary: #F25334;
  --body: #7E8185;
  --slate: #5F7999;
  --neutral: #FAF5F2;
  --blue: #2390FF;
  --ph: #959595;
  --green: #75C137;
  --teal: #26A6A1;
  --yellow: #FFA135;
  --orange: #FFA135;
  
  /* Typography */
  --font-display: 'Fredoka One', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-hand: 'Schoolbell', cursive;
  
  /* Spacing */
  --container: 1170px;
  --radius-lg: 36px;
  --radius: 12px;
  --shadow: 0 4px 60px rgba(0, 0, 0, 0.07);
}

/* ========================================
   Global Reset & Base Styles
   ======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--deep-blue);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

address {
  font-style: normal;
}

/* ========================================
   Layout Utilities
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.center {
  text-align: center;
}

/* ========================================
   Typography
   ======================================== */
.h2 {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 50px;
  margin: 0 0 16px;
  letter-spacing: 0;
  color: var(--deep-blue);
}

.h2--white {
  color: #fff;
}

.lead {
  font-weight: 700;
  color: #4c4c4c;
  font-size: 16px;
  line-height: 26px;
}

.eyebrow {
  font-family: var(--font-hand);
  font-size: 24px;
  color: var(--primary);
  margin: 0 0 8px;
  display: block;
}

.eyebrow--blue {
  color: var(--blue);
}

.eyebrow--white {
  color: #fff;
}

.eyebrow--green {
  color: var(--green);
}

.eyebrow--red {
  color: var(--primary);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: #d9442c;
  transform: translateY(-2px);
}

.btn--teal {
  background: var(--teal);
  color: #fff;
}

.btn--teal:hover {
  background: #1f8a86;
  transform: translateY(-2px);
}

.btn--yellow {
  background: var(--yellow);
  color: #fff;
}

.btn--yellow:hover {
  background: #e69020;
  transform: translateY(-2px);
}

.btn--red {
  background: var(--primary);
  color: #fff;
}

/* ========================================
   Topbar
   ======================================== */
.topbar {
  background: var(--deep-blue);
  color: #fff;
  font-size: 14px;
  position: relative;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  position: relative;
}

.topbar__social {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--primary);
  padding: 0 40px;
  height: 40px;
  position: absolute;
  left: 0;
}

.social-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.8;
}

.topbar__info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  padding-left: 300px;
}

.topbar__hours {
  color: #fff;
  font-weight: 500;
}

.topbar__divider {
  color: rgba(255, 255, 255, 0.3);
}

.topbar__email {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.topbar__email:hover {
  text-decoration: underline;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: var(--shadow);
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.logo {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__link {
  color: var(--body);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}

.nav__link:hover {
  color: var(--primary);
}

.nav__link--active {
  color: var(--primary);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.phone__label {
  font-size: 12px;
  color: var(--body);
  font-weight: 600;
}

.phone__number {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--deep-blue);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.phone__number:hover {
  color: var(--primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 50%, #fff 70%);
  padding: 56px 0 80px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 75px;
  line-height: 90px;
  margin: 16px 0 32px;
  color: var(--deep-blue);
}

.hero__actions {
  display: flex;
  gap: 16px;
}

.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__illustration {
  position: relative;
  z-index: 2;
}

.hero__image {
  width: 100%;
  height: auto;
  border-radius: 73px;
}

/* ========================================
   About Section
   ======================================== */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__image {
  width: 100%;
  height: auto;
  border-radius: 40px;
}

.about__content {
  padding: 0;
}

.about__text {
  color: var(--body);
  margin-bottom: 16px;
  line-height: 26px;
}

.about__content .btn {
  margin-top: 24px;
}

/* ========================================
   Wave Dividers
   ======================================== */
.wave-divider {
  width: 100%;
  height: 22px;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-divider--top {
  margin-bottom: -1px;
}

.wave-divider--bottom {
  margin-top: -1px;
}

.wave-divider--orange-top,
.wave-divider--orange-bottom,
.wave-divider--navy-top,
.wave-divider--navy-bottom {
  height: 43px;
}

/* ========================================
   Benefits Section
   ======================================== */
.section--white {
  background: #fff;
}

.benefits .h2 {
  margin-bottom: 56px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.benefit__icon {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #fff;
  transition: transform 0.3s ease;
}

.benefit__icon:hover {
  transform: scale(1.05);
}

.benefit__icon--yellow {
  background: var(--yellow);
}

.benefit__icon--red {
  background: var(--primary);
}

.benefit__icon--blue {
  background: var(--blue);
}

.benefit__icon--green {
  background: var(--green);
}

.benefit__icon--slate {
  background: var(--slate);
}

.benefit__icon--teal {
  background: var(--teal);
}

.benefit__title {
  font-family: var(--font-display);
  font-size: 16px;
  text-align: center;
  color: var(--deep-blue);
  line-height: 1.3;
}

/* ========================================
   Stats Section
   ======================================== */
.section--cream {
  background: var(--neutral);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat {
  padding: 20px;
}

.stat__value {
  font-family: var(--font-display);
  font-size: 50px;
  line-height: 1.2;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.stat__label {
  color: var(--yellow);
  font-weight: 700;
  font-size: 16px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  padding: 72px 0;
}

.cta__inner {
  background: var(--blue);
  border-radius: 73px;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 80px 60px 0;
  overflow: hidden;
  position: relative;
}

.cta__media {
  margin-left: -80px;
}

.cta__media img {
  width: 100%;
  height: auto;
}

.cta__content {
  padding-right: 40px;
}

.cta__text {
  color: #FAF5F2;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 26px;
  margin: 16px 0 24px;
}

/* ========================================
   Programs Section
   ======================================== */
.section--orange {
  background: var(--orange);
  padding: 80px 0;
}

.section--orange .h2 {
  color: #fff;
  margin-bottom: 56px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 80px rgba(0, 0, 0, 0.12);
}

.card__media {
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 238px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  padding: 24px;
}

.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.chip--red {
  background: var(--primary);
}

.chip--green {
  background: var(--green);
}

.chip--blue {
  background: var(--blue);
}

.card__title {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 8px 0 12px;
  color: var(--deep-blue);
}

.card__text {
  color: var(--body);
  font-size: 14px;
  line-height: 22px;
}

/* ========================================
   Testimonial Section
   ======================================== */
.testimonial__inner {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial__bubble {
  background: var(--green);
  border-radius: 40px;
  padding: 50px 60px;
  margin: 40px 0 30px;
  position: relative;
}

.testimonial__bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--green);
}

.testimonial__quote {
  color: #fff;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  margin: 0;
}

.testimonial__person {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__info {
  text-align: left;
}

.testimonial__name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--deep-blue);
  margin-bottom: 4px;
}

.testimonial__role {
  color: var(--slate);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 12px;
}

/* ========================================
   Blog Section
   ======================================== */
.section--navy {
  background: var(--deep-blue);
  padding: 80px 0;
}

.cards--blog {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}

.blogcard {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.blogcard:hover {
  transform: translateY(-8px);
}

.blogcard__media img {
  width: 100%;
  height: 238px;
  object-fit: cover;
}

.blogcard__body {
  padding: 24px;
  position: relative;
}

.blogcard__date {
  position: absolute;
  right: 24px;
  top: 24px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

.blogcard__title {
  font-family: var(--font-display);
  font-size: 18px;
  margin-top: 12px;
  color: var(--deep-blue);
  line-height: 1.4;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
  padding: 56px 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.gallery__grid img {
  border-radius: 30px;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__grid img:hover {
  transform: scale(1.05);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--deep-blue);
  color: #fff;
  padding-top: 80px;
  position: relative;
}

.footer__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  padding-bottom: 60px;
}

.footer__logo {
  height: 80px;
  width: auto;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 24px;
  color: #fff;
}

.footer__address {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 26px;
  margin-bottom: 20px;
}

.footer__contacts p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 26px;
  margin-bottom: 8px;
}

.footer__contacts i {
  margin-right: 8px;
  color: var(--primary);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: 16px;
}

.footer__list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer__list a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px 0;
}

.copy {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 48px;
    line-height: 64px;
  }
  
  .hero__inner {
    grid-template-columns: 1fr;
  }
  
  .about__inner {
    grid-template-columns: 1fr;
  }
  
  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta__inner {
    grid-template-columns: 1fr;
    padding: 40px;
    text-align: center;
  }
  
  .cta__media {
    margin-left: 0;
  }
  
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .topbar__info {
    padding-left: 0;
    flex-wrap: wrap;
  }
  
  .topbar__social {
    position: static;
    width: 100%;
    justify-content: center;
  }
  
  .nav {
    display: none;
  }
  
  .header__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .hero__title {
    font-size: 40px;
    line-height: 50px;
  }
  
  .h2 {
    font-size: 32px;
    line-height: 40px;
  }
  
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  .cards--blog {
    grid-template-columns: 1fr;
  }
  
  .stats__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__cols {
    grid-template-columns: 1fr;
  }
  
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero__title {
    font-size: 32px;
    line-height: 42px;
  }
  
  .h2 {
    font-size: 28px;
    line-height: 36px;
  }
  
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }
  
  .benefits__grid {
    grid-template-columns: 1fr;
  }
  
  .benefit__icon {
    width: 140px;
    height: 140px;
    font-size: 50px;
  }
  
  .cta__inner {
    padding: 24px;
  }
  
  .testimonial__bubble {
    padding: 30px 24px;
  }
  
  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Page Hero Banner (About, Programs, Contact)
   ======================================== */
.page-hero {
  position: relative;
  margin-bottom: 0;
}

.page-hero__bg {
  background: var(--deep-blue);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 50px;
  line-height: 50px;
  color: #fff;
  margin: 0 0 16px;
  text-align: center;
}

.page-hero__breadcrumb {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  margin: 0;
}

.wave-divider--hero {
  height: 43px;
  margin-top: -1px;
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact-form-section {
  padding: 80px 0;
}

.contact-form-header {
  margin-bottom: 56px;
}

.contact-form {
  max-width: 868px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  width: 100%;
}

.form-input {
  width: 100%;
  height: 60px;
  background-color: var(--neutral);
  border: none;
  border-radius: 4px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--deep-blue);
  outline: none;
  transition: background-color 0.3s ease;
}

.form-input:focus {
  background-color: #f0e8e3;
}

.form-input::placeholder {
  color: var(--body);
}

.form-textarea {
  width: 100%;
  min-height: 176px;
  background-color: var(--neutral);
  border: none;
  border-radius: 4px;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--deep-blue);
  outline: none;
  resize: vertical;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.form-textarea:focus {
  background-color: #f0e8e3;
}

.form-textarea::placeholder {
  color: var(--body);
}

.form-submit {
  margin-top: 24px;
}

/* Contact Info Cards */
.contact-info-section {
  padding: 56px 0;
  background-color: #fff;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  border-radius: 14px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
}

.contact-card__icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}

.contact-card__content {
  text-align: center;
}

.contact-card__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--body);
  margin-bottom: 8px;
}

.contact-card__value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--deep-blue);
  font-weight: 400;
  margin: 0;
}

/* Map Section */
.map-section {
  background-color: #F6F6F6;
  height: 500px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.map-container {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Programs Page Specific */
.programs-header {
  padding: 56px 0;
}

.program-benefits {
  padding: 80px 0;
}

/* Stats with white text for orange background */
.stat--white .stat__value {
  color: #fff;
}

.stat--white .stat__label {
  color: #fff;
  opacity: 0.9;
}

/* Additional responsive styles for new components */
@media (max-width: 768px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .page-hero__title {
    font-size: 40px;
  }
  
  .page-hero__breadcrumb {
    font-size: 16px;
  }
  
  .map-section {
    height: 400px;
  }
}

