/* =====================================================
   TOTOSCAPE LEARNING JOURNEYS
   DESIGN SYSTEM
===================================================== */

:root {

    --primary: #1f526b;
    --primary-dark: #173f52;

    --secondary: #2d8b83;
    --secondary-dark: #236f69;

    --accent: #e7a83e;
    --accent-light: #f5d58d;

    --cream: #f8f5ed;
    --soft-blue: #edf5f7;
    --soft-green: #edf7f4;

    --white: #ffffff;
    --dark: #24343d;
    --text: #52636b;
    --muted: #78868c;

    --border: #dfe8ea;

    --shadow-sm:
        0 5px 20px rgba(31, 82, 107, 0.08);

    --shadow-md:
        0 15px 40px rgba(31, 82, 107, 0.12);

    --shadow-lg:
        0 25px 60px rgba(31, 82, 107, 0.16);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --transition:
        all 0.3s ease;

}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        "Open Sans",
        sans-serif;

    color: var(--text);

    background:
        var(--white);

    line-height: 1.7;

}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
a {
    transition: var(--transition);
}


.container {

    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin: 0 auto;

}


/* =====================================================
   TYPOGRAPHY
===================================================== */

h1,
h2,
h3,
h4 {

    font-family:
        "Poppins",
        sans-serif;

    color: var(--dark);

    line-height: 1.2;

}


h1 {
    font-size: clamp(
        2.5rem,
        5vw,
        4.5rem
    );
}


h2 {
    font-size: clamp(
        2rem,
        4vw,
        3.2rem
    );
}


h3 {
    font-size: 1.45rem;
}


p {
    font-size: 1rem;
}


.section-tag {

    display: inline-block;

    margin-bottom: 15px;

    color:
        var(--secondary);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.section-heading {

    max-width: 760px;

    margin:
        0 auto 60px;

    text-align: center;

}


.section-heading h2 {

    margin-bottom: 20px;

}


.section-heading p {

    max-width: 680px;

    margin: 0 auto;

    color: var(--text);

}


/* =====================================================
   HEADER
===================================================== */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        var(--white);

    border-bottom:
        1px solid var(--border);

    box-shadow:
        0 3px 15px
        rgba(0,0,0,0.04);

}


.navbar {

    min-height: 88px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.logo img {

    width: 145px;

    height: auto;

}


.nav-menu {

    display: flex;

    align-items: center;

    gap: 30px;

}


.nav-menu a {

    position: relative;

    color: var(--dark);

    font-size: 0.92rem;

    font-weight: 600;

}


.nav-menu a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 2px;

    background:
        var(--secondary);

    transition:
        var(--transition);

}


.nav-menu a:hover::after,
.nav-menu a.active::after {

    width: 100%;

}


.nav-menu a.active {

    color:
        var(--secondary);

}


.btn-nav {

    padding:
        12px 22px;

    border-radius:
        50px;

    background:
        var(--primary);

    color:
        var(--white);

    font-weight: 700;

    font-size: 0.88rem;

}


.btn-nav:hover {

    background:
        var(--secondary);

    transform:
        translateY(-2px);

}


/* =====================================================
   BUTTONS
===================================================== */

.btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding:
        14px 28px;

    border-radius:
        50px;

    background:
        var(--accent);

    color:
        var(--dark);

    font-weight: 700;

}


.btn-primary:hover {

    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow-md);

}


.btn-outline {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        13px 27px;

    border:
        2px solid
        rgba(255,255,255,0.8);

    border-radius:
        50px;

    color:
        var(--white);

    font-weight: 700;

}


.btn-outline:hover {

    background:
        var(--white);

    color:
        var(--primary);

}


/* =====================================================
   HERO
===================================================== */

.journey-hero {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--secondary)
        );

    overflow: hidden;

}


.journey-hero::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    right: -180px;

    top: -180px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.07);

}


.journey-hero::after {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    left: -150px;

    bottom: -170px;

    border-radius: 50%;

    background:
        rgba(231,168,62,0.12);

}


