:root {
  --purple: #2e128f;
  --purple2: #5d35d6;
  --lav: #efe7ff;
  --lav2: #f8f4ff;
  --gold: #ffb31a;
  --ink: #20174f;
  --muted: #6b5f8a;
  --line: #ddd0ff;
  --white: #fff;
  --shadow-soft: 0 4px 18px rgba(46, 18, 143, 0.05);
  --shadow-card: 0 8px 24px rgba(46, 18, 143, 0.08);
  --shadow-hover: 0 12px 32px rgba(46, 18, 143, 0.13);
}

/* =========================================================
   Base
   ========================================================= */

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

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.brand {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--purple);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

/* =========================================================
   Top Bar + Navbar
   ========================================================= */

.topbar {
  background: #f0e8ff;
  padding: 10px 5%;
  display: flex;
  gap: 30px;
  justify-content: center;
  font-weight: 700;
  color: var(--purple);
}

.topbar span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(46, 18, 143, 0.07);
}

.navbar nav a {
  color: var(--purple);
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border: 2px solid transparent;
  border-radius: 999px;
}

.navbar nav a:hover {
  color: var(--purple);
}

.navbar nav a[aria-current="page"] {
  color: var(--purple);
  border-color: var(--purple);
}

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

.logo-group img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand {
  font-size: 1.55rem;
  line-height: 1;
}

