.primary_clr {
    color: #ec1c3a !important;
}

.secondaryTitle1 {
    font-size: 2.5rem;
}

.course_header .course_description * {
    font-size: var(--fs-secondary-text) !important;
}

/* Hide arrows for input[type=number] in Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide arrows in Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: -30px;
    font-size: 24px;
    cursor: pointer;
}

.level-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--primary-red);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modelEnquiryImageContainer {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.modelEnquiryImage {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.enquiryModelHeading {
    color: black;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.enquiryModelTagLine {
    color: #6c757d;
    font-size: 14px;
    text-align: center;
}

.modelHrLine {
    border: 1px solid #b0acac;
    margin: 10px 0;
}

.enquiryModelContentBody label {
    font-weight: 500;
    margin-top: 10px;
    display: block;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.send-btn {
    width: 100%;
    padding: 12px;
    background-color: #e57373;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
}

.send-btn:hover {
    background-color: #d9534f;
}

.form-check-input:checked {
    background-color: #d62828;
    border-color: #d62828;
}

/* end  */

#pills-course figure {
    width: 100% !important;
    max-height: 400px;
    height: 100%;
}

#pills-course figure img {
    object-fit: contain;
    height: 100%;
}

.rounded-circle {
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icons a {
    transition: all 0.3s ease;
    color: #6c757d;
    font-size: var(--fs-primary-text-1);
}

.social-icons a:hover {
    color: #0d6efd;
    transform: translateY(-2px);
}

.hover-primary:hover {
    color: #0d6efd !important;
}

.section-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


#educator-splide .img_container {
    width: 100px;
    height: 100px;
}

.curriculum-module .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.curriculum-module .accordion-button::after {
    display: none;
}

.space-y-3>*+* {
    margin-top: 0.75rem;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

.course_detail_tab::-webkit-scrollbar {
    display: none;
}

#courseBuyTabs .nav-link.active {
    background-color: var(--primary-clr) !important;
    color: white !important;
}

.w-50 {
    width: 5rem;
}

.h-50 {
    height: 5rem;
}

.w-110 {
    width: 11rem;
}

.h-110 {
    height: 11rem;
}

.hero_section_video {
    object-position: top;
}


/* Enhanced Course Meta Section */
.course_sub_section {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.course_sub_section::-webkit-scrollbar {
    display: none;
}

@keyframes chipEntrance {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.9);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Stats Styele of Course Details */
.meta-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    animation: chipEntrance 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
    cursor: default;
    flex: 1 0 auto;
    white-space: nowrap;
}

.meta-stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.meta-stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.meta-stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.meta-stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.meta-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.05);
}

/* Elegant Tinted Hover States */
.meta-stat-item:hover.rating-item {
    background: #fffdf5;
    border-color: #fef3c7;
}

.meta-stat-item:hover.students-item {
    background: #f0f9ff;
    border-color: #e0f2fe;
}

.meta-stat-item:hover.level-item {
    background: #f0fdf4;
    border-color: #dcfce7;
}

.meta-stat-item:hover.duration-item {
    background: #fdf2f8;
    border-color: #fce7f3;
}