.journey-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(23,63,82,0.45),
            transparent
        );

}


.journey-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

    padding:
        90px 0;

}


.journey-hero .section-tag {

    color:
        var(--accent-light);

}


.journey-hero h1 {

    color:
        var(--white);

    margin-bottom: 25px;

}


.journey-hero p {

    max-width: 700px;

    color:
        rgba(255,255,255,0.9);

    font-size: 1.15rem;

}


.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;

}


/* =====================================================
   INTRODUCTION
===================================================== */

.journey-intro {

    padding:
        110px 0;

    background:
        var(--white);

}


.journey-intro-grid {

    display: grid;

    grid-template-columns:
        1.25fr 0.75fr;

    gap: 80px;

    align-items: center;

}


.journey-intro-content h2 {

    margin-bottom: 25px;

}


.journey-intro-content p {

    margin-bottom: 18px;

}


.journey-principle {

    padding: 45px 35px;

    border-radius:
        var(--radius-lg);

    background:
        var(--soft-green);

    text-align: center;

    box-shadow:
        var(--shadow-sm);

}


.principle-icon {

    width: 75px;

    height: 75px;

    margin:
        0 auto 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        var(--secondary);

    color:
        var(--white);

    font-size: 1.7rem;

}


.journey-principle span {

    color:
        var(--secondary);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 2px;

}


.journey-principle h3 {

    margin:
        18px 0;

    font-size: 1.8rem;

    color:
        var(--primary);

}


.journey-principle p {

    color:
        var(--muted);

}


/* =====================================================
   JOURNEY MAP
===================================================== */

.journey-map {

    padding:
        110px 0;

    background:
        var(--cream);

}


.journey-stage {

    position: relative;

    display: grid;

    grid-template-columns:
        65px 85px 1fr auto;

    align-items: center;

    gap: 25px;

    margin-bottom: 25px;

    padding:
        35px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    background:
        var(--white);

    box-shadow:
        var(--shadow-sm);

    transition:
        var(--transition);

}


.journey-stage:hover {

    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow-md);

}


.featured-stage {

    border:
        2px solid
        var(--accent);

}


.support-stage {

    background:
        var(--soft-blue);

}


.stage-number {

    font-family:
        "Poppins",
        sans-serif;

    font-size: 1.25rem;

    font-weight: 800;

    color:
        var(--accent);

}


.stage-icon {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background:
        var(--soft-green);

    color:
        var(--secondary);

    font-size: 1.5rem;

}


.stage-label {

    color:
        var(--secondary);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.stage-content h3 {

    margin:
        5px 0 5px;

    color:
        var(--primary);

}


.stage-tagline {

    margin-bottom: 12px;

    color:
        var(--dark);

    font-weight: 600;

}


.stage-content > p:not(.stage-tagline) {

    max-width: 700px;

    color:
        var(--text);

}


.stage-focus {

    display: flex;

    flex-wrap: wrap;

    gap: 12px 20px;

    margin-top: 18px;

}


.stage-focus span {

    color:
        var(--muted);

    font-size: 0.82rem;

}


.stage-focus i {

    margin-right: 5px;

    color:
        var(--secondary);

}


.stage-action a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    white-space: nowrap;

    color:
        var(--primary);

    font-weight: 700;

}


.stage-action a:hover {

    color:
        var(--secondary);

}


/* =====================================================
   THREE PILLARS
===================================================== */

.three-pillars {

    padding:
        110px 0;

    background:
        var(--white);

}


.pillars-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

}


.pillar-card {

    position: relative;

    padding:
        40px 32px;

    border-radius:
        var(--radius-md);

    background:
        var(--cream);

    border:
        1px solid
        var(--border);

    transition:
        var(--transition);

}


.pillar-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-md);

}


.pillar-number {

    position: absolute;

    top: 25px;

    right: 25px;

    font-family:
        "Poppins",
        sans-serif;

    font-size: 0.8rem;

    font-weight: 800;

    color:
        var(--accent);

}


