/* ============================================
   POPULAR & UPCOMING PROGRAMS SECTION
   ============================================ */

.section--programs {
    background: var(--color-white);
    padding: 90px 0;
}

/* ---- Section Heading ---- */
.programs-section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.programs-section-heading__badge {
    display: block;
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.programs-section-heading__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-gray-900);
    margin-bottom: 20px;
    line-height: 1.25;
}

.programs-section-heading__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.programs-section-heading__line {
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
    border-radius: var(--radius-full);
}

.programs-section-heading__dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.programs-section-heading__dots i {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
}

.programs-section-heading__dots i:nth-child(2) {
    width: 9px;
    height: 9px;
    background: var(--color-primary-light);
}

/* ---- Programs Grid ---- */
.programs-grid {
    margin-bottom: 40px;
}

/* ---- Program Card (Demo Style) ---- */
.section--programs .program-card {
    background: var(--color-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.section--programs .program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(245, 124, 0, 0.14);
}

.section--programs .program-card--booked {
    opacity: 0.92;
}

.section--programs .program-card__image-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.section--programs .program-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section--programs .program-card:hover .program-card__image {
    transform: scale(1.06);
}

.section--programs .program-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 16px;
    font-size: 0.72rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
    text-transform: capitalize;
    letter-spacing: 0.3px;
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.section--programs .program-card__badge--upcoming {
    background: var(--color-primary);
}

.section--programs .program-card__badge--today {
    background: #2E7D32;
}

.section--programs .program-card__badge--booked {
    background: #C62828;
}

.section--programs .program-card__body {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.section--programs .program-card__title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-gray-900);
    margin-bottom: 16px;
    line-height: 1.35;
}

.section--programs .program-card__details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.section--programs .program-card__detail-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--color-text-muted);
    line-height: 1.45;
}

.section--programs .program-card__detail-row i {
    color: var(--color-primary);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.section--programs .program-card__price {
    margin-bottom: 18px;
    margin-top: auto;
    font-size: 1.05rem;
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

.section--programs .program-card__price strong {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.section--programs .program-card__price span {
    font-size: 0.88rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
}

.section--programs .program-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(245, 124, 0, 0.28);
}

.section--programs .program-card__btn:hover {
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(245, 124, 0, 0.38);
}

.section--programs .program-card__btn--disabled {
    background: var(--color-gray-400);
    box-shadow: none;
    pointer-events: none;
    cursor: not-allowed;
}

/* ---- View All Button ---- */
.programs-section__footer {
    text-align: center;
    padding-top: 8px;
}

.programs-section__view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
}

.programs-section__view-all:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.3);
}

.programs-section__view-all i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.programs-section__view-all:hover i {
    transform: translateX(4px);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .section--programs {
        padding: 70px 0;
    }

    .programs-section-heading {
        margin-bottom: 36px;
    }
}

@media (max-width: 575.98px) {
    .section--programs {
        padding: 56px 0;
    }

    .section--programs .program-card__image-wrap {
        height: 180px;
    }

    .programs-section__view-all {
        width: 100%;
        max-width: 320px;
    }
}
