/* Color Palette and Variables */
:root {
    --yellow: #F67D01;
    --blue: #1982C4;
    --green: #8AC926;
    --pink: #FF595E;
    --purple: #6A4C93;
    --dark: #212529;
    --light: #FFFDF9;
    --white: #FFFFFF;
    --medium-blue: #b3deff;
    --medium-yellow: #ffcf9f;
    --medium-pink: #ffbbbb;
    --medium-green: #e3ffb7;
    --soft-blue: #E8F4FD;
    --soft-yellow: #ffead4;
    --soft-pink: #FFEAEA;
    --soft-green: #f0ffd7;
    --radius: 30px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

a:hover {
    color: white;
}


ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* Helper Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.badge-pink {
    background: var(--soft-pink);
    color: var(--pink);
}

.badge-blue {
    background: var(--soft-blue);
    color: var(--blue);
}

.badge-yellow {
    background: var(--soft-yellow);
    color: var(--yellow);
}

.badge-green {
    background: var(--soft-green);
    color: var(--green);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-pink {
    background-color: var(--pink);
    color: white;
}

.btn-pink:hover {
    background-color: #fd777b;
    transform: translateY(-2px);
}

.btn-blue {
    background-color: var(--blue);
    color: white;
}

.btn-blue:hover {
    background-color: #1a96e4;
    transform: translateY(-2px);
}

.btn-yellow {
    background-color: var(--yellow);
    color: white;
}

.btn-yellow:hover {
    background-color: #ffd255;
    transform: translateY(-2px);
}

.btn-green {
    background-color: var(--green);
    color: white;
}

.btn-green:hover {
    background-color: #9ddd37;
    transform: translateY(-2px);
}

/* Scarcity Banner */
.top-banner {
    display: flex;
    gap: 100px;
    align-items: center;
    justify-content: center;
    background-color: var(--yellow);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    position: sticky;
    top: 0;
    z-index: 1100;

}

.bottom-banner {
    background-color: var(--blue);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    position: sticky;
    top: 0;
    z-index: 1100;
}

/* Header & Nav */
#header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    /* Height of the top banner */
    z-index: 1000;
    border-bottom: 3px solid #F1F3F5;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-area h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--blue);
    line-height: 0.7;
}

.logo-area span {
    font-size: 1.2rem;
    color: var(--yellow);
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav ul li {
    text-align: center;
}

nav a {
    font-weight: 700;
    color: var(--dark);
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

nav a:hover {
    color: var(--blue);
    background-color: var(--soft-blue);
}

.nav-cta {
    background-color: var(--green);
    color: white !important;
    border-radius: 50px;
    padding: 10px 20px;
}

.nav-cta:hover {
    background-color: #79b31f;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-text h2 span {
    color: var(--pink);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.card-btns {
    display: flex;
    gap: 15px;
    justify-content: center;

}

.card-footer-container {
    gap: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
}

.ofsted-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--soft-blue);
    padding: 30px;
    border-radius: 15px;
}

.ofsted-box i {
    font-size: 2rem;
    color: var(--blue);
}

.ofsted-box h4 {
    font-weight: 900;
    color: #0d5c8a;
}

.ofsted-text p {
    margin: 0;
}

/* Hero Image Bubble Visual */
.hero-visual {
    position: relative;
}

.bubble-bg {
    position: absolute;
    background-color: var(--yellow);
    width: 100%;
    height: 100%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%;
    top: 20px;
    left: 20px;
    z-index: 1;
    opacity: 0.3;
}

.hero-image-container {
    position: relative;
    z-index: 2;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cards & Grids */
.card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    align-items: center;
}

/* Comparison Section */
.why-small {
    background-color: var(--white);
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.comp-box {
    padding: 35px;
    border-radius: var(--radius);
}

.comp-large {
    background-color: #F8F9FA;
    border: 2px solid #E9ECEF;
}

.comp-ducklings {
    background-color: var(--soft-blue);
    border: 2px solid var(--blue);
}

.comp-box h3 {
    margin-bottom: 20px;
    font-weight: 900;
}

.comp-box ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.comp-large li i {
    color: #ADB5BD;
}

.comp-ducklings li i {
    color: var(--green);
}


.parent-testimonies {
    background-color: var(--soft-blue);

}

.parent-profile {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
}


.checked {
    color: var(--yellow);
}

/* FAQs using details tag (No JS required for accordions!) */
details {
    background-color: var(--white);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

summary {
    font-weight: 700;
    font-size: 1.1rem;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details[open] summary {
    margin-bottom: 10px;
    color: var(--blue);
}

/* Footer */
footer {
    background-color: var(--yellow);
    color: var(--white);
    padding: 60px 0 20px 0;
    border-radius: 50px 50px 0 0;
    margin-top: 40px;
}

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

.footer-box h4 {
    font-weight: 1000;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-box a {
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid white;
    font-size: 0.9rem;
}

.footer-item {
    margin-bottom: 40px;
}

#contact {
    padding: 2rem;
}

footer {
    background-color: var(--yellow);
    color: var(--white);
    padding: 60px 0 20px 0;
    border-radius: 50px 50px 0 0;
    margin-top: 40px;
}

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

.footer-box h4 {
    font-weight: 1000;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-box a {
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid white;
    font-size: 0.9rem;
}

.footer-item {
    margin-bottom: 40px;
}

#contact {
    padding: 2rem;
}

.footer-text {
    color: white;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h2 {
        font-size: 2.8rem;
    }

    .comparison-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
    }
}