/* ============================================
   PREMIUM PROGRAMS SECTION - MODERN DESIGN
   ============================================ */

/* Section Container */
.programs-premium-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #FEF4DE 0%, #FFE8C5 50%, #FFF5E6 100%);
    overflow: hidden;
}

/* Decorative Background Elements */
.programs-bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.programs-bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    animation: floatShape 20s ease-in-out infinite;
}

.programs-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #F39F5F, #E88D4D);
    top: -100px;
    right: 5%;
    animation-delay: 0s;
}

.programs-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #385469, #2C4A5C);
    bottom: -80px;
    left: 8%;
    animation-delay: 5s;
}

.programs-shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #FFB84D, #FFA500);
    top: 40%;
    left: 3%;
    animation-delay: 10s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(-50px) rotate(-5deg); }
    75% { transform: translateY(-30px) rotate(3deg); }
}

/* Container */
.programs-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.programs-header {
    text-align: center;
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.programs-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.programs-tagline {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #F39F5F;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    padding: 0 30px;
}

.programs-tagline::before,
.programs-tagline::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 2px;
    background: #F39F5F;
}

.programs-tagline::before {
    left: 0;
}

.programs-tagline::after {
    right: 0;
}

.programs-main-heading {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: #385469;
    margin-bottom: 20px;
    font-family: 'Quicksand', sans-serif;
}

.programs-main-heading .highlight {
    color: #F39F5F;
    position: relative;
    display: inline-block;
}

.programs-main-heading .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(243, 159, 95, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.programs-subtitle {
    font-size: 19px;
    line-height: 1.7;
    color: #5C707E;
    max-width: 700px;
    margin: 0 auto;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 60px;
}

/* Individual Program Card */
.program-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.program-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #F39F5F, #E88D4D);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(243, 159, 95, 0.25);
    border-color: rgba(243, 159, 95, 0.3);
}

/* Program Card Background Gradient */
.program-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.08;
    transition: all 0.6s ease;
}

.program-card:nth-child(1) .program-card-bg {
    background: linear-gradient(135deg, #F39F5F, #FFB84D);
}

.program-card:nth-child(2) .program-card-bg {
    background: linear-gradient(135deg, #385469, #5A6C7D);
}

.program-card:hover .program-card-bg {
    transform: scale(1.5);
    opacity: 0.12;
}

/* Program Icon */
.program-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 30px;
    z-index: 2;
}

.program-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, #F39F5F, #E88D4D);
    opacity: 0.15;
    transition: all 0.4s ease;
}

.program-card:hover .program-icon-bg {
    transform: rotate(10deg) scale(1.1);
    opacity: 0.25;
}

.program-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #F39F5F;
    transition: all 0.4s ease;
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Program Content */
.program-content {
    position: relative;
    z-index: 2;
}

.program-age-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(243, 159, 95, 0.15), rgba(232, 141, 77, 0.15));
    border: 1.5px solid rgba(243, 159, 95, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #E88D4D;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.program-card:hover .program-age-badge {
    background: linear-gradient(135deg, rgba(243, 159, 95, 0.25), rgba(232, 141, 77, 0.25));
    border-color: #F39F5F;
    transform: translateX(5px);
}

.program-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: #385469;
    margin-bottom: 18px;
    font-family: 'Quicksand', sans-serif;
    transition: color 0.3s ease;
}

.program-card:hover .program-title {
    color: #2C4A5C;
}

.program-description {
    font-size: 17px;
    line-height: 1.8;
    color: #5C707E;
    margin-bottom: 30px;
}

/* Program Features List */
.program-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.program-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 16px;
    color: #5C707E;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.program-card.visible .program-features li {
    opacity: 1;
    transform: translateX(0);
}

.program-card.visible .program-features li:nth-child(1) { transition-delay: 0.2s; }
.program-card.visible .program-features li:nth-child(2) { transition-delay: 0.3s; }
.program-card.visible .program-features li:nth-child(3) { transition-delay: 0.4s; }

.program-features li .icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F39F5F, #E88D4D);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.program-features li .icon i {
    font-size: 12px;
    color: white;
}

/* Program CTA Button */
.program-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 38px;
    background: linear-gradient(135deg, #F39F5F, #E88D4D);
    color: white;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(243, 159, 95, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.program-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E88D4D, #D67A3A);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-cta:hover::before {
    opacity: 1;
}

.program-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(243, 159, 95, 0.45);
}

.program-cta i {
    font-size: 18px;
    transition: transform 0.4s ease;
}

.program-cta:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .programs-premium-section {
        padding: 80px 0;
    }

    .programs-main-heading {
        font-size: 42px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .program-card {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .programs-premium-section {
        padding: 60px 0;
    }

    .programs-header {
        margin-bottom: 50px;
    }

    .programs-main-heading {
        font-size: 36px;
    }

    .programs-subtitle {
        font-size: 17px;
    }

    .program-title {
        font-size: 28px;
    }

    .program-description {
        font-size: 16px;
    }

    .program-card {
        padding: 35px 25px;
    }

    .programs-bg-shape {
        opacity: 0.04;
    }
}

@media (max-width: 480px) {
    .programs-main-heading {
        font-size: 30px;
    }

    .program-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .program-icon {
        font-size: 32px;
    }

    .program-title {
        font-size: 24px;
    }

    .program-cta {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
    }
}
