/* ============================================================
   SILIBOT EDUCATION PAGE
   Page-specific visual styles.
   The main homepage CSS remains untouched.
   ============================================================ */


/* ============================================================
   1. EDUCATION HERO
   ============================================================ */

.education-hero {
    position: relative;

    min-height: 610px;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            #ffffff 0%,
            #f5f9ff 52%,
            #e8f3ff 100%
        );
}


.education-hero-grid {
    position: absolute;

    inset: 0;

    opacity: 0.45;

    background-image:
        radial-gradient(
            #bfd8f7 1px,
            transparent 1px
        );

    background-size: 24px 24px;
}


.education-hero-inner {
    width: min(100% - 100px, 1500px);

    min-height: 610px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 50px;
}


/* ============================================================
   2. EDUCATION HERO TEXT
   ============================================================ */

.education-hero-copy {
    position: relative;
    z-index: 2;

    padding: 70px 0;
}


.education-label,
.small-label {
    color: #0878f9;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2px;
}


.education-hero h1 {
    max-width: 700px;

    margin-top: 18px;

    font-size: clamp(48px, 5vw, 76px);

    line-height: 0.98;

    letter-spacing: -3px;
}


.education-hero h1 span {
    display: block;

    color: #0878f9;
}


.education-hero-copy > p {
    max-width: 620px;

    margin-top: 27px;

    color: #52627d;

    font-size: 17px;

    line-height: 1.8;
}


/* ============================================================
   3. EDUCATION HERO BUTTONS
   ============================================================ */

.education-hero-buttons {
    display: flex;

    gap: 13px;

    margin-top: 30px;
}


.education-button {
    min-height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 0 22px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 800;
}


.education-button.primary {
    background: #0878f9;

    color: white;

    box-shadow:
        0 12px 28px rgba(8, 120, 249, 0.22);
}


.education-button.secondary {
    border: 1px solid #bfd1e8;

    background: white;

    color: #10203a;
}


/* ============================================================
   4. EDUCATION HERO VISUAL
   ============================================================ */

.education-visual {
    width: 480px;
    height: 480px;

    position: relative;

    margin: auto;

    border-radius: 50%;
}


/* ============================================================
   5. ORBIT RINGS
   ============================================================ */

.visual-orbit {
    position: absolute;

    left: 50%;
    top: 50%;

    border: 1px solid rgba(8, 120, 249, 0.28);

    border-radius: 50%;

    transform: translate(-50%, -50%);
}


.orbit-one {
    width: 300px;
    height: 300px;
}


.orbit-two {
    width: 450px;
    height: 450px;
}


/* ============================================================
   6. CENTRAL SILIBOT CORE
   ============================================================ */

.visual-core {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 130px;
    height: 130px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #0878f9,
            #04489e
        );

    color: white;

    box-shadow:
        0 0 60px rgba(8, 120, 249, 0.35);

    transform: translate(-50%, -50%);
}


.visual-core strong {
    font-size: 38px;
}


.visual-core small {
    font-size: 8px;

    letter-spacing: 2px;
}


/* ============================================================
   7. TECHNOLOGY NODES
   ============================================================ */

.visual-node {
    position: absolute;

    padding: 11px 15px;

    border: 1px solid rgba(8, 120, 249, 0.4);

    border-radius: 30px;

    background: rgba(255,255,255,0.9);

    color: #0878f9;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;

    box-shadow: 0 8px 25px rgba(10, 60, 120, 0.08);
}


.node-robotics {
    top: 58px;
    left: 50%;

    transform: translateX(-50%);
}


.node-ai {
    right: 28px;
    top: 50%;

    transform: translateY(-50%);
}


.node-code {
    bottom: 58px;
    left: 50%;

    transform: translateX(-50%);
}


.node-electronics {
    left: 5px;
    top: 50%;

    transform: translateY(-50%);
}


/* ============================================================
   8. EDUCATION INTRO
   ============================================================ */

.education-intro {
    padding: 100px 0;

    background: white;
}


.education-content {
    width: min(100% - 100px, 1380px);

    margin: auto;
}


.education-intro h2,
.program-heading h2,
.experience-copy h2 {
    max-width: 850px;

    margin-top: 12px;

    font-size: clamp(38px, 4.5vw, 60px);

    line-height: 1;

    letter-spacing: -2.5px;
}


.education-intro h2 span,
.program-heading h2 span,
.experience-copy h2 span {
    color: #0878f9;
}


.education-intro > .education-content > p {
    max-width: 760px;

    margin-top: 22px;

    color: #52627d;

    font-size: 16px;

    line-height: 1.8;
}


/* ============================================================
   9. LEARNING FLOW
   ============================================================ */

.learning-flow {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    margin-top: 55px;
}


.flow-item {
    padding: 24px;

    border: 1px solid #dce7f3;

    border-radius: 17px;

    background: #f8fbff;
}


.flow-item strong {
    color: #0878f9;

    font-size: 11px;
}


.flow-item h3 {
    margin-top: 16px;

    font-size: 18px;
}


.flow-item p {
    margin-top: 8px;

    color: #66758d;

    font-size: 12px;
}


/* ============================================================
   10. PROGRAM SECTION
   ============================================================ */

.education-programs {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #f6faff,
            #ffffff
        );
}


.program-heading {
    text-align: center;

    margin-bottom: 45px;
}


.program-heading .small-label {
    display: block;
}


