
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

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

:root {
    --peach: #f8bfae;
    --pink: #f2a6a8;
    --orange: #f28c5b;
    --cream: #fff1df;
    --brown: #8c5145;
    --white: #ffffff;
    --text: #513b38;
    --background: #fffaf5;
    --card: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background);
    color: var(--text);
    transition: 0.3s;
}

header {
    background: var(--white);
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar {
    max-width: 1150px;
    margin: auto;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 23px;
    font-weight: 800;
    color: var(--brown);
    text-decoration: none;
}

.logo span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
}

.theme-btn {
    border: none;
    background: var(--cream);
    padding: 10px 13px;
    border-radius: 50%;
    font-size: 17px;
    cursor: pointer;
}

.hero {
    min-height: 490px;
    padding: 80px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(120deg, #fff1df, #f8bfae, #f2a6a8, #f28c5b);
    overflow: hidden;
}

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

.eyebrow {
    color: var(--brown);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero h1 span,
.page-hero h1 span {
    color: #a9533d;
}

.hero-content > p:not(.eyebrow),
.page-hero > p:not(.eyebrow) {
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 28px;
}

.main-btn {
    display: inline-block;
    border: none;
    border-radius: 30px;
    padding: 13px 25px;
    background: var(--brown);
    color: white;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.main-btn:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.hero-decoration {
    position: relative;
    width: 270px;
    height: 250px;
    flex-shrink: 0;
}

.sun {
    position: absolute;
    right: 25px;
    top: 5px;
    font-size: 125px;
    filter: drop-shadow(0 10px 15px rgba(255,150,70,0.3));
}

.book {
    position: absolute;
    bottom: 0;
    left: 10px;
    font-size: 110px;
}

.star {
    position: absolute;
    top: 20px;
    left: 0;
    color: white;
    font-size: 45px;
}

.section {
    max-width: 1150px;
    margin: auto;
    padding: 75px 25px;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px;
}

.section-heading h2,
.contact-section h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.section-heading > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.8;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.study-card,
.about-box {
    background: var(--card);
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 7px 25px rgba(120,70,50,0.08);
    transition: 0.3s;
    border: 1px solid rgba(242,166,168,0.2);
}

.study-card:hover,
.about-box:hover {
    transform: translateY(-6px);
}

.card-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.study-card h3,
.about-box h2 {
    font-size: 17px;
    margin-bottom: 12px;
}

.study-card p,
.about-box p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.study-card a {
    color: var(--orange);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.quote-section {
    text-align: center;
    padding: 55px 20px;
    background: linear-gradient(120deg, #f8bfae, #f28c5b);
    color: #603b34;
}

.quote-section p {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.quote-section span {
    font-size: 13px;
}

.page-hero {
    text-align: center;
    padding: 75px 20px;
    background: linear-gradient(120deg, #fff1df, #f8bfae, #f2a6a8);
}

.page-hero h1 {
    margin-bottom: 12px;
}

.page-hero > p:not(.eyebrow) {
    max-width: 600px;
    margin: auto;
}

.about-content {
    max-width: 1000px;
    margin: auto;
    padding: 65px 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.contact-section {
    max-width: 650px;
    margin: 0 auto 70px;
    padding: 35px 25px;
    text-align: center;
}

.contact-section > p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #edc9bd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    background: var(--card);
    color: var(--text);
}

#contactForm textarea {
    resize: vertical;
}

#contactForm .main-btn {
    align-self: center;
}

footer {
    text-align: center;
    padding: 25px;
    background: #8c5145;
    color: white;
    font-size: 12px;
}

/* DARK MODE */

body.dark-mode {
    --background: #241e24;
    --card: #342a33;
    --text: #f8e9e4;
    --white: #342a33;
    --cream: #49363a;
}

body.dark-mode header {
    background: #342a33;
}

body.dark-mode .nav-links a {
    color: #f8e9e4;
}

body.dark-mode .hero,
body.dark-mode .page-hero {
    background: linear-gradient(120deg, #4b303d, #70444a, #8c5145);
    color: white;
}

body.dark-mode .hero h1 span,
body.dark-mode .page-hero h1 span {
    color: #ffc7a7;
}

body.dark-mode .eyebrow {
    color: #ffc7a7;
}

body.dark-mode .quote-section {
    background: linear-gradient(120deg, #70444a, #8c5145);
    color: white;
}

body.dark-mode #contactForm input,
body.dark-mode #contactForm textarea {
    border-color: #76545a;
}

/* RESPONSIVE HP */

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        gap: 18px;
    }

    .hero {
        text-align: center;
        flex-direction: column;
        padding: 65px 25px;
    }

    .hero-decoration {
        width: 220px;
        height: 180px;
    }

    .sun {
        font-size: 95px;
    }

    .book {
        font-size: 80px;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

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