.edu-showcase {
    padding: 38px 0;
    color: #27364f;
}

.edu-showcase__panel {
    position: relative;
    overflow: hidden;
    padding: 48px 42px;
    border: 1px solid #e7ebf1;
    border-radius: 20px;
    background: linear-gradient(150deg, #fffdf8 0%, #ffffff 55%, #f7faff 100%);
    box-shadow: 0 18px 44px rgba(30, 67, 125, .07);
}

.edu-showcase__panel::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 4px;
    background: linear-gradient(90deg, #1d438a 0%, #3563b5 45%, #e58a08 100%);
}

.edu-showcase__header {
    margin: 0 auto 34px;
    text-align: center;
}

.edu-showcase__header h2 {
    display: inline;
    margin: 0;
    color: #1d438a;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -.2px;
}

.edu-showcase__header p {
    max-width: 760px;
    margin: 16px auto 0;
    color: #b67408;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.9;
}

.edu-showcase__title-icon {
    margin-inline-end: 12px;
    color: #e58a08;
    font-size: 26px;
    vertical-align: -2px;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    line-height: 1;
}

.edu-showcase__schedule i,
.edu-showcase__feature-icon i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900;
    font-style: normal;
}

.edu-showcase__hero-image {
    display: block;
    width: auto;
    max-width: min(100%, 420px);
    max-height: 260px;
    margin: 0 auto 30px;
    border-radius: 14px;
    object-fit: contain;
}

/* Intro contact card */
.edu-showcase__contact {
    max-width: 680px;
    margin: auto;
    padding: 30px 26px;
    border: 1px solid #eef1f6;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 26px rgba(35, 55, 85, .06);
}

.edu-showcase__contact p,
.edu-showcase__contact small {
    display: block;
    color: #697386;
    line-height: 1.8;
}

.edu-showcase__contact p {
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: .3px;
}

.edu-showcase__contact a {
    display: inline-block;
    margin: 10px 0 12px;
    color: #dc8100;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .3px;
    transition: color .2s ease;
}

.edu-showcase__contact a:hover {
    color: #b56900;
}

/* Feature cards */
.edu-showcase__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.edu-showcase__feature {
    padding: 30px 22px;
    border: 1px solid #e9edf3;
    border-radius: 15px;
    background: #fff;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.edu-showcase__feature:hover {
    transform: translateY(-5px);
    border-color: #c9d8ef;
    box-shadow: 0 16px 32px rgba(29, 67, 138, .12);
}

.edu-showcase__feature-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5e2f6;
    border-radius: 50%;
    background: linear-gradient(160deg, #f3f8ff 0%, #e8f0fc 100%);
    color: #1d438a;
    font-size: 24px;
    transition: background .25s ease, color .25s ease;
}

.edu-showcase__feature:hover .edu-showcase__feature-icon {
    background: #1d438a;
    color: #fff;
}

.edu-showcase__feature h3,
.edu-showcase__group h3 {
    margin: 17px 0 9px;
    color: #1d438a;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
}

.edu-showcase__feature h3 a,
.edu-showcase__subject a {
    color: inherit;
}

.edu-showcase__feature p {
    margin: 0;
    color: #6e7787;
    font-size: 14px;
    line-height: 1.9;
}

/* Curriculum groups */
.edu-showcase__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.edu-showcase__group {
    padding: 26px 24px;
    border: 1px solid #e6ebf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(35, 55, 85, .04);
}

.edu-showcase__group h3 {
    margin-top: 0;
    padding-bottom: 13px;
    border-bottom: 1px dashed #e3d5b8;
    color: #d47d05;
    font-size: 17px;
}

.edu-showcase__subjects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
}

.edu-showcase__subject {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 13px;
    border-inline-start: 3px solid #1d438a;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 15px;
    font-weight: 500;
    transition: background .2s ease, border-color .2s ease;
}

.edu-showcase__subject:hover {
    background: #eef4fb;
    border-inline-start-color: #e58a08;
}

.edu-showcase__subject b {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 5px;
    background: #e9eef5;
    color: #536274;
    font-size: 11px;
    font-weight: 700;
}

/* Intro & school layouts */
.edu-showcase--school .edu-showcase__panel,
.edu-showcase--intro .edu-showcase__panel {
    padding-top: 64px;
    padding-bottom: 64px;
    text-align: center;
}

.edu-showcase__schedule {
    display: inline-flex;
    max-width: 820px;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border: 1px solid #f0c866;
    border-radius: 999px;
    background: #fff6d6;
    color: #55451f;
    font-weight: 700;
    line-height: 1.7;
}

.edu-showcase__schedule i {
    color: #d47d05;
}

.edu-showcase__button {
    display: table;
    margin: 24px auto 0;
    padding: 13px 34px;
    border-radius: 999px;
    background: #1d438a;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(29, 67, 138, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.edu-showcase__button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(29, 67, 138, .32);
}

@media (max-width: 991px) {
    .edu-showcase__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .edu-showcase__groups {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .edu-showcase {
        padding: 20px 0;
    }

    .edu-showcase__panel {
        padding: 30px 18px;
        border-radius: 14px;
    }

    .edu-showcase__features,
    .edu-showcase__subjects {
        grid-template-columns: 1fr;
    }

    .edu-showcase__contact a {
        font-size: 20px;
        overflow-wrap: anywhere;
    }

    .edu-showcase__schedule {
        align-items: flex-start;
        border-radius: 16px;
        text-align: start;
    }
}