.pillar-icon {

    width: 70px;

    height: 70px;

    margin-bottom: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    background:
        var(--white);

    color:
        var(--secondary);

    font-size: 1.6rem;

    box-shadow:
        var(--shadow-sm);

}


.pillar-card h3 {

    margin-bottom: 15px;

    color:
        var(--primary);

}


.pillar-card p {

    margin-bottom: 25px;

}


.pillar-card ul {

    list-style: none;

}


.pillar-card li {

    margin-bottom: 10px;

    font-size: 0.88rem;

}


.pillar-card li i {

    margin-right: 8px;

    color:
        var(--secondary);

}


/* =====================================================
   EMPOWERMENT
===================================================== */

.empowerment-section {

    padding:
        110px 0;

    background:
        var(--soft-blue);

}


.empowerment-grid {

    display: grid;

    grid-template-columns:
        1fr 0.8fr;

    gap: 80px;

    align-items: center;

}


.empowerment-content h2 {

    margin-bottom: 25px;

}


.empowerment-content > p {

    margin-bottom: 18px;

}


.empowerment-quote {

    margin-top: 30px;

    padding:
        25px 30px;

    border-left:
        4px solid
        var(--accent);

    background:
        var(--white);

    border-radius:
        0 var(--radius-sm)
        var(--radius-sm) 0;

}


.empowerment-quote i {

    margin-bottom: 10px;

    color:
        var(--accent);

}


.empowerment-quote p {

    margin: 0;

    font-style: italic;

    color:
        var(--primary);

}


.empowerment-visual {

    display: grid;

    gap: 20px;

}


.empowerment-card {

    padding:
        30px;

    border-radius:
        var(--radius-md);

    background:
        var(--white);

    box-shadow:
        var(--shadow-sm);

}


.empowerment-icon {

    width: 55px;

    height: 55px;

    margin-bottom: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background:
        var(--soft-green);

    color:
        var(--secondary);

}


.empowerment-card span {

    color:
        var(--secondary);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.empowerment-card h3 {

    margin:
        7px 0 10px;

    color:
        var(--primary);

}


/* =====================================================
   FIND YOUR PATH
===================================================== */

.find-section {

    padding:
        110px 0;

    background:
        var(--cream);

}


.find-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.find-card {

    padding:
        32px;

    border-radius:
        var(--radius-md);

    background:
        var(--white);

    border:
        1px solid
        var(--border);

    transition:
        var(--transition);

}


.find-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow-md);

}


.find-card-special {

    grid-column:
        span 2;

    background:
        var(--primary);

}


.find-card-special h3,
.find-card-special p {

    color:
        var(--white);

}


.find-icon {

    width: 55px;

    height: 55px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background:
        var(--soft-green);

    color:
        var(--secondary);

}


.find-card h3 {

    margin-bottom: 12px;

    color:
        var(--primary);

}


.find-card p {

    margin-bottom: 20px;

}


.find-card a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color:
        var(--secondary);

    font-weight: 700;

}


.find-card-special a {

    color:
        var(--accent-light);

}


/* =====================================================
   WHOLE CHILD
===================================================== */

.whole-child-section {

    padding:
        110px 0;

    background:
        var(--white);

}


.whole-child-card {

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 70px;

    align-items: center;

    padding:
        65px;

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    box-shadow:
        var(--shadow-lg);

}


.whole-child-content h2 {

    margin-bottom: 25px;

    color:
        var(--white);

}


.whole-child-content p {

    margin-bottom: 18px;

    color:
        rgba(255,255,255,0.88);

}


.whole-child-content .section-tag {

    color:
        var(--accent-light);

}


.whole-child-model {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    align-items: center;

    gap: 12px;

}


.model-item {

    min-height: 150px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding:
        15px;

    border-radius:
        var(--radius-md);

    background:
        rgba(255,255,255,0.12);

    color:
        var(--white);

    text-align: center;

}


.model-icon {

    width: 55px;

    height: 55px;

    margin-bottom: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.14);

    color:
        var(--accent-light);

}


.model-item strong {

    font-size: 0.85rem;

}


