/* === Theme Variables === */
:root {
    --primary: #dc2626;
    /* red for buttons */
    --primary-dark: #b91c1c;
    --secondary: #facc15;
    /* yellow */
    --secondary-dark: #eab308;
    /* mustard */
    --accent: #1E40AF;
    /* Dark Blue matching the image */
    --green: #16a34a;
    --orange: #f97316;
    --dark: #4e4b4b;
    --light-bg: #f9fafb;
}

/* === Global Styles === */
body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    background: var(--light-bg);
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}

/* Specific override for .enroll-section .section-title to use green from logo */
.enroll-section .section-title {
    color: var(--green) !important;
    /* Green (#16a34a) for title */
}

/* Specific override for #enrollment-title to use green from logo */
#enrollment-title {
    color: var(--green) !important;
    /* Green (#16a34a) to override text-yellow-600 */
}

.section-text {
    font-size: 1.125rem;
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
}

/* Specific override for .enroll-section .section-text to use white font */
.enroll-section .section-text {
    color: #fff !important;
    /* White font for better contrast on blue background */
}

.divider {
    width: 5rem;
    height: 0.25rem;
    background: var(--secondary-dark);
    margin: 1rem auto;
}

.subheading {
    color: var(--secondary-dark);
}

/* === Navbar === */
.navbar {
    background: var(--accent);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(30, 64, 175, 0.95);
}

.logo-text {
    color: #fff;
    font-size: 1.5rem;
    font-family: 'Quicksand', sans-serif;
}

.nav-link {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary-dark);
}

.burger-btn {
    color: #fff;
}

/* === Navbar (partial) === */
.mobile-menu {
    display: none;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 40;
}

.mobile-menu:not(.hidden) {
    display: block;
}

.mobile-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--accent);
    font-weight: bold;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--primary);
}

.btn-mobile {
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: block;
    text-align: center;
    margin: 1rem;
}

/* === Hero === */
.hero-section {
    background: #fff;
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.banner-title {
    font-size: 3rem;
    font-weight: bold;
}

.banner-title span.k {
    color: var(--accent);
}

.banner-title span.i {
    color: var(--primary);
}

.banner-title span.d {
    color: var(--secondary);
}

.banner-title span.s {
    color: var(--green);
}

.banner-title span.q {
    color: var(--orange);
}

.banner-title span.u {
    color: var(--accent);
}

.banner-title span.e {
    color: var(--primary);
}

.banner-title span.s2 {
    color: var(--secondary);
}

.banner-title span.t {
    color: var(--green);
}

/* About KidsQuest Title */
.section-title span.a1 {
    color: var(--accent);
}

.section-title span.b {
    color: var(--primary);
}

.section-title span.o {
    color: var(--secondary-dark);
}

.section-title span.u1 {
    color: var(--green);
}

.section-title span.t1 {
    color: var(--orange);
}

.section-title span.k1 {
    color: var(--accent);
}

.section-title span.i1 {
    color: var(--primary);
}

.section-title span.d1 {
    color: var(--green);
}

.section-title span.s1 {
    color: var(--secondary-dark);
}

.section-title span.q1 {
    color: var(--orange);
}

.section-title span.u2 {
    color: var(--accent);
}

.section-title span.e1 {
    color: var(--primary);
}

.section-title span.s2 {
    color: var(--green);
}

.section-title span.t2 {
    color: var(--secondary-dark);
}

.section-title span.space {
    color: transparent;
}

.hero-subtitle {
    margin-top: 1rem;
    font-size: 1.25rem;
    color: var(--dark);
}

.hero-buttons {
    margin-top: 2rem;
}

/* === Buttons === */
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

/* === About === */
.about-section {
    background: #fff;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.icon {
    font-size: 1.25rem;
}

/* === Programs === */
.programs-section {
    background: var(--accent) !important;
    /* Solid dark blue (#1E40AF) */
    color: #fff;
}

.program-grid {
    display: grid;
    gap: 2rem;
}

.program-card {
    background: #fff;
    color: var(--dark);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.icon-large {
    font-size: 2rem;
}

/* === Science === */
.science-section {
    background: #fff;
}

.mascot-grid {
    display: grid;
    gap: 2rem;
}

.mascot-card {
    transition: transform 0.3s;
}

.mascot-card:hover {
    transform: translateY(-5px);
}

/* === Break Section === */
.break-section {
    background: #fff;
    color: var(--dark);
}

.break-section .section-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}

.break-section .section-text,
.break-section p,
.break-section li {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
}

/* === Gallery === */
.gallery-section {
    background: #fff;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
}

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

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

/* === Testimonials === */
.testimonials-section {
    background: var(--light-bg);
}

.testimonial-grid {
    display: grid;
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* === Enroll CTA === */
.enroll-section {
    background: var(--accent) !important;
    /* Solid dark blue (#1E40AF) */
    color: #fff;
}

/* === Contact === */
.contact-section {
    background: #fff;
}

.contact-form input,
.contact-form textarea {
    border-color: var(--dark);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-dark);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

.contact-form .border-red-500 {
    border-color: #ef4444;
}

/* === Footer === */
.footer {
    background: var(--accent) !important;
    /* Solid dark blue (#1E40AF) */
    color: #fff;
}

.footer a {
    color: #fff;
    transition: color 0.3s;
}

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

/* === Enrollment Form Styles (Integrated) === */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.kidsquest-bg {
    background: var(--light-bg);
}

/* Reviews for Places API */
.review-card {
    font-family: Arial;
    color: #333;
}