/* =========================================================
   GREAT VALLEY HOMESCHOOL
   COMPLETE MVP STYLESHEET
   BATCH 1 OF 3
========================================================= */


/* =========================================================
   1. BRAND VARIABLES
========================================================= */

:root {
    --mountain-navy: #244b74;
    --deep-navy: #18364f;
    --mountain-blue: #628aa5;
    --forest-green: #536f4b;
    --forest-dark: #3e5938;
    --sage-green: #a9bda1;

    --warm-cream: #f7f4ed;
    --soft-blue: #edf3f6;
    --white: #ffffff;
    --charcoal: #34414a;
    --muted-text: #65727b;
    --border-color: #dbe3e7;

    --heading-font: "Playfair Display", Georgia, serif;
    --body-font: "Inter", Arial, sans-serif;

    --card-radius: 20px;
    --button-radius: 999px;

    --soft-shadow: 0 18px 45px rgba(36, 75, 116, 0.10);
    --card-shadow: 0 10px 30px rgba(36, 75, 116, 0.08);

    --transition: 0.25s ease;
}


/* =========================================================
   2. GLOBAL RESET AND PAGE SETTINGS
========================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;

    background: var(--warm-cream);
    color: var(--charcoal);

    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--mountain-navy);
    text-decoration: none;
}

a:hover {
    color: var(--forest-green);
}

section {
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--mountain-navy);

    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.18;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 5.2rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-top: 0;
}

.lead {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;

    color: var(--muted-text);
    font-size: 1.08rem;
    line-height: 1.8;
}

.section-title {
    margin-bottom: 14px;

    color: var(--forest-green);

    font-family: var(--body-font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* =========================================================
   3. BOOTSTRAP COLOR OVERRIDES
========================================================= */

.bg-light {
    background-color: var(--soft-blue) !important;
}

.btn {
    border-width: 2px;

    font-family: var(--body-font);
    font-weight: 600;

    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

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

.btn-primary {
    border-color: var(--mountain-navy);
    background-color: var(--mountain-navy);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--deep-navy);
    background-color: var(--deep-navy);
    color: var(--white);
}

.btn-success {
    border-color: var(--forest-green);
    background-color: var(--forest-green);
    color: var(--white);
}

.btn-success:hover,
.btn-success:focus {
    border-color: var(--forest-dark);
    background-color: var(--forest-dark);
    color: var(--white);
}

.btn-outline-success {
    border-color: var(--forest-green);
    color: var(--forest-green);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
    border-color: var(--forest-green);
    background-color: var(--forest-green);
    color: var(--white);
}

.btn-outline-primary {
    border-color: var(--mountain-navy);
    color: var(--mountain-navy);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    border-color: var(--mountain-navy);
    background-color: var(--mountain-navy);
    color: var(--white);
}


/* =========================================================
   4. NAVIGATION
========================================================= */

.navbar {
    min-height: 82px;

    border-bottom: 1px solid rgba(36, 75, 116, 0.08);

    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
}

.navbar .container {
    gap: 18px;
}

.navbar-brand.logo {
    display: flex;
    flex-direction: column;

    margin-right: 20px;
    padding-top: 4px;
    padding-bottom: 4px;

    line-height: 1;
}