.tag {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

nav a {
  padding: 7px 11px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

nav a:hover {
  background: var(--lav);
  color: var(--purple);
}

/* Dropdowns */

.dropdown {
  position: relative;
}

.dropdown-menu,
.dropdown-submenu {
  display: none;
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(46, 18, 143, 0.12);
  padding: 8px;
  z-index: 200;
}

.dropdown-menu {
  top: 100%;
  left: 0;
  min-width: 200px;
}

.dropdown-submenu {
  top: 0;
  left: 100%;
  min-width: 180px;
  z-index: 300;
}

.dropdown-menu a,
.dropdown-submenu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-submenu a:hover {
  background: var(--lav);
  color: var(--purple);
}

.dropdown:hover .dropdown-menu,
.dropdown-nested:hover .dropdown-submenu {
  display: block;
}

.dropdown-nested {
  position: relative;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(46, 18, 143, 0.24);
  transition: transform 0.18s, box-shadow 0.18s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(46, 18, 143, 0.34);
}

.btn.alt {
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--purple);
  box-shadow: none;
}

.btn.alt:hover {
  background: var(--purple);
  color: var(--white);
}

/* =========================================================
   Shared Layout + Cards
   ========================================================= */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5%;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.card h3 {
  color: var(--purple);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.panel {
  background: linear-gradient(135deg, #f4edff, #fff);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 10px 26px rgba(46, 18, 143, 0.05);
  font-size: 1.3rem
}

.check {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.check li {
  position: relative;
  padding-left: 1.5em;
  color: var(--muted);
  font-size: 0.88rem;
}

.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple2);
  font-weight: 800;
}

/* =========================================================
   Original Home Hero
   Keep this background image as requested.
   ========================================================= */

.hero {
  position: relative;
  min-height: 750px;
  padding: 80px 5% 80px 3%;
  background-image: url("home-hero-background.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}

.hero-inner {
  position: relative;
  max-width: 360px;
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.hero h3 {
  margin-bottom: 0.75rem;
  color: var(--purple);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
}

.hero p {
  max-width: 400px;
  margin-bottom: 1.8rem;
  color: var(--purple);
  font-size: .9rem;
  font-weight: 600;
}

/* =========================================================
   Optional Updated Home Hero
   Used only if your HTML uses .home-hero classes.
   ========================================================= */

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 750px;
  background-image: url("/images/home-hero-background.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

/* =========================================================
   Page-Specific Hero Backgrounds
   Works with your existing .home-hero CSS
   ========================================================= */

.home-hero.aba-hero {
  background-image: url("/images/aba-hero-background.png");
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

.home-hero.about-hero {
  background-image: url("/images/about-hero-background.png");
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}

.home-hero.services-hero {
  background-image: url("/images/services-hero-background.png");
}

.hero.aba-hero {
  background-image: url("/images/aba-hero-background.png");
}

.home-hero.parent-coaching-hero {
  background-image: url("/images/parentcoaching-hero-background.png");
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

.hero.service-coordination-hero {
  background-image: url("/images/service-coordination-background.png");
}

.home-hero.resources-hero {
  background-image: url("/images/resources-hero-background.png");
}

.home-hero.communityresources-hero {
  background-image: url("/images/communityresources-hero-background.png");
}

.home-hero.parentguide-hero {
  background-image: url("/images/parentguide-hero-background.png");
}

.home-hero.referral-guide-hero {
  background-image: url("/images/referral-guide-hero-background.png");
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

.home-hero.gettingstarted-hero {
  background-image: url("/images/gettingstarted-hero-background.png");
}

.home-hero.milestones-hero {
  background-image: url("/images/milestones-hero-background.png");
}

.home-hero.locations-hero {
  background-image: url("/images/locations-hero-background.png");
}

.home-hero.contact-hero {
  background-image: url("/images/contact-hero-background.png");
}

.home-hero.interest-list-hero {
  background-image: url("/images/interest-list-hero-background.png");
}

.home-hero.comm-hero {
  background-image: url("/images/comm-hero-background.png");
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

.home-hero.play-hero {
  background-image: url("/images/play-hero-background.png");
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

.home-hero.sleep-hero {
  background-image: url("/images/sleep-hero-background.png");
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

.home-hero.parent-resources-hero {
  background-image: url("/images/parent-tips-hero-background.png");
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

.home-hero.behavior-hero {
  background-image: url("/images/behavior-hero-background.png");
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  min-height: 475px;
  margin: 0;
  padding: 62px 5% 90px 3%;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 24px;
}

.home-hero-copy {
  max-width: 560px;
}

.home-hero h1 {
  margin-bottom: 0.9rem;
  color: var(--purple);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.home-hero h3 {
  margin-bottom: 1rem;
  color: #a9439a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.2;
}

.home-hero p {
  max-width: 470px;
  margin-bottom: 1.6rem;
  color: #211744;
  font-size: 1.50rem;
  font-weight: 500;
  line-height: 1.65;
}

.home-hero-image {
  align-self: end;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 360px;
}

.home-hero-image img {
  width: min(620px, 100%);
  max-height: 445px;
  object-fit: contain;
  object-position: bottom right;
}

.home-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: 115px;
  pointer-events: none;
}

.home-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.home-wave path {
  fill: #fff;
}



/* =========================================================
   Homepage Support Cards
   ========================================================= */

.home-support-section {
  padding-top: 35px;
  padding-bottom: 30px;
}

.home-support-section h2 {
  color: var(--purple);
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  margin-bottom: 1.35rem;
}

.home-support-grid,
.home-service-cards {
  max-width: 1050px;
  margin: 0 auto;
}

.home-support-card,
.home-service-card {
  min-height: 380px;
  justify-content: flex-start;
}

.home-support-card img,
.card-image-placeholder {
  width: 185px;
  height: 145px;
  object-fit: contain;
  margin-left: 0px;
}

.home-support-card h3,
.home-service-card h3 {
  color: var(--purple);
  font-size: 1.55rem;
  line-height: 1.12;
}

.home-support-card p,
.home-service-card p {
  color: #20174f;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* =========================================================
   Homepage Bottom Feature Cards
   ========================================================= */

.home-feature-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 2.5% 40px;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
  align-items: start;
}

.home-feature-card {
  overflow: hidden;
  border: 1px solid #cbb7ee;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #fbf7ff);
  box-shadow: var(--shadow-card);
}

/* Support Beyond Labels card */

.support-labels-card {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: stretch;
  align-self: start;
  min-height: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
}

.support-labels-card .home-feature-image {
  min-height: 0;
  padding: 18px 16px;
  background: linear-gradient(to bottom, #ffffff 0%, #f1ddff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-labels-card .home-feature-image {
  padding: 0;
  min-height: 100%;
}

.support-labels-card .home-feature-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.support-labels-card .home-feature-content {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.support-labels-card .home-feature-content h2 {
  margin: 0;
  color: var(--purple);
  text-align: center;
  font-size: 1.35rem;
  line-height: 1.1;
}

.support-labels-card .home-feature-content p {
  margin: 0 0 13px;
  color: #20174f;
  font-size: 0.78rem;
  line-height: 1.45;
}

.support-labels-card .home-feature-content p:last-child {
  margin-bottom: 0;
}

/* Shared star divider */

.home-star-divider,
.home-gold-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  margin: 10px 0 14px;
  font-size: 1rem;
}

.home-star-divider::before,
.home-star-divider::after,
.home-gold-divider::before,
.home-gold-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Bilingual Card */

.bilingual-card {
  padding: 26px 24px 22px;
  align-self: start;
}

.bilingual-heading-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: start;
}

.bilingual-image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.bilingual-image img {
  width: 200px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.bilingual-heading h2 {
  text-align: left;
  color: var(--purple);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.12;
  margin: 0;
}

.bilingual-heading .home-star-divider {
  margin: 12px 0 14px;
}

.bilingual-heading p {
  color: #20174f;
  font-size: 0.9rem;
  line-height: 1.0;
  margin: 0;
}

.bilingual-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin-top: 17px;
}

.bilingual-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
}

.bilingual-item span {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background-color: transparent;
  background-image: url("star-bullet.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  flex-shrink: 0;
  display: block;
  transform: rotate(40deg);
}

.bilingual-item span::before {
  content: "";
  font-size: 0.9rem;
  line-height: 1;
  transform: rotate(-18deg);
}

.bilingual-item p {
  color: #20174f;
  font-size: 0.86rem;
  line-height: 1.35;
  margin: 0;
}

.bilingual-note {
  margin-top: 24px;
  padding: 8px 18px;
  background: #fff1cc;
  border: 1px solid #f0bd4e;
  border-radius: 12px;
  color: #704900;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bilingual-note-star {
  color: #f5a623;
  font-size: 2.8rem;
  line-height: .75;
  flex-shrink: 0;
}

.bilingual-note-text {
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 800;
}

/* Legacy updated-home classes, kept for compatibility */

.home-labels-card {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  min-height: 430px;
}

.home-labels-image {
  background: linear-gradient(to top, rgba(225, 202, 255, 0.5), rgba(255, 255, 255, 0));
}

.home-labels-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-feature-content {
  padding: 32px 30px 28px;
}

.home-feature-content h2 {
  color: var(--purple);
  text-align: left;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.15;
  margin: 0;
}

.home-feature-content p {
  color: #2f2849;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Keep this after legacy rules so Support Beyond Labels wins */

.support-labels-card .home-feature-content {
  padding: 24px 24px 22px;
}

.support-labels-card .home-feature-content h2 {
  text-align: center;
  font-size: 1.35rem;
}

.support-labels-card .home-feature-content p {
  color: #20174f;
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0 0 13px;
}

/* =========================================================
   Forms
   ========================================================= */

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form label {
  font-weight: 800;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.full {
  grid-column: 1 / -1;
}

/* =========================================================
   Other Site Sections
   ========================================================= */

.funding-options {
  max-width: 760px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.funding-options ul {
  list-style: none;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.funding-options li {
  background: rgba(60, 24, 150, 0.06);
  border: 1px solid rgba(60, 24, 150, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: #3f3365;
  font-size: 1rem;
}

.funding-options li::before {
  content: "✓";
  color: var(--purple);
  font-weight: 700;
  margin-right: 0.5rem;
}

.faq {
  max-width: 760px;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

.faq h2 {
  color: var(--purple);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.75rem;
}

.faq details {
  border: 1px solid rgba(60, 24, 150, 0.18);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: #fff;
  box-shadow: 0 4px 14px rgba(60, 24, 150, 0.06);
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--purple);
  font-size: 1rem;
  font-weight: 500;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "›";
  font-size: 1.35rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq details[open] summary {
  background: rgba(60, 24, 150, 0.06);
}

.faq details[open] summary::before {
  transform: rotate(90deg);
}

.faq details p {
  margin: 0;
  padding: 0 1.25rem 1rem 2.9rem;
  color: #3f3365;
  font-size: 0.95rem;
  line-height: 1.55;
}

.mission-section,
.topics-section,
.parent-guide-section,
.milestone-section,
.getting-started-section,
.community-resource-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.parent-guide-section,
.milestone-section,
.getting-started-section,
.community-resource-section {
  padding-top: 50px;
}

.mission-card,
.guide-expert-card,
.pathways-card,
.funding-guide-card,
.small-info-card,
.milestone-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.mission-card {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 2.25rem 2rem;
  background: rgba(60, 24, 150, 0.07);
  border-color: rgba(60, 24, 150, 0.18);
  border-radius: 28px;
  text-align: center;
}

.mission-card p {
  max-width: 900px;
  margin: 0 auto;
  color: #4b3f72;
  font-size: 1rem;
  line-height: 1.75;
}

.values-grid,
.guide-support-grid,
.community-grid {
  display: grid;
  gap: 22px;
}

.values-grid {
  max-width: 1020px;
  margin: 2rem auto 0;
  grid-template-columns: repeat(3, 1fr);
}

.guide-support-grid,
.community-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-card,
.topic-card,
.guide-support-card,
.community-card,
.step-card,
.pathway-card {
  background: var(--white);
  border: 1px solid rgba(60, 24, 150, 0.18);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 8px 22px rgba(60, 24, 150, 0.06);
}

.guide-support-card,
.community-card,
.step-card,
.pathway-card {
  text-align: center;
}

.value-card h3,
.topic-card h3,
.guide-support-card h3,
.community-card h3,
.step-card h3,
.pathway-card h3 {
  color: var(--purple);
}

.value-card p,
.topic-card p,
.guide-support-card p,
.community-card p,
.step-card p,
.pathway-card p,
.small-info-card p,
.guide-expert-card p,
.milestone-card p {
  color: #4b3f72;
}

/* Topics */

.topics-section {
  max-width: 1050px;
  text-align: center;
}

.topics-section h2 {
  color: var(--purple);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 2.25rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.topic-card {
  text-align: left;
}

.topic-card:hover,
.guide-support-card:hover,
.community-card:hover,
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(60, 24, 150, 0.1);
}

.topic-card a {
  color: var(--purple);
  font-weight: 600;
}

.topic-card a:hover {
  text-decoration: underline;
}

/* Guide pages */

.guide-hero {
  position: relative;
  min-height: 750px;
  padding: 140px 5% 80px;
  background-image: url("Homepage-background.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.guide-hero-content {
  max-width: 430px;
}

.guide-kicker {
  margin-bottom: 0.85rem;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.3rem);
  margin-bottom: 1rem;
}

.guide-hero p {
  max-width: 400px;
  color: var(--purple);
  font-size: 1.15rem;
  font-weight: 600;
}

.guide-intro-card {
  max-width: 980px;
  margin: 0 auto 3.5rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(46, 18, 143, 0.22);
}

.guide-intro-icon,
.guide-card-icon,
.pathway-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--lav), #ffffff);
  border: 1px solid var(--line);
}

.guide-intro-icon {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 2rem;
}

.guide-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  font-size: 1.9rem;
}

.guide-intro-card h2 {
  text-align: left;
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 0 0 0.6rem;
}

.guide-intro-card p {
  color: rgba(255, 255, 255, 0.9);
}

.guide-expert-card {
  max-width: 980px;
  margin: 3rem auto 0;
  padding: 2.25rem;
  background: rgba(60, 24, 150, 0.07);
  border-color: rgba(60, 24, 150, 0.18);
  border-radius: 28px;
}

.guide-expert-card h2 {
  text-align: left;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  margin-bottom: 0.75rem;
}

.guide-promise-card,
.guide-question-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff9ef;
  border: 1px solid rgba(255, 179, 26, 0.35);
  border-radius: 18px;
}

.guide-promise-card {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
}

.guide-question-card {
  max-width: 980px;
  margin: 2rem auto 0;
  padding: 1.75rem 2rem;
  justify-content: space-between;
  background: linear-gradient(135deg, #fff9ef, #ffffff);
  border-radius: 24px;
}

/* ================================
   New Milestones Page Layout
================================ */

.milestones-page-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 24px 34px;
}

.milestones-heading h2 {
  margin: 0 0 10px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 800;
  text-align: center;
}

.age-milestone-list {
  display: grid;
  gap: 10px;
}

.age-milestone-card {
  min-height: 136px;
  display: grid;
  grid-template-columns: 155px 1fr 150px;
  align-items: center;
  gap: 22px;
  padding: 10px 48px 10px 36px;
  background: #ffffff;
  border: 1px solid rgba(104, 74, 200, 0.16);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(46, 18, 143, 0.045);
}

.age-photo {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  overflow: hidden;
  justify-self: center;
  background: #f4edff;
}

.age-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.age-copy h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.05;
  font-weight: 800;
}

.age-copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.age-copy li {
  position: relative;
  padding-left: 25px;
  color: #08005c;
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 800;
}

.age-copy li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 0.95rem;
}

.age-learn-btn {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border: 1.5px solid currentColor;
  border-radius: 7px;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.age-learn-btn span {
  font-size: 1.05rem;
}

/* Age colors */

.purple-age .age-copy h3,
.purple-age .age-copy li::before,
.purple-age .age-learn-btn {
  color: #3211c9;
}

.pink-age .age-copy h3,
.pink-age .age-copy li::before,
.pink-age .age-learn-btn {
  color: #ff2f91;
}

.green-age .age-copy h3,
.green-age .age-copy li::before,
.green-age .age-learn-btn {
  color: #3f9148;
}

.orange-age .age-copy h3,
.orange-age .age-copy li::before,
.orange-age .age-learn-btn {
  color: #ff7417;
}

/* Bottom banner */

.milestone-bottom-banner {
  margin-top: 10px;
  min-height: 128px;
  display: grid;
  grid-template-columns: 280px 1fr 190px;
  align-items: center;
  gap: 24px;
  padding: 14px 34px 14px 42px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 8% 45%, rgba(181, 132, 230, 0.22), transparent 32%),
    linear-gradient(90deg, #f0e4ff 0%, #fbf7ff 52%, #fff8ee 100%);
  overflow: hidden;
}

.milestone-banner-art img {
  width: 230px;
  max-height: 108px;
  object-fit: contain;
}

.milestone-banner-copy h2 {
  margin: 0 0 8px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.1;
  text-align: left;
}

.milestone-banner-copy p {
  margin: 0;
  color: #08005c;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 800;
}

.milestone-contact-btn {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(46, 18, 143, 0.22);
}

/* Responsive */

@media (max-width: 800px) {
  .age-milestone-card {
    grid-template-columns: 105px 1fr;
    padding: 16px;
  }

  .age-learn-btn {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }

  .age-photo {
    width: 92px;
    height: 92px;
  }

  .milestone-bottom-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }

  .milestone-banner-art img {
    margin: 0 auto;
  }

  .milestone-banner-copy h2 {
    text-align: center;
  }

  .milestone-contact-btn {
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .milestones-page-section {
    padding: 18px 14px 28px;
  }

  .age-milestone-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .age-copy li {
    text-align: left;
  }

  .age-learn-btn {
    grid-column: auto;
    justify-self: center;
  }
}

/* Getting Started */

.steps-grid {
  max-width: 1080px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.step-card {
  position: relative;
  padding: 2.4rem 1rem 1.4rem;
  text-align: center;
}

.step-number {
  position: absolute;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.pathways-card,
.funding-guide-card {
  max-width: 1080px;
  margin: 2rem auto 0;
  padding: 2rem;
}

.pathways-intro {
  max-width: 760px;
  margin: 0 auto 1.75rem;
  text-align: center;
  color: #4b3f72;
}

.pathways-grid,
.funding-grid,
.getting-info-grid {
  display: grid;
  gap: 18px;
}

.pathways-grid {
  grid-template-columns: repeat(4, 1fr);
}

.funding-grid {
  grid-template-columns: repeat(3, 1fr);
}

.getting-info-grid {
  max-width: 1080px;
  margin: 2rem auto 0;
  grid-template-columns: 1fr 1fr;
}

.pathway-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  font-size: 1.8rem;
}

.funding-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.funding-main h2,
.small-info-card h2 {
  text-align: left;
}

.funding-grid article {
  padding: 1.25rem;
  border-left: 2px solid var(--line);
}

.funding-note {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--purple);
  font-weight: 700;
}

/* Community */

.community-card .check {
  text-align: left;
  gap: 8px;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  margin-top: 20px;
  padding: 52px 5%;
  background: linear-gradient(135deg, var(--purple) 0%, #16045e 100%);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
}

.footer .brand {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.footer-logo-block {
  display: flex;
  align-items: flex-start;
}

.footer-logo {
  width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer h3 {
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer a {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer a:hover {
  color: var(--white);
}

.bottom {
  background: #100350;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 13px 5%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1050px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pathways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 125px;
  }

  .home-hero-copy,
  .home-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero-image {
    justify-content: center;
    min-height: unset;
  }

  .home-hero-image img {
    max-height: 340px;
    object-position: center bottom;
  }

  .home-support-grid,
  .home-service-cards,
  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .support-labels-card,
  .home-labels-card {
    grid-template-columns: 1fr;
  }

  .support-labels-card .home-feature-image,
  .home-labels-image {
    min-height: 220px;
    max-height: 330px;
  }
}

@media (max-width: 950px) {
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {

  .section,
  .mission-section,
  .topics-section,
  .parent-guide-section,
  .milestone-section,
  .getting-started-section,
  .community-resource-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .grid2,
  .form,
  .topics-grid,
  .funding-grid,
  .getting-info-grid {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .guide-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero,
  .guide-hero {
    min-height: 520px;
    padding: 90px 1.25rem;
    background-position: center bottom;
  }

  .hero-inner,
  .guide-hero-content {
    max-width: 420px;
  }

  .panel {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero-inner {
    min-height: auto;
    padding: 48px 1.25rem 105px;
  }

  .home-hero h1 {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }

  .home-hero h3 {
    font-size: 1.25rem;
  }

  .home-hero p {
    font-size: 1rem;
  }

  .home-hero-image img {
    max-height: 285px;
  }

  .home-wave {
    height: 80px;
  }

  .home-support-card,
  .home-service-card {
    min-height: auto;
    text-align: center;
    align-items: center;
  }

  .home-support-card img,
  .card-image-placeholder {
    margin-left: auto;
    margin-right: auto;
  }

  .home-feature-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-feature-content,
  .bilingual-card,
  .home-bilingual-card {
    padding: 24px 20px;
  }

  .home-feature-content h2,
  .bilingual-heading h2,
  .home-bilingual-card h2 {
    text-align: center;
  }

  .bilingual-heading-row,
  .home-bilingual-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }

  .bilingual-image img,
  .home-bilingual-top img {
    width: 145px;
    margin: 0 auto;
  }

  .bilingual-list,
  .home-check-grid,
  .steps-grid,
  .pathways-grid {
    grid-template-columns: 1fr;
  }

  .bilingual-item {
    text-align: left;
  }

  .funding-main,
  .milestone-card-heading {
    flex-direction: column;
    text-align: center;
  }

  .funding-main h2,
  .small-info-card h2 {
    text-align: center;
  }

  .funding-grid article {
    border-left: none;
    border-top: 2px solid var(--line);
    text-align: center;
  }

  .milestone-row {
    grid-template-columns: 1fr;
  }

  .milestone-age {
    border-right: none;
    border-bottom: 1px solid rgba(60, 24, 150, 0.12);
    justify-content: center;
    text-align: center;
  }

  .milestone-row p {
    text-align: center;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .topbar {
    display: none;
  }

  .navbar {
    position: relative;
    padding: 1rem;
    justify-content: center;
    text-align: center;
  }

  .logo-group {
    width: 100%;
    justify-content: center;
  }

  .logo-group img {
    width: 54px;
    height: 54px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .tag {
    font-size: 0.58rem;
    line-height: 1.3;
  }

  nav {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }

  nav a {
    font-size: 0.82rem;
    padding: 8px 10px;
  }

  .navbar .btn,
  .guide-question-card .btn,
  .btn {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .dropdown {
    position: static;
  }

  .dropdown-menu,
  .dropdown-submenu {
    position: static;
    width: 100%;
    min-width: unset;
    box-shadow: none;
    border-radius: 12px;
    margin-top: 6px;
  }

  .dropdown-menu a,
  .dropdown-submenu a {
    white-space: normal;
    text-align: center;
  }

  .hero,
  .guide-hero {
    min-height: 420px;
    padding: 55px 1.25rem 95px;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center bottom;
  }

  .hero h1,
  .guide-hero h1 {
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }

  .hero p,
  .guide-hero p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;

  }

  .cards,
  .values-grid,
  .topics-grid,
  .guide-support-grid,
  .community-grid,
  .milestone-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card,
  .value-card,
  .topic-card,
  .guide-support-card,
  .community-card,
  .milestone-card,
  .step-card,
  .pathways-card,
  .funding-guide-card,
  .small-info-card,
  .guide-expert-card,
  .mission-card {
    padding: 1.35rem;
    border-radius: 18px;
  }

  .guide-intro-card,
  .guide-promise-card,
  .guide-question-card {
    flex-direction: column;
    text-align: center;
  }

  .guide-intro-card h2,
  .guide-expert-card h2,
  .guide-question-card h2 {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer a {
    margin-bottom: 0.6rem;
  }
}

@media (max-width: 420px) {
  .home-hero-inner {
    padding-top: 40px;
  }

  .home-hero-image img {
    max-height: 235px;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 1.2rem;
  }

  nav a {
    font-size: 0.78rem;
    padding: 7px 8px;
  }

  .hero,
  .guide-hero {
    min-height: 390px;
    padding-top: 45px;
  }

  .card,
  .value-card,
  .topic-card,
  .guide-support-card,
  .community-card,
  .milestone-card,
  .step-card {
    padding: 1.15rem;
  }
}

/* SERVICES PAGE — CONTENT BETWEEN HERO AND FOOTER */

.services-intro-section {
  padding: 18px 6% 16px;
  background:
    radial-gradient(circle at top left, rgba(226, 207, 255, 0.45), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 232, 250, 0.45), transparent 28%),
    #fff;
}

.services-heading-wrap {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.services-heading-wrap h2 {
  margin: 0;
  color: var(--purple);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.65rem, 3vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
}

.heading-nowrap {
  white-space: nowrap;
}

.heading-star {
  color: #8457de;
  font-size: 1.5rem;
  margin: 0 14px;
}

.mini-divider,
.card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mini-divider {
  margin: 10px auto 12px;
}

.mini-divider span,
.card-divider span {
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0bd26, transparent);
}

.mini-divider strong,
.card-divider strong {
  color: #ffb400;
  font-size: 1rem;
}

.services-heading-wrap p {
  margin: 0 auto;
  max-width: 680px;
  color: #160071;
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 600;
}

.services-card-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(132, 87, 222, 0.22);
  border-radius: 18px;
  padding: 24px 26px 22px;
  box-shadow: 0 12px 26px rgba(70, 30, 130, 0.13);
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.service-art {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.service-art img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.service-card h3 {
  margin: 0;
  color: var(--purple);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.05;
  font-weight: 800;
}

.card-divider {
  margin: 13px 0 16px;
}

.card-divider span {
  width: 86px;
}

.service-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  text-align: left;
}

.service-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #090020;
  font-size: 0.95rem;
  line-height: 1.35;
}

.service-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 900;
  background: #fff;
}

.purple-checks li::before {
  color: #3211ff;
  border: 2px solid #3211ff;
}

.pink-checks li::before {
  color: #ff3f9e;
  border: 2px solid #ff3f9e;
}

.service-card-btn {
  margin-top: auto;
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid #4216d8;
  color: #2d069b;
  background: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  transition: 0.2s ease;
}

.service-card-btn:hover {
  background: #4216d8;
  color: #fff;
  transform: translateY(-2px);
}

.service-card-btn.pink-btn {
  border-color: #ff4fa4;
  color: #ff3f9e;
}

.service-card-btn.pink-btn:hover {
  background: #ff4fa4;
  color: #fff;
}

.service-location-panel {
  max-width: 1160px;
  margin: 32px auto 0;
  padding: 24px 42px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 36px;
  background:
    radial-gradient(circle at top left, rgba(207, 180, 255, 0.42), transparent 40%),
    radial-gradient(circle at bottom right, rgba(255, 226, 250, 0.52), transparent 38%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(132, 87, 222, 0.22);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(70, 30, 130, 0.08);
}

.location-art img {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  display: block;
}

.location-copy h2 {
  margin: 0;
  color: var(--purple);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.65rem, 3vw, 2rem);
  line-height: 1.08;
  font-weight: 800;
}

.location-divider {
  justify-content: flex-start;
  margin-left: 0;
}

.location-copy p {
  margin: 0;
  color: #160071;
  font-size: 1.03rem;
  line-height: 1.45;
  font-weight: 600;
  max-width: 560px;
}

/* Mobile */
@media (max-width: 900px) {
  .services-card-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .service-card {
    min-height: auto;
  }

  .service-location-panel {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 24px;
  }

  .location-divider {
    justify-content: center;
    margin-left: auto;
  }

  .location-copy p {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .services-intro-section {
    padding: 22px 5% 18px;
  }

  .heading-star {
    display: block;
    margin: 6px 0;
  }

  .mini-divider span,
  .card-divider span {
    width: 70px;
  }

  .service-card {
    padding: 22px 20px;
  }

  .service-art {
    height: 130px;
  }

  .service-art img {
    max-height: 130px;
  }

  .service-location-panel {
    margin-top: 24px;
  }
}

/* ================================
   Early Intervention Page Content
================================ */

.ei-page-content {
  max-width: 1120px;
  margin: 34px auto 18px;
  padding: 0 22px;
  color: #08005c;
}

.ei-page-content h2,
.ei-page-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #24108f;
  line-height: 1.08;
}

.ei-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.ei-card {
  position: relative;
  border: 1px solid rgba(104, 74, 200, 0.18);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 12px 28px rgba(72, 35, 160, 0.07);
  overflow: hidden;
}

.ei-card-soft {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  background:
    radial-gradient(circle at 4% 96%, rgba(187, 157, 255, 0.38), transparent 22%),
    radial-gradient(circle at 98% 94%, rgba(255, 207, 68, 0.25), transparent 16%),
    linear-gradient(135deg, #ffffff 0%, #faf7ff 100%);
}

.ei-card-warm {
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 212, 154, 0.22), transparent 28%),
    linear-gradient(135deg, #fffdf9 0%, #fff8f0 100%);
}

.ei-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: linear-gradient(145deg, #5d28d4, #7b4df0);
  box-shadow: 0 10px 20px rgba(80, 43, 180, 0.22);
}

.ei-card h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin: 0 0 8px;
}

.ei-card p {
  font-size: 0.98rem;
  line-height: 1.58;
  margin: 18px 0 0;
  font-weight: 600;
}

.ei-mini-divider,
.ei-title-divider {
  position: relative;
  width: 175px;
  height: 22px;
  margin: 8px auto 18px;
  text-align: center;
  color: #f7b500;
  font-size: 1rem;
  line-height: 22px;
}

.ei-title-divider {
  margin-left: auto;
  margin-right: auto;
}

.ei-mini-divider::before,
.ei-mini-divider::after,
.ei-title-divider::before,
.ei-title-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 68px;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(247, 181, 0, 0.75));
}

.ei-mini-divider::before,
.ei-title-divider::before {
  left: 0;
}

.ei-mini-divider::after,
.ei-title-divider::after {
  right: 0;
  transform: rotate(180deg);
}

.ei-card-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  color: #6d36e8;
  font-size: 1.08rem;
  line-height: 1.35;
}

.ei-heart {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #efe7ff;
  box-shadow: 0 8px 18px rgba(112, 63, 210, 0.14);
}

.ei-card-warm .ei-check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 24px;
}

.ei-card-warm .ei-check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;

  margin: 0;
  padding: 0;

  color: #2e3654;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.ei-card-warm .ei-check-list li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #6d55d8;
  color: white;

  display: grid;
  place-items: center;

  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  margin-top: 3px;
}

.ei-support-section {
  margin-top: 22px;
  text-align: center;
}

.ei-support-section>h2 {
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  margin: 0;
}

.ei-support-section .ei-title-divider {
  margin: 10px auto 18px;
}

.ei-support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ei-support-card {
  min-height: 206px;
  border: 1px solid rgba(104, 74, 200, 0.2);
  border-radius: 14px;
  padding: 20px 18px 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 207, 68, 0.18), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
  box-shadow: 0 10px 22px rgba(72, 35, 160, 0.06);
}

.ei-support-img {
  min-height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  font-size: 3rem;
  filter: drop-shadow(0 8px 8px rgba(80, 43, 180, 0.15));
}

.ei-support-card h3 {
  font-size: 1.13rem;
  margin: 0 0 8px;
}

.ei-support-card p {
  font-size: 0.86rem;
  line-height: 1.38;
  margin: 0;
  font-weight: 600;
}

.ei-bottom-cta {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 20px -10px 16px;
  padding: 18px 44px 18px 26px;
  border: 1px solid rgba(104, 74, 200, 0.18);
  border-radius: 12px;
  background:
    radial-gradient(circle at 4% 90%, rgba(187, 157, 255, 0.48), transparent 22%),
    linear-gradient(100deg, #f4ecff 0%, #fff8ff 54%, #f3e9ff 100%);
  box-shadow: 0 12px 26px rgba(72, 35, 160, 0.07);
}

.ei-cta-art {
  min-height: 84px;
  display: grid;
  place-items: center;
  font-size: 3.5rem;
}

.ei-cta-text h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin: 0 0 8px;
}

.ei-cta-text p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 600;
}

.ei-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  color: #ffffff;
  background: #24108f;
  padding: 15px 30px;
  border-radius: 9px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(36, 16, 143, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ei-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(36, 16, 143, 0.28);
}

/* ================================
   Responsive
================================ */

@media (max-width: 920px) {
  .ei-info-grid {
    grid-template-columns: 1fr;
  }

  .ei-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ei-bottom-cta {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px;
  }

  .ei-cta-btn {
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .ei-page-content {
    margin-top: 24px;
    padding: 0 16px;
  }

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

  .ei-card-soft {
    grid-template-columns: 1fr;
  }

  .ei-card-icon {
    margin-bottom: 4px;
  }

  .ei-support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ei-support-card {
    min-height: auto;
  }

  .ei-bottom-cta {
    margin-left: 0;
    margin-right: 0;
  }

  .ei-cta-art {
    min-height: 50px;
    font-size: 2.8rem;
  }

  .ei-cta-btn {
    width: 100%;
  }
}

.home-service-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 22px;
}

.home-service-card {
  grid-column: span 2;
}

/* Center row 2 when there are 7 cards total */
.home-service-card:nth-child(5) {
  grid-column: 2 / span 2;
}

.home-service-card:nth-child(6) {
  grid-column: 4 / span 2;
}

.home-service-card:nth-child(7) {
  grid-column: 6 / span 2;
}

.parent-support-options {
  padding: 25px 6% 40px;
  background: #ffffff;
}

.support-options-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.support-option-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 175px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(151, 103, 214, 0.25);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(91, 63, 151, 0.10);
}

.support-option-card img {
  width: 150px;
  height: 135px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.support-option-card h3 {
  margin: 0 0 10px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.18;
  font-weight: 700;
}

.support-option-card p {
  margin: 0;
  color: #171326;
  font-size: 0.88rem;
  line-height: 1.65;
}

.support-options-grid>.support-option-card {
  width: 100%;
  box-sizing: border-box;
}

/* =========================================
   COMMUNICATION & LANGUAGE SUPPORT PAGE
========================================= */

.comm-page {
  background: #fff;
}

/* HERO */

.comm-hero {
  position: relative;
  overflow: hidden;

}

.comm-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 4% 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 28px;
}

.comm-breadcrumb {
  margin: 0 0 22px;
  color: #5e39c7;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.comm-hero-copy {
  max-width: 540px;
}

.comm-hero-copy h1 {
  margin: 0 0 18px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.comm-hero-copy h1 span {
  font-size: 0.8em;
}

.comm-hero-text {
  max-width: 460px;
  margin: 0 0 28px;
  color: #23184c;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
  font-weight: 600;
}

.comm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3313b8, #5b38d4);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(51, 19, 184, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.comm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(51, 19, 184, 0.28);
}

.comm-btn-small {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 14px;
}

.comm-hero-art {
  position: relative;
  min-height: 750px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.comm-doodle {
  position: absolute;
  z-index: 1;
}

.comm-doodle-gold {
  left: -40px;
  bottom: 110px;
  width: 100px;
  opacity: 0.96;
}

.comm-hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -32px;
  height: 92px;
  background: #ffffff;
  border-top: 14px solid rgba(181, 132, 230, 0.75);
  border-radius: 50% 50% 0 0;
}

/* COMMON */

.comm-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 4% 0;
}

.comm-section-title {
  margin: 20px 0 14px;
  color: var(--purple);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.comm-divider {
  position: relative;
  width: 170px;
  height: 22px;
  margin: 10px auto 18px;
  text-align: center;
  color: #f5b000;
  font-size: 1rem;
  line-height: 22px;
}

.comm-divider::before,
.comm-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 176, 0, 0.85));
}

.comm-divider::before {
  left: 0;
}

.comm-divider::after {
  right: 0;
  transform: rotate(180deg);
}

/* TOP GRID */

.comm-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 24px;
  align-items: stretch;
}

.comm-card {
  border: 1px solid rgba(142, 115, 222, 0.2);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(72, 35, 160, 0.06);
  overflow: hidden;
}

.comm-card-soft {
  padding: 28px 28px 26px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  background:
    radial-gradient(circle at 0% 10%, rgba(234, 223, 255, 0.55), transparent 26%),
    linear-gradient(135deg, #f9f5ff 0%, #ffffff 100%);
}

.comm-card-warm {
  padding: 28px 28px 26px;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 225, 183, 0.22), transparent 26%),
    linear-gradient(135deg, #fffdfa 0%, #fffaf3 100%);
}

.comm-card-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.comm-card-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.comm-card-content h2,
.comm-support-copy h2 {
  margin: 0;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.comm-card-content p {
  margin: 0 0 18px;
  color: #24184e;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 600;
}

.comm-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  color: #4320b4;
  font-size: 1.05rem;
  line-height: 1.4;
}

.comm-callout-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #efe7ff;
  font-size: 1.3rem;
}

.comm-check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 18px;
}

.comm-check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: #261b53;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.comm-check-list li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #6d55d8;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  margin-top: 3px;
}

.comm-support-art {
  position: relative;
  min-height: 220px;
}

.comm-side-icon {
  position: absolute;
  object-fit: contain;
}

.comm-side-chat-heart {
  top: 12px;
  right: 8px;
  width: 128px;
}

.comm-side-book {
  bottom: 0;
  right: 8px;
  width: 128px;
}

/* TIPS */

.comm-tips-section {
  padding-top: 12px;
}

.comm-tip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.comm-tip-card {
  min-height: 260px;
  padding: 26px 18px 20px;
  border: 1px solid rgba(142, 115, 222, 0.2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(72, 35, 160, 0.04);
  text-align: center;
}

.comm-tip-icon-wrap {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #faf7ff 0%, #f3edff 100%);
}

.comm-tip-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.comm-tip-card h3 {
  margin: 0 0 12px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.08;
}

.comm-tip-card p {
  margin: 0;
  color: #23184e;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 600;
}

/* REMEMBER */

.comm-remember-banner {
  min-height: 130px;
  padding: 18px 32px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 220px 1fr 180px;
  align-items: center;
  gap: 18px;
  background: linear-gradient(90deg, #f1e7ff 0%, #fbf7ff 48%, #fff6ff 100%);
}

.comm-remember-left img {
  width: 145px;
  object-fit: contain;
}

.comm-remember-center {
  text-align: center;
}

.comm-remember-center h2 {
  margin: 0 0 10px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
}

.comm-remember-center p {
  margin: 0;
  color: #24184e;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 700;
}

.comm-remember-right {
  display: flex;
  justify-content: flex-end;
}

.comm-remember-right img {
  width: 120px;
  object-fit: contain;
}

/* CTA STRIP */

.comm-cta-strip {
  margin-top: 22px;
  padding: 28px 4% 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(234, 223, 255, 0.8), transparent 18%),
    radial-gradient(circle at 100% 100%, rgba(234, 223, 255, 0.8), transparent 18%),
    linear-gradient(180deg, #faf7ff 0%, #ffffff 100%);
}

.comm-cta-inner {
  max-width: 1220px;
  margin: 0 auto;
  min-height: 170px;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  gap: 24px;
}

.comm-cta-left img {
  width: 150px;
  object-fit: contain;
}

.comm-cta-center {
  text-align: center;
}

.comm-cta-center h2 {
  margin: 0 0 20px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.comm-cta-right {
  display: flex;
  justify-content: flex-end;
}

.comm-cta-right img {
  width: 118px;
  object-fit: contain;
}

/* RESPONSIVE */

@media (max-width: 1100px) {

  .comm-hero-inner,
  .comm-top-grid,
  .comm-tip-grid,
  .comm-remember-banner,
  .comm-cta-inner {
    grid-template-columns: 1fr;
  }

  .comm-hero-copy,
  .comm-hero-text {
    max-width: none;
  }

  .comm-hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .comm-hero-art {
    min-height: auto;
    justify-content: center;
  }

  .comm-doodle-gold {
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
  }

  .comm-card-soft {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .comm-card-icon-wrap {
    justify-content: center;
  }

  .comm-callout {
    justify-content: center;
  }

  .comm-card-warm {
    grid-template-columns: 1fr;
  }

  .comm-support-art {
    min-height: 140px;
  }

  .comm-side-chat-heart {
    left: 50%;
    top: 0;
    right: auto;
    transform: translateX(-65%);
  }

  .comm-side-book {
    left: 50%;
    bottom: 0;
    right: auto;
    transform: translateX(10%);
  }

  .comm-remember-banner,
  .comm-cta-inner {
    text-align: center;
  }

  .comm-remember-left,
  .comm-remember-right,
  .comm-cta-left,
  .comm-cta-right {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .comm-hero-inner {
    padding: 32px 18px 86px;
    gap: 18px;
  }


  .comm-hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .comm-hero-text {
    font-size: 1.05rem;
  }

  .comm-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .comm-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .comm-check-list {
    grid-template-columns: 1fr;
  }

  .comm-tip-card {
    min-height: auto;
  }

  .comm-remember-banner,
  .comm-cta-strip {
    padding-left: 18px;
    padding-right: 18px;
  }

  .comm-hero::after {
    height: 70px;
  }
}

.parent-coaching-meaning {
  padding: 10px 6% 55px;
  background: #ffffff;
}

.coaching-meaning-card {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr 360px;
  align-items: center;
  gap: 32px;

  padding: 18px 34px;
  background: linear-gradient(90deg, #fbf7ff 0%, #ffffff 48%, #fbf7ff 100%);
  border: 1px solid rgba(151, 103, 214, 0.28);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(91, 63, 151, 0.08);
}

.coaching-meaning-image img {
  width: 230px;
  height: 135px;
  object-fit: contain;
  display: block;
}

.coaching-meaning-text h2 {
  margin: 0 0 12px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.coaching-meaning-text p {
  margin: 0 0 10px;
  color: #16122b;
  font-size: 0.9rem;
  line-height: 1.55;
}

.coaching-quote {
  color: var(--purple) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

.coaching-meaning-list {
  border-left: 2px solid rgba(151, 103, 214, 0.35);
  padding-left: 32px;
}

.coaching-meaning-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.coaching-meaning-list li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 30px;
  color: #171326;
  font-size: 0.9rem;
  line-height: 1.35;
}

.coaching-meaning-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;

  width: 17px;
  height: 17px;
  border-radius: 50%;

  background: #9b6bd3;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

.aba-hero {
  min-height: 750px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;

}

.aba-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -30px;
  height: 90px;
  background: #ffffff;
  border-top: 14px solid rgba(181, 132, 230, 0.55);
  border-radius: 50% 50% 0 0;
}

.aba-hero-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 6% 95px;
  position: relative;
  z-index: 2;

}

.aba-hero-text {
  max-width: 470px;
  transform: translateX(-250px);
}

.aba-hero h1 {
  margin: 0 0 18px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.aba-hero p {
  margin: 0 0 24px;
  color: #2b1779;
  font-size: 1.05rem;
  line-height: 1.65;
}

.aba-hero-btn,
.behavior-cta-card a {
  display: inline-block;
  background: linear-gradient(135deg, #7d45d8, #9b6be8);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(91, 63, 151, 0.25);
}

.behavior-intro {
  padding: 30px 6% 25px;
  background: #ffffff;
}

.behavior-intro-grid {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: center;
  gap: 50px;
}

.behavior-intro-image img {
  width: 300px;
  max-width: 100%;
  display: block;
}

.behavior-intro-text h2,
.behavior-support-section h2,
.behavior-values-section h2,
.behavior-difference h2,
.behavior-cta h2 {
  margin: 0 0 16px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1.2;
}

.behavior-intro-text p {
  color: #171326;
  font-size: 0.95rem;
  line-height: 1.65;
}

.behavior-note {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(90deg, #f4eaff, #fff7ff);
  border-radius: 14px;
  padding: 16px 20px;
}

.behavior-note span {
  font-size: 1.5rem;
}

.behavior-note p {
  margin: 0;
}

.behavior-support-section,
.behavior-values-section,
.behavior-difference,
.behavior-cta {
  padding: 20px 6%;
  background: #ffffff;
}

.behavior-support-section h2,
.behavior-values-section h2 {
  text-align: center;
}

.behavior-support-grid {
  max-width: 1280px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.behavior-support-card {
  background: #ffffff;
  border: 1px solid rgba(151, 103, 214, 0.25);
  border-radius: 16px;
  padding: 18px 16px 22px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(91, 63, 151, 0.10);
}

.behavior-support-card img {
  width: 115px;
  height: 95px;
  object-fit: contain;
  margin-bottom: 12px;
  margin-left: 25px;
}

.behavior-support-card h3,
.behavior-value h3 {
  margin: 0 0 10px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.2;
}

.behavior-support-card p,
.behavior-value p {
  margin: 0;
  color: #171326;
  font-size: 0.82rem;
  line-height: 1.55;
}

.behavior-values-grid {
  max-width: 1280px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.behavior-value {
  text-align: center;
  padding: 0 15px;
  border-right: 1px solid rgba(151, 103, 214, 0.25);
}

.behavior-value:last-child {
  border-right: none;
}

.behavior-value img {
  width: 100px;
  height: 85px;
  object-fit: contain;
  margin-bottom: 10px;
  margin-left: 28px;
}

.behavior-difference-card {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 35px;
  align-items: center;
  padding: 28px 36px;
  border: 1px solid rgba(151, 103, 214, 0.28);
  border-radius: 18px;
  background: linear-gradient(90deg, #fbf7ff 0%, #ffffff 50%, #fbf7ff 100%);
  box-shadow: 0 10px 24px rgba(91, 63, 151, 0.08);
}

.difference-image img {
  width: 260px;
  max-width: 100%;
}

.difference-columns {
  display: grid;
  grid-template-columns: 1fr 50px 1.25fr;
  align-items: center;
  gap: 20px;
}

.difference-label {
  margin: 0 0 12px;
  font-weight: 700;
  color: #171326;
}

.question-pill {
  background: #f1e7ff;
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 12px;
  color: var(--purple);
  font-weight: 700;
}

.question-pill.pink {
  background: #ffe3f3;
}

.difference-arrow {
  color: #9b6bd3;
  font-size: 2rem;
  text-align: center;
}

.difference-bottom {
  margin-top: 34px;
  color: #171326;
  line-height: 1.55;
}

.behavior-cta {
  padding-bottom: 55px;
}

.behavior-cta-card {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 145px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 22px 36px;
  border: 1px solid rgba(151, 103, 214, 0.28);
  border-radius: 18px;
  background: linear-gradient(90deg, #fbf7ff, #ffffff, #fbf7ff);
}

.behavior-cta-card img {
  width: 125px;
}

.behavior-cta-card h2 {
  margin-bottom: 6px;
}

.behavior-cta-card p {
  margin: 0;
  color: #171326;
  line-height: 1.55;
}

/* ==============================
   Resources Page
============================== */

.resources-page-hero {
  position: relative;
  min-height: 430px;
  background-image: url("images/resources-hero-background.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.resources-hero-content {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.resources-hero-text {
  max-width: 420px;
  padding-top: 20px;
}

.resources-hero-text h1 {
  margin: 0 0 18px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  font-weight: 800;
}

.resources-hero-text p {
  max-width: 330px;
  color: var(--deep-purple, #16006f);
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 500;
}

.resources-heart {
  color: #f7a900;
  font-size: 4rem;
  line-height: 1;
  margin-left: 250px;
  margin-top: -8px;
}

/* shared resources spacing */

.resources-section,
.resources-panel,
.resources-bottom-cta {
  width: min(1120px, 88%);
  margin-left: auto;
  margin-right: auto;
}

/* Family Learning Library */

.learning-library-section {
  margin-top: 28px;
  text-align: center;
}

.learning-library-section h2,
.download-guides-panel h2,
.community-panel h2,
.resources-bottom-cta h2 {
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 16px;
}

.learning-card-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.learning-card {
  background: #fff;
  border: 1px solid rgba(93, 56, 177, 0.18);
  border-radius: 12px;
  padding: 18px 14px;
  min-height: 270px;
  box-shadow: 0 8px 22px rgba(82, 45, 150, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.learning-card img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 12px;
}

.learning-card h3 {
  color: var(--purple);
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 12px;
}

.learning-card p {
  color: var(--deep-purple, #16006f);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0 0 18px;
}

.learning-card a {
  margin-top: auto;
  color: #5d36f2;
  font-weight: 700;
  text-decoration: none;
}

.learning-card:nth-child(3) a {
  color: #f3a000;
}

.learning-card:nth-child(5) a {
  color: #ff2f91;
}

.learning-card:nth-child(6) a {
  color: #1768ff;
}

/* Downloadable Guides */

.resources-panel {
  margin-top: 20px;
  padding: 22px 30px 26px;
  border-radius: 14px;
  border: 1px solid rgba(93, 56, 177, 0.18);
  background: linear-gradient(135deg, #ffffff 0%, #fbf8ff 100%);
  box-shadow: 0 8px 22px rgba(82, 45, 150, 0.05);
  text-align: center;
}

.resources-panel>p {
  color: var(--deep-purple, #16006f);
  margin-top: -8px;
  margin-bottom: 18px;
}

.guide-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  text-align: left;
}

.guide-link {
  background: #fff;
  border: 1px solid rgba(93, 56, 177, 0.16);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--purple);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.guide-link span:first-child {
  color: var(--purple);
}

.guide-link span:last-child {
  font-size: 1.4rem;
  line-height: 1;
}

.view-all-resources {
  display: inline-block;
  margin-top: 20px;
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
}

/* Community Connections */

.community-panel {
  background: linear-gradient(135deg, #ffffff 0%, #fbfff9 100%);
}

.community-panel h2 {
  color: #27783b;
}

.connection-list {
  display: grid;
  gap: 10px;
  width: min(980px, 96%);
  margin: 0 auto;
}

.connection-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid rgba(93, 56, 177, 0.14);
  border-radius: 9
}

/* Downloadable Family Guides */

.download-guides-panel {
  width: min(1120px, 88%);
  margin: 24px auto;
  padding: 24px 38px 26px;
  border-radius: 14px;
  border: 1px solid rgba(93, 56, 177, 0.18);
  background: linear-gradient(135deg, #ffffff 0%, #fbf8ff 100%);
  box-shadow: 0 8px 22px rgba(82, 45, 150, 0.05);
  text-align: center;
}

.download-guides-heading {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  margin-bottom: 22px;
}

.download-heading-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-top: 3px;
}

.download-guides-heading h2 {
  margin: 0;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.1;
}

.download-guides-heading p {
  margin: 6px 0 0;
  color: var(--deep-purple, #16006f);
  font-size: 0.98rem;
  font-weight: 500;
}

/* Guide rows */

.guide-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 40px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.guide-link {
  min-height: 50px;
  background: #fff;
  border: 1px solid rgba(93, 56, 177, 0.16);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--purple);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  display: grid;
  grid-template-columns: 34px 1fr 26px;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(82, 45, 150, 0.035);
}

.guide-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(82, 45, 150, 0.09);
}

.guide-pdf-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.guide-download-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  justify-self: end;
}

.view-all-resources {
  display: inline-block;
  margin-top: 22px;
  color: var(--purple);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
}

/* Bottom Resources CTA */

.resources-bottom-cta {
  width: min(1120px, 88%);
  margin: 24px auto 10px;
  min-height: 145px;
  padding: 22px 32px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f3e9ff 0%, #fbf7ff 50%, #f3e9ff 100%);
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(160, 120, 230, 0.18);
}

.cta-cloud-image {
  position: absolute;
  left: 40px;
  bottom: 20px;
  width: 250px;
  max-height: 250px;
  object-fit: contain;
}

.resources-cta-copy {
  position: relative;
  z-index: 2;
}

.resources-cta-copy h2 {
  margin: 0 0 8px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.rem, 3vw, 2rem);
  line-height: 1.15;
}

.resources-cta-copy p {
  margin: 0 0 14px;
  color: var(--deep-purple, #16006f);
  font-size: 1rem;
  font-weight: 500;
}

.resources-cta-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(54, 20, 150, 0.22);
}

/* =========================================
   PLAY & LEARNING ACTIVITIES PAGE
========================================= */

.play-page {
  background: #fff;
}



.play-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 4% 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 28px;
}

.play-breadcrumb {
  margin: 0 0 22px;
  color: #5e39c7;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.play-hero-copy {
  max-width: 540px;
}

.play-hero-copy h1 {
  margin: 0 0 18px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.play-hero-text {
  max-width: 430px;
  margin: 0 0 28px;
  color: #23184c;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
  font-weight: 600;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3313b8, #5b38d4);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(51, 19, 184, 0.22);
}

.play-btn-small {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 14px;
}


.play-family {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  height: auto;
  object-fit: contain;
}


.play-hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -32px;
  height: 92px;
  background: #ffffff;
  border-top: 14px solid rgba(181, 132, 230, 0.75);
  border-radius: 50% 50% 0 0;
}

.play-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 4% 0;
}

.play-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 24px;
  align-items: stretch;
}

.play-card {
  border: 1px solid rgba(142, 115, 222, 0.2);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(72, 35, 160, 0.06);
  overflow: hidden;
}

.play-card-soft {
  padding: 28px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  background:
    radial-gradient(circle at 0% 10%, rgba(234, 223, 255, 0.55), transparent 26%),
    linear-gradient(135deg, #f9f5ff 0%, #ffffff 100%);
}

.play-card-warm {
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 225, 183, 0.22), transparent 26%),
    linear-gradient(135deg, #fffdfa 0%, #fffaf3 100%);
}

.play-card-icon {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.play-card h2,
.play-card-content h2 {
  margin: 0;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.play-card-content p {
  margin: 0 0 18px;
  color: #24184e;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 600;
}

.play-divider {
  position: relative;
  width: 170px;
  height: 22px;
  margin: 10px auto 18px;
  text-align: center;
  color: #f5b000;
  font-size: 1rem;
  line-height: 22px;
}

.play-divider::before,
.play-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 176, 0, 0.85));
}

.play-divider::before {
  left: 0;
}

.play-divider::after {
  right: 0;
  transform: rotate(180deg);
}

.play-check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 14px 28px;
}

.play-check-list.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.play-check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: #261b53;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.play-check-list li::before {
  content: "✓";
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #6d55d8;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
  margin-top: 3px;
}

.play-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  color: #4320b4;
  font-size: 1.05rem;
}

.play-callout-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #efe7ff;
}

.play-support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 18px;
  margin-top: 14px;
  text-align: center;
}

.play-support-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #efe7ff;
  color: #5d35d6;
  font-size: 2rem;
}

.play-support-icon.pink {
  background: #ffe5f0;
  color: #ff3f9e;
}

.play-support-icon.teal {
  background: #e5fbf7;
  color: #18a69b;
}

.play-support-icon.orange {
  background: #fff1dd;
  color: #ff9c2a;
}

.play-support-icon.blue {
  background: #e8f3ff;
  color: #3387e8;
}

.play-support-icon.green {
  background: #edf8df;
  color: #65a82e;
}

.play-support-icon.gold {
  background: #fff5dc;
  color: #ffb31a;
}

.play-support-item h3 {
  margin: 0;
  color: #12005d;
  font-family: "DM Sans", sans-serif;
  font-size: 0.94rem;
  line-height: 1.25;
  font-weight: 900;
}

.play-section-title {
  margin: 20px 0 14px;
  color: var(--purple);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.play-idea-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.play-idea-card {
  position: relative;
  min-height: 245px;
  padding: 20px 18px 24px;
  border: 1px solid rgba(142, 115, 222, 0.2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(72, 35, 160, 0.04);
}

.play-idea-card img {
  width: 110px;
  height: 95px;
  object-fit: contain;
  margin: 0 0 10px 50px;
}

.play-idea-card h3 {
  margin: 0 0 10px 20px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.1;
}

.play-idea-card p {
  margin: 0;
  color: #23184e;
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 600;
}

.play-card-heart {
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-size: 1.8rem;
}

.play-card-heart.purple {
  color: #8a5ce8;
}

.play-card-heart.pink {
  color: #ff4fa4;
}

.play-card-heart.green {
  color: #7cb342;
}

.play-card-heart.blue {
  color: #4c91e8;
}

.play-learning-banner {
  min-height: 150px;
  padding: 18px 32px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 260px 1fr 230px;
  align-items: center;
  gap: 22px;
  background: linear-gradient(90deg, #f1e7ff 0%, #fbf7ff 48%, #fff6ff 100%);
}

.play-learning-art img {
  width: 205px;
  object-fit: contain;
}

.play-learning-copy h2 {
  margin: 0 0 10px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  text-align: left;
}

.play-learning-copy p {
  margin: 0 0 4px;
  color: #24184e;
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 700;
}

.play-cloud-message {
  position: relative;
  min-height: 120px;
  border-radius: 50px;
  background: linear-gradient(135deg, #7c4feb, #4b20c8);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  font-size: 1.2rem;
  line-height: 1.25;
  box-shadow: 0 12px 24px rgba(72, 35, 160, 0.18);
}

.play-cloud-message span {
  position: absolute;
  right: -18px;
  bottom: 12px;
  font-size: 3rem;
  color: #ffb31a;
}

.play-bottom-cta {
  position: relative;
  min-height: 120px;
  padding: 18px 34px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 190px 1fr auto 150px;
  align-items: center;
  gap: 24px;
  background: linear-gradient(90deg, #f1e7ff 0%, #fbf7ff 48%, #fff6ff 100%);
  overflow: hidden;
}

.play-bottom-art img {
  width: 140px;
  object-fit: contain;
}

.play-bottom-copy h2 {
  margin: 0 0 8px;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  text-align: left;
}

.play-bottom-copy p {
  margin: 0;
  color: #24184e;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 700;
}

.play-bottom-heart {
  width: 115px;
  object-fit: contain;
}

@media (max-width: 1100px) {

  .play-hero-inner,
  .play-top-grid,
  .play-idea-grid,
  .play-learning-banner,
  .play-bottom-cta {
    grid-template-columns: 1fr;
  }

  .play-hero-copy,
  .play-hero-text {
    max-width: none;
  }

  .play-hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .play-card-soft {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .play-card-icon-wrap,
  .play-callout {
    justify-content: center;
  }

  .play-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .play-learning-banner,
  .play-bottom-cta {
    text-align: center;
  }

  .play-learning-art,
  .play-bottom-art {
    display: flex;
    justify-content: center;
  }

  .play-learning-copy h2,
  .play-bottom-copy h2 {
    text-align: center;
  }

  .play-bottom-heart {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .play-hero-inner {
    padding: 32px 18px 86px;
  }

  .play-breadcrumb {
    font-size: 0.74rem;
  }

  .play-hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .play-hero-text {
    font-size: 1.05rem;
  }

  .play-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .play-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .play-check-list.two-col,
  .play-support-grid {
    grid-template-columns: 1fr;
  }

  .play-hero::after {
    height: 70px;
  }
}

/* ================================
   Sleep & Daily Routines Page Content
================================ */

.sleep-page-content {
  max-width: 1120px;
  margin: 34px auto 18px;
  padding: 0 22px;
  color: #08005c;
}

.sleep-page-content h2,
.sleep-page-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #24108f;
  line-height: 1.08;
}

.sleep-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.sleep-info-card {
  position: relative;
  border: 1px solid rgba(104, 74, 200, 0.18);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 12px 28px rgba(72, 35, 160, 0.07);
  overflow: hidden;
}

.sleep-card-soft {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  background:
    radial-gradient(circle at 4% 96%, rgba(187, 157, 255, 0.38), transparent 22%),
    radial-gradient(circle at 98% 94%, rgba(255, 207, 68, 0.25), transparent 16%),
    linear-gradient(135deg, #ffffff 0%, #faf7ff 100%);
}

.sleep-card-warm {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 212, 154, 0.22), transparent 28%),
    linear-gradient(135deg, #fffdf9 0%, #fff8f0 100%);
}

.sleep-card-icon-wrap {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1e7ff;
}

.sleep-card-icon-wrap img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.sleep-info-card h2 {
  margin: 0 0 10px;
  text-align: left;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.sleep-info-card p {
  margin: 0 0 14px;
  color: #08005c;
  font-size: 0.95rem;
  line-height: 1.58;
  font-weight: 600;
}

.sleep-card-divider {
  height: 1px;
  margin: 16px 0;
  background: linear-gradient(90deg, transparent, rgba(104, 74, 200, 0.28), transparent);
}

.sleep-highlight {
  margin-top: 18px !important;
  color: #4b19d8 !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
}

.sleep-check-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 26px;
}

.sleep-check-grid li {
  position: relative;
  padding-left: 28px;
  color: #08005c;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 800;
}

.sleep-check-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #8c63e6;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
}

.sleep-support-art img {
  width: 160px;
  max-height: 160px;
  object-fit: contain;
}

.sleep-strategies-section {
  margin-top: 28px;
}

.sleep-strategies-section h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.sleep-strategy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sleep-strategy-card {
  min-height: 230px;
  padding: 20px 18px 18px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(104, 74, 200, 0.16);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(46, 18, 143, 0.045);
}

.sleep-strategy-card img {
  width: 80px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.sleep-strategy-card h3 {
  margin: 0 0 9px;
  color: var(--purple);
  font-size: 1rem;
  line-height: 1.12;
}

.sleep-strategy-card p {
  margin: 0;
  color: #08005c;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 800;
}

.sleep-rested-banner {
  margin-top: 26px;
  min-height: 150px;
  display: grid;
  grid-template-columns: 230px 1fr 250px;
  align-items: center;
  gap: 24px;
  padding: 16px 34px;
  border: 1px solid rgba(104, 74, 200, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 45%, rgba(181, 132, 230, 0.22), transparent 32%),
    linear-gradient(90deg, #f0e4ff 0%, #fbf7ff 52%, #f1e7ff 100%);
}

.sleep-rested-banner img {
  width: 215px;
  max-height: 125px;
  object-fit: contain;
}

.sleep-rested-banner h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.sleep-rested-banner p {
  justify-self: end;
  max-width: 245px;
  margin: 0;
  padding: 22px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6f4ddf, #9a75ed);
  color: #ffffff;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 800;
}

.sleep-cta-panel {
  margin-top: 28px;
  padding: 24px 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(104, 74, 200, 0.16);
  border-radius: 14px;
  background: linear-gradient(135deg, #fbf7ff, #ffffff 55%, #fff9ef);
}

.sleep-cta-panel h2 {
  margin: 0 0 6px;
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.sleep-cta-panel p {
  margin: 0;
  color: #08005c;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
}

@media (max-width: 900px) {

  .sleep-info-grid,
  .sleep-card-soft,
  .sleep-card-warm,
  .sleep-rested-banner,
  .sleep-cta-panel {
    grid-template-columns: 1fr;
  }

  .sleep-card-icon-wrap,
  .sleep-support-art img,
  .sleep-rested-banner img {
    margin: 0 auto;
  }

  .sleep-info-card h2 {
    text-align: center;
  }

  .sleep-strategy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sleep-rested-banner,
  .sleep-cta-panel {
    text-align: center;
  }

  .sleep-rested-banner p,
  .sleep-cta-panel .btn {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .sleep-page-content {
    padding: 0 14px;
  }

  .sleep-check-grid,
  .sleep-strategy-grid {
    grid-template-columns: 1fr;
  }

  .sleep-info-card,
  .sleep-rested-banner,
  .sleep-cta-panel {
    padding: 22px 20px;
  }
}

.parent-resources-page {
  max-width: 1160px;
  margin: 30px auto 18px;
  padding: 0 22px;
  color: #08005c;
}

.parent-resources-page h2,
.parent-resources-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--purple);
  line-height: 1.08;
}

.parent-resources-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.parent-resource-card {
  border: 1px solid rgba(104, 74, 200, 0.18);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 12px 28px rgba(72, 35, 160, 0.06);
}

.tips-card {
  background:
    radial-gradient(circle at 4% 96%, rgba(187, 157, 255, 0.30), transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #faf7ff 100%);
}

.resources-card {
  background:
    radial-gradient(circle at 93% 18%, rgba(255, 212, 154, 0.22), transparent 28%),
    linear-gradient(135deg, #fffdf9 0%, #fff8f0 100%);
}

.parent-card-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.parent-card-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1e7ff;
  box-shadow: inset 0 0 0 1px rgba(104, 74, 200, 0.12);
}

.parent-card-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.parent-card-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.parent-mini-divider {
  width: 150px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 199, 47, 0.95), rgba(233, 183, 40, 0.7));
}

.parent-card-intro {
  margin: 0 0 14px;
  color: #08005c;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 700;
}

.parent-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.parent-check-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 28px;
  color: #08005c;
  font-size: 0.94rem;
  line-height: 1.4;
  font-weight: 700;
}

.parent-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #8c63e6;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
}

.parent-highlight-message {
  margin: 14px 0 0;
  color: #4520d9;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 900;
}

.parent-highlight-icon {
  margin-right: 8px;
}

.resources-card-content {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 18px;
  align-items: end;
}

.parent-card-art {
  display: flex;
  justify-content: center;
  align-items: end;
}

.parent-card-art img {
  width: 170px;
  max-height: 180px;
  object-fit: contain;
}

.parent-tools-section {
  margin-top: 28px;
}

.parent-tools-section h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
}

.parent-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.parent-tool-card {
  min-height: 255px;
  padding: 20px 18px 18px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(104, 74, 200, 0.16);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(46, 18, 143, 0.04);
}

.parent-tool-card img {
  width: 98px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.parent-tool-card h3 {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 1.03rem;
  line-height: 1.12;
}

.parent-tool-card p {
  margin: 0;
  color: #08005c;
  font-size: 0.84rem;
  line-height: 1.5;
  font-weight: 700;
}

.parent-support-banner {
  margin-top: 26px;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(104, 74, 200, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 95% 20%, rgba(181, 132, 230, 0.18), transparent 20%),
    linear-gradient(135deg, #f7efff 0%, #ffffff 48%, #fff9ef 100%);
}

.parent-support-art img {
  width: 190px;
  max-height: 110px;
  object-fit: contain;
}

.parent-support-copy h2 {
  margin: 0 0 4px;
  text-align: center;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.parent-support-copy p {
  margin: 0;
  color: #24108f;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 1000px) {

  .parent-resources-top-grid,
  .resources-card-content,
  .parent-support-banner {
    grid-template-columns: 1fr;
  }

  .parent-card-art,
  .parent-support-art,
  .parent-support-banner .btn {
    justify-content: center;
    justify-self: center;
  }

  .parent-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .parent-support-copy h2,
  .parent-support-copy p {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .parent-resources-page {
    padding: 0 14px;
  }

  .parent-card-heading {
    flex-direction: column;
    text-align: center;
  }

  .parent-mini-divider {
    margin: 10px auto 0;
  }

  .parent-tools-grid {
    grid-template-columns: 1fr;
  }

  .parent-resource-card,
  .parent-tool-card,
  .parent-support-banner {
    padding: 22px 18px;
  }
}

.cta-heart {
  position: absolute;
  right: 70px;
  top: 34px;
  color: #f4a900;
  font-size: 5rem;
  line-height: 1;
  transform: rotate(-8deg);
}

.behavior-page-content {
  max-width: 1120px;
  margin: 34px auto 18px;
  padding: 0 22px;
  color: #08005c;
}

.behavior-page-content h2,
.behavior-page-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #24108f;
  line-height: 1.08;
}

.behavior-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.behavior-info-card {
  position: relative;
  border: 1px solid rgba(104, 74, 200, 0.18);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 12px 28px rgba(72, 35, 160, 0.07);
  overflow: hidden;
}

.behavior-card-soft {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  background:
    radial-gradient(circle at 4% 96%, rgba(187, 157, 255, 0.38), transparent 22%),
    radial-gradient(circle at 98% 94%, rgba(255, 207, 68, 0.22), transparent 16%),
    linear-gradient(135deg, #ffffff 0%, #faf7ff 100%);
}

.behavior-card-warm {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 212, 154, 0.22), transparent 28%),
    linear-gradient(135deg, #fffdf9 0%, #fff8f0 100%);
}

.behavior-card-icon-wrap {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1e7ff;
}

.behavior-card-icon-wrap img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.behavior-info-card h2 {
  margin: 0;
  text-align: left;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.behavior-mini-divider {
  width: 145px;
  height: 3px;
  margin: 12px 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e9b728, transparent);
}

.behavior-info-card p {
  margin: 0 0 14px;
  color: #08005c;
  font-size: 0.95rem;
  line-height: 1.58;
  font-weight: 600;
}

.behavior-highlight {
  margin-top: 18px !important;
  color: #4b19d8 !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
}

.behavior-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.behavior-check-list li {
  position: relative;
  margin-bottom: 15px;
  padding-left: 28px;
  color: #08005c;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 800;
}

.behavior-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #8c63e6;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
}

.behavior-support-art img {
  width: 220px;
  max-height: 180px;
  object-fit: contain;
}

.behavior-strategies-section {
  margin-top: 28px;
}

.behavior-strategies-section h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.behavior-strategy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.behavior-strategy-card {
  min-height: 230px;
  padding: 20px 18px 18px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(104, 74, 200, 0.16);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(46, 18, 143, 0.045);
}

.behavior-strategy-card img {
  width: 92px;
  height: 82px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.behavior-strategy-card h3 {
  margin: 0 0 9px;
  color: var(--purple);
  font-size: 1rem;
  line-height: 1.12;
}

.behavior-strategy-card p {
  margin: 0;
  color: #08005c;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 800;
}

.behavior-reminder-banner {
  margin-top: 26px;
  min-height: 120px;
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 34px;
  border: 1px solid rgba(104, 74, 200, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 45%, rgba(181, 132, 230, 0.22), transparent 32%),
    linear-gradient(90deg, #f0e4ff 0%, #fbf7ff 52%, #f1e7ff 100%);
}

.behavior-reminder-banner img {
  width: 220px;
  max-height: 105px;
  object-fit: contain;
}

.behavior-reminder-banner h2 {
  margin: 0 0 6px;
  text-align: left;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
}

.behavior-reminder-banner p {
  margin: 0;
  color: #08005c;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 800;
}

.behavior-cta-panel {
  margin-top: 18px;
  padding: 18px 34px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(104, 74, 200, 0.16);
  border-radius: 14px;
  background: linear-gradient(135deg, #fbf7ff, #ffffff 55%, #fff9ef);
}

.behavior-cta-panel img {
  width: 130px;
  max-height: 88px;
  object-fit: contain;
}

.behavior-cta-panel h2 {
  margin: 0 0 6px;
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.behavior-cta-panel p {
  margin: 0;
  color: #08005c;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
}

@media (max-width: 900px) {

  .behavior-info-grid,
  .behavior-card-soft,
  .behavior-card-warm,
  .behavior-reminder-banner,
  .behavior-cta-panel {
    grid-template-columns: 1fr;
  }

  .behavior-card-icon-wrap,
  .behavior-support-art img,
  .behavior-reminder-banner img,
  .behavior-cta-panel img {
    margin: 0 auto;
  }

  .behavior-info-card h2,
  .behavior-reminder-banner h2,
  .behavior-cta-panel h2,
  .behavior-cta-panel p {
    text-align: center;
  }

  .behavior-mini-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .behavior-strategy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .behavior-reminder-banner,
  .behavior-cta-panel {
    text-align: center;
  }

  .behavior-cta-panel .btn {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .behavior-page-content {
    padding: 0 14px;
  }

  .behavior-strategy-grid {
    grid-template-columns: 1fr;
  }

  .behavior-info-card,
  .behavior-reminder-banner,
  .behavior-cta-panel {
    padding: 22px 20px;
  }
}

.about-page-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px 24px;
  color: #08005c;
}

.about-page-content h2,
.about-page-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--purple);
}

.about-main-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.45fr;
  gap: 18px;
  align-items: stretch;
}

.shooting-stars-creed-card,
.about-panel,
.team-card,
.ready-card {
  border: 1px solid rgba(104, 74, 200, 0.20);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 12%, rgba(181, 132, 230, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fbf7ff 100%);
  box-shadow: 0 10px 26px rgba(46, 18, 143, 0.06);
}

.shooting-stars-creed-card {
  padding: 25px 30px 22px;
  background:
    radial-gradient(circle at 25% 8%, rgba(181, 132, 230, 0.25), transparent 30%),
    linear-gradient(135deg, #f3e8ff 0%, #fbf7ff 100%);
}

.shooting-stars-creed-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-style: italic;
  line-height: 1.05;
  text-align: left;
}

.shooting-stars-creed-card h3 {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 1.35rem;
  font-style: italic;
  text-align: center;
}

.creed-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.creed-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 28px;
  color: #08005c;
  font-size: 0.95rem;
  line-height: 1.32;
  font-weight: 800;
}

.creed-list li::before {
  content: "♥";
  position: absolute;
  left: 0;
  top: -1px;
  color: #6a22d8;
  font-size: 1.6rem;
}

.creed-bottom {
  margin-top: 50px;
  align-items: center;
}

.creed-bottom img {
  width: 385px;
  height: 200px;
}

.about-right-stack {
  display: grid;
  gap: 18px;
}

.about-panel {
  padding: 18px 16px;
}

.about-panel > h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-style: italic;
  line-height: 1.05;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.approach-grid article {
  min-height: 206px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid rgba(104, 74, 200, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.approach-grid img {
  width: 120px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.approach-grid h3 {
  margin: 0 0 8px;
  font-size: 1.13rem;
  font-style: italic;
  line-height: 1.1;
}

.approach-grid p,
.choose-grid p {
  margin: 0;
  color: #08005c;
  font-size: 0.72rem;
  line-height: 1.42;
  font-weight: 800;
}

.believe-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.believe-grid article {
  text-align: center;
}

.believe-grid img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 7px;
}

.believe-grid h3 {
  margin: 0;
  color: #08005c;
  font-size: 0.90rem;
  line-height: 1.18;
  font-family: "DM Sans", sans-serif;
  font-weight: 900;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.choose-grid article {
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid rgba(104, 74, 200, 0.16);
}

.choose-grid article:last-child {
  border-right: none;
}

.choose-grid img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 6px;
}

.choose-grid h3 {
  margin: 0 0 6px;
  color: #08005c;
  font-size: 0.9rem;
  line-height: 1.16;
  font-family: "DM Sans", sans-serif;
  font-weight: 900;
}

.about-bottom-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 18px;
}

.team-card,
.ready-card {
  min-height: 170px;
  padding: 22px 24px;
  display: grid;
  align-items: center;
  gap: 20px;
}

.team-card {
  grid-template-columns: 230px 1fr 140px;
}

.team-sign {
  width: 220px;
  object-fit: contain;
}

.team-bear {
  width: 130px;
  object-fit: contain;
}

.team-card h2,
.ready-card h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-style: italic;
  line-height: 1.06;
}

.team-card p,
.ready-card p {
  margin: 0;
  color: #08005c;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 800;
}

.ready-card {
  grid-template-columns: 90px 1fr;
  text-align: center;
}

.ready-card img {
  width: 84px;
  object-fit: contain;
}

.ready-card .btn {
  margin-top: 14px;
}

@media (max-width: 1000px) {
  .about-main-grid,
  .about-bottom-grid,
  .team-card,
  .ready-card {
    grid-template-columns: 1fr;
  }

  .team-sign,
  .team-bear,
  .ready-card img {
    margin: 0 auto;
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .believe-grid,
  .choose-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .choose-grid article {
    border-right: none;
  }
}

@media (max-width: 640px) {
  .about-text-hero {
    padding: 48px 1.25rem 56px;
    text-align: center;
  }

  .about-page-content {
    padding: 18px 14px 24px;
  }

  .shooting-stars-creed-card,
  .about-panel,
  .team-card,
  .ready-card {
    padding: 20px 18px;
  }

  .creed-bottom,
  .approach-grid,
  .believe-grid,
  .choose-grid {
    grid-template-columns: 1fr;
  }

  .creed-bottom img {
    margin: 0 auto;
  }
}

.cta-stars span {
  position: absolute;
  color: #b893ef;
  font-size: 1.4rem;
}

.cta-stars span:nth-child(1) {
  left: 65px;
  top: 30px;
}

.cta-stars span:nth-child(2) {
  left: 285px;
  top: 28px;
}

.cta-stars span:nth-child(3) {
  right: 300px;
  top: 32px;
}

.section-title-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-title-stars h2 {
  margin: 0;
  color: #2a168f;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  font-style: italic;
}

.gold-star {
  color: #ffb300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  text-shadow: 0 2px 3px rgba(255, 179, 0, 0.25);
}

.gold-line {
  width: clamp(90px, 16vw, 190px);
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    #ffb300 25%,
    #ffb300 75%,
    transparent
  );
  border-radius: 999px;
}

.referral-form-section {
  padding: 60px 20px;
  background: #f7f1fb;
}

.referral-form-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px;
  background: #f1def7;
  border: 2px solid #e8d8f5;
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(92, 55, 140, 0.14);
  color: #3b2554;
}

.referral-form-header {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 3px solid #f1d974;
}

.referral-form-header h1 {
  margin: 0 0 10px;
  color: #6d3fa0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15;
}

.referral-subtitle {
  margin: 0 0 6px;
  font-weight: 700;
  color: #51306f;
  font-size: 1rem;
}

.referral-contact {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: #60427c;
}

.referral-contact a {
  color: #6d3fa0;
  text-decoration: none;
  font-weight: 700;
}

.referral-contact a:hover {
  text-decoration: underline;
}

.referral-subtitle span,
.referral-contact span {
  margin: 0 8px;
  color: #c9a628;
}

.referral-tagline {
  display: inline-block;
  margin: 8px 0 0;
  padding: 9px 18px;
  background: #fff6c9;
  color: #6d3fa0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
}

.referral-intro {
  margin: 0 0 28px;
  padding: 18px 20px;
  background: #fbf7ff;
  border-left: 5px solid #f1d974;
  border-radius: 16px;
  color: #4d3d5f;
  line-height: 1.65;
}

.referral-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.referral-group {
  padding: 24px;
  background: #fffdf7;
  border: 1px solid #eadcf5;
  border-radius: 22px;
}

.referral-group h2 {
  margin: 0 0 18px;
  color: #6d3fa0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.referral-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.referral-form label,
.referral-mini-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #3b2554;
  font-size: 0.95rem;
  font-weight: 700;
}

.referral-full {
  margin-top: 18px;
}

.referral-form input[type="text"],
.referral-form input[type="date"],
.referral-form input[type="tel"],
.referral-form input[type="email"],
.referral-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid #e5d6f1;
  border-radius: 14px;
  background: #ffffff;
  color: #2d1d3f;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.referral-form input:focus,
.referral-form textarea:focus {
  border-color: #9b6bc6;
  box-shadow: 0 0 0 4px rgba(155, 107, 198, 0.16);
}

.referral-form textarea {
  min-height: 120px;
  resize: vertical;
}

.referral-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.referral-check-grid label,
.referral-inline-checks label,
.referral-consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: #ffffff;
  border: 2px solid #eadcf5;
  border-radius: 16px;
  font-weight: 700;
}

.referral-check-grid input,
.referral-inline-checks input,
.referral-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #6d3fa0;
  flex: 0 0 auto;
}

.referral-inline-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.referral-inline-checks label {
  min-width: 115px;
}

.referral-mini-label {
  margin: 0 0 10px;
}

.referral-consent {
  margin-bottom: 20px;
  line-height: 1.5;
}

.signature-grid {
  align-items: end;
}

.referral-actions {
  text-align: center;
  padding-top: 8px;
}

.referral-actions button {
  border: 0;
  padding: 15px 28px;
  background: #6d3fa0;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(109, 63, 160, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.referral-actions button:hover {
  background: #593183;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(109, 63, 160, 0.3);
}

@media (max-width: 700px) {
  .referral-form-section {
    padding: 36px 14px;
  }

  .referral-form-card {
    padding: 26px 18px;
    border-radius: 20px;
  }

  .referral-grid,
  .referral-check-grid {
    grid-template-columns: 1fr;
  }

  .referral-group {
    padding: 20px 16px;
  }

  .referral-inline-checks {
    flex-direction: column;
  }

  .referral-inline-checks label {
    width: 100%;
  }
}