.program-heading h2 {
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   11. PROGRAM CARDS
   ============================================================ */

.education-program-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 15px;
}


.education-program-card {
    min-height: 315px;

    position: relative;

    padding: 27px 22px;

    border: 1px solid #dce7f3;

    border-radius: 20px;

    background: white;

    box-shadow:
        0 10px 30px rgba(15, 55, 100, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.education-program-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(15, 55, 100, 0.10);
}


.education-program-number {
    position: absolute;

    top: 22px;
    right: 20px;

    color: #a4b4c9;

    font-size: 10px;
    font-weight: 900;
}


/* ============================================================
   12. PROGRAM ICON
   ============================================================ */

.education-program-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 27px;

    border-radius: 17px;

    background: #edf6ff;

    color: #0878f9;

    font-size: 21px;
    font-weight: 900;
}


.education-program-icon.ai {
    color: #6758e9;

    background: #f1efff;
}


.education-program-icon.code {
    color: #009bbd;

    background: #ebfbff;
}


.education-program-icon.electronics {
    color: #ed651f;

    background: #fff2eb;
}


.education-program-icon.innovation {
    color: #dc3191;

    background: #fff0f8;

    font-size: 30px;
}


.education-program-card h3 {
    font-size: 18px;

    line-height: 1.2;
}


.education-program-card p {
    margin-top: 13px;

    color: #596981;

    font-size: 12px;

    line-height: 1.7;
}


.education-program-card a {
    position: absolute;

    left: 22px;
    bottom: 23px;

    display: flex;

    align-items: center;

    gap: 7px;

    color: #0878f9;

    font-size: 11px;
    font-weight: 900;
}


.education-program-card a span {
    font-size: 16px;
}


/* ============================================================
   13. EXPERIENCE SECTION
   ============================================================ */

.experience-section {
    padding: 100px 0;

    background: #061b3d;

    color: white;
}


.experience-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}


.experience-copy h2 {
    margin-top: 14px;
}


.experience-copy p {
    max-width: 600px;

    margin-top: 25px;

    color: #b9cce4;

    line-height: 1.8;
}


.experience-points {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px;
}


.experience-points div {
    padding: 25px;

    border: 1px solid rgba(107, 194, 255, 0.24);

    border-radius: 17px;

    background: rgba(255,255,255,0.035);
}


.experience-points strong {
    display: block;

    color: #60c6ff;

    font-size: 10px;
}


.experience-points span {
    display: block;

    margin-top: 15px;

    font-size: 13px;
    font-weight: 800;
}


/* ============================================================
   14. SCHOOL CTA
   ============================================================ */

.education-school-cta {
    padding: 90px 0;

    background: #f2f7fd;
}


.education-school-cta .education-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 55px;

    border-radius: 25px;

    background: white;

    box-shadow:
        0 15px 45px rgba(10, 50, 100, 0.08);
}


.education-school-cta h2 {
    max-width: 800px;

    margin-top: 10px;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1;

    letter-spacing: -2px;
}


.education-school-cta h2 span {
    color: #0878f9;
}


/* ============================================================
   15. RESPONSIVE EDUCATION PAGE
   ============================================================ */

@media (max-width: 1100px) {

    .education-program-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .learning-flow {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 850px) {

    .education-hero-inner {
        width: calc(100% - 35px);

        grid-template-columns: 1fr;
    }


    .education-hero-copy {
        padding: 65px 0 30px;
    }


    .education-visual {
        width: 350px;
        height: 350px;
    }


    .orbit-one {
        width: 230px;
        height: 230px;
    }


    .orbit-two {
        width: 330px;
        height: 330px;
    }


    .visual-core {
        width: 100px;
        height: 100px;
    }


    .node-robotics {
        top: 20px;
    }


    .node-code {
        bottom: 20px;
    }


    .education-content {
        width: calc(100% - 35px);
    }


    .education-program-grid {
        grid-template-columns: 1fr;
    }


    .experience-grid {
        grid-template-columns: 1fr;
    }


    .education-school-cta .education-content {
        flex-direction: column;

        align-items: flex-start;

        padding: 35px;
    }

}


@media (max-width: 550px) {

    .education-hero h1 {
        font-size: 43px;
    }


    .education-hero-buttons {
        flex-direction: column;
    }


    .education-button {
        width: 100%;
    }


    .education-visual {
        width: 300px;
        height: 300px;
    }


    .orbit-one {
        width: 200px;
        height: 200px;
    }


    .orbit-two {
        width: 280px;
        height: 280px;
    }


    .visual-node {
        padding: 8px 10px;

        font-size: 7px;
    }


    .node-ai {
        right: -3px;
    }


    .node-electronics {
        left: -3px;
    }


    .learning-flow {
        grid-template-columns: 1fr;
    }


    .experience-points {
        grid-template-columns: 1fr;
    }


    .education-school-cta {
        padding: 60px 0;
    }

}
/* =========================================================
   CLICKABLE EDUCATION PROGRAM CARDS
   Makes the entire program card clickable while preserving
   the existing visual design.
   ========================================================= */

.education-program-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}


/* Remove default browser link styling. */
.education-program-card-link:hover {
    color: inherit;
    text-decoration: none;
}


/* Allow the existing card hover effect to continue working. */
.education-program-card-link .education-program-card {
    height: 100%;
}


/* Keep the program heading color unchanged. */
.education-program-card-link h3 {
    color: inherit;
}


/* Keep the description color unchanged. */
.education-program-card-link p {
    color: inherit;
}