.logo-title {
    color: var(--mountain-navy);

    font-family: var(--heading-font);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-subtitle {
    margin-top: 6px;

    color: var(--forest-green);

    font-family: var(--body-font);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.navbar-nav {
    gap: 6px;
}

.navbar .nav-link {
    padding: 10px 13px !important;

    border-radius: 10px;

    color: var(--mountain-navy);

    font-size: 0.95rem;
    font-weight: 600;

    transition:
        color var(--transition),
        background-color var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    background: var(--soft-blue);
    color: var(--forest-green);
}

.navbar-toggler {
    padding: 8px 10px;

    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(36, 75, 116, 0.15);
}


/* =========================================================
   5. HERO
========================================================= */

.hero {
    position: relative;
    isolation: isolate;

    display: flex;
    min-height: 100vh;
    align-items: center;

    padding: 150px 0 90px;

    background-image:
        linear-gradient(
            90deg,
            rgba(22, 52, 78, 0.82) 0%,
            rgba(36, 75, 116, 0.66) 48%,
            rgba(36, 75, 116, 0.34) 100%
        ),
        url("assets/images/landscape.jpg");

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

    color: var(--white);
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;

    height: 70px;

    background: linear-gradient(
        to bottom,
        rgba(247, 244, 237, 0),
        var(--warm-cream)
    );

    content: "";
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;

    max-width: 860px;
}

.hero h1 {
    margin-bottom: 20px;

    color: var(--white);

    font-size: clamp(2.9rem, 7vw, 5.2rem);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.hero h2 {
    max-width: 800px;
    margin-bottom: 24px;

    color: var(--white);

    font-family: var(--body-font);
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    font-weight: 500;
    line-height: 1.35;
}

.hero p {
    max-width: 740px;
    margin-bottom: 34px;

    color: rgba(255, 255, 255, 0.95);

    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
}

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

.hero-buttons .btn {
    min-width: 215px;
    padding-top: 14px;
    padding-bottom: 14px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}/* =========================================================
   6. ABOUT AND FEATURE CARDS
========================================================= */

#about {
    background: var(--warm-cream);
}

.feature-card {
    height: 100%;
    padding: 38px;

    border: 1px solid rgba(36, 75, 116, 0.06);
    border-radius: var(--card-radius);

    background: var(--white);
    box-shadow: var(--card-shadow);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(36, 75, 116, 0.14);
}

.feature-card h3 {
    margin-bottom: 17px;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted-text);
}


/* =========================================================
   7. WHY GREAT VALLEY
========================================================= */

#about + .bg-light {
    border-top: 1px solid rgba(36, 75, 116, 0.05);
    border-bottom: 1px solid rgba(36, 75, 116, 0.05);
}

#about + .bg-light .feature-card {
    background: rgba(255, 255, 255, 0.94);
}


/* =========================================================
   8. PROGRAM CARDS
========================================================= */

#programs {
    background: var(--warm-cream);
}

.program-card {
    height: 100%;
    overflow: hidden;

    border: 1px solid rgba(36, 75, 116, 0.06);
    border-radius: 22px;

    background: var(--white);
    box-shadow: var(--card-shadow);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(36, 75, 116, 0.14);
}

.program-image {
    height: 230px;

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

.pre-k-image {
    background-image:
        linear-gradient(
            rgba(36, 75, 116, 0.06),
            rgba(36, 75, 116, 0.06)
        ),
        url("https://images.unsplash.com/photo-1516627145497-ae6968895b74?auto=format&fit=crop&w=1200&q=82");
}

.elementary-image {
    background-image:
        linear-gradient(
            rgba(36, 75, 116, 0.06),
            rgba(36, 75, 116, 0.06)
        ),
        url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1200&q=82");
}

.secondary-image {
    background-image:
        linear-gradient(
            rgba(36, 75, 116, 0.06),
            rgba(36, 75, 116, 0.06)
        ),
        url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=82");
}

.program-content {
    padding: 32px;
}

.program-content h3 {
    margin-bottom: 16px;
}

.program-content p {
    margin-bottom: 0;
    color: var(--muted-text);
}


/* =========================================================
   9. FAQ
========================================================= */

#faq {
    border-top: 1px solid rgba(36, 75, 116, 0.05);
    border-bottom: 1px solid rgba(36, 75, 116, 0.05);
}

.accordion {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.accordion-item {
    overflow: hidden;
    margin-bottom: 16px;

    border: 1px solid rgba(36, 75, 116, 0.07);
    border-radius: 16px !important;

    background: var(--white);
    box-shadow: var(--card-shadow);
}

.accordion-button {
    padding: 23px 25px;

    background: var(--white);
    color: var(--mountain-navy);

    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.accordion-button:not(.collapsed) {
    background: var(--white);
    color: var(--forest-green);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(36, 75, 116, 0.12);
}

.accordion-button::after {
    filter: none;
}

.accordion-body {
    padding: 0 25px 24px;
    color: var(--muted-text);
    line-height: 1.75;
}


/* =========================================================
   10. INTERESTED FAMILY CALL TO ACTION
========================================================= */

#interested {
    background:
        linear-gradient(
            135deg,
            rgba(237, 243, 246, 0.9),
            rgba(247, 244, 237, 0.96)
        );
}

.cta-box {
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
    padding: 70px;

    border: 1px solid rgba(36, 75, 116, 0.08);
    border-radius: 28px;

    background: var(--white);
    box-shadow: var(--soft-shadow);

    text-align: center;
}

.cta-box h2 {
    margin-bottom: 20px;
}

.cta-box > p {
    max-width: 710px;
    margin-right: auto;
    margin-left: auto;

    color: var(--muted-text);
    font-size: 1.08rem;
    line-height: 1.8;
}

.cta-box hr {
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;

    border-color: var(--border-color);
    opacity: 1;
}

.cta-box h4 {
    margin-bottom: 12px;
}

.cta-box .btn-lg {
    padding-top: 14px;
    padding-bottom: 14px;
}


/* =========================================================
   11. FOOTER
========================================================= */

footer {
    padding: 70px 0 28px;

    background: #1f3445;
    color: var(--white);
}

footer h3,
footer h5 {
    color: var(--white);
}

footer h3 {
    margin-bottom: 15px;
}

footer h5 {
    margin-bottom: 18px;
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 700;
}

footer p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.74);
}

