/* ==========================================================================
   UNIVERSAL PROGRAM DETAIL TEMPLATE STYLING
   Seeds Stars Montessori Modern Premium
   ========================================================================== */

/* 1. Quick Stats Pill Grid */
.program-stats-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

.stat-item-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* 2. Banner Showcase */
.program-banner-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    position: relative;
    background-color: #f1f5f9;
}

.program-banner-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .program-banner-img {
        aspect-ratio: 21 / 9;
        max-height: 480px;
    }
}

/* 3. Section Titles */
.program-sec-header {
    margin-bottom: 2rem;
}

.program-sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.program-sec-title {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

/* 4. Objective Cards */
.objective-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.objective-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

.objective-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* 5. Activity Card / Timeline */
.activity-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    position: relative;
    border-left: 4px solid #ea580c;
}

/* 6. Facilities & Method Boxes */
.editorial-content-box {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
}

.editorial-content-box p {
    margin-bottom: 1.25rem;
}

.editorial-content-box ul, .editorial-content-box ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.editorial-content-box li {
    margin-bottom: 0.5rem;
}

/* 7. Gallery Grid */
.program-gallery-thumb {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    background-color: #e2e8f0;
}

.program-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-gallery-thumb:hover img {
    transform: scale(1.06);
}

/* 8. Call to Action (CTA) Banner */
.program-cta-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.program-cta-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.btn-cta-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-cta-whatsapp:hover {
    background-color: #1ebc57;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   10. MOBILE 2X2 GRID FOR ACTIVITIES & CURRICULUM
   ========================================================================== */
@media (max-width: 767.98px) {
    .activities-grid-2x2 .activity-item-card {
        padding: 0.85rem 0.75rem !important;
        border-radius: 12px !important;
        border-left-width: 3.5px !important;
    }

    .activities-grid-2x2 .activity-item-card .fw-bold {
        font-size: 0.86rem !important;
        line-height: 1.25 !important;
    }

    .activities-grid-2x2 .activity-item-card .text-muted {
        font-size: 0.75rem !important;
        line-height: 1.35 !important;
    }

    .activities-grid-2x2 .activity-item-card i.bi-stars {
        font-size: 1rem !important;
    }
}

/* ==========================================================================
   11. PROGRAM ARTICLES PAGINATION (SESUAI GEMINI.MD)
   ========================================================================== */
.program-pagination-wrapper .pagination {
    margin-bottom: 0;
    gap: 4px;
}

.program-pagination-wrapper .page-link {
    color: #475569;
    background-color: #ffffff;
    border-color: #e2e8f0;
    padding: 0.45rem 0.85rem;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.program-pagination-wrapper .page-item.active .page-link {
    background-color: #ea580c;
    border-color: #ea580c;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
}

.program-pagination-wrapper .page-link:hover:not(.disabled) {
    background-color: #fff7ed;
    color: #ea580c;
    border-color: #fed7aa;
}

.program-pagination-wrapper .page-item.disabled .page-link {
    color: #94a3b8;
    background-color: #f8fafc;
    border-color: #e2e8f0;
    opacity: 0.75;
}
