/* Training-specific CSS */

/* Training Hero Section */
.training-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-orange) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.training-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.training-hero .container {
    position: relative;
    z-index: 2;
}

.training-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.training-hero-image img {
    transition: transform 0.3s ease;
}

.training-hero-image img:hover {
    transform: scale(1.05);
}

/* Course Cards */
.course-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.course-card h4 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.course-card ul li {
    padding: 0.5rem 0;
    color: var(--secondary-color);
    border-bottom: 1px solid #f8f9fa;
}

.course-card ul li:last-child {
    border-bottom: none;
}

/* Feature Boxes */
.feature-box {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-box h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-box p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Curriculum Modules */
.curriculum-module {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.curriculum-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.module-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.module-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.module-header h4 {
    color: var(--dark-color);
    margin-bottom: 0;
    font-weight: 600;
}

.module-content {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-content li {
    padding: 0.5rem 0;
    color: var(--secondary-color);
    position: relative;
    padding-left: 1.5rem;
}

.module-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Instructor Card */
.instructor-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.instructor-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-color);
}

.instructor-card h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.instructor-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.instructor-subtitle {
    color: var(--secondary-color);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.instructor-bio {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.instructor-credentials .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

/* Stat Boxes */
.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-weight: 500;
}

/* Enrollment Card */
.enrollment-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.enrollment-card h4 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
    font-weight: 600;
}

.enrollment-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .training-hero h1 {
        font-size: 2.5rem;
    }
    
    .module-header {
        flex-direction: column;
        text-align: center;
    }
    
    .module-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .instructor-image {
        width: 120px;
        height: 120px;
    }
    
    .stat-box h3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .training-hero h1 {
        font-size: 2rem;
    }
    
    .curriculum-module,
    .course-card,
    .instructor-card {
        padding: 1.5rem;
    }
    
    .enrollment-card {
        padding: 1.5rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
}

/* Animation for curriculum modules */
.curriculum-module {
    animation: fadeInUp 0.6s ease-out;
}

.curriculum-module:nth-child(1) { animation-delay: 0.1s; }
.curriculum-module:nth-child(2) { animation-delay: 0.2s; }
.curriculum-module:nth-child(3) { animation-delay: 0.3s; }
.curriculum-module:nth-child(4) { animation-delay: 0.4s; }
.curriculum-module:nth-child(5) { animation-delay: 0.5s; }
.curriculum-module:nth-child(6) { animation-delay: 0.6s; }

/* Hover effects for interactive elements */
.training-card:hover,
.course-card:hover,
.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Lab Features */
.lab-feature {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

.lab-feature:hover {
    transform: translateY(-5px);
}

.lab-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lab-feature h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.lab-feature p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.lab-image img {
    transition: transform 0.3s ease;
}

.lab-image img:hover {
    transform: scale(1.05);
}

/* Project Cards */
.project-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
}

.project-icon i {
    font-size: 2rem;
    color: white;
}

.project-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.project-tech li {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Prompt Examples */
.prompt-example {
    text-align: center;
}

.prompt-example h5 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.prompt-box {
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.prompt-box.basic {
    background: #ffe6e6;
    border: 2px solid #ff6b6b;
    color: #d63031;
}

.prompt-box.advanced {
    background: #e6f7e6;
    border: 2px solid #00b894;
    color: #00a085;
}

.prompt-result {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 0;
}

/* Custom scrollbar for training pages */
.training-hero::-webkit-scrollbar {
    width: 8px;
}

.training-hero::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.training-hero::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.training-hero::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