.footer-links {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.74);

    transition: color var(--transition);
}

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

footer hr {
    margin: 42px 0 22px;

    border-color: rgba(255, 255, 255, 0.13);
    opacity: 1;
}

footer .text-center {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.9rem;
}/* =========================================================
   12. RESPONSIVE DESIGN
========================================================= */

@media (max-width: 991px) {

    html{
        scroll-padding-top:78px;
    }

    .navbar{

        min-height:78px;

    }

    .navbar-collapse{

        margin-top:15px;

        padding:18px;

        background:white;

        border-radius:18px;

        box-shadow:var(--card-shadow);

    }

    .navbar-nav{

        gap:8px;

        align-items:stretch !important;

    }

    .navbar .btn{

        width:100%;

        margin-top:6px;

    }

    .hero{

        min-height:auto;

        padding:135px 0 90px;

        text-align:center;

        background-position:center center;

    }

    .hero-content{

        margin:auto;

    }

    .hero p{

        margin-left:auto;

        margin-right:auto;

    }

    .hero-buttons{

        justify-content:center;

    }

    footer{

        text-align:center;

    }

}

@media (max-width:768px){

    body{

        font-size:15px;

    }

    section.py-5{

        padding-top:70px !important;

        padding-bottom:70px !important;

    }

    .hero{

        padding:120px 0 75px;

        background-image:
            linear-gradient(
                rgba(22,52,78,.72),
                rgba(22,52,78,.58)
            ),
            url("assets/images/landscape.jpg");

        background-position:center center;

        background-size:cover;

    }

    .hero h1{

        font-size:2.8rem;

    }

    .hero h2{

        font-size:1.4rem;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .hero-buttons .btn{

        width:100%;

        min-width:unset;

    }

    .feature-card{

        padding:28px;

    }

    .program-content{

        padding:28px;

    }

    .program-image{

        height:200px;

    }

    .cta-box{

        padding:42px 26px;

    }

}

@media (max-width:480px){

    .logo-title{

        font-size:1.35rem;

    }

    .logo-subtitle{

        font-size:.55rem;

    }

    .hero{

        padding-top:110px;

    }

    .hero h1{

        font-size:2.25rem;

    }

    .hero h2{

        font-size:1.2rem;

    }

    .cta-box{

        padding:34px 20px;

    }

}


/* =========================================================
   13. POLISH
========================================================= */

.feature-card,
.program-card,
.cta-box,
.accordion-item{

    transition:all .30s ease;

}

.feature-card:hover,
.program-card:hover{

    transform:translateY(-8px);

}

.btn{

    transition:all .25s ease;

}

.btn:hover{

    transform:translateY(-2px);

}

::selection{

    background:var(--mountain-blue);

    color:white;

}

a:focus-visible,
button:focus-visible{

    outline:3px solid rgba(98,138,165,.35);

    outline-offset:3px;

}

/* =========================================================
   INTERESTED FAMILY PAGE
========================================================= */

.interest-page-header {
    padding: 135px 0 45px;

    background:
        linear-gradient(
            135deg,
            rgba(237, 243, 246, 0.96),
            rgba(247, 244, 237, 0.98)
        );

    text-align: center;
}

.interest-page-heading {
    max-width: 780px;
    margin: 0 auto;
}

.interest-page-heading h1 {
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 6vw, 4.3rem);
}

.interest-page-heading p:last-child {
    max-width: 680px;
    margin: 0 auto;

    color: var(--muted-text);

    font-size: 1.12rem;
    line-height: 1.8;
}

.interest-page-main {
    padding: 38px 0 75px;
    background: var(--warm-cream);
}

.interest-page-intro {
    max-width: 780px;
    margin: 0 auto 28px;
    text-align: center;
}

