/* COMPANY TRAINING PAGE COMPONENTS */

/* Training hero section */
.training-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.training-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="training" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23training)"/></svg>');
}

.training-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.training-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.training-stats .stat-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.training-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.25);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Training categories */
.training-categories {
    padding: 5rem 0;
    background: #f8fafc;
}

.training-categories h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.categories-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border-top: 6px solid;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.category-card.basic {
    border-top-color: #10b981;
}

.category-card.advanced {
    border-top-color: #f59e0b;
}

.category-card.expert {
    border-top-color: #8b5cf6;
}

.category-card.custom {
    border-top-color: #3b82f6;
}

.popular-badge {
    position: absolute;
    top: -6px;
    right: 20px;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
    z-index: 1;
}

.category-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-bottom: 1px solid #e5e7eb;
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.category-header h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.category-level {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.basic .category-level {
    background: #10b981;
}

.advanced .category-level {
    background: #f59e0b;
}

.expert .category-level {
    background: #8b5cf6;
}

.custom .category-level {
    background: #3b82f6;
}

.category-content {
    padding: 2rem;
}

.category-description {
    margin-bottom: 2rem;
}

.category-description p {
    color: #64748b;
    line-height: 1.6;
}

.category-topics h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-topics ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.category-topics li {
    color: #374151;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
}

.category-topics li:before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.75rem;
}

.category-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.detail-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.category-actions {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    border-top: 1px solid #e5e7eb;
    background: #fafbfc;
}

.category-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.category-btn.primary {
    background: var(--accent-color);
    color: white;
}

.category-btn.primary:hover {
    background: #0369a1;
    transform: translateY(-2px);
}

.category-btn.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.category-btn.secondary:hover {
    background: var(--accent-color);
    color: white;
}

/* Training catalog */
.training-catalog {
    padding: 5rem 0;
}

.training-catalog h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.catalog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #64748b;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    width: 300px;
    outline: none;
    font-size: 1rem;
}

.search-box input:focus {
    border-color: var(--accent-color);
}

.search-icon {
    position: absolute;
    right: 1rem;
    color: #64748b;
    pointer-events: none;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.course-card.basic {
    border-left-color: #10b981;
}

.course-card.advanced {
    border-left-color: #f59e0b;
}

.course-card.expert {
    border-left-color: #8b5cf6;
}

.course-card.certification {
    border-left-color: #dc2626;
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 0 0 0 8px;
    z-index: 1;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.course-code {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.course-level {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.course-level.basic {
    background: #10b981;
}

.course-level.advanced {
    background: #f59e0b;
}

.course-level.expert {
    background: #8b5cf6;
}

.course-level.certification {
    background: #dc2626;
}

.course-content {
    padding: 1.5rem;
}

.course-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.course-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.course-specs {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 6px;
}

.spec-label {
    color: #64748b;
    font-size: 0.9rem;
}

.spec-value {
    color: var(--primary-color);
    font-weight: 600;
}

.course-topics-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.topic-tag {
    background: #e2e8f0;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #fafbfc;
}

.course-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.course-btn.primary {
    background: var(--accent-color);
    color: white;
}

.course-btn.primary:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

.course-btn.secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid #e5e7eb;
}

.course-btn.secondary:hover {
    background: #f8fafc;
    border-color: var(--accent-color);
}

/* Training formats */
.training-formats {
    padding: 5rem 0;
    background: #f8fafc;
}

.training-formats h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.format-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.format-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.format-card.popular {
    border: 2px solid var(--accent-color);
}

.popular-label {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.format-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.format-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.format-description {
    margin-bottom: 2rem;
}

.format-description p {
    color: #64748b;
    line-height: 1.6;
}

.format-benefits {
    text-align: left;
    margin-bottom: 2rem;
}

.format-benefits h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.format-benefits ul {
    list-style: none;
    padding: 0;
}

.format-benefits li {
    color: #374151;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.format-benefits li:before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.75rem;
}

.format-pricing {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.price-note {
    color: #64748b;
    font-size: 0.9rem;
}

.format-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.format-btn:hover {
    background: #0369a1;
    transform: translateY(-2px);
}

/* Training calendar */
.training-calendar {
    padding: 5rem 0;
}

.training-calendar h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calendar-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-btn:hover {
    background: #0369a1;
}

.current-month {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.calendar-day {
    background: white;
    padding: 1rem;
    min-height: 80px;
    position: relative;
    transition: all 0.3s ease;
}

.calendar-day:hover {
    background: #f8fafc;
}

.calendar-day.other-month {
    background: #f8fafc;
    color: #94a3b8;
}

.calendar-day.has-course {
    background: #dbeafe;
    cursor: pointer;
}

.calendar-day.has-course:hover {
    background: #bfdbfe;
}

.day-number {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.course-indicator {
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.upcoming-courses {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem;
}

.upcoming-courses h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.course-timeline {
    display: grid;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.timeline-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--accent-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    min-width: 60px;
}

.date-day {
    font-size: 1.5rem;
    font-weight: bold;
}

.date-month {
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.timeline-details .detail {
    color: #64748b;
    font-size: 0.9rem;
}

.timeline-actions {
    display: flex;
    gap: 1rem;
}

.timeline-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.timeline-btn:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

/* Training testimonials */
.training-testimonials {
    padding: 5rem 0;
    background: #f8fafc;
}

.training-testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.testimonial-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.testimonial-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

.rating-score {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    color: #374151;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.author-info strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #64748b;
    font-size: 0.9rem;
}

.author-course {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonials-stats {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 3rem;
}

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

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

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: #64748b;
    font-size: 1rem;
}

/* Training CTA */
.training-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.training-cta .cta-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.training-cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.training-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
}

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

.cta-option {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-option:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.cta-option h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-option p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-width: 200px;
}

.cta-btn.primary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.cta-btn.primary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.cta-btn.secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.cta-btn.accent {
    background: #fbbf24;
    color: var(--primary-color);
    border: 2px solid #fbbf24;
}

.cta-btn.accent:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.cta-guarantee {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
}

.cta-guarantee h4 {
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

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

.guarantee-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.guarantee-item strong {
    color: white;
    margin-bottom: 0.25rem;
}

.guarantee-item span {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .training-hero h1 {
        font-size: 2rem;
    }
    
    .training-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .categories-grid {
        gap: 1.5rem;
    }
    
    .category-actions {
        flex-direction: column;
    }
    
    .catalog-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .formats-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        grid-template-columns: 1fr;
    }
    
    .guarantee-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .training-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .category-details {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-details {
        justify-content: center;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
