/* ============================================================
   SILIBOT — FOR SCHOOLS PAGE STYLES
   Purpose:
   Create a premium, light, futuristic school-partnership page
   while reusing the visual language of the existing homepage.
   ============================================================ */


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

.schools-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 100px;
    background:
        radial-gradient(circle at 78% 38%, rgba(55, 120, 255, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.schools-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(30, 80, 150, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 80, 150, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.schools-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.schools-hero-content {
    max-width: 700px;
}

.schools-hero-content h1 {
    margin: 18px 0 24px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.schools-hero-content h1 span {
    display: block;
    background: linear-gradient(90deg, #1967ff, #7a42ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.schools-hero-content p {
    max-width: 650px;
    margin: 0;
    color: #5f6b7a;
    font-size: 18px;
    line-height: 1.75;
}

.schools-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}


/* ============================================================
   HERO TECHNOLOGY VISUAL
   ============================================================ */

.schools-hero-visual {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1 / 1;
    margin-left: auto;
}

.school-orbit {
    position: absolute;
    border: 1px solid rgba(45, 105, 220, 0.20);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.orbit-a {
    width: 82%;
    height: 82%;
}

.orbit-b {
    width: 61%;
    height: 61%;
    border-color: rgba(110, 70, 255, 0.22);
}

.orbit-c {
    width: 40%;
    height: 40%;
    border-color: rgba(20, 150, 220, 0.22);
}

.school-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(40, 100, 210, 0.15);
    box-shadow: 0 25px 70px rgba(36, 82, 150, 0.16);
}

.school-core strong {
    font-size: 52px;
    line-height: 1;
    background: linear-gradient(135deg, #1967ff, #7a42ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.school-core span {
    margin-top: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #687386;
}

.school-node {
    position: absolute;
    min-width: 125px;
    padding: 15px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(40, 100, 210, 0.12);
    box-shadow: 0 18px 45px rgba(35, 70, 120, 0.11);
    text-align: center;
}

.school-node strong {
    display: block;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: #286cff;
}

.school-node span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #5f6b7a;
}

.node-one {
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
}

.node-two {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.node-three {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
}


/* ============================================================
   INTRODUCTION
   ============================================================ */

.schools-intro {
    padding-bottom: 70px;
}

.schools-intro .section-heading {
    max-width: 820px;
}

.schools-intro .section-heading h2 span,
.partnership-copy h2 span {
    display: block;
}


/* ============================================================
   BENEFITS
   ============================================================ */

.school-benefits {
    padding: 30px 0 110px;
}

.school-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.school-benefit-card {
    position: relative;
    padding: 30px 26px;
    min-height: 280px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(30, 75, 135, 0.10);
    box-shadow: 0 16px 50px rgba(30, 65, 115, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.school-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 65px rgba(30, 65, 115, 0.12);
}

.benefit-number {
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 12px;
    font-weight: 800;
    color: #a3adbb;
    letter-spacing: 0.12em;
}

.benefit-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 16px;
    background: #eef4ff;
    color: #256bff;
    font-weight: 900;
}

.school-benefit-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.school-benefit-card p {
    margin: 0;
    color: #697486;
    line-height: 1.65;
}


/* ============================================================
   PROCESS
   ============================================================ */

.school-process {
    background: #f7faff;
}

.centered-heading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.centered-heading p {
    margin-left: auto;
    margin-right: auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 55px;
}

.process-card {
    position: relative;
    padding: 30px;
    min-height: 250px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(30, 75, 135, 0.10);
}

.process-step {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 50%;
    background: #111b2e;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.process-card h3 {
    margin: 0 0 12px;
}

.process-card p {
    margin: 0;
    color: #697486;
    line-height: 1.65;
}


/* ============================================================
   PROGRAM OPTIONS
   ============================================================ */

.school-programs {
    padding: 100px 0;
    background: #101a2b;
    color: #ffffff;
}

.programs-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.programs-copy h2 {
    margin: 16px 0 18px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.programs-copy h2 span {
    display: block;
    color: #8db3ff;
}

.programs-copy p {
    max-width: 560px;
    margin: 0;
    color: #aeb9c9;
    line-height: 1.75;
}

.program-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.program-mini {
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
}

.program-mini strong {
    display: block;
    margin-bottom: 18px;
    color: #7fa9ff;
    font-size: 12px;
    letter-spacing: 0.15em;
}

.program-mini span {
    font-size: 18px;
    font-weight: 700;
}

.program-mini:last-child {
    grid-column: 1 / -1;
}


/* ============================================================
   PARTNERSHIP FORM SECTION
   ============================================================ */

.partnership-section {
    background: #ffffff;
}

.partnership-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 70px;
    align-items: start;
}

.partnership-copy {
    position: sticky;
    top: 120px;
}

.partnership-copy h2 {
    margin: 16px 0 20px;
    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.partnership-copy p {
    color: #687486;
    line-height: 1.75;
}

.form-note {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 30px;
    padding: 20px;
    border-left: 3px solid #286cff;
    background: #f5f8ff;
}

.form-note strong {
    color: #18243a;
}

.form-note span {
    color: #697486;
    line-height: 1.6;
}

.school-form {
    padding: 38px;
    border-radius: 28px;
    background: #f8faff;
    border: 1px solid rgba(30, 75, 135, 0.10);
    box-shadow: 0 25px 70px rgba(30, 65, 115, 0.08);
}

.form-section-title {
    margin: 4px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(30, 75, 135, 0.10);
    color: #18243a;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.form-section-title:not(:first-child) {
    margin-top: 34px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-field {
    margin-bottom: 17px;
}

.full-field {
    width: 100%;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: #38465b;
    font-size: 13px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    border: 1px solid #d8e0ec;
    border-radius: 12px;
    background: #ffffff;
    color: #1c2940;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 130px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #4d82ff;
    box-shadow: 0 0 0 4px rgba(60, 120, 255, 0.10);
}

.course-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-option {
    position: relative;
    cursor: pointer;
}

.course-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.course-option span {
    display: inline-flex;
    padding: 11px 14px;
    border-radius: 999px;
    border: 1px solid #d8e0ec;
    background: #ffffff;
    color: #536177;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.course-option input:checked + span {
    border-color: #4d82ff;
    background: #eaf1ff;
    color: #215ee8;
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    cursor: pointer;
    border: 0;
}

.form-disclaimer {
    margin: 14px 0 0;
    color: #8a94a3;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}


/* ============================================================
   FINAL CTA
   ============================================================ */

.schools-final-cta {
    padding: 0 0 100px;
}

.final-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 50px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 85% 20%, rgba(95, 140, 255, 0.18), transparent 30%),
        #101a2b;
    color: #ffffff;
}

.final-cta-box h2 {
    margin: 14px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.final-cta-box h2 span {
    display: block;
    color: #8db3ff;
}


/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 1050px) {

    .schools-hero-inner,
    .programs-layout,
    .partnership-layout {
        grid-template-columns: 1fr;
    }

    .schools-hero-visual {
        margin: 20px auto 0;
        max-width: 520px;
    }

    .school-benefit-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partnership-copy {
        position: static;
    }

}


@media (max-width: 700px) {

    .schools-hero {
        padding: 75px 0 70px;
    }

    .schools-hero-content h1 {
        font-size: 42px;
    }

    .schools-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .schools-hero-actions .button {
        justify-content: center;
    }

    .schools-hero-visual {
        width: 100%;
    }

    .school-core {
        width: 125px;
        height: 125px;
    }

    .school-core strong {
        font-size: 42px;
    }

    .school-node {
        min-width: 100px;
        padding: 11px;
    }

    .school-benefit-grid,
    .process-grid,
    .form-row,
    .program-mini-grid {
        grid-template-columns: 1fr;
    }

    .program-mini:last-child {
        grid-column: auto;
    }

    .school-form {
        padding: 24px 18px;
    }

    .final-cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 25px;
    }

}
/* ============================================================
   FORM RESULT POPUP
   Creates a centered modal overlay without affecting the
   underlying For Schools page layout.
   ============================================================ */

.form-popup-overlay {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(8, 18, 40, 0.55);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* ============================================================
   POPUP CARD
   Main success/error message container.
   ============================================================ */

.form-popup {
    width: min(460px, 100%);

    padding: 42px 36px;

    text-align: center;

    background: #ffffff;

    border: 1px solid rgba(20, 80, 180, 0.10);

    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(8, 18, 40, 0.22);

    animation: formPopupIn 0.3s ease-out;
}


/* ============================================================
   POPUP ICON
   Visual confirmation that the form was submitted.
   ============================================================ */

.form-popup-icon {
    width: 68px;
    height: 68px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eaf7ef;

    color: #16834b;

    font-size: 34px;
    font-weight: 700;
}


/* ============================================================
   POPUP TITLE
   ============================================================ */

.form-popup h3 {
    margin: 0 0 14px;

    font-size: 27px;
    line-height: 1.2;

    color: #101d38;
}


/* ============================================================
   POPUP MESSAGE
   ============================================================ */

.form-popup p {
    margin: 0 auto 28px;

    max-width: 370px;

    font-size: 16px;
    line-height: 1.7;

    color: #687790;
}


/* ============================================================
   POPUP BUTTON
   ============================================================ */

.form-popup-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-width: 130px;

    padding: 13px 22px;

    border: 0;
    border-radius: 10px;

    background: #1468ff;

    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.form-popup-close span {
    font-size: 18px;
}


.form-popup-close:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(20, 104, 255, 0.25);
}


/* ============================================================
   POPUP ANIMATION
   Gives the confirmation a subtle technology-style entrance.
   ============================================================ */

@keyframes formPopupIn {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* ============================================================
   MOBILE POPUP
   Makes the modal comfortable on smaller screens.
   ============================================================ */

@media (max-width: 600px) {

    .form-popup-overlay {
        padding: 18px;
    }

    .form-popup {
        padding: 34px 24px;

        border-radius: 20px;
    }

    .form-popup h3 {
        font-size: 23px;
    }

    .form-popup p {
        font-size: 15px;
    }

}
/* =========================================================
   Hands-On Learning navigation card
   Makes the complete card clickable while preserving
   the existing visual design.
   ========================================================= */
.school-benefit-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}


/* Keep the existing card text styling when the card is a link. */
.school-benefit-link h3,
.school-benefit-link p {
    color: inherit;
}


/* Prevent the browser from changing the appearance of the card link. */
.school-benefit-link:hover {
    text-decoration: none;
}