/* =====================================================
   PROGRAM UNGGULAN - PROFESSIONAL SCHOOL LANDING UI
   Replace: public/assets/css/program_unggulan.css
===================================================== */

:root {
    --ar-green: #198754;
    --ar-green-dark: #0f5f3c;
    --ar-green-soft: #eaf7f0;
    --ar-ink: #10281d;
    --ar-muted: #607268;
    --ar-line: rgba(25, 135, 84, 0.16);
    --ar-white: #ffffff;
    --ar-shadow: 0 24px 70px rgba(14, 48, 32, 0.12);
}

.program-unggulan-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 92px 0 110px;
    background:
        radial-gradient(circle at 8% 10%, rgba(25, 135, 84, 0.17), transparent 30%),
        radial-gradient(circle at 88% 22%, rgba(32, 201, 151, 0.16), transparent 26%),
        linear-gradient(135deg, #f7fbf8 0%, #ffffff 44%, #eef9f3 100%);
}

.program-unggulan-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(25, 135, 84, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 135, 84, 0.055) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

.program-bg-shape {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(4px);
    pointer-events: none;
}

.program-bg-shape.shape-1 {
    width: 340px;
    height: 340px;
    left: -130px;
    top: 95px;
    background: rgba(25, 135, 84, 0.14);
}

.program-bg-shape.shape-2 {
    width: 420px;
    height: 420px;
    right: -190px;
    bottom: 80px;
    background: rgba(32, 201, 151, 0.14);
}

/* HERO */
.program-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    align-items: center;
    gap: 42px;
    margin-bottom: 42px;
}

.program-hero-copy {
    max-width: 720px;
}

.program-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 17px;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.1);
    color: var(--ar-green-dark);
    font-size: 14px;
    font-weight: 800;
    border: 1px solid var(--ar-line);
    margin-bottom: 18px;
}

.program-hero-copy h2 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(38px, 5.2vw, 64px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.6px;
    color: var(--ar-ink);
    margin-bottom: 20px;
}

.program-hero-copy h2 span {
    color: var(--ar-green);
}

.program-hero-copy p {
    max-width: 650px;
    font-size: 17px;
    line-height: 1.85;
    color: var(--ar-muted);
    margin-bottom: 0;
}

.program-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn-program-primary,
.btn-program-outline,
.btn-card-daftar,
.btn-card-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-program-primary,
.btn-card-daftar {
    color: #ffffff;
    background: linear-gradient(135deg, var(--ar-green) 0%, var(--ar-green-dark) 100%);
    box-shadow: 0 15px 34px rgba(25, 135, 84, 0.26);
}

.btn-program-primary:hover,
.btn-card-daftar:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(25, 135, 84, 0.34);
}

.btn-program-outline,
.btn-card-wa {
    color: var(--ar-green);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(25, 135, 84, 0.22);
    box-shadow: 0 12px 30px rgba(16, 40, 29, 0.07);
}

.btn-program-outline:hover,
.btn-card-wa:hover {
    color: #ffffff;
    background: var(--ar-green);
    transform: translateY(-3px);
}

.program-trust-panel {
    position: relative;
    padding: 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(25, 135, 84, 0.16);
    box-shadow: var(--ar-shadow);
    backdrop-filter: blur(18px);
}

.program-trust-panel::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px dashed rgba(25, 135, 84, 0.2);
    pointer-events: none;
}

.trust-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.trust-title i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ar-green), #20c997);
    box-shadow: 0 14px 30px rgba(25, 135, 84, 0.25);
}

.trust-title h4 {
    font-size: 18px;
    font-weight: 900;
    color: var(--ar-ink);
    margin: 0;
}

.trust-title span {
    display: block;
    font-size: 13px;
    color: var(--ar-muted);
    margin-top: 2px;
}

.trust-list {
    position: relative;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #40534a;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 650;
}

.trust-list i {
    color: var(--ar-green);
    font-size: 18px;
    margin-top: 1px;
}

/* QUICK FEATURES */
.program-feature-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 44px;
}

.program-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 132px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(25, 135, 84, 0.12);
    box-shadow: 0 18px 42px rgba(16, 40, 29, 0.07);
    backdrop-filter: blur(14px);
    transition: 0.25s ease;
}

.program-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(25, 135, 84, 0.28);
    box-shadow: 0 26px 56px rgba(16, 40, 29, 0.11);
}

.feature-icon {
    width: 54px;
    min-width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ar-green), #20c997);
    box-shadow: 0 14px 28px rgba(25, 135, 84, 0.25);
    font-size: 22px;
}

.program-feature-card h5 {
    margin: 0 0 7px;
    font-size: 17px;
    font-weight: 900;
    color: var(--ar-ink);
}

