
/* =====================================
   FOSTER ACADEMY - FLEXIBLE LEARNING
===================================== */

:root {
    --navy: #001b3d;
    --navy-light: #07396b;
    --orange: #f28b16;
    --orange-light: #fff2df;
    --text: #586b83;
    --light: #f6f8fc;
    --border: #e7ebf2;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    background: white;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

/* HEADER */

.site-header {
    width: 100%;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.header-container {
    max-width: 1250px;
    margin: auto;
    padding: 17px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-icon {
    width: 43px;
    height: 43px;
    border-radius: 10px;
    background: var(--navy);
    color: white;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand small {
    color: var(--orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-top: 2px;
}

.back-home {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    transition: .3s;
}

.back-home:hover {
    color: var(--orange);
}

/* HERO */

.hero {
    background:
        radial-gradient(circle at 85% 25%, #fff0dc 0, transparent 25%),
        linear-gradient(120deg, #f4f7ff 0%, #ffffff 70%);
    padding: 95px 6%;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 50px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.eyebrow-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--orange-light);
    font-size: 15px;
}

.hero-content h1 {
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -2.5px;
    margin: 25px 0 22px;
    color: var(--navy);
}

.hero-content h1 span {
    display: block;
    color: var(--orange);
}

.hero-content > p {
    max-width: 525px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.btn-primary,
.btn-secondary {
    min-height: 50px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    transition: .3s;
}

.btn-primary {
    background: var(--navy);
    color: white;
    box-shadow: 0 8px 20px rgba(0,27,61,.13);
}

.btn-primary:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.btn-secondary {
    background: white;
    color: var(--navy);
    border: 1px solid #dce3ed;
}

.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 42px;
}

.note-icon {
    width: 47px;
    height: 47px;
    border-radius: 11px;
    background: var(--orange-light);
    color: var(--orange);
    display: grid;
    place-items: center;
    font-size: 21px;
}

.hero-note strong,
.hero-note span {
    display: block;
}

.hero-note strong {
    font-size: 13px;
    margin-bottom: 5px;
}

.hero-note span {
    color: var(--text);
    font-size: 11px;
}

/* HERO DASHBOARD */

.hero-visual {
    min-height: 460px;
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(242,139,22,.17);
    border-radius: 50%;
    z-index: -1;
}

.orbit-one {
    width: 400px;
    height: 400px;
}

.orbit-two {
    width: 320px;
    height: 320px;
}

.learning-dashboard {
    position: relative;
    z-index: 2;
    width: 365px;
    max-width: 88%;
    padding: 28px;
    border: 1px solid rgba(226,232,241,.9);
    border-radius: 17px;
    background: white;
    box-shadow: 0 25px 70px rgba(0,27,61,.12);
    animation: dashboardFloat 5s ease-in-out infinite;
}

@keyframes dashboardFloat {
    0%,100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-11px);
    }
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-label {
    font-size: 9px;
    color: #8995a6;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.dashboard-header h3 {
    font-size: 15px;
    margin-top: 7px;
}

.dashboard-menu {
    width: 33px;
    height: 33px;
    border-radius: 8px;
    background: var(--light);
    display: grid;
    place-items: center;
    color: var(--text);
}

.dashboard-main-icon {
    width: 65px;
    height: 65px;
    border-radius: 14px;
    background: var(--orange-light);
    color: var(--orange);
    display: grid;
    place-items: center;
    font-size: 27px;
    margin: 26px 0 19px;
}

.learning-dashboard h2 {
    font-size: 21px;
    font-weight: 800;
}

.learning-dashboard > p {
    color: var(--text);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 9px;
}

.dashboard-features {
    border-top: 1px solid var(--border);
    margin-top: 20px;
    padding-top: 12px;
}

.dashboard-feature {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 14px 0;
}

.dashboard-feature > span {
    width: 35px;
    height: 35px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--light);
    color: var(--orange);
    font-size: 14px;
}

.dashboard-feature strong,
.dashboard-feature small {
    display: block;
}

.dashboard-feature strong {
    font-size: 11px;
}

.dashboard-feature small {
    font-size: 9px;
    color: #8b97a7;
    margin-top: 4px;
}

.dashboard-footer {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .8px;
}

.dashboard-footer i {
    color: var(--orange);
}

.floating-card {
    position: absolute;
    z-index: 3;
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    background: white;
    border-radius: 13px;
    box-shadow: 0 12px 35px rgba(0,27,61,.12);
    color: var(--orange);
    font-size: 21px;
    animation: iconFloat 4s ease-in-out infinite;
}

.floating-laptop {
    top: 38px;
    right: 0;
}

.floating-calendar {
    bottom: 35px;
    left: 0;
    animation-delay: 1s;
}

@keyframes iconFloat {
    0%,100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}

.floating-dot {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--orange);
    right: 40px;
    bottom: 75px;
    box-shadow: 0 0 0 8px rgba(242,139,22,.12);
}

/* SECTION COMMON */

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-label {
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.section-heading h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.25;
    letter-spacing: -1.2px;
    font-weight: 800;
    margin: 17px 0;
}

.section-heading p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.9;
}

.section-heading h2 span {
    color: var(--orange);
}

/* INTRO */

.intro-section {
    padding: 85px 6% 75px;
    background: white;
}

.intro-section .section-heading {
    margin-bottom: 35px;
}

.intro-highlights {
    max-width: 850px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 17px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    background: #fafbfd;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
}

.highlight i {
    color: var(--orange);
    font-size: 15px;
}

/* OPTIONS */

.options-section {
    padding: 90px 6%;
    background: var(--light);
}

.options-grid {
    max-width: 1160px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 24px;
}

.option-card {
    position: relative;
    background: white;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 32px 27px;
    min-width: 0;
    transition: transform .35s, box-shadow .35s, border-color .35s;
}

.option-card:hover {
    transform: translateY(-8px);
    border-color: rgba(242,139,22,.65);
    box-shadow: 0 20px 45px rgba(0,27,61,.08);
}

.option-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.option-icon {
    width: 58px;
    height: 58px;
    background: var(--orange-light);
    color: var(--orange);
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 23px;
}

.option-number {
    color: #edf0f4;
    font-size: 35px;
    font-weight: 800;
}

.option-card h3 {
    font-size: 20px;
    margin: 25px 0 12px;
}

.option-card > p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--text);
    min-height: 69px;
}

