:root {
    --sage: #829974;
    --cream: #FAF7F0;
    --rose: #D8A39D;
    --sand: #EADBC8;
    --text: #444444;
    --white: #ffffff;
}

/* =========================
   Global
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    font-size: 20px;
}

/* =========================
   Layout
========================= */

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* =========================
   Header
========================= */

header {
    background: var(--sage);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h2 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: .25s ease;
}

nav a:hover {
    opacity: .8;
}

/* =========================
   Hero
========================= */

.hero {
    background:
        linear-gradient(
            rgba(0,0,0,.25),
            rgba(0,0,0,.25)
        ),
        url("assets/montessori-hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 80vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;

    padding: 60px 20px;
}

.hero-content {
    max-width: 1000px;
}

.hero-tag {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 18px;
    font-weight: 600;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(4rem, 7vw, 6rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.btn,
.btn-secondary {
    padding: 18px 38px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: .25s ease;
}

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

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

.btn:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
}

/* =========================
   Welcome Section
========================= */

.welcome-section {
    padding: 100px 20px;
    text-align: center;
}

.welcome-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    color: var(--sage);
    margin-bottom: 30px;
}

.welcome-section p {
    max-width: 900px;
    margin: 20px auto;
    font-size: 22px;
}

/* =========================
   Sections
========================= */

.section {
    padding: 120px 20px;
}

.section h2 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: var(--sage);
    font-size: 52px;
    margin-bottom: 70px;
}

/* =========================
   Cards
========================= */

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

.card {
    background: white;
    padding: 40px;
    border-radius: 24px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);

    transition: .25s ease;
}

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

.card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--sage);
}

.card p {
    font-size: 18px;
    line-height: 1.7;
}

/* =========================
   Gallery
========================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.gallery img {
    width: 100%;
    border-radius: 18px;
    display: block;
}

/* =========================
   Contact Form
========================= */

.contact-box {
    max-width: 850px;
    margin: auto;
    background: white;
    padding: 50px;
    border-radius: 24px;
}

input,
textarea {
    width: 100%;
    padding: 16px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 18px;
}

button {
    background: var(--sage);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 18px;
}

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

footer {
    background: var(--sage);
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin-top: 60px;
}

/* =========================
   Mobile
========================= */

@media (max-width: 768px) {

    body {
        font-size: 18px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav h2 {
        font-size: 32px;
        text-align: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    nav a {
        font-size: 16px;
    }

    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .welcome-section h2,
    .section h2 {
        font-size: 36px;
    }

    .welcome-section p {
        font-size: 18px;
    }

    .card {
        padding: 30px;
    }

    .card h3 {
        font-size: 24px;
    }

    .contact-box {
        padding: 30px;
    }
}