.stat-icon-wrapper {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.meta-stat-item:hover .stat-icon-wrapper {
    transform: scale(1.1);
}

.stat-icon-wrapper.rating {
    background: #fff7ed;
    color: #f97316;
}

.stat-icon-wrapper.students {
    background: #f0f9ff;
    color: #0ea5e9;
}

.stat-icon-wrapper.level {
    background: #f0fdf4;
    color: #22c55e;
}

.stat-icon-wrapper.duration {
    background: #fdf2f8;
    color: #db2777;
}

.stat-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-value {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.2rem;
    line-height: 1.1;
}

.stat-label {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
}

.meta-stat-item:hover .stat-label {
    color: #64748b;
}

/* Sample Cerctificate Area Style */


/* Course Detail Page: Namespaced pricing redesign (Bootstrap 5.3 compatible) */
.vcd53-mode-tabs {
    background: #ffffff;
    border: 1px solid #e8e6ef;
    border-radius: 1.25rem;
    width: 100%;
    padding: 0.5rem;
    box-shadow: 0 8px 30px rgba(18, 15, 42, 0.06);
}

.vcd53-mode-tabs .nav-item {
    flex: 1 1 0;
}

.vcd53-mode-tabs .nav-link {
    border: 0;
    border-radius: 1rem;
    color: #77748a;
    font-size: clamp(1.2rem, 1.3vw, 1.35rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-width: 120px;
    width: 100%;
}

.vcd53-mode-tabs .nav-link.active {
    color: #d62736;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(214, 39, 54, 0.18);
    border-bottom: 3px solid #d62736;
}

/* .vcd53-mode-tabs .tab-btn-subtext{
    font-size: .8rem;
} */
.vcd53-online-cards {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.vcd53-card {
    --vcd53-accent: #ea0b52;
    --vcd53-tint: #fff4f8;
    --vcd53-cta: #ea0b52;
    background: #ffffff;
    border: 1px solid #ebeaf0;
    border-radius: 1.35rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 5px 20px rgba(24, 19, 58, 0.06);
    position: relative;
    /* overflow: hidden;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) minmax(185px, 260px); */
    align-items: center;
    column-gap: 1.15rem;
}

.vcd53-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 170px;
    height: 78px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6) 0 3px, transparent 4px),
        radial-gradient(circle at 75% 75%, rgba(232, 230, 246, 0.95) 0%, transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.vcd53-card__icon-box {
    min-height: 52px;
    width: 78px;
    border-radius: 1.05rem;
    background: var(--vcd53-tint);
    color: var(--vcd53-accent);
    display: grid;
    place-items: center;
    font-size: 3rem;
}

.vcd53-card__icon-box .fa-comment-dots {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px;
}


.vcd53-card__content {
    border-left: 2px solid var(--vcd53-accent);
    padding-left: 1.35rem;
    z-index: 1;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.vcd53-card__title {
    font-size: clamp(1.1rem, 1.55vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0f1032;
    margin-bottom: 0.35rem;
}

.vcd53-card__desc {
    font-size: clamp(0.88rem, 0.95vw, 1.5rem);
    color: #66657a;
    margin: 0;
    line-height: 1.45;
    font-weight: 500;
}

.vcd53-card__price {
    margin: 0;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.4vw, 1.45rem);
    color: var(--vcd53-accent);
}

.vcd53-card__price span {
    color: #68667b;
    font-weight: 600;
    font-size: 0.85em;
}

.vcd53-card__action {
    justify-self: end;
    max-width: 260px;
    z-index: 1;
}

.vcd53-btn {
    border-radius: 10px;
    min-height: 34px;
    padding: 0.5rem 1.15rem;
    font-size: clamp(0.96rem, 0.95vw, 1.08rem);
    font-weight: 700;
    width: 100%;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vcd53-btn:hover {
    transform: translateY(-1px);
}

.vcd53-btn--filled {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 35%), var(--vcd53-cta);
    color: #ffffff !important;
    border: 0;
    box-shadow: 0 10px 22px rgba(17, 22, 42, 0.2);
}

.vcd53-btn--outlined {
    background: #ffffff;
    color: var(--vcd53-cta) !important;
    border: 2px solid var(--vcd53-cta);
    box-shadow: 0 5px 14px rgba(17, 22, 42, 0.08);
}

.vcd53-btn i {
    font-size: 1.1rem;
    line-height: 1;
}

.vcd53-btn__label {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    line-height: 1.1;
    font-size: clamp(0.96rem, 0.95vw, 1.5rem);
}

.vcd53-btn i {
    width: 16px;
    text-align: center;
}

.vcd53-btn--pink {
    --vcd53-cta: #ea0b52;
}

.vcd53-btn--violet {
    --vcd53-cta: #6534f2;
}

.vcd53-btn--blue {
    --vcd53-cta: #1e79ec;
}

.vcd53-btn--green {
    --vcd53-cta: #0caa3a;
}

.vcd53-card--school {
    --vcd53-accent: #ea0b52;
    --vcd53-tint: #fff2f7;
}

.vcd53-card--group {
    --vcd53-accent: #6534f2;
    --vcd53-tint: #f6f1ff;
}

.vcd53-card--single {
    --vcd53-accent: #1e79ec;
    --vcd53-tint: #edf4ff;
}

.vcd53-card--demo {
    --vcd53-accent: #0caa3a;
    --vcd53-tint: #f1fff5;
    background: #f9fff5;
    border-color: #8fd9a6;
}

.vcd53-card__chips {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.vcd53-card__chips span {
    border: 1px solid #dcebd9;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 1.1rem;
    color: #4b5559;
    background: #ffffff;
    font-weight: 600;
}

/* Course Includes */
.course-includes {
    padding: 80px 0;
}


/* Header */
.course-includes .includes-header {
    padding: 8px 0 15px;
}

.course-includes .includes-header h2 {
    font-size: 18px;
    line-height: 1.1;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 0;
    letter-spacing: -1px;
}

.course-includes .includes-header p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.course-includes .include-card {
    height: 100%;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 26px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all .3s ease;
}

.course-includes .include-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* Icons */
.course-includes .include-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-includes .include-icon i {
    font-size: 20px;
}

.blue {
    background: #D9E3F7;
    color: #2563eb;
}

.green {
    background: #dcf8e7;
    color: #22c55e;
}

.yellow {
    background: #faeed7;
    color: #f59e0b;
}

.greenish {
    background: #c3fdf8;
    color: #009688;
}

/* Text */
.course-includes .include-content h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
}

.course-includes .include-content span {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Footer */
.course-includes .includes-footer {
    border-top: 1px solid #cbdeff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-includes .footer-icon {
    color: #eb257e;
    font-size: 24px;
}

.course-includes .includes-footer p {
    margin: 0;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}


/* ═══════════════════════════════════════════
   CURRICULUM – SECTION HEADER
═══════════════════════════════════════════ */
.curr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #fff5f5 0%, #fff8f8 50%, #ffffff 100%);
    border: 1px solid #fecaca;
    border-radius: 18px;
    margin-bottom: 1.6rem;
    gap: 1rem;
    box-shadow: 0 2px 12px rgba(214, 39, 54, .06);
    position: relative;
    overflow: hidden;
}

.curr-header::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(214, 39, 54, .07) 0%, transparent 70%);
    pointer-events: none;
}

.curr-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.curr-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d62736, #b8222e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(214, 39, 54, .28);
    flex-shrink: 0;
}

.curr-header-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
}

.curr-header-sub {
    font-size: 12px;
    color: #e57373;
    margin-top: 2px;
    font-weight: 500;
}

/* SVG ring progress */
.curr-ring-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.curr-ring-svg {
    display: block;
}

.curr-ring-pct {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #d62736;
}

