/* Training Page Styles */

/* Hero Section */
.training-hero {
    position: relative;
    height: 100vh;
    background: url('../images/advance_tech.png') center/cover;
    display: flex;
    align-items: center;
    color: white;
}



.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #ff6b35;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Training Overview */
.training-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-left h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.overview-left p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
}

.training-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

.overview-right img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Training Videos */
.training-videos {
    padding: 80px 0;
    background: white;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 107, 53, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-overlay:hover {
    background: #ff6b35;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay i {
    color: white;
    font-size: 24px;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.video-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.watch-btn {
    background: linear-gradient(135deg, #2c5aa0, #ff6b35);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Training Programs */
.training-programs {
    padding: 80px 0;
    background: #f8f9fa;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.program-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5aa0, #ff6b35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-icon i {
    color: white;
    font-size: 24px;
}

.program-header h3 {
    font-size: 1.4rem;
    color: #2c5aa0;
}

.program-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.program-details {
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #666;
}

.detail-item i {
    color: #ff6b35;
    width: 16px;
}

.program-btn {
    background: linear-gradient(135deg, #2c5aa0, #ff6b35);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.program-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* No Content Messages */
.no-videos-message, .no-programs-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-videos-message i, .no-programs-message i {
    font-size: 4rem;
    color: #ff6b35;
    margin-bottom: 20px;
}

.no-videos-message h3, .no-programs-message h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 15px;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal .modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 70%;
    background: black;
    border-radius: 10px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
}

.video-container {
    width: 100%;
    height: 100%;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 250px;
        justify-content: center;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .training-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .videos-grid, .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .video-modal .modal-content {
        width: 95%;
        height: 60%;
    }
}

@media (max-width: 480px) {
    .training-hero {
        height: 80vh;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .overview-left h2 {
        font-size: 2rem;
    }
    
    .video-card, .program-card {
        margin: 0 10px;
    }
}