/**
 * Program Features Block Styles
 *
 * @package UltraLite_BS_ACF
 * @since 1.0.0
 */

.program-features-section {
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, var(--bg-color-secondary) 0%, var(--bg-color-secondary) 80%, transparent 50%, transparent 100%);
    padding: 80px 0;
}

/* Section Title and Description */
.pf-section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 24px 0;
}

.pf-section-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Program Card Styles */
.pf-program-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--custom-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    height: 100%;
}

/* .pf-program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
} */

.pf-program-image {
    width: 384px;
    height: 263px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 24px;
    padding: 32px;
}

.pf-program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.pf-program-card:hover .pf-program-image img {
    transform: scale(1.05);
}

.pf-program-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 32px 32px 0;
}

.pf-program-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.pf-program-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* CTA Button */
.pf-cta-wrapper {
    margin-top: 48px;
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .program-features-section {
        padding: 60px 0;
    }
    
    .pf-section-title {
        font-size: 36px;
    }
    
    .pf-section-description {
        font-size: 16px;
    }
    
}

@media (max-width: 768px) {
    .program-features-section {
        padding: 40px 0;
    }
    
    .pf-section-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .pf-section-description {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
}

/* MOBILE + TABLET HORIZONTAL SCROLL */
@media (max-width: 1024px) {
    /* Target only program features section */

    .program-features-section .row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 20px;
        padding-bottom: 8px;
        padding-left: 8px;
    }

    .program-features-section .row::-webkit-scrollbar {
        display: none;
    }

    /* Each card */
    .program-features-section .pf-program-card {
        flex: 0 0 auto;
        width: 288px;
        max-width: 288px;
        height: 100%;
        min-height: 348px;
        flex-direction: column;
    }

    /* Prevent Bootstrap column behavior */
    .program-features-section .col-md-6,
    .program-features-section .col-lg-6 {
        flex: 0 0 auto;
        width: auto;
        padding: 0;
    }

    .program-features-section .pf-program-image {
        width: 100%;
        height: 200px;
        padding: 20px 20px 0 20px;
    }

    .program-features-section .pf-program-content {
        padding: 20px;
        flex: 1;
    }

    .program-features-section .pf-program-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .program-features-section .pf-program-description {
        font-size: 14px;
    }
}




  @media (min-width: 1200px) and (max-width: 1520px) {
    .pf-program-image {
        width: 306px !important;
    }
  }
  @media (min-width: 992px) and (max-width: 1199px) {
    .pf-program-image {
        width: 100%;
        height: 100%;
        max-height: 300px !important;
    }
    .pf-program-card {
        display: flex;
        flex-direction: column;
    }
    .pf-program-content {
        padding: 0px 32px 32px 32px;
    }
  }