/*
 * Teacher Portal primaries — Applications/TeacherPortal/Public/sass/components/_variables.scss
 * ($primary, $primary-active, $primary-light, $primary-inverse)
 */
:root {
    --tp-primary: #3699ff;
    --tp-primary-active: #187de4;
    --tp-primary-light: #f1faff;
    --tp-primary-inverse: #ffffff;
    --tp-footer-deep: #0f6acb;
    --tp-on-footer-muted: rgba(255, 255, 255, 0.78);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #14213d;
}

.website-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tp-primary);
}

/* Hero banner: do not override h1/body colours — inherit theme defaults (#3a414e / #797979). */
.hero-banner .website-eyebrow {
    color: #3d5a94;
}

.website-max-w-prose {
    max-width: 42rem;
}

.website-page-intro .section-intro__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .website-page-intro .section-intro__title {
        font-size: 2rem;
    }
}

.website-brand-logo {
    object-fit: contain;
    vertical-align: middle;
}

.website-main section {
    scroll-margin-top: 90px;
}

.hero-banner__content p {
    margin-bottom: 0.9rem;
}

/* Hero visual: brand PNG instead of stock SVG (SVG contained peach/orange illustration tones). */
.website-brand-hero-visual {
    max-height: 280px;
}

/*
 * Primary actions — Teacher Portal blues only (avoid warm / #fd7e14-type accents).
 * Covers home (main.website-main), hero, and inner pages (section.section-margin).
 */
main.website-main a.button.bg,
.hero-banner a.button.bg,
section.section-margin a.button.bg {
    background-color: var(--tp-primary);
    border-color: var(--tp-primary-active);
    color: var(--tp-primary-inverse);
}

main.website-main a.button.bg:hover,
.hero-banner a.button.bg:hover,
section.section-margin a.button.bg:hover {
    background-color: var(--tp-primary-active);
    border-color: var(--tp-primary-active);
    color: var(--tp-primary-inverse);
}

main.website-main a.button.button-light,
.hero-banner a.button.button-light,
section.section-margin a.button.button-light {
    background-color: transparent;
    border-color: var(--tp-primary-active);
    color: var(--tp-primary-active);
}

main.website-main a.button.button-light:hover,
.hero-banner a.button.button-light:hover,
section.section-margin a.button.button-light:hover {
    background-color: var(--tp-primary-active);
    border-color: var(--tp-primary-active);
    color: var(--tp-primary-inverse);
}

.website-erp-card .card-feature__title {
    font-size: 1.05rem;
    font-weight: 650;
}

.website-erp-card .card-feature__subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
}

.website-offer-card {
    border-radius: 12px;
    border: 1px solid #e8ecf4;
    padding: 1.25rem 1rem;
}

.website-offer-visual {
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid #e4e8ef;
}

.card-feature {
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(20, 33, 61, 0.06);
    background: #fff;
}

.card-feature__title {
    color: #1c2e5a;
    font-size: 1.2rem;
}

.card-feature__subtitle {
    color: #3f4f6b;
}

.website-list {
    margin: 0;
    padding-left: 1.1rem;
}

.website-list li {
    margin-bottom: 0.65rem;
    color: #3f4f6b;
}

/* Footer — Teacher Portal primary blues */
.website-footer {
    margin-top: 3rem;
    position: relative;
    color: var(--tp-on-footer-muted);
    background: linear-gradient(
        165deg,
        var(--tp-primary-active) 0%,
        var(--tp-primary) 45%,
        var(--tp-footer-deep) 100%
    );
    border-top: 4px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 -12px 40px rgba(54, 153, 255, 0.32);
}

.website-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 120% 80% at 100% 0%,
        rgba(241, 250, 255, 0.35) 0%,
        transparent 55%
    );
    pointer-events: none;
}

.website-footer > * {
    position: relative;
    z-index: 1;
}

.website-footer__main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.website-footer__brand-img {
    filter: brightness(1.08) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.website-footer__lead {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 26rem;
}

.website-footer__heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tp-primary-light);
    margin-bottom: 1rem;
}

.website-footer__links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.website-footer__links li {
    margin-bottom: 0.5rem;
}

.website-footer__links a {
    color: #ffffff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
    opacity: 0.92;
}

.website-footer__links a:hover {
    color: var(--tp-primary-light);
    opacity: 1;
    text-decoration: none;
}

.website-footer__module-list li {
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

.website-footer__cta-text {
    color: rgba(255, 255, 255, 0.78);
}

.website-footer__btn {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--tp-primary-inverse);
    background: var(--tp-primary-inverse);
    color: var(--tp-primary-active);
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.website-footer__btn:hover {
    background: var(--tp-primary-light);
    border-color: var(--tp-primary-light);
    color: var(--tp-primary-active);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.website-footer__btn-outline {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.website-footer__btn-outline:hover {
    border-color: var(--tp-primary-inverse);
    color: var(--tp-primary-active);
    background: var(--tp-primary-inverse);
}

.website-footer__bottom {
    background: rgba(15, 111, 203, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.website-footer__legal {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
}

.website-footer__tagline {
    color: rgba(255, 255, 255, 0.58);
}

.header_area .navbar .nav .nav-item .nav-link {
    color: #ffffff;
    font-weight: 600;
}

.header_area .navbar .nav .nav-item .nav-link:hover {
    color: var(--tp-primary-light);
}

label {
    font-weight: 600;
}

@media (max-width: 767px) {
    .section-intro__title {
        font-size: 1.5rem;
    }

    .website-footer .btn-block {
        width: 100%;
    }
}
