
/* =====================================
   SAMPURNSTEM – WEBSITE DESIGN
   Colours: Navy, Cream, Orange
===================================== */

:root {
    --navy: #183653;
    --deep-navy: #10283e;
    --orange: #e58a42;
    --cream: #f5f0e7;
    --white: #ffffff;
    --background: #fffdfa;
    --light-grey: #f7f5f0;
    --text: #263849;
    --muted: #687887;
    --border: #e7e2d9;
}

/* =====================================
   GLOBAL STYLES
===================================== */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.7;
}

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

.container {
    width: min(1120px, 90%);
    margin: auto;
}

.eyebrow {
    color: #b86c2f;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 17px;
}

/* =====================================
   NAVIGATION
===================================== */

.header {
    height: 78px;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    color: var(--navy);
}

.brand-logo {
    display: block;
    height: 68px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-placeholder {
    width: 38px;
    height: 38px;
    background: var(--orange);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--navy);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.navigation a:hover,
.navigation a.active {
    color: var(--navy);
}

.navigation .nav-button {
    background: var(--navy);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--navy);
    cursor: pointer;
}

/* =====================================
   HOMEPAGE HERO
===================================== */

.hero {
    background: var(--cream);
    padding: 45px 0;
    overflow: hidden;
}

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

.hero h1,
.page-hero h1 {
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.15;
    letter-spacing: -2px;
    color: var(--navy);
    margin-bottom: 23px;
}

.hero h1 span,
.page-hero h1 span {
    color: var(--orange);
}

