/* ===== TRAINING CENTERS PAGE STYLES ===== */
.training-main {
    margin-top: 140px;
    min-height: calc(100vh - 140px);
    background-color: #f5f5f5;
    padding: 40px 20px 60px;
}

.training-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Section */
.training-header {
    background-color: white;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.training-header h1 {
    font-size: 36px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.training-header h1 i {
    margin-right: 10px;
    color: #024f9c;
}

.training-header p {
    font-size: 18px;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Section */
.filter-section {
    background-color: white;
    padding: 40px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.filter-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
}

.filter-section h3 i {
    margin-right: 8px;
    color: #024f9c;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: #495057;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    background-color: #e9ecef;
    border-color: #024f9c;
    color: #024f9c;
    transform: none;
}

.filter-btn.active {
    background: linear-gradient(135deg, #042240 0%, #024f9c 100%);
    color: white;
    border-color: #024f9c;
}

.filter-btn i {
    font-size: 16px;
}

/* Centers Section */
.centers-section {
    background-color: white;
    padding: 40px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.centers-count {
    font-size: 14px;
    color: #6c757d;
    background-color: #f8f9fa;
    padding: 8px 16px;
    border-radius: 4px;
}

.centers-count span {
    font-weight: 600;
    color: #024f9c;
}

/* Centers Grid */
.centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* Center Card */
.center-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.center-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #024f9c;
}

.center-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #042240 0%, #024f9c 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.center-badge.featured {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
}

.center-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #042240 0%, #024f9c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.center-card:hover .center-icon {
    background: linear-gradient(135deg, #024f9c 0%, #0080ff 100%);
    transform: scale(1.05);
}

.center-name {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
}

.center-location {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.center-location i {
    color: #024f9c;
}

/* Courses List */
.courses-list {
    margin-bottom: 20px;
    flex: 1;
}

.courses-list h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.courses-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.courses-list li {
    padding: 6px 0;
    font-size: 14px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
}

.courses-list li i {
    color: #024f9c;
    font-size: 12px;
}

/* Center Info */
.center-info {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6c757d;
}

.info-item i {
    color: #024f9c;
    font-size: 16px;
}

/* Center Contact */
.center-contact {
    margin-bottom: 20px;
    padding: 15px;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.center-contact p {
    margin: 8px 0;
    font-size: 13px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
}

.center-contact i {
    color: #024f9c;
    width: 16px;
}

/* Center Button */
.center-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #042240 0%, #024f9c 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.center-btn:hover {
    background: linear-gradient(135deg, #024f9c 0%, #0080ff 100%);
    transform: none;
    box-shadow: 0 5px 15px rgba(2, 79, 156, 0.4);
}

.center-btn i {
    font-size: 16px;
}

/* Benefits Section */
.benefits-section {
    background-color: white;
    padding: 40px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.benefits-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #dee2e6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 4px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #042240 0%, #024f9c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, #024f9c 0%, #0080ff 100%);
    transform: scale(1.05);
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #042240 0%, #024f9c 100%);
    padding: 60px 40px;
    border-radius: 4px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    background-color: white;
    color: #042240;
    padding: 14px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-btn:hover {
    background-color: #f8f9fa;
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    .training-main {
        margin-top: 120px;
        padding: 30px 15px 40px;
    }
    
    .training-header,
    .filter-section,
    .centers-section,
    .benefits-section,
    .cta-section {
        padding: 30px 20px;
    }
    
    .training-header h1 {
        font-size: 28px;
    }
    
    .training-header p {
        font-size: 16px;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .centers-grid {
        grid-template-columns: 1fr;
    }
    
    .center-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .training-main {
        padding: 20px 10px 30px;
    }
    
    .training-header h1 {
        font-size: 24px;
    }
    
    .center-card {
        padding: 20px 15px;
    }
    
    .center-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}