/* ===== EXPLORE OUR PROGRAMS SECTION ===== */

.programs-section {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 50%, #ffffff 100%);
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 76, 107, 0.06), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.programs-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.08), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.programs-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* === SECTION HEADER === */
.programs-header {
    text-align: center;
    margin-bottom: 60px;
}

.programs-badge {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.1), rgba(27, 156, 252, 0.08));
    border: 1px solid rgba(245, 130, 32, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #F58220;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.programs-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #0F4C6B;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.programs-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F58220, #1b9cfc, #F58220);
    border-radius: 2px;
    animation: titleUnderline 3s ease-in-out infinite;
}

@keyframes titleUnderline {
    0%, 100% { width: 80px; }
    50% { width: 120px; }
}

.programs-subtitle {
    font-size: 16px;
    color: #555;
    font-weight: 400;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* === PROGRAMS GRID === */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

/* === PROGRAM CARD === */
.program-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(15, 76, 107, 0.08);
    box-shadow: 0 4px 20px rgba(15, 76, 107, 0.06);
    text-decoration: none;
    display: block;
}

.program-card:hover {
    text-decoration: none;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F58220, #1b9cfc, #F58220);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.program-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.03), rgba(27, 156, 252, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(15, 76, 107, 0.15);
    border-color: rgba(245, 130, 32, 0.3);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover::after {
    opacity: 1;
}

/* === CARD ICON === */
.program-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.1), rgba(27, 156, 252, 0.08));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.15), rgba(27, 156, 252, 0.12));
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.2);
}

/* === CARD CONTENT === */
.program-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0F4C6B;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.program-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #F58220;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    pointer-events: none;
}

.program-link::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s ease;
}

.program-card:hover .program-link::after {
    transform: translateX(6px);
}

.program-link:hover {
    color: #0F4C6B;
}

/* === BOTTOM CTA === */
.programs-cta {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #F58220, #e8740f);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(245, 130, 32, 0.3);
    text-decoration: none;
}

.view-all-btn::after {
    content: '→';
    font-size: 20px;
    transition: transform 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(245, 130, 32, 0.4);
}

.view-all-btn:hover::after {
    transform: translateX(6px);
}

/* === RESPONSIVE DESIGN === */

/* Large Tablet */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .programs-title {
        font-size: 38px;
    }
    
    .programs-subtitle {
        font-size: 15px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .programs-section {
        padding: 70px 16px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-bottom: 40px;
    }
    
    .programs-card {
        padding: 24px 18px;
    }
    
    .programs-title {
        font-size: 32px;
    }
    
    .programs-subtitle {
        font-size: 14px;
    }
    
    .program-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .program-title {
        font-size: 16px;
    }
    
    .program-description {
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .programs-section {
        padding: 60px 12px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .programs-card {
        padding: 20px 14px;
        border-radius: 16px;
    }
    
    .programs-title {
        font-size: 28px;
    }
    
    .programs-badge {
        display: none;
    }
    
    .program-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 14px;
        border-radius: 12px;
    }
    
    .program-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .program-description {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .program-link {
        font-size: 13px;
    }
    
    .view-all-btn {
        padding: 14px 32px;
        font-size: 15px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .programs-section {
        padding: 50px 10px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .programs-card {
        padding: 18px 12px;
    }
    
    .programs-title {
        font-size: 26px;
    }
    
    .program-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .program-title {
        font-size: 13px;
    }
    
    .program-description {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .program-link {
        font-size: 12px;
    }
}