/* ═══════════════════════════════════════════
   HORIZONTAL STEP TRACK (SCROLLABLE WITHOUT BUTTONS)
═══════════════════════════════════════════ */
.path-track-wrap {
    background: #ffffff;
    border: 1.5px solid #fde8e8;
    border-radius: 18px;
    padding: 1.25rem 1rem 1rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 4px 20px rgba(214, 39, 54, 0.04);
}

.path-track {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    gap: 0;
    padding: 0.5rem 0.25rem;
    scroll-behavior: smooth;
}

.path-track::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.path-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 86px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.path-node:hover {
    transform: translateY(-2px);
}

.path-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 2.5px solid #fde8e8;
    background: #ffffff;
    color: #d62736;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 3px 10px rgba(214, 39, 54, 0.05);
}

.path-circle.active {
    background: #d62736;
    color: #ffffff;
    border-color: #d62736;
    box-shadow: 0 6px 20px rgba(214, 39, 54, 0.35);
}

.path-circle.done {
    background: #fee2e2;
    color: #d62736;
    border-color: #fca5a5;
}

.path-label-sm {
    font-size: 10px;
    font-weight: 700;
    color: #6b7280;
    margin-top: 8px;
    text-align: center;
    max-width: 78px;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: color 0.2s ease;
}

.path-node:hover .path-label-sm {
    color: #d62736;
}

.path-circle.active~.path-label-sm {
    color: #d62736;
    font-weight: 800;
}

.path-line {
    flex: 1;
    height: 3px;
    background: #fde8e8;
    min-width: 16px;
    margin-top: 21px;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.path-line.done {
    background: #fca5a5;
}

/* progress bar under the track */
.prog-bar-wrap {
    height: 4px;
    background: #fde8e8;
    border-radius: 4px;
    margin: 1rem 0.5rem 0;
    overflow: hidden;
}

.prog-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #d62736 0%, #fc8181 100%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(214, 39, 54, 0.3);
}

/* ═══════════════════════════════════════════
   MODULE ACCORDION CARDS
═══════════════════════════════════════════ */
.mod-container {
    margin-top: 1.5rem;
}

.mod-card {
    border: 1.5px solid #fde8e8;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0.95rem;
    background: #ffffff;
    transition: all 0.22s ease;
    position: relative;
}

.mod-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #d62736 0%, #fc8181 100%);
    border-radius: 16px 0 0 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mod-card:hover {
    border-color: #fca5a5;
    box-shadow: 0 6px 18px rgba(214, 39, 54, 0.06);
}

.mod-card.active {
    border-color: #d62736;
    box-shadow: 0 8px 30px rgba(214, 39, 54, 0.13);
}

.mod-card.active::before {
    opacity: 1;
}

/* Module head row layout */
.mod-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1rem 1.75rem;
    background: #fafafa;
    cursor: pointer;
    user-select: none;
    transition: background 0.18s ease;
}

.mod-head:hover {
    background: #fff5f5;
}

.mod-card.active .mod-head {
    background: linear-gradient(135deg, #fff5f5 0%, #fff8f8 100%);
}

/* Combined Left Side Timeline indicators */
.mod-step-bubble {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d62736 0%, #b8222e 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(214, 39, 54, 0.25);
}

/* Icon box */
.mod-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(214, 39, 54, 0.08);
    color: #d62736;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    border: 1px solid rgba(214, 39, 54, 0.1);
}

.mod-card.active .mod-icon {
    background: rgba(214, 39, 54, 0.13);
    transform: scale(1.06);
    border-color: rgba(214, 39, 54, 0.2);
}

.mod-info {
    flex: 1;
    min-width: 0;
}

.mod-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    word-break: break-word;
    transition: color 0.2s ease;
}

.mod-card.active .mod-title {
    color: #d62736;
}

.mod-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.mod-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
}

.mod-chip i {
    font-size: 10px;
    color: #d62736;
}

/* Chevron pill wrapper */
.mod-chev-wrap {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.22s ease;
    border: 1px solid #e5e7eb;
}

.mod-chev-wrap.active {
    background: #d62736;
    border-color: #d62736;
}

.chev {
    font-size: 11px;
    color: #9ca3af;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.mod-chev-wrap.active .chev {
    transform: rotate(180deg);
    color: #ffffff;
}

/* ═══════════════════════════════════════════
   LECTURE LIST (smooth max-height animation)
═══════════════════════════════════════════ */
.lec-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.lec-list-inner {
    padding: 0.25rem 1.75rem 1rem;
    border-top: 1.5px solid #fde8e8;
}

.lec-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.6rem 0.5rem;
    border-radius: 10px;
    transition: background 0.15s ease;
    margin: 0.1rem 0;
}

.lec-row:hover {
    background: #fff9f9;
}

/* left timeline track */
.lec-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 28px;
    padding-top: 2px;
}

.lec-play {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid rgba(214, 39, 54, 0.25);
    background: rgba(214, 39, 54, 0.06);
    color: #d62736;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.lec-row:hover .lec-play {
    transform: scale(1.1);
    background: rgba(214, 39, 54, 0.12);
    border-color: #d62736;
}

.lec-vline {
    width: 1.5px;
    flex: 1;
    min-height: 12px;
    margin-top: 4px;
    border-radius: 2px;
    background: rgba(214, 39, 54, 0.18);
}

/* right content area */
.lec-body-wrap {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
    padding-bottom: 2px;
}

