/* Training Page Styles */

/* Hero Section */
.hero-section {
    height: 40vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('../images/top_training.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Main Content */
.main-content {
    padding: 0;
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
}

.intro-header {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.intro-header p {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.intro-text h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 1rem;
}

.intro-text p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.intro-text strong {
    color: #3182ce;
    font-weight: bold;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background-color: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #4a5568;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    background-color: #ebf8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: #3182ce;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Programs Section */
.programs-section {
    padding: 80px 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.program-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 2rem;
    position: relative;
}

.program-card.recommended {
    border-color: #3182ce;
    background-color: #ebf8ff;
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3182ce;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.program-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.program-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.875rem;
    font-weight: bold;
    color: #3182ce;
    margin-bottom: 0.5rem;
}

.program-details {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.4;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-features li {
    display: flex;
    align-items: flex-start;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.program-features i {
    color: #48bb78;
    margin-right: 0.5rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.program-note {
    text-align: center;
    margin-top: 3rem;
}

.note-box {
    background-color: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.note-box h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 1rem;
}

.note-content {
    text-align: left;
    color: #374151;
}

.note-content p {
    margin-bottom: 0.5rem;
}

.program-footer {
    color: #4a5568;
}

/* Industries Section */
.industries-section {
    padding: 80px 0;
    background-color: #f7fafc;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.industry-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.industry-card i {
    font-size: 1.5rem;
    color: #3182ce;
    margin-bottom: 0.5rem;
}

.industry-card div {
    font-weight: 500;
    color: #1a202c;
}

/* Facilities Section */
.facilities-section {
    padding: 80px 0;
}

.table-container {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.facilities-table {
    width: 100%;
    border-collapse: collapse;
}

.facilities-table thead {
    background-color: #3182ce;
    color: white;
}

.facilities-table th,
.facilities-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.facilities-table th {
    font-weight: 600;
}

.facilities-table tbody tr:hover {
    background-color: #f7fafc;
}

.facilities-table td:first-child {
    font-weight: 500;
    color: #1a202c;
}

.facilities-table td:last-child {
    color: #374151;
}

.table-note {
    text-align: center;
}

.table-note p {
    color: #4a5568;
}

/* Application Section */
.application-section {
    padding: 80px 0;
}

.form-container {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group select {
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    appearance: none;
}

.form-group textarea {
    resize: none;
}

.char-count {
    text-align: right;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
    cursor: pointer;
    background-color: #3182ce;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border: none;
    min-width: 200px;
}

.submit-btn:hover {
    background-color: #2c5aa0;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-header h2,
    .section-header h2 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .facilities-table {
        font-size: 0.875rem;
    }
    
    .facilities-table th,
    .facilities-table td {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .intro-section,
    .benefits-section,
    .programs-section,
    .industries-section,
    .facilities-section,
    .application-section {
        padding: 60px 0;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .facilities-table {
        min-width: 600px;
    }
}