/* Program Info Modal Styles */
.program-info-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.program-info-modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.program-info-modal-header {
    background: linear-gradient(135deg, #5ba17a 0%, #4a8c6a 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.program-info-modal-header h2 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 600;
}

.program-info-modal-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.close-program-info {
    position: absolute;
    top: 20px;
    right: 25px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-program-info:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.program-info-modal-body {
    padding: 30px;
}

.program-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.program-header h3 {
    color: #5ba17a;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.program-header p {
    color: #666;
    font-style: italic;
    font-size: 18px;
    margin-bottom: 15px;
}

.program-duration {
    background: #5ba17a;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
}

.program-description,
.program-schedule,
.program-includes,
.program-benefits,
.program-conclusion,
.program-pricing {
    margin-bottom: 25px;
}

.program-description h4,
.program-schedule h4,
.program-includes h4,
.program-benefits h4,
.program-pricing h4 {
    color: #5ba17a;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.program-description h4::before {
    content: "📋";
    font-size: 18px;
}

.program-schedule h4::before {
    content: "⏰";
    font-size: 18px;
}

.program-includes h4::before {
    content: "✨";
    font-size: 18px;
}

.program-benefits h4::before {
    content: "🌟";
    font-size: 18px;
}

.program-pricing h4::before {
    content: "💰";
    font-size: 18px;
}

.program-description p,
.program-schedule p,
.program-conclusion p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

.program-includes ul,
.program-benefits ul {
    list-style: none;
    padding: 0;
}

.program-includes li,
.program-benefits li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
}

.program-includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #5ba17a;
    font-weight: bold;
    font-size: 16px;
}

.program-benefits li::before {
    content: "🎯";
    position: absolute;
    left: 0;
    font-size: 14px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.price-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.price-item:hover {
    border-color: #5ba17a;
    background: #f0f8f4;
}

.price-label {
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.price-amount {
    font-weight: 600;
    color: #5ba17a;
    font-size: 16px;
}

.program-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-book-program,
.btn-contact-program {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-book-program {
    background: #5ba17a;
    color: white;
}

.btn-book-program:hover {
    background: #4a8c6a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 161, 122, 0.3);
}

.btn-contact-program {
    background: transparent;
    color: #5ba17a;
    border: 2px solid #5ba17a;
}

.btn-contact-program:hover {
    background: #5ba17a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 161, 122, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .program-info-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .program-info-modal-header {
        padding: 20px;
    }
    
    .program-info-modal-header h2 {
        font-size: 20px;
    }
    
    .program-info-modal-header p {
        font-size: 14px;
    }
    
    .program-info-modal-body {
        padding: 20px;
    }
    
    .program-header h3 {
        font-size: 22px;
    }
    
    .program-header p {
        font-size: 16px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .program-actions {
        flex-direction: column;
    }
    
    .btn-book-program,
    .btn-contact-program {
        width: 100%;
        justify-content: center;
    }
}

/* Scrollbar Styling */
.program-info-modal-content::-webkit-scrollbar {
    width: 8px;
}

.program-info-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.program-info-modal-content::-webkit-scrollbar-thumb {
    background: #5ba17a;
    border-radius: 10px;
}

.program-info-modal-content::-webkit-scrollbar-thumb:hover {
    background: #4a8c6a;
}

/* Loading State */
.program-info-loading {
    text-align: center;
    padding: 50px;
    color: #666;
}

.program-info-loading i {
    font-size: 30px;
    color: #5ba17a;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}