/* ============================================
   KAIDA CHILDCARE - MAIN STYLESHEET
   Clean, accessible, performance optimized
   ============================================ */

/* ===== CSS RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

input,
button,
textarea,
select {
    font: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

a {
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== DESIGN TOKENS ===== */
:root {
    --color-teal: #4FB3B5;
    --color-teal-dark: #3a8f91;
    --color-yellow: #F5C544;
    --color-cyan: #7FD4DE;
    --color-orange: #F39C5F;
    --color-pink: #F0858F;

    --color-text: #2d3a4a;
    --color-text-light: #5a6878;
    --color-bg: #ffffff;
    --color-bg-soft: #f8fafc;
    --color-border: #e2e8f0;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    --font-display: 'Nunito', system-ui, sans-serif;
    --font-body: 'Quicksand', system-ui, sans-serif;

    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* ===== BASE TYPOGRAPHY ===== */
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    font-size: 17px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    margin-bottom: var(--space-sm);
}

a {
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-teal-dark);
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

main>section {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-sub {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-xl);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-teal);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 179, 181, 0.3);
}

.btn-primary:hover {
    background: var(--color-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 179, 181, 0.4);
    color: white;
}

.btn-large {
    padding: 1.1rem 2.25rem;
    font-size: 1.1rem;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav > ul {
    display: flex;
    gap: var(--space-md);
}

.main-nav > ul > li {
    position: relative;
}

.main-nav a,
.main-nav .submenu-toggle {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-text);
    padding: 0.5rem 0;
    position: relative;
}

.main-nav .submenu-toggle {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    line-height: inherit;
    text-align: left;
    padding-top:2px;
}

.submenu-arrow {
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
}

.nav-item-has-submenu.submenu-open > .submenu-toggle .submenu-arrow {
    transform: translateY(2px) rotate(225deg);
}

.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal);
    transition: width 0.2s;
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li:focus-within > a::after {
    width: 100%;
}

/* Desktop programs dropdown */
.main-nav > ul > li > ul {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 110;
    display: flex;
    min-width: 220px;
    padding: 0.5rem;
    flex-direction: column;
    gap: 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.main-nav > ul > li.submenu-open > ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

@media (min-width: 769px) {
    .main-nav > ul > li:hover > ul {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .main-nav > ul > li:hover > .submenu-toggle .submenu-arrow {
        transform: translateY(2px) rotate(225deg);
    }
}

.main-nav > ul > li > ul a {
    display: block;
    padding: 0.7rem 1rem;
    border-radius: calc(var(--radius-sm) - 2px);
    white-space: nowrap;
}

.main-nav > ul > li > ul a:hover,
.main-nav > ul > li > ul a:focus-visible {
    color: var(--color-teal-dark);
    background: var(--color-bg-soft);
    outline: none;
}

.header-cta {
    margin-left: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #fff7ec 0%, #e8f7f8 100%);
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-location {
    color: var(--color-teal-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
}

.hero h1 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

/* ===== VALUE PROPS ===== */
.value-props {
    background: var(--color-bg);
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.prop-card {
    background: var(--color-bg-soft);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-top: 4px solid var(--color-teal);
    transition: transform 0.2s, box-shadow 0.2s;
}

.prop-card:nth-child(2) {
    border-top-color: var(--color-yellow);
}

.prop-card:nth-child(3) {
    border-top-color: var(--color-orange);
}

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

.prop-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.prop-card ul li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--color-text-light);
}

.prop-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 700;
}

.enrolling-banner {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-cyan) 100%);
    color: white;
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.enrolling-banner h2 {
    color: white;
    margin-bottom: var(--space-xs);
    font-size: 2rem;
}

.enrolling-banner p {
    font-size: 1.15rem;
    margin: 0;
}

.enrolling-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 700;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--color-bg-soft);
    text-align: center;
}

.about-section .lead {
    max-width: 800px;
    margin: 0 auto var(--space-md);
    font-size: 1.15rem;
    color: var(--color-text-light);
}

