:root {
    --card-bg: #131a28;
    --card-border: #1e293b;
    --text-highlight: #ff4d4d;
    --primary-purple: #6f42c1;
    --primary-green: #20c997;
    --primary-orange: #fd7e14;
    --primary-red: #ff0606;
}

/* General Section Styling */
.training-content-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Day Badges */
.day-badge {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.day-1 { background: linear-gradient(135deg, var(--primary-purple), #4a1f8f); color: #fff; }
.day-2 { background: linear-gradient(135deg, var(--primary-green), #17a2b8); color: #fff; }
.day-3 { background: linear-gradient(135deg, var(--primary-orange), #dc3545); color: #fff; }

/* Module Styling */
.module-item {
    margin-bottom: 1.5rem;
    border-left: 3px solid rgba(255,255,255,0.1);
    padding-left: 1.5rem;
    transition: border-color 0.3s;
}
.module-item:hover {
    border-left-color: var(--text-highlight);
}

.module-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.module-title i { margin-right: 10px; color: var(--text-highlight); }

.module-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.module-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 0.95rem;
}
.module-list li::before {
    content: '•';
    color: var(--primary-purple);
    position: absolute;
    left: 0;
    top: 0px;
}

/* Sub-module box */
.sub-module-box {
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Info Cards */
.info-card {
    background: rgba(111, 66, 193, 0.1);
    border: 1px solid rgba(111, 66, 193, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
}
.info-card h5 {
    color: var(--primary-purple);
    margin-bottom: 10px;
    font-weight: 700;
}

/* Sidebar Styling */
.event-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-widget {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}
.sidebar-header {
    background: linear-gradient(135deg, var(--text-highlight), #b91c1c);
    padding: 1.2rem;
    text-align: center;
}
.sidebar-header h4 { margin: 0; color: #fff; font-weight: 700; }

.sidebar-body { padding: 1.5rem; }

.info-list-custom li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
}
.info-list-custom li:last-child { border-bottom: none; }
.info-list-custom .label { color: #94a3b8; }
.info-list-custom .value { color: #fff; font-weight: 600; text-align: right; }

/* Trainer Card */
.trainer-card-custom {
    text-align: center;
    padding: 2rem;
}
.trainer-img-custom {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--text-highlight);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-sidebar { position: relative; top: 0; }
    .training-content-card { padding: 1.5rem; }
}





.speaker-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.speaker-img {
    width: 120px;
    border-radius: 12px;
}

.speaker-info h3 {
    margin: 0;
    font-size: 22px;
}

.role {
    color: #94a3b8;
    margin-bottom: 10px;
}

.bio {
    font-size: 14px;
    line-height: 1.6;
}

.sessions {
    margin-top: 20px;
}

.session-card {
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 3px solid #38bdf8;
    transition: 0.3s;
}

.session-card:hover {
    background: #131a28;
    transform: translateX(5px);
}

.session-date {
    font-size: 12px;
    color: #94a3b8;
}

.session-time {
    font-size: 13px;
    color: #38bdf8;
}

.session-title, .session-title a {
    font-weight: 600;
    margin-top: 4px;
    color:var(--main-600);
}
.sessions-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

/* META BELOW IMAGE */
.speaker-meta {
    margin-top: 10px;
    text-align: left;
}

.speaker-meta p {
    margin: 2px 0;
    font-size: 14px;
}

.speaker-meta h6 {
    font-size: 16px;
    font-weight: 600;
}

.speaker-content {
    line-height: 1.8;
    text-align: justify;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
.speaker-left {
    float: left;
    width: 200px;
    margin-right: 25px;
    margin-bottom: 10px;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    

    .speaker-img-wrap {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .speaker-left {
        float: none;
        width: 100%;
        margin-right: 0;
    }
}
    
        .module-time {
            margin-left: auto;
            font-size: 0.85rem;
            font-weight: 300;
            white-space: nowrap;
        }

        /* Color variants */
        .module-time.blue {
            color: #3b82f6;
        }

        .module-time.orange {
            color: #f97316;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .event-sidebar { position: relative; top: 0; }
            .training-content-card { padding: 1.5rem; }
        }