.lec-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
    padding: 1px 8px;
    margin-bottom: 5px;
    letter-spacing: 0.2px;
    color: #d62736;
    background: rgba(214, 39, 54, 0.06);
    border: 1px solid rgba(214, 39, 54, 0.12);
}

/* Rich-text content normalisation */
.lec-body {
    line-height: 1.5;
}

.lec-body p {
    margin-bottom: 0.25rem;
    font-size: 13px;
    font-weight: 400;
    color: #1f2937;
    line-height: 1.45;
}

.lec-body ul,
.lec-body ol {
    margin: 0 0 0.25rem;
    padding-left: 1.25rem;
}

.lec-body li {
    margin-bottom: 0.25rem;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

.lec-body strong {
    font-weight: 700;
}

/* Allow styles from CKEditor on span tags */
.lec-body span {
    font-family: inherit;
}


.secondaryText {
    color: #6c757d;
}

/* ── Leave a Review Form (Floating Labels) ── */
.review-box {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(214, 39, 54, 0.06);
    border-radius: 24px;
    padding: 40px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.01),
        0 20px 40px rgba(214, 39, 54, 0.03),
        inset 0 1px 0 #ffffff;
    position: relative;
    overflow: hidden;
}

.review-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(214, 39, 54, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.review-stars-wrapper {
    background: linear-gradient(135deg, var(--primary-offset-clr) 0%, rgba(214, 39, 54, 0.04) 100%);
    padding: 16px 28px;
    border-radius: 18px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(214, 39, 54, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.review-stars-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-clr);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.star {
    cursor: pointer;
    display: inline-block;
    font-size: 28px !important;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0 4px;
}

.star:hover {
    transform: scale(1.25);
}

.star i.fa {
    color: #ffb800 !important;
    text-shadow: 0 0 10px rgba(255, 184, 0, 0.4);
    filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.2));
}

.review-box .form-group-custom {
    transition: transform 0.25s ease;
}

.review-box .form-group-custom:focus-within {
    transform: translateY(-2px);
}

/* Floating Label form group custom overrides for Review Form */
.contactForm .review-submit-btn {
    width: auto;
    min-width: 240px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-clr) 0%, #b8222e 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 16px 30px !important;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(214, 39, 54, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.contactForm .review-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    opacity: 0;
}

.contactForm .review-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(214, 39, 54, 0.45);
}

.contactForm .review-submit-btn:hover::after {
    left: 125%;
    opacity: 1;
}

.contactForm .review-submit-btn svg {
    transition: transform 0.3s ease;
}

.contactForm .review-submit-btn:hover svg {
    transform: translate(3px, -3px) scale(1.1);
}

.stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
}

/* ── Reviews Section ── */
.bg-secondary-soft {
    background-color: rgba(214, 39, 54, 0.08);
    color: var(--primary-clr) !important;
}

.reviews-section-outer {
    padding-top: 36px;
    border-top: 1.5px dashed rgba(214, 39, 54, 0.15);
}

.reviews-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 2-column grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

/* Individual review card — always premium */
.review-card {
    background: linear-gradient(160deg, #ffffff 60%, #fff8f8 100%);
    border: 1.5px solid rgba(214, 39, 54, 0.14);
    border-radius: 20px;
    padding: 24px 22px 22px;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.05),
        0 10px 28px rgba(214, 39, 54, 0.07);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

/* Red top accent bar — always visible */
.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-clr) 0%, rgba(214, 39, 54, 0.25) 100%);
    border-radius: 20px 20px 0 0;
}

/* Decorative quote mark — always visible */
.review-card::after {
    content: '\201C';
    position: absolute;
    bottom: -14px;
    right: 14px;
    font-size: 110px;
    line-height: 1;
    color: rgba(214, 39, 54, 0.07);
    font-family: Georgia, serif;
    pointer-events: none;
    user-select: none;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.07),
        0 20px 44px rgba(214, 39, 54, 0.10);
    border-color: rgba(214, 39, 54, 0.22);
}

/* Avatar */
.review-avatar-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(214, 39, 54, 0.10) 0%, rgba(214, 39, 54, 0.22) 100%);
    color: var(--primary-clr);
    flex-shrink: 0;
    border: 2px solid rgba(214, 39, 54, 0.22);
    box-shadow: 0 4px 12px rgba(214, 39, 54, 0.14);
}