.about-section .tagline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-teal-dark);
    margin: 0;
}

/* ===== GALLERY ===== */
.gallery-section {
    background: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-sm);
}

.gallery-grid a {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: zoom-in;
    background: var(--color-bg-soft);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid a:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-grid a:hover img {
    transform: scale(1.08);
}

/* ===== CURRICULUM TABS ===== */
.curriculum-section {
    background: var(--color-bg-soft);
}

.curriculum-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.tab-card {
    padding: 0;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    transition: transform 0.2s;
    background: transparent;
    opacity: 0.65;
}

.tab-card:hover {
    transform: translateY(-4px);
    opacity: 1;
}

.tab-card.active {
    opacity: 1;
    transform: translateY(2px);
}

.tab-card img {
    width: 100%;
    height: auto;
    display: block;
}

.curriculum-panel {
    background: var(--color-teal);
    color: white;
    padding: var(--space-lg) var(--space-xl);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    /* box-shadow: var(--shadow-md); */
    animation: fadeIn 0.3s ease;
}

.curriculum-panel[hidden] {
    display: none;
}

.curriculum-panel h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.curriculum-list dt {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: var(--space-md);
    margin-bottom: 0.25rem;
}

.curriculum-list dt:first-child {
    margin-top: 0;
}

.curriculum-list dd {
    margin-left: 0;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CONTACT ===== */
.contact-section {
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.info-block {
    margin-bottom: var(--space-md);
}

.info-block h3 {
    color: var(--color-teal-dark);
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.info-block a:hover {
    color: var(--color-teal);
}

.map-wrap {
    margin-top: var(--space-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
    display: block;
}

/* ===== FORM ===== */
.form-wrap {
    background: var(--color-bg-soft);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-wrap h3 {
    margin-bottom: var(--space-md);
    color: var(--color-teal-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    color: var(--color-text);
}

.form-group label span {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(79, 179, 181, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.btn-submit {
    width: 100%;
    margin-top: var(--space-sm);
    position: relative;
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-submit.loading .btn-text {
    opacity: 0.5;
}

.btn-submit.loading .btn-spinner {
    display: inline-block;
}

.btn-submit:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-message {
    margin-top: var(--space-sm);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    display: none;
    font-size: 0.95rem;
}

.form-message.success {
    display: block;
    background: #d4f4dd;
    color: #1a6b32;
    border-left: 4px solid #28a745;
}

.form-message.error {
    display: block;
    background: #fde4e4;
    color: #8a1a1a;
    border-left: 4px solid #e74c3c;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-orange) 100%);
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.cta-text h2 {
    color: white;
    margin-bottom: var(--space-sm);
}

.cta-text p {
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

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

.cta-image img {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.cta-banner .btn-primary {
    background: white;
    color: var(--color-teal-dark);
    box-shadow: var(--shadow-md);
}

.cta-banner .btn-primary:hover {
    background: var(--color-text);
    color: white;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-text);
    color: white;
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul li {
    padding: 0.3rem 0;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

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

.footer-logo {
    margin-bottom: var(--space-sm);
    background: white;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
}

.lic {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-cyan);
}

.footer-col address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.social-links a:hover {
    background: var(--color-teal);
    transform: translateY(-2px);
}

.social-links img {
    width: 22px;
    height: 22px;
}

.disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    margin-bottom: 0.5rem;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* ===== FLOATING CTA (mobile) ===== */
.floating-cta {
    display: none;
    position: fixed;
    bottom: var(--space-sm);
    right: var(--space-sm);
    background: var(--color-teal);
    color: white;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-xl);
    font-family: var(--font-display);
    font-weight: 700;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 50;
    text-decoration: none;
}

.floating-cta:hover {
    background: var(--color-teal-dark);
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

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

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

    .curriculum-panel {
        padding: var(--space-md);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.open {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .main-nav > ul {
        flex-direction: column;
        padding: var(--space-md);
        gap: 0;
    }

    .main-nav > ul > li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .main-nav > ul > li:last-child {
        border-bottom: none;
    }

    .main-nav .submenu-toggle {
        justify-content: space-between;
        min-height: 44px;
    }

    /* Mobile program submenu: collapsed until its button is tapped. */
    .main-nav > ul > li > ul {
        position: static;
        display: flex;
        min-width: 0;
        max-height: 0;
        padding: 0 0 0 0.75rem;
        overflow: hidden;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
        transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
    }

    .main-nav > ul > li.submenu-open > ul {
        max-height: 220px;
        padding-top: 0.45rem;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .main-nav > ul > li > ul li {
        padding: 0;
        border: 0;
    }

    .main-nav > ul > li > ul a {
        padding: 0.5rem 0.75rem;
        white-space: normal;
    }

    main>section {
        padding: var(--space-lg) 0;
    }

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

    .floating-cta {
        display: inline-flex;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

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

    .cta-image {
        order: -1;
    }

    .cta-image img {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .form-wrap {
        padding: var(--space-md);
    }
}

.content-section {
    background: var(--color-bg-soft);
}

.breadcrumb {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: .9rem;
    justify-content: center;
    font-weight: bold;
}

.breadcrumb a {
    color: var(--color-teal-dark);
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
    background: var(--color-bg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.04);
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    justify-content: center;
}

.related-links a {
    padding: .65rem 1rem;
    border-radius: 999px;
    background: var(--color-cyan);
    color: var(--color-text);
    font-weight: 700;
}

.faq-list {
    max-width: 860px;
    margin: var(--space-lg) auto 0;
    display: grid;
    gap: var(--space-sm);
}

.faq-list details {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.faq-list summary {
    cursor: pointer;
    list-style: none;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-text);
}

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

.faq-list summary::after {
    content: "+";
    float: right;
    color: var(--color-teal);
    font-size: 1.3rem;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    margin: 0;
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-light);
}

.feature-list li {
    list-style: none;
    position: relative;
    padding-left: 1.75rem;
    color: var(--color-text);
    line-height: 1.6;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .05em;
    color: var(--color-teal);
    font-weight: 800;
    font-size: 1.05rem;
}

.related-programs {
    border-top: 1px solid var(--color-border);
}

.related-programs .related-links {
    margin-top: 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-sm) var(--space-lg);
    margin: var(--space-lg) 0;
    padding-left: 1.25rem;
}

.feature-list li {
    color: var(--color-text-light);
    line-height: 1.6;
}

.content-section h3 {
    margin-top: var(--space-lg);
}

.content-section>.container>p:last-child {
    margin-bottom: 0;
}

.content-section .section-sub {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

.curriculum-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-teal);
}

.curriculum-card:nth-child(2n) {
    border-top-color: var(--color-yellow);
}

.curriculum-card:nth-child(3n) {
    border-top-color: var(--color-orange);
}

.curriculum-card h3 {
    margin-bottom: var(--space-sm);
}

.curriculum-card p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

.highlight-box {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-lg);
    background: var(--color-teal);
    color: white;
    text-align: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.highlight-box h3 {
    color: white;
    margin-bottom: var(--space-sm);
}

.highlight-box-no-heading-spacing h3 {
   margin-top: 0;
   margin-bottom: 0;
}

.highlight-box p {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
}

@media print {

    .site-header,
    .floating-cta,
    .form-wrap,
    .cta-banner {
        display: none;
    }
}



.textCenter
{
    text-align: center;
}

.prop-card:nth-child(4)
{
        border-top: 4px solid var(--color-teal);
}


.prop-card:nth-child(5)
{
        border-top-color: var(--color-yellow);
}

.prop-card:nth-child(6)
{
           border-top-color: var(--color-orange);
}

.guidance
{
    margin-top: 10px !important;
    margin-bottom: 0px !important;
}

.changeFr
{
    gap: var(--space-sm) 0px !important;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
}

/* ===== INFANT PROGRAM PAGE ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .65rem;
    /* padding-top: var(--space-md); */
    /* padding-bottom: 0; */
    color: var(--color-text-light);
    font-size: .95rem;
}

.breadcrumb a {
    color: var(--color-teal-dark);
    font-weight: 700;
}

.breadcrumb span[aria-hidden="true"] {
    color: var(--color-orange);
    font-weight: 800;
}

.infant-hero {
    padding-top: var(--space-lg);
}

.narrow-copy {
    max-width: 900px;
}

.narrow-copy > p {
    color: var(--color-text-light);
}

.highlight-line {
    max-width: 720px;
    margin: var(--space-md) auto;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    background: var(--color-yellow);
    color: var(--color-text) !important;
    font-family: var(--font-display);
    font-weight: 800;
    text-align: center;
}

.center-copy {
    max-width: 780px;
    margin: var(--space-lg) auto 0;
    text-align: center;
    color: var(--color-text-light);
}

.curriculum-section {
    background: var(--color-bg-soft);
}

.curriculum-panel {
    /* max-width: 900px; */
    margin: var(--space-lg) auto 0;
    /* display: grid; */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.curriculum-panel > div {
    padding: var(--space-lg);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border-top: 4px solid var(--color-teal);
    box-shadow: var(--shadow-sm);
}

.curriculum-panel > div:nth-child(2n) {
    border-top-color: var(--color-yellow);
}

.curriculum-panel > div:nth-child(3n) {
    border-top-color: var(--color-orange);
}

.curriculum-panel h3 {
    margin-bottom: var(--space-xs);
}

.curriculum-panel p {
    margin-bottom: 0;
    /* color: var(--color-text-light); */
}

.infant-tour {
    background: var(--color-bg-soft);
}

.tour-card {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fff7ec 0%, #e8f7f8 100%);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.tour-card .section-title {
    margin-bottom: var(--space-sm);
}

.tour-card .section-sub {
    margin-bottom: var(--space-lg);
}

@media (max-width: 700px) {
    .curriculum-panel {
        grid-template-columns: 1fr;
    }

    .breadcrumb {
        /* padding-top: var(--space-sm); */
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .tour-card {
        padding: var(--space-lg) var(--space-md);
    }
}

/* Infant page refinements */
.infant-hero .hero-content > p:not(.hero-location):not(.hero-sub) {
    max-width: 680px;
    color: var(--color-text-light);
}

.centered-section {
    text-align: center;
}

.centered-section .narrow-copy,
.centered-section > .container {
    margin-left: auto;
    margin-right: auto;
}

.centered-list {
    /* max-width: 760px; */
    margin: var(--space-md) auto 0;
    text-align: left;
}

.centered-list li {
    margin-bottom: var(--space-sm);
}

.transition-grid {
    max-width: 900px;
    margin: var(--space-lg) auto var(--space-xl);
}

.different-section {
    padding-top: var(--space-xl);
}

.different-title {
    margin-top: var(--space-xl);
}

.highlight-box {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-md);
    background: var(--color-yellow);
    box-shadow: var(--shadow-sm);
}

.highlight-box .section-title {
    margin-bottom: var(--space-sm);
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.cta-banner .cta-content {
    align-items: center;
}

.cta-banner .cta-text p {
    max-width: 620px;
}

.contact-section {
    scroll-margin-top: 100px;
}

@media (max-width: 700px) {
    .infant-hero .hero-content > p:not(.hero-location):not(.hero-sub) {
        max-width: none;
    }

    .highlight-box {
        padding: var(--space-lg) var(--space-md);
    }

    .infant-highlight{
        margin-left: 10px;
        margin-right: 10px;
    }
}

.photo-gallery
{
    padding-top: 0cap !important;
}


.feature-list-infant-care
{
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}

.infant-highlight
{
    margin-top: 30px;
}

.infantWhiteSectionBackground
{
    background: white;
}

.social-links a[aria-label="LinkedIn"] {
    display: none;
}