.interest-page-intro h2 {
    margin-bottom: 16px;
}

.interest-page-intro p {
    margin-bottom: 12px;
    color: var(--muted-text);
}

.interested-form-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;

    border: 1px solid var(--border-color);
    border-radius: 22px;

    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.interested-form-wrapper iframe {
    display: block;
    width: 100%;
    height: 760px;
    border: 0;
}

.interest-page-return {
    margin-top: 30px;
    text-align: center;
}

@media (max-width: 767.98px) {

    .interest-page-header {
        padding: 110px 0 35px;
    }

    .interest-page-main {
        padding: 30px 0 55px;
    }

    .interest-page-intro {
        margin-bottom: 22px;
    }

    .interested-form-wrapper {
        border-radius: 16px;
    }

    .interested-form-wrapper iframe {
        height: 900px;
    }
}
/* =========================================================
   FAMILY LOGIN PAGE
========================================================= */

.family-login-page {
    min-height: calc(100vh - 180px);
    padding: 150px 0 80px;

    background:
        linear-gradient(
            135deg,
            rgba(237, 243, 246, 0.96),
            rgba(247, 244, 237, 0.98)
        );
}

.family-login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 70px;
    align-items: center;
}

.family-login-intro {
    max-width: 700px;
}

.family-login-intro h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 7vw, 5rem);
}

.family-login-lead {
    max-width: 650px;
    margin-bottom: 36px;

    color: var(--muted-text);
    font-size: 1.14rem;
    line-height: 1.8;
}

.family-login-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.family-login-benefit {
    padding: 22px;

    border: 1px solid rgba(36, 75, 116, 0.08);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.74);
}

.family-login-benefit h3 {
    margin-bottom: 9px;
    font-size: 1.1rem;
}

.family-login-benefit p {
    margin-bottom: 0;
    color: var(--muted-text);
    font-size: 0.92rem;
    line-height: 1.6;
}

.family-login-card {
    width: 100%;
    max-width: 500px;
    justify-self: end;
}

.family-login-card-inner {
    padding: 44px;

    border: 1px solid rgba(36, 75, 116, 0.08);
    border-radius: 24px;

    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.family-login-card h2 {
    margin-bottom: 14px;
    text-align: center;
}

.family-login-card-text {
    margin-bottom: 30px;
    color: var(--muted-text);
    text-align: center;
}

.family-login-card .form-label {
    color: var(--mountain-navy);
    font-weight: 600;
}

.family-login-card .form-control {
    min-height: 52px;
    padding: 12px 15px;

    border: 1px solid var(--border-color);
    border-radius: 12px;

    font-size: 1rem;
}

.family-login-card .form-control:focus {
    border-color: var(--mountain-blue);

    box-shadow:
        0 0 0 4px rgba(98, 138, 165, 0.14);
}

.family-login-options {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;

    margin-bottom: 28px;

    font-size: 0.92rem;
}

.family-remember {
    display: inline-flex;
    gap: 9px;
    align-items: center;

    cursor: pointer;
}

.family-remember input {
    width: 17px;
    height: 17px;
}

.family-forgot-link {
    font-weight: 600;
}

.family-login-message {
    min-height: 24px;
    margin-top: 14px;

    color: var(--muted-text);
    text-align: center;
    font-size: 0.92rem;
}

.family-login-divider {
    display: flex;
    gap: 14px;
    align-items: center;

    margin: 28px 0 20px;

    color: var(--muted-text);
    font-size: 0.86rem;
    text-align: center;
}

.family-login-divider::before,
.family-login-divider::after {
    flex: 1;
    height: 1px;

    background: var(--border-color);

    content: "";
}

.family-login-note {
    margin: 20px 0 0;

    color: var(--muted-text);
    text-align: center;
    font-size: 0.84rem;
    line-height: 1.6;
}

@media (max-width: 991.98px) {

    .family-login-page {
        padding: 125px 0 70px;
    }

    .family-login-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .family-login-intro {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .family-login-benefits {
        max-width: 760px;
        margin: 0 auto;
    }

    .family-login-card {
        max-width: 560px;
        justify-self: center;
    }
}

@media (max-width: 767.98px) {

    .family-login-page {
        padding: 110px 0 55px;
    }

    .family-login-intro h1 {
        font-size: 2.7rem;
    }

    .family-login-benefits {
        grid-template-columns: 1fr;
    }

    .family-login-card-inner {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .family-login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}
/* =========================================================
   END
========================================================= */