/* Author info */
.review-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.review-date-row {
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

/* Stars */
.review-card-stars {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
}

.review-card-stars i {
    font-size: 14px !important;
    color: #f59e0b;
    filter: drop-shadow(0 1px 3px rgba(245, 158, 11, 0.45));
}

/* Review body text */
.review-text-content {
    font-size: 13.5px;
    line-height: 1.7;
    color: #475569;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════
   COURSE ENQUIRY – Q&A THREAD SECTION
   ═══════════════════════════════════════════ */
.enquiry-container {
    padding-top: 1rem;
}

.enquiry-header-box {
    margin-bottom: 2.5rem;
}

.enquiry-title {
    font-size: 1.75rem;
    /* Restored to h3/fs-3 */
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.enquiry-title svg {
    color: #d62828;
}

.enquiry-desc {
    font-size: 1.25rem;
    /* Restored to fs-4 */
    color: #64748b;
    line-height: 1.6;
}

/* ── Form Card ── */
.enquiry-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enquiry-form-card:focus-within {
    border-color: #cbd5e1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.enquiry-form-card label {
    font-size: 1.15rem;
    /* Restored to fs-5 */
}

.enquiry-form-card textarea {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    font-size: 1.15rem;
    /* Restored to fs-5 */
    transition: all 0.2s ease;
    resize: none;
    min-height: 120px;
}

.enquiry-form-card textarea:focus {
    border-color: #d62828;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.12);
    outline: none;
}

.enquiry-submit-btn {
    background: #d62828;
    color: #ffffff;
    font-weight: 600;
    padding: 0.85rem 2.25rem;
    font-size: 1.1rem;
    border-radius: 10px;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(214, 40, 40, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.enquiry-submit-btn:hover {
    background: #b91d1d;
    transform: translateY(-1px);
    box-shadow: 0 8px 12px -3px rgba(214, 40, 40, 0.3);
}

/* ── Unauthorized Alert Card ── */
.unauth-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
}

.unauth-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(214, 40, 40, 0.08);
    color: #d62828;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.unauth-title {
    font-size: 1.5rem;
    /* Restored to h4/fs-3 */
    font-weight: 850;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.unauth-desc {
    font-size: 1.25rem;
    /* Restored to fs-4 */
    color: #64748b;
    margin-bottom: 1.5rem;
}

.unauth-btn {
    background: #d62828;
    color: #ffffff;
    font-weight: 600;
    padding: 0.85rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 10px;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(214, 40, 40, 0.15);
}

.unauth-btn:hover {
    background: #b91d1d;
    transform: translateY(-1px);
    box-shadow: 0 8px 12px -3px rgba(214, 40, 40, 0.25);
}

/* ── Recent Questions ── */
.qna-section-title {
    font-size: 1.75rem;
    /* Restored to h3/fs-3 */
    font-weight: 800;
    color: #0f172a;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.qna-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 4px;
    background: #d62828;
    border-radius: 2px;
}

/* ── Thread / Conversation Card ── */
.qna-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.qna-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
}

.qna-card.status-open::before {
    background: #fca5a5;
}

.qna-card.status-resolved::before {
    background: #d62828;
}

.qna-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    border-color: #cbd5e1;
}

.qna-card-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
}

.qna-author-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.qna-time {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.qna-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.qna-card-body {
    padding-top: 0.5rem;
}

.qna-question-text {
    font-size: 1.35rem;
    /* Restored to clean heading size */
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
}

.qna-card-footer {
    border-top: 1px dashed #f1f5f9;
    padding-top: 1rem;
    margin-top: 1rem;
}

.qna-status-badge {
    font-size: 0.775rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.qna-status-badge.badge-open {
    background: #fff5f5;
    color: #e53e3e;
    border: 1px solid #fed7d7;
}

.qna-status-badge.badge-resolved {
    background: #fdf2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.qna-status-badge.badge-open .badge-dot {
    animation: qnaPulse 1.5s infinite;
}

@keyframes qnaPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

/* ── Replies Container ── */
.qna-replies-list {
    /* margin-top: 1.5rem;
    padding-left: 2rem; */
    /* border-left: 3px solid #e2e8f0; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qna-reply-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border: 1px solid #f1f5f9;
    position: relative;
}

.qna-reply-item.reply-admin {
    background: #fef2f2;
    border-color: #fee2e2;
    border-left: 3px solid #ef4444;
}


.qna-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.qna-reply-author {
    font-size: 1rem;
    /* Restored to fs-6 */
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-admin {
    color: #d62828;
}

.admin-indicator {
    background: rgba(214, 40, 40, 0.1);
    color: #d62828;
    font-size: 0.725rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.qna-reply-time {
    font-size: 0.9rem;
    color: #64748b;
}

.qna-reply-text {
    font-size: 1.15rem;
    /* Restored to fs-5/h4 replies */
    color: #334155;
    line-height: 1.6;
    margin-bottom: 0;
}

.no-replies-box {
    font-size: 1rem;
    color: #94a3b8;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

/* ═══════════════════════════════════════════
   EDUCATOR PROFILE SECTION
   ═══════════════════════════════════════════ */
.educator-profile-card {
    background: linear-gradient(135deg, #ffffff 0%, #fffdfd 100%);
    border: 1px solid #f1f5f9;
    border-left: 5px solid #d62828;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.educator-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(214, 40, 40, 0.08), 0 4px 12px rgba(214, 40, 40, 0.02);
    border-color: #fca5a5;
    border-left-color: #b91c1d;
}

.educator-img-wrapper {
    position: relative;
    display: inline-block;
    padding: 6px;
    background: linear-gradient(135deg, #fca5a5 0%, #d62828 100%);
    border-radius: 50%;
    box-shadow: 0 8px 25px -6px rgba(214, 40, 40, 0.25);
}

.educator-img-wrapper img {
    display: block;
    width: 135px;
    height: 135px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    transition: transform 0.3s ease;
}

.educator-profile-card:hover .educator-img-wrapper img {
    transform: scale(1.04);
}

.educator-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.educator-socials a:hover {
    background: #d62828;
    color: #ffffff;
    border-color: #d62828;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(214, 40, 40, 0.2);
}

.educator-badge {
    background: #fff5f5;
    color: #d62828;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    display: inline-block;
    border: 1px solid #fed7d7;
}

.educator-name {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.educator-intro {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #475569;
}

/* Stats Card Grid */
.educator-stat-box {
    background: #ffffff;
    border: 1px solid #fee2e2;
    border-radius: 18px;
    padding: 1.25rem 1rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
    transition: all 0.25s ease;
}

.educator-profile-card:hover .educator-stat-box {
    border-color: #fca5a5;
    box-shadow: 0 6px 15px rgba(214, 40, 40, 0.03);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.stat-icon i.text-danger {
    color: #d62828 !important;
}

.stat-value {
    font-size: 1.45rem;
    font-weight: 850;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.15rem;
}

/* Bio Section */
.educator-bio {
    border-top: 1px dashed #f1f5f9;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.educator-bio .bio-title {
    font-size: 1.25rem;
    letter-spacing: -0.2px;
    color: #0f172a;
    position: relative;
    display: inline-block;
    padding-bottom: 0.4rem;
}

.educator-bio .bio-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: #d62828;
    border-radius: 2px;
}

.educator-bio .bio-content {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #334155 !important;
    margin-top: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════
   EDUCATOR PROFILE CARD  (epc-*)
   course-details.css — viLab
═══════════════════════════════════════════════════════════════ */

/* ── Card wrapper ── */
.epc-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 35px -10px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(214, 39, 54, 0.02);
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(214, 39, 54, 0.06);
    position: relative;
}

.epc-card:hover {
    box-shadow: 0 20px 50px -15px rgba(214, 39, 54, 0.16), 0 4px 15px rgba(214, 39, 54, 0.04);
    transform: translateY(-5px);
    border-color: rgba(214, 39, 54, 0.12);
}

/* ── Body ── */
.epc-body {
    padding: 30px;
}

/* ── Avatar ── */
.epc-avatar-wrap {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.epc-avatar {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    border: 6px solid #ffffff;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(214, 39, 54, 0.15);
    background: #f1f5f9;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.epc-card:hover .epc-avatar {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 14px 32px rgba(214, 39, 54, 0.22);
}

.epc-avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(214, 39, 54, 0.25);
    animation: epcSpin 24s linear infinite;
    z-index: 1;
}

.epc-avatar-pulse {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px solid rgba(214, 39, 54, 0.08);
    animation: epcPulse 3.5s ease-in-out infinite;
    z-index: 0;
}

@keyframes epcSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes epcPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.1;
    }
}

/* Online Indicator */
.epc-online-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 15px;
    height: 15px;
    background: #10b981;
    border: 3px solid #ffffff;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

/* ── Left column helper ── */
.epc-left {
    text-align: center;
}

/* ── Right column ── */
.epc-right-col {
    padding-top: 5px;
}

/* ── Header block ── */
.epc-header-block {
    margin-bottom: 20px;
}

/* ── Badges ── */
.epc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #d62736 0%, #e53e3e 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(214, 39, 54, 0.25);
    white-space: nowrap;
}

.epc-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid #bbf7d0;
    white-space: nowrap;
}

/* ── Name ── */
.epc-name {
    font-size: 2.1rem;
    font-weight: 850;
    color: #0f172a;
    margin: 12px 0 8px;
    line-height: 1.15;
    letter-spacing: -0.4px;
}

/* ── Quick intro / tagline ── */
.epc-intro {
    font-size: 1.25rem;
    color: #4b5563;
    margin: 0;
    font-style: italic;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.epc-quote-icon {
    color: #d62736;
    opacity: 0.45;
    font-size: 0.95rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ── Stats ── */
.epc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.epc-stat {
    border-radius: 16px;
    padding: 16px 12px 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
}

/* per-stat color themes */
.epc-stat--rating {
    background: linear-gradient(145deg, #fffbeb 0%, #fffdf5 100%);
    border: 1px solid rgba(245, 158, 11, 0.18);
}

.epc-stat--reviews {
    background: linear-gradient(145deg, #fff1f2 0%, #fff5f6 100%);
    border: 1px solid rgba(214, 39, 54, 0.14);
}

.epc-stat--students {
    background: linear-gradient(145deg, #f0f9ff 0%, #f4faff 100%);
    border: 1px solid rgba(14, 165, 233, 0.18);
}

.epc-stat--courses {
    background: linear-gradient(145deg, #f0fdf4 0%, #f5fdf7 100%);
    border: 1px solid rgba(34, 197, 94, 0.18);
}

.epc-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.08);
}

.epc-stat--rating:hover {
    border-color: rgba(245, 158, 11, 0.45);
}

.epc-stat--reviews:hover {
    border-color: rgba(214, 39, 54, 0.35);
}

.epc-stat--students:hover {
    border-color: rgba(14, 165, 233, 0.45);
}

.epc-stat--courses:hover {
    border-color: rgba(34, 197, 94, 0.45);
}

.epc-stat-icon {
    font-size: 1.45rem;
    margin-bottom: 6px;
    line-height: 1;
}

.epc-stat--rating .epc-stat-icon {
    color: #d97706;
}

.epc-stat--reviews .epc-stat-icon {
    color: #dc2626;
}

.epc-stat--students .epc-stat-icon {
    color: #0284c7;
}

.epc-stat--courses .epc-stat-icon {
    color: #16a34a;
}

.epc-stat-value {
    font-size: 1.65rem;
    font-weight: 850;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.2px;
}

.epc-stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* ── Divider with label ── */
.epc-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 18px;
}

.epc-divider::before,
.epc-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1);
}

.epc-divider::after {
    background: linear-gradient(90deg, #cbd5e1, transparent);
}

.epc-divider-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #d62736;
    white-space: nowrap;
    flex-shrink: 0;
    background: #fff5f5;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(214, 39, 54, 0.18);
}

/* ── Bio wrapper ── */
.epc-bio-wrapper {
    position: relative;
    background: linear-gradient(180deg, #fafbfc 0%, #f8fafc 100%);
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 22px 24px;
    overflow: hidden;

}

/* Large decorative opening quote */
.epc-bio-quote {
    position: absolute;
    top: -10px;
    right: 16px;
    font-size: 7.5rem;
    line-height: 1;
    color: rgba(214, 39, 54, 0.05);
    font-family: Georgia, serif;
    font-weight: 900;
    pointer-events: none;
    user-select: none;
    letter-spacing: -4px;
}

/* ── Bio content ── */
.epc-bio-content {
    font-size: 1.45rem;
    color: #334155;
    line-height: 1.95;
    position: relative;
    z-index: 1;
}

.epc-bio-content p {
    margin-bottom: 0.85rem;
}

.epc-bio-content p:last-child {
    margin-bottom: 0;
}

.epc-bio-content strong {
    color: inherit;
    font-weight: 800;
}

.epc-bio-content ul,
.epc-bio-content ol {
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
}

.epc-bio-content li {
    margin-bottom: 0.4rem;
}

/* ── Social icons ── */
.epc-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.epc-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #64748b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.epc-social-link:hover {
    transform: translateY(-4px) scale(1.1) rotate(5deg);
}

.epc-fb:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.3);
}

.epc-tw:hover {
    background: #1da1f2;
    color: #fff;
    border-color: #1da1f2;
    box-shadow: 0 6px 18px rgba(29, 161, 242, 0.3);
}

.epc-li:hover {
    background: #0a66c2;
    color: #fff;
    border-color: #0a66c2;
    box-shadow: 0 6px 18px rgba(10, 102, 194, 0.3);
}

.epc-ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(220, 39, 67, 0.3);
}


/* ═══════════════════════════════════════════════════════════════
   COURSE DESCRIPTION CARD (cdc-*)
   course-details.css — viLab
═══════════════════════════════════════════════════════════════ */

.cdc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.05);
    margin-top: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.cdc-card:hover {
    box-shadow: 0 16px 40px -15px rgba(0, 0, 0, 0.08);
}

.cdc-header {
    margin-bottom: 30px;
    position: relative;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
}

.cdc-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.cdc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #d62736, #ff6b6b);
    color: #ffffff;
    border-radius: 14px;
    font-size: 1.35rem;
    box-shadow: 0 8px 20px rgba(214, 39, 54, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cdc-card:hover .cdc-icon {
    transform: scale(1.1) rotate(6deg);
}

.cdc-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.5px;
}

.cdc-line {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 85px;
    height: 3px;
    background: linear-gradient(90deg, #d62736 0%, #ff6b6b 100%);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(214, 39, 54, 0.25);
}

.cdc-content {
    font-size: 1.45rem;
    color: #334155;
    line-height: 1.95;
}

.cdc-content p {
    margin-bottom: 1.2rem;
}

.cdc-content p:last-child {
    margin-bottom: 0;
}

.cdc-content strong {
    color: inherit;
    font-weight: 800;
}

.cdc-content ul,
.cdc-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.cdc-content li {
    margin-bottom: 0.5rem;
    position: relative;
}


/* ── CKEditor 5 Output Helper Classes ── */
.cdc-content .text-tiny,
.epc-bio-content .text-tiny {
    font-size: 0.7em !important;
}

.cdc-content .text-small,
.epc-bio-content .text-small {
    font-size: 0.85em !important;
}

.cdc-content .text-normal,
.epc-bio-content .text-normal {
    font-size: 1em !important;
}

.cdc-content .text-big,
.epc-bio-content .text-big {
    font-size: 1.4em !important;
}

.cdc-content .text-huge,
.epc-bio-content .text-huge {
    font-size: 1.8em !important;
}

/* CKEditor alignments */
.cdc-content .text-align-left,
.epc-bio-content .text-align-left {
    text-align: left !important;
}

.cdc-content .text-align-center,
.epc-bio-content .text-align-center {
    text-align: center !important;
}

.cdc-content .text-align-right,
.epc-bio-content .text-align-right {
    text-align: right !important;
}

.cdc-content .text-align-justify,
.epc-bio-content .text-align-justify {
    text-align: justify !important;
}

.heading-wrap p {
    text-align: center !important;
}
div#tabContent {
    margin: 0 calc(.5 * var(--bs-gutter-x));
}
/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1199.98px) {
    a.open-course-modal.vcd53-btn i:last-child {
        display: none;
    }

    .cdc-card {
        padding: 2rem;
        margin-top: 1rem;
    }

    .roadmap-card {
        padding: 20px 16px;
    }

    .node-circle-wrapper {
        width: 60px;
        height: 60px;
    }

    .node-circle-container {
        height: 60px;
        margin-top: -84px;
    }

    .timeline-wrapper {
        margin-top: 20px;
    }

    .feature-wrap {
        gap: 10px !important;
        margin-top: 12px !important;
    }

    .cta-actions {
        margin-top: 25px !important;
        gap: 12px !important;
    }

    .compact-cta-box {
        padding: 40px
    }

    .cta-btn {
        padding: 14px 22px !important;
        font-size: 16px !important;
    }

    .vcd53-mode-tabs .nav-link {
        padding: 6px !important;
        min-width: 80px;
        gap: 1px;
    }

    .cdc-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .cta-shape {
        right: -120px !important;
        bottom: -140px !important;
        width: 530px !important;
        height: 430px !important;
    }

    .vcd53-card {
        grid-template-columns: 86px minmax(0, 1fr);
        row-gap: 0.95rem;
    }

    .vcd53-card__content {
        padding-left: 1rem;
        border-left-width: 3px;
    }

    .vcd53-card__action {
        grid-column: 1 / -1;
        max-width: none;
        justify-self: stretch;
    }
}

@media (max-width: 991.98px) {
    .course-includes .includes-footer p:last-child {
    margin-top: 5px;
}
    .card-number {
        font-size: 20px !important;
        margin-bottom: 4px;
    }
    .roadmap-header {
        margin: 0 auto !important;
    }

    .vcd53-mode-tabs {
        width: 100%;
    }

    .vcd53-mode-tabs .nav-link {
        min-width: unset;
        width: 100%;
    }

    .vcd53-btn {
        min-height: 32px;
    }

    .epc-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-includes .includes-header,
    .course-includes .row,
    .course-includes .includes-footer {
        padding-left: 4px;
        padding-right: 4px;
    }

    .odd-step .roadmap-step-card,
    .even-step .roadmap-step-card {
        max-width: 100% !important;
    }
}

/* ── Responsive ── */
@media (min-width: 768px) {
    .epc-left {
        text-align: left;
    }

    .epc-socials {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
        .section-padding {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .cta-title{
        font-size: 22px !important;
        margin-bottom: 10px !important;
    }
    .cta-text{
        margin-top:0 !important;
    }
    .card-number {
        font-size: 18px !important;
    }
    .cta-text {
        font-size: 16px !important;
    }

    .roadmap-card-box {
        padding: 12px 16px !important;
    }

    .cta-image {
        display: none;
    }

    .cta-shape {
        width: 250px !important;
        height: 300px !important;
        right: -100px !important;
        bottom: -100px !important;
        opacity: 0.25 !important;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .path-track-wrap {
        padding: 0.75rem 0.5rem 0.75rem;
    }

    .path-node {
        min-width: 76px;
    }

    .path-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .path-line {
        margin-top: 19px;
    }

    .secondaryTitle1 {
        font-size: 1.75rem;
    }

    .epc-body {
        padding: 20px;
    }

    .epc-avatar {
        width: 100px;
        height: 100px;
    }

    .epc-name {
        font-size: 1.35rem;
    }

    .epc-stats {
        gap: 10px;
    }

    .epc-stat {
        padding: 12px 8px 10px;
    }

    .modal-content {
        flex-direction: column;
    }

    .modelEnquiryImageContainer {
        border-radius: 0 0 15px 15px;
    }

    .cdc-card {
        padding: 24px;
    }

    .cdc-title {
        font-size: 1.45rem;
    }

    .cdc-icon {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }

    .cdc-content {
        font-size: 1.25rem;
        line-height: 1.8;
    }
}

@media (max-width: 575.98px) {
    .cdc-card {
        padding: 14px;
    }
    .course-includes .include-content h5{
        font-size: 12px !important;
    }
.course-includes .include-card {
    padding: 6px;
    gap: 6px;
}
.course-includes .include-content span {
    font-size: 10px;
}
.course-includes .include-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
}
.course-includes .include-icon i {
    font-size: 16px;
}
    .epc-header-block,
    .epc-header-block * {
        text-align: center;
        justify-content: center;
    }

    .epc-header-block .d-flex {
        justify-content: center;
    }

    .secondary-btn {
        width: 100% !important;
        text-align: center;
    }

    .course_sub_section .primaryText {
        font-size: clamp(1.25rem, 1.8vw + .65rem, 1.4rem);
    }

    .vcd53-card {
        column-gap: 8px;
    }

    .vcd53-card__icon-box {
        min-height: 60px;
        width: 60px;
        font-size: 1.65rem;
        border-radius: 0.9rem;
    }

    .vcd53-card__chips span {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
    div#offline .row .col-md-4 {
    padding: 0;
}

    .vcd53-btn__label {
        flex: 0
    }

    .vcd53-btn {
        min-height: 32px;
        padding: 0.4rem 0.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    /* Meta Stats Responsive Overrides */
    .course_sub_section {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
    }

    .meta-stat-item {
        flex: 1 1 calc(50% - 0.375rem) !important;
        min-width: 120px !important;
        padding: 0.6rem 0.8rem !important;
    }

    /* Mode Tabs Responsive Overrides */
    .vcd53-mode-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        width: 100% !important;
    }

    .vcd53-mode-tabs::-webkit-scrollbar {
        display: none;
    }

    .vcd53-mode-tabs .nav-item {
        flex: 0 0 auto !important;
    }

    .vcd53-mode-tabs .nav-link {
        white-space: nowrap !important;
        padding: 0.6rem 1.0rem !important;
        gap: 6px !important;
    }

    .course_detail_tab .nav-link:not(:first-child) {
        margin: 0 auto;
    }

    .course_detail_tab .nav-item {
        flex-grow: 1;
    }

    .curr-header {
        flex-wrap: wrap;
        padding: 1rem;
        gap: 0.75rem;
    }

    .curr-header-icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .mod-head {
        padding: 0.85rem 1rem;
        gap: 10px;
    }

    .mod-title {
        font-size: 13px;
    }

    .lec-list-inner {
        padding: 0.2rem 0.9rem 0.75rem;
    }

    .path-node {
        min-width: 68px;
    }

    .path-circle {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .path-line {
        margin-top: 17px;
    }
}