.option-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.option-card ul {
    list-style: none;
}

.option-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text);
    margin: 15px 0;
}

.option-card li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--orange);
    font-size: 11px;
}

.option-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    transition: .3s;
}

.option-link i {
    color: var(--orange);
    transition: transform .3s;
}

.option-link:hover {
    color: var(--orange);
}

.option-link:hover i {
    transform: translateX(5px);
}

.featured-card {
    border-color: rgba(242,139,22,.5);
}

.featured-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 7px 11px;
    background: var(--orange);
    color: white;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .7px;
}

/* PROCESS */

.process-section {
    padding: 90px 6%;
    background: white;
}

.process-grid {
    max-width: 1160px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 19px;
}

.process-card {
    position: relative;
    padding: 28px 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: .3s;
    background: white;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,27,61,.07);
}

.process-number {
    position: absolute;
    right: 18px;
    top: 15px;
    font-size: 29px;
    color: #edf0f4;
    font-weight: 800;
}

.process-icon {
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 21px;
}

.process-card h3 {
    font-size: 14px;
    margin: 22px 0 11px;
}

.process-card p {
    font-size: 11px;
    line-height: 1.9;
    color: var(--text);
}

/* FAQ */

.faq-section {
    padding: 90px 6%;
    background: var(--light);
}

.faq-container {
    max-width: 820px;
    margin: auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 13px;
    overflow: hidden;
    transition: border-color .3s;
}

.faq-item.active {
    border-color: rgba(242,139,22,.55);
}

.faq-question {
    width: 100%;
    min-height: 65px;
    padding: 18px 22px;
    border: none;
    background: white;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.faq-question i {
    color: var(--orange);
    transition: transform .3s;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-answer p {
    padding: 0 22px 20px;
    font-size: 12px;
    color: var(--text);
    line-height: 1.9;
}

/* CTA */

.cta-section {
    position: relative;
    overflow: hidden;
    max-width: 1160px;
    width: 88%;
    margin: 85px auto;
    padding: 68px 65px;
    border-radius: 17px;
    background: linear-gradient(115deg, #001b3d, #07396b);
    color: white;
    isolation: isolate;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
}

.cta-label {
    color: #ffb85e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cta-content h2 {
    font-size: clamp(34px,4vw,46px);
    line-height: 1.2;
    margin: 20px 0;
    letter-spacing: -1px;
}

.cta-content h2 span {
    color: #ffad43;
}

.cta-content p {
    color: #d4deeb;
    max-width: 510px;
    font-size: 13px;
    line-height: 1.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    background: var(--orange);
    color: white;
    padding: 15px 25px;
    border-radius: 6px;
    margin-top: 25px;
    font-size: 12px;
    font-weight: 700;
    transition: .3s;
}

.cta-button:hover {
    background: white;
    color: var(--navy);
    transform: translateY(-3px);
}

.cta-decoration {
    position: absolute;
    right: 9%;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 185px;
    color: rgba(255,255,255,.07);
    z-index: -1;
}

.cta-circle {
    position: absolute;
    right: -100px;
    top: -150px;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
    z-index: -1;
}

/* FOOTER */

.site-footer {
    background: #00152f;
    color: white;
    padding: 28px 6%;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand .brand-icon {
    background: rgba(255,255,255,.12);
}

.footer-container > p {
    font-size: 12px;
    color: #d5dfeb;
}

.copyright {
    font-size: 10px;
    color: #aab8c9;
}

/* SCROLL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE TABLET */

@media (max-width: 950px) {

    .hero-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-visual {
        min-height: 440px;
    }

    .options-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

/* RESPONSIVE MOBILE */

@media (max-width: 600px) {

    .header-container {
        padding: 14px 5%;
    }

    .brand strong {
        font-size: 16px;
    }

    .back-home {
        font-size: 11px;
    }

    .hero {
        padding: 65px 6%;
    }

    .hero-content h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }

    .hero-visual {
        min-height: 390px;
    }

    .visual-orbit.orbit-one {
        width: 320px;
        height: 320px;
    }

    .visual-orbit.orbit-two {
        width: 260px;
        height: 260px;
    }

    .learning-dashboard {
        padding: 22px;
        max-width: 88%;
    }

    .floating-laptop {
        right: 0;
        top: 25px;
    }

    .floating-calendar {
        left: 0;
        bottom: 20px;
    }

    .intro-section,
    .options-section,
    .process-section,
    .faq-section {
        padding: 65px 6%;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .section-heading p {
        font-size: 12px;
    }

    .intro-highlights {
        flex-direction: column;
        align-items: stretch;
    }

    .options-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .option-card > p {
        min-height: auto;
    }

    .cta-section {
        width: 90%;
        margin: 55px auto;
        padding: 42px 25px;
    }

    .cta-content h2 {
        font-size: 35px;
    }

    .cta-decoration {
        font-size: 120px;
        right: -10px;
        opacity: .7;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .copyright {
        line-height: 1.7;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
