/**
 * Telemantor Training Widget Styles
 */

.tm-training-widget {
    padding: 80px 0;
    background: #fff;
}

.tm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tm-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tm-section-title {
    font-size: 2.5rem;
    color: #1B3A5F;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.tm-section-subtitle {
    font-size: 1.2rem;
    color: #6C757D;
    margin: 0;
}

.tm-training-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.tm-training-why h3,
.tm-training-programs h3 {
    font-size: 2rem;
    color: #1B3A5F;
    margin-bottom: 30px;
    font-weight: 600;
}

.tm-training-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tm-training-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
    animation: tm-fadeInUp 0.6s ease forwards;
}

.tm-training-feature:nth-child(1) { animation-delay: 0.1s; }
.tm-training-feature:nth-child(2) { animation-delay: 0.2s; }
.tm-training-feature:nth-child(3) { animation-delay: 0.3s; }
.tm-training-feature:nth-child(4) { animation-delay: 0.4s; }

@keyframes tm-fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tm-training-feature-icon {
    width: 60px;
    height: 60px;
    background: #1B3A5F;
    color: #D4AF76;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tm-training-feature-icon i,
.tm-training-feature-icon svg {
    font-size: 1.5rem;
}

.tm-training-feature-content h4 {
    font-size: 1.2rem;
    color: #1B3A5F;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.tm-training-feature-content p {
    font-size: 0.95rem;
    color: #6C757D;
    line-height: 1.6;
    margin: 0;
}

.tm-program-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.tm-program-card {
    background: #F8F9FA;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: tm-fadeInUp 0.6s ease forwards;
}

.tm-program-card:nth-child(1) { animation-delay: 0.1s; }
.tm-program-card:nth-child(2) { animation-delay: 0.2s; }
.tm-program-card:nth-child(3) { animation-delay: 0.3s; }
.tm-program-card:nth-child(4) { animation-delay: 0.4s; }

.tm-program-card:hover {
    border-color: #D4AF76;
    box-shadow: 0 5px 20px rgba(27, 58, 95, 0.1);
    transform: translateY(-3px);
}

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

.tm-program-header i,
.tm-program-header svg {
    color: #D4AF76;
    font-size: 1.3rem;
}

.tm-program-header h4 {
    font-size: 1.2rem;
    color: #1B3A5F;
    margin: 0;
    font-weight: 600;
}

.tm-program-card > p {
    font-size: 0.95rem;
    color: #6C757D;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tm-program-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tm-program-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #2C3E50;
}

.tm-program-highlights i {
    color: #D4AF76;
    font-size: 0.8rem;
}

.tm-training-formats {
    background: #1B3A5F;
    padding: 25px;
    border-radius: 10px;
    color: #fff;
}

.tm-training-formats h4 {
    color: #D4AF76;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.tm-formats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tm-format-badge {
    background: rgba(212, 175, 118, 0.2);
    border: 1px solid #D4AF76;
    color: #D4AF76;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tm-format-badge i,
.tm-format-badge svg {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tm-training-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .tm-training-widget {
        padding: 60px 0;
    }
    
    .tm-training-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tm-section-title {
        font-size: 2rem;
    }
    
    .tm-section-subtitle {
        font-size: 1.1rem;
    }
    
    .tm-training-why h3,
    .tm-training-programs h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    .tm-training-widget {
        padding: 40px 0;
    }
    
    .tm-section-title {
        font-size: 1.75rem;
    }
    
    .tm-section-subtitle {
        font-size: 1rem;
    }
    
    .tm-training-why h3,
    .tm-training-programs h3 {
        font-size: 1.5rem;
    }
    
    .tm-training-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tm-program-highlights {
        grid-template-columns: 1fr;
    }
    
    .tm-formats {
        flex-direction: column;
    }
}

/* Elementor Editor Styles */
.elementor-element .tm-training-widget {
    min-height: 300px;
}

/* Animation control in editor */
.elementor-editor-active .tm-training-feature,
.elementor-editor-active .tm-program-card {
    opacity: 1;
    transform: translateY(0);
}
