/* upcoming-trainings.css */
:root {
    --ut-primary: #0f203c;
    --ut-gold: #d4af37;
    --ut-red: #c8102e;
    --ut-light: #f8fafc;
    --ut-border: #e2e8f0;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    color: white;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    font-family: "Playfair Display", serif;
}

.page-hero p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.upcoming-trainings-page {
    padding: 50px 0;
    background-color: #f1f5f9;
}

.training-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: #e2e8f0;
    color: #475569;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover {
    background: #cbd5e1;
    color: var(--ut-primary);
}

.tab-btn.active {
    background: var(--ut-primary);
    color: #fff;
    box-shadow: 0 8px 15px rgba(15, 32, 60, 0.3);
}

.tab-content {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.training-course-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--ut-border);
}

.course-header {
    background: var(--ut-primary);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.course-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.course-badges .badge {
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-red { background: var(--ut-red); color: white; }
.badge-blue { background: #3b82f6; color: white; }

.course-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--ut-gold);
    margin-bottom: 10px;
    line-height: 1.2;
    text-transform: uppercase;
}

.course-subtitle {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

.course-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-bottom: 1px solid var(--ut-border);
}

.meta-item {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 1px solid var(--ut-border);
    justify-content: center;
}
.meta-item:last-child { border-right: none; }

.meta-item i {
    font-size: 1.8rem;
    color: var(--ut-primary);
    opacity: 0.8;
}

.meta-text {
    display: flex;
    flex-direction: column;
}

.meta-text strong {
    font-size: 0.85rem;
    color: var(--ut-red);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.meta-text span {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
}

.course-highlights-box {
    margin: 25px;
    padding: 20px;
    background: var(--ut-light);
    border-radius: 10px;
    border-left: 5px solid var(--ut-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.highlight-main {
    flex: 1;
}

.highlight-main h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ut-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.highlight-main .text-red {
    color: var(--ut-red);
    font-weight: 700;
    font-size: 0.95rem;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlight-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #475569;
    font-size: 0.95rem;
}

.highlight-list li i {
    color: var(--ut-gold);
    font-size: 1.2rem;
}

.course-split-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    padding: 0 25px 25px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ut-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--ut-gold);
    padding-bottom: 8px;
    display: inline-block;
}

.module-card {
    background: var(--ut-light);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--ut-border);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #cbd5e1;
}

.module-header h4 {
    color: #16a34a;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0;
    text-transform: uppercase;
}

.module-duration {
    background: var(--ut-primary);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.module-card ol {
    margin: 0;
    padding-left: 20px;
    color: #334155;
    font-weight: 500;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faculty-group {
    margin-bottom: 30px;
}

.group-title {
    background: var(--ut-primary);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
}

.faculty-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--ut-border);
    border-radius: 10px;
    margin-bottom: 12px;
    transition: transform 0.3s;
}

.faculty-card:hover {
    transform: translateX(8px);
    border-color: var(--ut-gold);
}

.primary-faculty {
    background: #fffbea;
    border-color: var(--ut-gold);
}

.faculty-img {
    width: 50px;
    height: 50px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #94a3b8;
}

.faculty-info h5 {
    color: var(--ut-red);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.faculty-info p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

.course-registration {
    background: var(--ut-primary);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.reg-title {
    color: var(--ut-gold);
    font-size: 1.4rem;
    font-weight: 800;
}

.reg-contacts {
    display: flex;
    gap: 30px;
}

.contact-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-person i {
    font-size: 1.5rem;
    color: white;
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-person div {
    display: flex;
    flex-direction: column;
}

.contact-person span {
    color: #cbd5e1;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.contact-person a {
    color: var(--ut-gold);
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-person a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .course-split-layout {
        grid-template-columns: 1fr;
    }
    .course-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .course-header h2 {
        font-size: 1.8rem;
    }
    .course-meta-grid {
        grid-template-columns: 1fr;
    }
    .meta-item {
        border-right: none;
        border-bottom: 1px solid var(--ut-border);
    }
    .course-highlights-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .reg-contacts {
        flex-direction: column;
        gap: 15px;
    }
}

/* Coming Soon Card Styles */
.coming-soon-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--ut-border);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coming-soon-icon {
    width: 70px;
    height: 70px;
    background: #fdf8e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.coming-soon-icon i {
    font-size: 2.5rem;
    color: var(--ut-gold);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.coming-soon-title {
    font-size: 1.8rem !important;
    color: var(--ut-primary) !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
    border-bottom: none !important; /* Fix for global style.css aggressive rule */
    display: block !important;
}

.coming-soon-text {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.coming-soon-text strong {
    color: var(--ut-primary);
    font-weight: 700;
}

.btn-notify {
    background: var(--ut-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(15, 32, 60, 0.2);
}

.btn-notify:hover {
    background: var(--ut-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}