.program-feature-card p {
    margin: 0;
    color: var(--ar-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* SWIPER */
.program-slider-area {
    position: relative;
    z-index: 2;
}

.programSwiper {
    padding: 8px 4px 76px;
}

.programSwiper .swiper-slide {
    height: auto;
}

.program-card-premium {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
    min-height: 600px;
    height: 100%;
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(25, 135, 84, 0.14);
    box-shadow: var(--ar-shadow);
}

.program-card-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* PHOTO */
.program-photo-box {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #dcefe5;
}

.program-photo-box::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.22)),
        linear-gradient(90deg, transparent 70%, rgba(255, 255, 255, 0.18));
}

.program-badge {
    position: absolute;
    left: 22px;
    top: 22px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--ar-green-dark);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(12px);
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
}

.program-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.055);
    transition: opacity 0.9s ease, transform 4.5s ease;
}

.program-img.active {
    opacity: 1;
    transform: scale(1);
}

.program-img-placeholder {
    object-fit: contain;
    padding: 92px;
    background: linear-gradient(135deg, #e7f6ed, #ffffff);
}

/* CONTENT */
.program-content-box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 54px 54px 48px;
    overflow: hidden;
}

.program-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--ar-green-dark);
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.12);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
}

.program-content-box h3 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.9px;
    color: var(--ar-ink);
    margin: 0 0 18px;
}

.program-text-scroll {
    position: relative;
    max-height: 224px;
    overflow: auto;
    padding-right: 12px;
    margin-bottom: 24px;
    color: var(--ar-muted);
    font-size: 16px;
    line-height: 1.82;
}

.program-text-scroll::-webkit-scrollbar {
    width: 6px;
}

.program-text-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.26);
}

.program-info-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
}

.program-info-item {
    min-height: 112px;
    padding: 17px 16px;
    border-radius: 18px;
    background: #f7fbf8;
    border: 1px solid rgba(25, 135, 84, 0.12);
}

.program-info-item i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 12px;
    color: #ffffff;
    background: var(--ar-green);
    font-size: 16px;
}

.program-info-item span {
    display: block;
    color: #40534a;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
}

.program-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: auto;
}

.btn-card-daftar,
.btn-card-wa {
    min-height: 48px;
    font-size: 15px;
}

/* CONTROLS */
.program-swiper-control {
    position: absolute;
    left: 50%;
    bottom: 8px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 270px;
    transform: translateX(-50%);
}

.program-button-prev,
.program-button-next {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--ar-green);
    background: #ffffff;
    border: 1px solid rgba(25, 135, 84, 0.2);
    box-shadow: 0 12px 30px rgba(16, 40, 29, 0.1);
    cursor: pointer;
    transition: 0.25s ease;
}

.program-button-prev:hover,
.program-button-next:hover {
    color: #ffffff;
    background: var(--ar-green);
    transform: translateY(-2px);
}

.programSwiper .swiper-pagination {
    position: static;
    width: auto;
}

.programSwiper .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(25, 135, 84, 0.3);
    opacity: 1;
}

.programSwiper .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 999px;
    background: var(--ar-green);
}

/* MOBILE */
@media (max-width: 1199px) {
    .program-hero-grid {
        grid-template-columns: 1fr;
    }

    .program-trust-panel {
        max-width: 680px;
    }

    .program-card-premium {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .program-photo-box,
    .image-slider {
        min-height: 440px;
    }

    .program-content-box {
        padding: 42px;
    }

    .program-info-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .program-unggulan-section {
        padding: 72px 0 92px;
    }

    .program-feature-wrapper {
        grid-template-columns: 1fr;
    }

    .program-feature-card {
        min-height: auto;
    }

    .program-info-list {
        grid-template-columns: 1fr;
    }

    .program-info-item {
        min-height: auto;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .program-info-item i {
        margin-bottom: 0;
        min-width: 34px;
    }
}

@media (max-width: 575px) {
    .program-unggulan-section {
        padding: 54px 0 80px;
    }

    .program-hero-copy h2 {
        font-size: 36px;
    }

    .program-hero-copy p {
        font-size: 15px;
        line-height: 1.75;
    }

    .program-hero-actions,
    .program-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-program-primary,
    .btn-program-outline,
    .btn-card-daftar,
    .btn-card-wa {
        width: 100%;
    }

    .program-trust-panel {
        padding: 24px;
        border-radius: 24px;
    }

    .program-feature-card {
        padding: 20px;
        border-radius: 20px;
    }

    .program-card-premium {
        border-radius: 24px;
    }

    .program-photo-box,
    .image-slider {
        min-height: 320px;
    }

    .program-badge {
        left: 16px;
        top: 16px;
    }

    .program-content-box {
        padding: 30px 24px 34px;
    }

    .program-content-box h3 {
        font-size: 30px;
    }

    .program-text-scroll {
        max-height: 250px;
        font-size: 15px;
        line-height: 1.75;
    }

    .program-swiper-control {
        min-width: 225px;
        gap: 12px;
    }
}