
/* ==========================================
   PRESTASI SISWA - MI HUBBUL QUR'AN
   TURQUOISE & AMBER
========================================== */

.prestasi-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO */

.prestasi-page-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 20px;
    background: linear-gradient(
        125deg,
        #007F8E,
        #009FAE
    );
    text-align: center;
}

.prestasi-page-hero::after {
    content: "";
    position: absolute;
    top: -250px;
    right: -80px;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(245,173,36,.35);
    border-radius: 50%;
    pointer-events: none;
}

.prestasi-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #E4F5F6;
    font-size: 12px;
}

.prestasi-breadcrumb a {
    color: #FFD06A;
    text-decoration: none;
}

.prestasi-page-hero h1 {
    margin: 0 0 15px;
    color: #FFFFFF;
    font-size: clamp(34px,4vw,50px);
    font-weight: 700;
}

.prestasi-page-hero p {
    max-width: 670px;
    margin: 0 auto;
    color: #E4F5F6;
    font-size: 14px;
    line-height: 1.9;
}

/* INTRO */

.prestasi-intro {
    padding: 95px 0 75px;
    background: #FFFFFF;
    text-align: center;
}

.prestasi-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #F5AD24;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.prestasi-intro h2 {
    max-width: 760px;
    margin: 0 auto 22px;
    color: #009FAE;
    font-size: clamp(28px,3vw,39px);
    font-weight: 700;
    line-height: 1.4;
}

.prestasi-intro h2 span {
    display: block;
    color: #F5AD24;
}

.prestasi-intro p {
    max-width: 750px;
    margin: 0 auto;
    color: #47686D;
    font-size: 14px;
    line-height: 2;
}

/* CONTENT */

.prestasi-content {
    padding: 85px 0 100px;
    background: #F3FAFA;
}

.prestasi-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.prestasi-section-heading h2 {
    margin: 0;
    color: #009FAE;
    font-size: clamp(25px,3vw,34px);
}

.prestasi-section-heading p {
    max-width: 320px;
    margin: 0;
    color: #47686D;
    font-size: 13px;
    line-height: 1.8;
}

/* FILTER */

.prestasi-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.prestasi-filter-btn {
    padding: 11px 20px;
    border: 1px solid #D9EAEC;
    border-radius: 50px;
    background: #FFFFFF;
    color: #47686D;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

.prestasi-filter-btn:hover,
.prestasi-filter-btn.active {
    border-color: #009FAE;
    background: #009FAE;
    color: #FFFFFF;
}

/* GRID */

.prestasi-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}

.prestasi-card {
    overflow: hidden;
    border: 1px solid #D9EAEC;
    border-radius: 18px;
    background: #FFFFFF;
    transition: transform .3s ease, box-shadow .3s ease;
}

.prestasi-card[hidden] {
    display: none;
}

.prestasi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0,127,142,.10);
}

.prestasi-card-image {
    position: relative;
    overflow: hidden;
}

.prestasi-card-image img {
    display: block;
    width: 100%;
    height: 245px;
    object-fit: cover;
    transition: transform .4s ease;
}

.prestasi-card:hover .prestasi-card-image img {
    transform: scale(1.04);
}

.prestasi-card-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 14px;
    border-radius: 50px;
    background: #F5AD24;
    color: #07535D;
    font-size: 11px;
    font-weight: 700;
}

.prestasi-card-body {
    padding: 26px;
}

.prestasi-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #718C90;
    font-size: 11px;
}

.prestasi-card-body h3 {
    margin: 14px 0;
    color: #009FAE;
    font-size: 19px;
    line-height: 1.5;
}

.prestasi-card-body p {
    margin: 0;
    color: #47686D;
    font-size: 13px;
    line-height: 1.9;
}

.prestasi-empty {
    padding: 55px 0;
    color: #47686D;
    text-align: center;
}

/* CTA */

.prestasi-cta {
    padding: 85px 0;
    background: #FFFFFF;
}

.prestasi-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 45px 55px;
    border-radius: 22px;
    background: linear-gradient(
        120deg,
        #007F8E,
        #009FAE
    );
}

.prestasi-cta-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #FFD06A;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.prestasi-cta-inner h2 {
    max-width: 620px;
    margin: 0 0 12px;
    color: #FFFFFF;
    font-size: clamp(23px,2.5vw,31px);
    line-height: 1.4;
}

.prestasi-cta-inner p {
    margin: 0;
    color: #E4F5F6;
    font-size: 13px;
    line-height: 1.9;
}

.prestasi-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 50px;
    background: #F5AD24;
    color: #07535D;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s ease;
}

.prestasi-cta-button:hover {
    background: #FFD06A;
    color: #07535D;
    transform: translateY(-2px);
}

/* TABLET */

@media (max-width: 992px) {
    .prestasi-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .prestasi-cta-inner {
        padding: 35px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .prestasi-page-hero {
        padding: 75px 20px;
    }

    .prestasi-intro {
        padding: 70px 0 55px;
    }

    .prestasi-content {
        padding: 65px 0 75px;
    }

    .prestasi-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .prestasi-grid {
        grid-template-columns: 1fr;
    }

    .prestasi-card-image img {
        height: 250px;
    }

    .prestasi-cta {
        padding: 65px 0;
    }

    .prestasi-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 25px;
    }

    .prestasi-cta-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .prestasi-card,
    .prestasi-card-image img,
    .prestasi-cta-button {
        transition: none;
    }

    .prestasi-card:hover,
    .prestasi-cta-button:hover {
        transform: none;
    }
}
/* ==========================================
   COMPACT HERO - PRESTASI SISWA
========================================== */

.prestasi-page-hero {
    height: auto;
    min-height: 0;
    padding: 35px 20px 40px;
    text-align: center;
}

/* BREADCRUMB */

.prestasi-page-hero .prestasi-breadcrumb {
    margin: 0 auto 12px;
    font-size: 12px;
    text-align: center;
}

/* JUDUL */

.prestasi-page-hero h1 {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 auto 12px;
    padding: 0;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    transform: none;
}

/* DESKRIPSI */

.prestasi-page-hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .prestasi-page-hero {
        padding: 28px 16px 35px;
    }

    .prestasi-page-hero h1 {
        font-size: 29px;
    }

    .prestasi-page-hero p {
        font-size: 12px;
    }
}
