/* ===============================================
   Programs Section - Vibrant Premium Redesign
   =============================================== */

.programs-section {
    padding: 80px 0;
    min-height: 80vh;
}

/* --- Navigation Tabs (Glassmorphism) --- */
.nav-pills {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 40px;
}

.programs-nav-btn {
    border-radius: 50px !important;
    padding: 12px 25px !important;
    font-weight: 600;
    color: #555 !important;
    background: transparent !important;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.programs-nav-btn i {
    font-size: 1.1rem;
    color: #888;
    transition: all 0.3s ease;
}

.programs-nav-btn:hover {
    background: rgba(0, 0, 0, 0.03) !important;
    color: #333 !important;
    transform: translateY(-2px);
}

.programs-nav-btn.active {
    background: white !important;
    color: #d60046 !important;
    /* Main brand color fallback */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.programs-nav-btn.active i {
    color: inherit;
}

/* --- Program Card Content --- */
.program-card {
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Softer, larger shadow */
    border: none;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

/* Card Header - Gradient */
.program-header {
    background: linear-gradient(135deg, #d60046 0%, #aa0033 100%);
    /* Default */
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.program-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.program-header h3 {
    color: white;
    font-weight: 800;
    font-size: 2rem;
    /* Larger title */
    margin: 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.program-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-top: 10px;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

/* Card Body */
.program-body {
    padding: 50px;
}

.section-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
    position: relative;
    padding-left: 20px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: #ccc;
    /* Placeholder */
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Lighter border */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

.service-card:hover {
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    /* Stronger shadow */
    transform: translateY(-5px);
    border-color: transparent;
}

/* Accent Borders & Icons */
.service-icon-wrapper {
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    /* Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-card h5 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Color Variants */
/* Cyan */
.service-card.item-cyan {
    border-left: 4px solid #4facfe;
}

.service-card.item-cyan .service-icon-wrapper {
    background: rgba(79, 172, 254, 0.1);
    color: #4facfe;
}

.service-card.item-cyan:hover .service-icon-wrapper {
    background: #4facfe;
    color: white;
}

/* Orange */
.service-card.item-orange {
    border-left: 4px solid #ff9966;
}

.service-card.item-orange .service-icon-wrapper {
    background: rgba(255, 153, 102, 0.1);
    color: #ff9966;
}

.service-card.item-orange:hover .service-icon-wrapper {
    background: #ff9966;
    color: white;
}

/* Teal */
.service-card.item-teal {
    border-left: 4px solid #43e97b;
}

.service-card.item-teal .service-icon-wrapper {
    background: rgba(67, 233, 123, 0.1);
    color: #43e97b;
}

.service-card.item-teal:hover .service-icon-wrapper {
    background: #43e97b;
    color: white;
}

/* Indigo */
.service-card.item-indigo {
    border-left: 4px solid #667eea;
}

.service-card.item-indigo .service-icon-wrapper {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.service-card.item-indigo:hover .service-icon-wrapper {
    background: #667eea;
    color: white;
}

/* Red (Brand Color) */
.service-card.item-red {
    border-left: 4px solid #d60046;
}

.service-card.item-red .service-icon-wrapper {
    background: rgba(214, 0, 70, 0.1);
    color: #d60046;
}

.service-card.item-red:hover .service-icon-wrapper {
    background: #d60046;
    color: white;
}

/* Green */
.service-card.item-green {
    border-left: 4px solid #2ecc71;
}

.service-card.item-green .service-icon-wrapper {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.service-card.item-green:hover .service-icon-wrapper {
    background: #2ecc71;
    color: white;
}

/* Purple */
.service-card.item-purple {
    border-left: 4px solid #9b59b6;
}

.service-card.item-purple .service-icon-wrapper {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.service-card.item-purple:hover .service-icon-wrapper {
    background: #9b59b6;
    color: white;
}

/* Pink */
.service-card.item-pink {
    border-left: 4px solid #e84393;
}

.service-card.item-pink .service-icon-wrapper {
    background: rgba(232, 67, 147, 0.1);
    color: #e84393;
}

.service-card.item-pink:hover .service-icon-wrapper {
    background: #e84393;
    color: white;
}


/* Default / Red fallback */
.service-card:not([class*="item-"]) {
    border-left: 4px solid #d60046;
}

.service-card:not([class*="item-"]) .service-icon-wrapper {
    background: rgba(214, 0, 70, 0.1);
    color: #d60046;
}

.service-card:not([class*="item-"]) :hover .service-icon-wrapper {
    background: #d60046;
    color: white;
}


/* Requirements Box */
.requirements-container {
    background: #fff9fa;
    /* Very subtle pink tint as base */
    border-radius: 20px;
    padding: 35px;
    position: relative;
    border: 1px dashed rgba(0, 0, 0, 0.05);
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* 2 columns on large screens */
    gap: 15px;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #555;
    font-size: 1rem;
}

.requirements-list li i {
    color: #2e7d32;
    /* Success green */
    font-size: 1.2rem;
    margin-top: -2px;
}

/* Contact Button Area */
.contact-area {
    margin-top: 50px;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-area p {
    color: #666;
    margin-bottom: 20px;
}

/* --- Gradients for Headers (Matching Workshops/Calls) --- */
/* Cyan */
.header-cyan {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.header-cyan .section-label::before {
    background: #4facfe;
}

/* Orange */
.header-orange {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
}

.header-orange .section-label::before {
    background: #ff9966;
}

/* Teal */
.header-teal {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.header-teal .section-label::before {
    background: #43e97b;
}

/* Indigo */
.header-indigo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.header-indigo .section-label::before {
    background: #667eea;
}

/* Rose/Default */
.header-rose {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
}

/* Ensure text is readable on light gradients like rose/teal? 
   Actually, vibrant gradients usually support white text well, 
   but let's add a slight text-shadow if needed. 
   For now, standard white is fine. 
*/

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-pills {
        flex-direction: column;
        width: 100%;
        border-radius: 20px;
    }

    .programs-nav-btn {
        width: 100%;
        justify-content: center;
    }

    .program-header {
        padding: 30px;
        text-align: center;
    }

    .program-header h3 {
        flex-direction: column;
        font-size: 1.75rem;
    }

    .program-body {
        padding: 30px;
    }
}

/* --- Buttons --- */
.btn-primary-gradient {
    background: linear-gradient(135deg, #d60046 0%, #aa0033 100%);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(214, 0, 70, 0.2);
    display: inline-flex;
    align-items: center;
    border: none;
}

.btn-primary-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(214, 0, 70, 0.3);
    color: white;
}

.btn-outline-secondary {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    border: 2px solid #eee;
    background: white;
    color: #555;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-outline-secondary:hover {
    border-color: #d60046;
    color: #d60046;
    background: white;
}