.model-plus {

    color:
        var(--accent-light);

    font-size: 1.5rem;

    text-align: center;

}


/* =====================================================
   CTA
===================================================== */

.journey-cta {

    padding:
        110px 0;

    background:
        var(--cream);

}


.journey-cta-content {

    max-width: 800px;

    margin: 0 auto;

    text-align: center;

}


.journey-cta-content h2 {

    margin-bottom: 20px;

}


.journey-cta-content p {

    max-width: 650px;

    margin:
        0 auto;

}


.cta-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 30px;

}


.btn-secondary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        14px 28px;

    border-radius:
        50px;

    background:
        var(--primary);

    color:
        var(--white);

    font-weight: 700;

}


.btn-secondary:hover {

    background:
        var(--secondary);

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    background:
        var(--primary-dark);

    color:
        rgba(255,255,255,0.75);

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.4fr 0.8fr 0.8fr 1fr;

    gap: 50px;

    padding:
        70px 0;

}


.footer-brand img {

    width: 150px;

    margin-bottom: 20px;

    filter:
        brightness(0) invert(1);

}


.footer-brand p {

    margin-bottom: 10px;

    font-size: 0.9rem;

}


.footer h3 {

    margin-bottom: 20px;

    color:
        var(--white);

    font-size: 1rem;

}


.footer-links {

    display: grid;

    gap: 10px;

}


.footer-links a:hover {

    color:
        var(--accent-light);

}


.footer-contact p {

    margin-bottom: 12px;

    font-size: 0.88rem;

}


.footer-contact i {

    width: 20px;

    color:
        var(--accent-light);

}


.social-links {

    display: flex;

    gap: 10px;

    margin-top: 20px;

}


.social-links a {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.1);

    color:
        var(--white);

}


.social-links a:hover {

    background:
        var(--secondary);

}


.footer-bottom {

    padding:
        20px 0;

    border-top:
        1px solid
        rgba(255,255,255,0.1);

}


.footer-bottom .container {

    display: flex;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom p {

    font-size: 0.78rem;

}


/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 950px) {

    .nav-menu {
        gap: 15px;
    }

    .journey-intro-grid,
    .empowerment-grid,
    .whole-child-card {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }

    .journey-stage {
        grid-template-columns:
            55px 70px 1fr;
    }

    .stage-action {
        grid-column: 3;
    }

    .find-grid {
        grid-template-columns: 1fr 1fr;
    }

    .find-card-special {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

}


/* =====================================================
   RESPONSIVE — MOBILE
===================================================== */

@media (max-width: 700px) {

    .container {
        width:
            min(
                100% - 30px,
                600px
            );
    }

    .navbar {
        min-height: 75px;
    }

    .logo img {
        width: 120px;
    }

    .nav-menu,
    .btn-nav {
        display: none;
    }

    .journey-hero {
        min-height: 580px;
    }

    .journey-hero-content {
        padding:
            75px 0;
    }

    .journey-hero h1 {
        font-size: 2.4rem;
    }

    .journey-hero p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
    }

    .journey-intro,
    .journey-map,
    .three-pillars,
    .empowerment-section,
    .find-section,
    .whole-child-section,
    .journey-cta {
        padding:
            75px 0;
    }

    .journey-stage {
        grid-template-columns:
            1fr;

        gap: 15px;

        padding:
            28px 22px;
    }

    .stage-action {
        grid-column: auto;
        margin-top: 10px;
    }

    .stage-focus {
        display: grid;
    }

    .pillars-grid,
    .find-grid {
        grid-template-columns: 1fr;
    }

    .find-card-special {
        grid-column: auto;
    }

    .whole-child-card {
        padding:
            40px 25px;
    }

    .whole-child-model {
        grid-template-columns:
            1fr 1fr;
    }

    .model-plus {
        display: none;
    }

    .footer-grid {
        grid-template-columns:
            1fr;

        gap: 35px;

        padding:
            55px 0;
    }

    .footer-bottom .container {
        flex-direction: column;
    }

}