.hero-description {
    max-width: 1050px;
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

/* Homepage banner */

.hero-banner {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.hero-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Hero illustration */

.hero-illustration {
    display: grid;
    place-items: center;
    min-height: 350px;
}

.illustration-card {
    background: var(--navy);
    width: 100%;
    max-width: 420px;
    height: 320px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 40px #18365322;
}

.illustration-label {
    position: absolute;
    top: 25px;
    left: 25px;
    color: var(--cream);
    font-size: 10px;
    letter-spacing: 2px;
}

.math-circle {
    position: absolute;
    left: 55px;
    top: 105px;
    width: 145px;
    height: 145px;
    border: 19px solid var(--orange);
    border-radius: 50%;
}

.fraction-box {
    position: absolute;
    top: 90px;
    right: 40px;
    width: 105px;
    height: 120px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(5deg);
}

.fraction-box strong {
    font-size: 46px;
    color: var(--navy);
}

.fraction-box small,
.equation-box small {
    color: var(--muted);
}

.equation-box {
    position: absolute;
    bottom: 25px;
    left: 30px;
    background: white;
    padding: 12px 17px;
    border-radius: 8px;
    transform: rotate(-3deg);
}

.equation-box strong {
    color: var(--navy);
}

.equation-box small {
    display: block;
    font-size: 10px;
}

.dot-decoration {
    position: absolute;
    right: 30px;
    bottom: 30px;
    color: var(--orange);
    letter-spacing: 5px;
    line-height: 1.8;
}

/* =====================================
   BUTTONS
===================================== */

.button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.primary-button {
    background: var(--navy);
    color: white;
}

.primary-button:hover {
    background: var(--deep-navy);
}

.secondary-button {
    border: 1px solid #9eabb5;
    color: var(--navy);
}

.secondary-button:hover {
    background: white;
}

/* =====================================
   VALUES STRIP
===================================== */

.values-strip {
    background: var(--navy);
    color: white;
    padding: 19px 0;
}

.values {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.values span {
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* =====================================
   COMMON SECTIONS
===================================== */

.section {
    padding: 85px 0;
}

.section-heading {
    max-width: 690px;
    margin-bottom: 40px;
}

.section-heading h2,
.split-layout h2,
.profile-content h2,
.contact-content h2 {
    color: var(--navy);
    font-size: clamp(29px, 3.5vw, 40px);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-heading > p:last-child {
    color: var(--muted);
    font-size: 16px;
}

.tinted-section {
    background: var(--light-grey);
}

/* =====================================
   FEATURE CARDS
===================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 11px;
    transition: 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px #18365312;
}

.number {
    display: block;
    color: var(--orange);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 22px;
}

.feature-card h3 {
    color: var(--navy);
    font-size: 19px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
}

/* =====================================
   SPLIT LAYOUT
===================================== */

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.split-layout p {
    color: var(--muted);
    margin-bottom: 18px;
}

/* =====================================
   QUOTE CARD
===================================== */

.quote-card {
    background: var(--navy);
    color: white;
    padding: 40px;
    border-radius: 12px;
}

.quote-mark {
    color: var(--orange);
    font-size: 65px;
    line-height: 1;
}

.quote-card h3 {
    font-size: 23px;
    line-height: 1.5;
    margin: 10px 0 25px;
}

.quote-card p {
    font-size: 11px;
    letter-spacing: 2px;
    color: #cbd5df;
}

/* =====================================
   CLICKABLE CARDS
===================================== */

.clickable-card {
    display: block;
}

.card-symbol {
    display: inline-grid;
    place-items: center;
    background: var(--cream);
    color: var(--orange);
    width: 43px;
    height: 43px;
    border-radius: 9px;
    font-size: 23px;
    margin-bottom: 20px;
}

.text-link {
    color: var(--navy);
    font-size: 14px;
    font-weight: bold;
}

.clickable-card .text-link {
    display: block;
    margin-top: 20px;
}

/* =====================================
   CALL TO ACTION
===================================== */

.cta-section {
    background: var(--navy);
    color: white;
    padding: 55px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.cta-content p:not(.eyebrow) {
    color: #d0dbe3;
}

.light-eyebrow {
    color: var(--orange);
}

.light-button {
    background: var(--cream);
    color: var(--navy);
}

/* =====================================
   INNER PAGE HERO
===================================== */

.page-hero {
    background: var(--cream);
    padding: 30px 0 25px;
}

.page-hero .container {
    max-width: 1120px;
    text-align: center;
}

.page-hero .eyebrow {
    margin-bottom: 8px;
}

.page-hero h1 {
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.page-intro {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    max-width: 850px;
    margin: 0 auto;
}

/* =====================================
   ABOUT PAGE – PROFILE
===================================== */

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 55px;
    align-items: start;
}

.profile-photo {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: var(--white);
}

.profile-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-placeholder {
    min-height: 350px;
    background: #eee6da;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--muted);
    text-align: center;
}

.profile-content p {
    color: var(--muted);
    margin-bottom: 16px;
}

/* =====================================
   CLASSES PAGE
===================================== */

.topic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 40px;
}

.topic-item {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.topic-item h3 {
    color: var(--navy);
    font-size: 17px;
}

.topic-item p {
    color: var(--muted);
    font-size: 14px;
}

/* =====================================
   RESOURCES PAGE
===================================== */

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.resource-card {
    padding: 25px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.resource-card h3 {
    color: var(--navy);
    margin-bottom: 10px;
}

.resource-card p {
    color: var(--muted);
    font-size: 14px;
}

/* =====================================
   CONTACT PAGE
===================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-content p {
    color: var(--muted);
}

.form-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
}

.form-card h3 {
    color: var(--navy);
    margin-bottom: 12px;
}

.form-placeholder {
    background: var(--light-grey);
    padding: 45px 20px;
    border-radius: 8px;
    text-align: center;
    color: var(--muted);
    margin-top: 20px;
}

/* Google Form */

.google-form-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.google-form-container iframe {
    display: block;
    width: 100%;
    min-height: 2407px;
    border: 0;
}

/* =====================================
   BRAND BANNER
===================================== */

.brand-banner {
    width: 100%;
    overflow: hidden;
}

.brand-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* =====================================
   FOOTER
===================================== */

.footer {
    background: var(--deep-navy);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.footer-brand {
    color: white;
}

.footer-tagline {
    color: #c3ced7;
    font-size: 12px;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 13px;
}

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

.copyright {
    grid-column: 1 / -1;
    border-top: 1px solid #ffffff25;
    padding-top: 18px;
    color: #aebdca;
    font-size: 11px;
}

/* =====================================
   TABLET RESPONSIVENESS
===================================== */

@media (max-width: 800px) {

    .feature-grid,
    .resource-grid {
        grid-template-columns: 1fr 1fr;
    }

    .split-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .navigation {
        gap: 15px;
    }
}

/* =====================================
   MOBILE RESPONSIVENESS
===================================== */

@media (max-width: 620px) {

    /* Navigation */

    .brand-logo {
        height: 58px;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: 0 10px 20px #18365315;
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        padding: 8px;
    }

    /* Homepage hero */

    .hero-grid {
        gap: 28px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-banner img {
        border-radius: 8px;
    }

    /* About and inner page hero */

    .page-hero {
        padding: 25px 0 20px;
    }

    .page-hero h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .page-intro {
        font-size: 14px;
    }

    /* Common sections */

    .section {
        padding: 60px 0;
    }

    .feature-grid,
    .resource-grid,
    .topic-grid {
        grid-template-columns: 1fr;
    }

    .values {
        justify-content: center;
    }

    .cta-content {
        align-items: flex-start;
        flex-direction: column;
    }

    /* Footer */

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

    .footer-links {
        justify-content: flex-start;
    }

    .copyright {
        grid-column: auto;
    }
}

/* =====================================
   ABOUT PAGE – SECTION SPACING
===================================== */

/* Bring educator profile closer to the hero */

.page-hero + .section {
    padding-top: 35px;
}

@media (max-width: 620px) {
    .page-hero + .section {
        padding-top: 25px;
    }
}

/* =====================================
   ABOUT HERO – WIDTH AND SPACING
===================================== */

.page-hero {
    padding: 35px 0 30px;
}

.page-hero .container {
    width: min(1320px, 94%);
    max-width: 1320px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(38px, 4vw, 50px);
    margin-bottom: 15px;
}

.page-hero .page-intro {
    max-width: 1050px;
    margin: 0 auto 12px;
    font-size: 16px;
    line-height: 1.7;
}

.page-hero .hero-note {
    margin-top: 16px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

/* Bring educator section closer */
.page-hero + .section {
    padding-top: 35px;
}

@media (max-width: 620px) {
    .page-hero {
        padding: 25px 0 20px;
    }

    .page-hero .container {
        width: 92%;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .page-hero .page-intro {
        font-size: 14px;
    }

    .page-hero + .section {
        padding-top: 25px;
    }
}

/* =====================================
   GROWING TEAM SECTION – ABOUT PAGE
===================================== */

.team-section {
    padding-top: 35px;
    padding-bottom: 65px;
}

.team-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 42px 45px;
    text-align: center;
    background: var(--light-grey);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.team-card h2 {
    color: var(--navy);
    font-size: clamp(28px, 3vw, 36px);
    margin-bottom: 12px;
}

.team-card p {
    color: var(--text);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 14px;
}

.team-card .eyebrow {
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.team-card .team-highlight {
    color: var(--navy);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 18px;
}

.team-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
    padding: 10px 18px;
    border-radius: 30px;
    background: var(--cream);
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.coming-soon-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange);
}

@media (max-width: 620px) {
    .team-section {
        padding-top: 25px;
        padding-bottom: 45px;
    }

    .team-card {
        padding: 30px 20px;
    }

    .team-card .team-highlight {
        font-size: 17px;
    }
}
/* Student Success / Our Commitment Section */
.student-success-section {
    background-color: var(--light-bg);
    padding: 55px 20px;
    text-align: center;
}

.student-success-section .section-label {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.student-success-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.student-success-section p:not(.section-label) {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .student-success-section {
        padding: 40px 18px;
    }

    .student-success-section h2 {
        font-size: 1.5rem;
    }

    .student-success-section p:not(.section-label) {
        font-size: 1rem;
    }
}