/* Enquiry card in modal */
.mfd-enquiry-form-card {
    border-radius: 10px;
    padding: 28px 24px;
}

.mfd-enquiry-form-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 4px;
}

.mfd-enquiry-form-card p {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 18px;
    text-align: left;
}

.mfd-enquiry-form-row {
    margin-bottom: 12px;
}

.mfd-enquiry-form-row label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-blue);
    letter-spacing: .05em;
    text-transform: capitalize;
    margin-bottom: 4px;
}

.mfd-enquiry-form-row select,
.mfd-enquiry-form-row input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 5px;
    padding: 9px 12px;
    font-size: 16px;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border .2s;
    font-family: inherit;
}

.mfd-enquiry-form-row select:focus,
.mfd-enquiry-form-row input:focus {
    border-color: var(--navy);
}

.mfd-enquiry-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mfd-enquiry-form-note {
    font-size: 10px;
    color: var(--gray-mid);
    text-align: center;
    margin-top: 10px;
}

.cust-btn-close {
    position: absolute;
    right: 22px;
    top: 20px;
}

/* end */

.scroll-tabs {
    background: var(--cream);
    border-bottom: 2px solid var(--border);
    border-top: 2px solid var(--border);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

.scroll-tabs .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
    border: none;
}

.scroll-tabs .nav::-webkit-scrollbar {
    height: 3px;
}


.scroll-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text2);
    font-size: 16px;
    font-weight: 500;
    padding: 14px 20px;
    white-space: nowrap;
    border-radius: 0;
    transition: all .2s;
}

.scroll-tabs .nav-link.active,
.scroll-tabs .nav-link:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: none;
}

#mfd_pageTabContent {
    min-height: 600px;
}

.programme-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.programme-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    display: grid;
    box-shadow: 0 8px 30px rgba(11, 37, 69, .12);
    grid-template-columns: .5fr 1fr;
    transition: box-shadow .2s, transform .2s;
}

.programme-card-img {
    overflow: hidden;
    position: relative;
    border-radius: 5px;
}

.programme-card-img img {
    object-fit: cover;
    margin-top: 0;
    object-position: center;
    width: 106%;
    height: 100%;
}

.programme-card-add {
    height: 270px;
}

.programme-card-add .programme-card-top {
    justify-content: space-between;
}

.programme-card-add .programme-card-top p {
    margin-top: 5px;
}

.programme-tag-new {
    position: absolute;
    right: 0;
    top: 0;
    background: var(--text-blue);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    border-bottom-left-radius: 0;
}

.check_board_survay_title {
    position: absolute;
    bottom: 0;
    background: var(--cream2);
    font-size: 16px !important;
    padding: 6px 18px !important;
}

.programme-card:hover {
    box-shadow: 0 8px 30px rgba(11, 37, 69, .12);
    transform: translateY(-13px);
}

.programme-card-top {
    padding: 0px 0px 0px 20px;
    flex: 1;
    display: flex;
    /* background-image: url(<?= base_url() . 'front_assets/demo_home/masterclass/vec_bg_6.png'; ?>); */
    flex-direction: column;
    justify-content: space-between;
}

.programme-empanelment-top {
    background-color: var(--cream2);
}

.programme-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 3px;
    display: block;
}

.programme-card-top h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-blue);
    line-height: 1.25;
    margin-bottom: 0px;
}

.programme-card-top h3 em {
    color: var(--gold);
}

.programme-card-top p {
    font-size: 14px;
    margin-bottom: 5px;
}

.programme-meta {
    display: flex;
    gap: 5px;
    margin-top: 0;
    padding: 0px 0px 10px 0px;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
}

.programme-meta-item {
    font-size: 12px;
    color: var(--text2);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.programme-meta-item svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.programme-card-bottom {
    padding: 16px 0px 0px 0px;
    border-top: 1px solid var(--border);
    background: transparent;
    gap: 15px;
    display: flex;
}

.programme-card-bottom a,
.programme-card-bottom button {
    padding-left: 15px;
    width: auto;
    text-align: center;
    justify-content: center;
    padding-right: 15px;
}

.programme-card-boardroom-bottom a {
    width: 70%;
}

/* end */


.calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: var(--cream2);
}

.calendar-table thead th {
    background: var(--text-blue);
    color: var(--text-white);
    padding: 13px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .04em;
    width: 125px;
    border-width: 1px;
}

.calendar-table thead th:first-child {
    border-radius: 8px 0 0 0;
}

.calendar-table thead th:nth-child(2) {
    width: 85px;
}

.calendar-table thead th:last-child {
    border-radius: 0 8px 0 0;
    text-align: center;
}

.calendar-table tbody tr {
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.calendar-table tbody tr:hover {
    background: var(--cream);
}

.calendar-table tbody td {
    padding: 6px 13px;
    vertical-align: middle;
}

.calendar-table tbody td.batch-num {
    width: 60px;
}

.calendar-table tbody td:nth-child(2) {
    width: 75px;
}

.calendar-table tbody td:nth-child(4) {
    width: 120px;
}

.batch-num {
    font-weight: 700;
    color: var(--text-blue);
}

.format-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    letter-spacing: .5px;
    font-weight: 600;
}

.format-offline {
    background: var(--text-blue);
    color: var(--text-white);
}

.format-virtual {
    background: var(--gold3);
    color: var(--text-white);
}

.urgent-tag {
    display: inline-block;
    background: #fef3e2;
    color: #b45309;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    margin-left: 6px;
    letter-spacing: .03em;
}

.calendar-note {
    background: var(--cream2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text2);
    margin-top: 16px;
}

.calendar-note strong {
    color: var(--text2);
}

/* ── TABS ── */
.tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.mfd-cal-tab-btn {
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text2);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-family: inherit;
    transition: all .2s;
    letter-spacing: .5px;
}

.mfd-cal-tab-btn.active {
    color: var(--text-blue);
    border-bottom-color: var(--gold);
}

.mfd-cal-tab-panel {
    display: none;
}

.mfd-cal-tab-panel.active {
    display: block;
}

/* ── JOURNEY ── */

.section-journey {
    background-color: #ffffff;
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-top: 35px;
    overflow: hidden;
}

.journey-step {
    padding: 28px 24px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background .2s;
    position: relative;
}

.journey-step:hover {
    background: var(--cream2);
}

.journey-step:nth-child(3n) {
    border-right: none;
}

.journey-step:nth-last-child(-n+3) {
    border-bottom: none;
}

.journey-step-num {
    width: 34px;
    height: 34px;
    background: var(--gold);
    border-radius: 50%;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.journey-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 6px;
    line-height: 1.3;
}

.journey-step p {
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.55;
}

.journey-step-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.journey-step-link:hover {
    color: #a87a22;
}

.journey-step-link i {
    font-size: 10px;
}

#mfd_pageTabContent {
    min-height: 600px;
    /* Adjust height based on your content */
}

.tab-pane {
    animation: fadeIn 0.3s ease-in;
}

.mySwiper_alumni_slider {
    padding: 30px 0;
}

.iai-card-b {
    background: var(--cream2);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(11, 37, 69, .12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.iai-card-b:hover {
    transform: translateY(-13px);
}

.iai-header {
    background: var(--text-blue);
    height: 147px;
    padding: 14px;
}

.iai-initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    position: relative;
}

.iai-initials img {
    border-radius: 50%;
}

.iai-initials-brief {
    margin-top: 10px;
}

.iai-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 15px;
}

.iai-initials::after {
    width: 100%;
    content: '';
    background: var(--gold);
    position: absolute;
    height: 2px;
    bottom: -7px;
}

.iai-role {
    font-size: 12px;
    letter-spacing: .4px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.iai-body {
    padding: 10px 14px 14px;
    height: 155px;
    background-color: #ffffff;
}

.iai-row {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
}

.iai-row i {
    font-size: 14px;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* .msal_next,
.msim_next,
.mfd_testi_next {
    right: -40px !important;
}

.msal_prev,
.msim_prev,
.mfd_testi_prev {
    left: -40px !important;
}

.msal_next svg,
.msal_prev svg,
.msim_next svg,
.msim_prev svg,
.mfd_testi_next svg,
.mfd_testi_prev svg {
    height: 50%;
} */

#mfd_calendar_table tbody {
    height: 210px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.batch_full_badge {
    font-size: 13px;
}

.mfd-upcom-batch-right {
    overflow: hidden;
    position: relative;
    height: 80vh;
}

.mfd-upcom-batch-right img {
    object-fit: cover;
    margin-top: 0;
    object-position: 49% 40%;
    height: 100%;
    width: 106%;
}

.mfd-wsa-left-image {
    overflow: hidden;
    position: relative;
    height: 61.5vh;
}

.mfd-wsa-left-image img {
    object-fit: cover;
    margin-top: 0;
    object-position: 57% 100%;
    height: 100%;
    width: 106%;
}

.note-info-box {
    background: var(--cream2);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding: 16px 22px 20px 22px;
    margin-top: 30px;
}

.note-info-box p {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 0px;
}

.note-info-box strong {
    color: var(--text-blue);
}

.eleg-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin-top: 8px;
}

.eleg-why-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px 16px;
    box-shadow: 0 8px 30px rgba(11, 37, 69, .12);
}

.eleg-why-item h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-blue);
    border-bottom: 2px solid var(--gold3);
    margin-left: 0;
    margin-right: auto;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.eleg-why-item p {
    font-size: 14px;
    margin-bottom: 0px;
}

.modal-header {
    background-color: var(--cream2);
}

.mfd-ideal-candidate-detail-list {
    list-style: none;
    padding-inline-start: 0px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 15px;
    margin-top: 14px;
}

.att-card {
    background: var(--cream2);
    border: 0.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 10px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.att-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ic-navy {
    background: var(--text-blue);
    color: var(--text-white);
}

.ic-navy i {
    font-size: 12px;
}

.ic-gold {
    background: var(--gold2);
    color: var(--text-white);
}

.ic-gold i {
    font-size: 12px;
}

.ic-teal {
    background: #779c8f;
    color: #ffffff;
}

.ic-teal i {
    font-size: 12px;
}

.ic-rose {
    background: #fc6c9e;
    color: #ffffff;
}

.ic-rose i {
    font-size: 12px;
}

.ic-slate {
    background: #ac95ff;
    color: #ffffff;
}

.ic-slate i {
    font-size: 12px;
}


.att-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    line-height: normal;
    margin: 0;
}

.stat-card-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card:hover {
    transform: translateY(-13px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

/* Coloured top-border per card (mimics the coloured corner dots in screenshot) */
.stat-card.color-1,
.stat-card.color-4,
.stat-card.color-5 {
    border-top-color: var(--gold);
}

.stat-card.color-2,
.stat-card.color-3,
.stat-card.color-6 {
    border-top-color: var(--blue);
}

/* Corner-dot decorations (coloured squares on card corners) */
.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-bottom-right-radius: 4px;
}

.stat-card.color-1::after,
.stat-card.color-4::after,
.stat-card.color-5::after {
    background: var(--gold);
}

.stat-card.color-2::after,
.stat-card.color-3::after,
.stat-card.color-6::after {
    background: var(--blue);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.1rem);
    font-weight: 900;
    color: var(--iod-navy);
    line-height: 1;
    margin-bottom: 2px;
}

.stat-label-primary {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 3px;
    margin-top: 7px;
    font-size: 14px;
}

/* Gold underline bar */
.stat-divider {
    width: 32px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 12px;
}

.stat-description {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
}

/* ─── Total Badge ───────────────────────────────────────────── */
.total-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 48px;
    background: var(--cream2);
    border: 1px solid var(--gold);
    border-radius: 6px;
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 0.03em;
    position: relative;
    width: 100%;
    text-align: center;
}

/* Subtle glow */
.total-badge::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 8px;
    box-shadow: 0 0 0 0 rgba(200, 146, 42, 0.5);
    animation: pulse-border 2.6s ease-in-out infinite;
}


@keyframes pulse-border {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(200, 146, 42, 0.8);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(200, 146, 42, 0);
    }
}

/* ─── Count-up animation trigger ───────────────────────────── */
.stat-number[data-target] {
    opacity: 0;
}

.stat-number.counted {
    opacity: 1;
}

/* ─── Responsive tweaks ─────────────────────────────────────── */
@media (max-width: 576px) {
    .stat-card {
        padding: 18px 14px 16px;
    }

    .total-badge {
        padding: 12px 28px;
    }
}

.stat-card {
    background: var(--cream2);
    border-radius: 6px;
    padding: 24px 20px 22px;
    height: 100%;
    cursor: pointer;
    position: relative;
    border-top: 4px solid transparent;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.stat-card-total {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.stat-card-logo {
    text-align: center;
}

.stat-card-logo img {
    width: 120px;
    margin: 0 auto;
}

#totalCount {
    color: var(--text-blue);
    font-size: clamp(2rem, 4vw, 2.1rem);
    font-weight: 700;
}

.train-count-imgright {
    overflow: hidden;
    position: relative;
    height: 96vh;
}

.train-count-imgright img {
    object-fit: cover;
    margin-top: 0;
    object-position: 65% 41%;
    height: 100%;
    width: 106%;

}

.stats-bar {
    background: var(--cream2);
    padding: 0;
}

.stats-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    text-align: center;
    margin-top: 0px;
}

.stat-item {
    padding: 30px 12px;
    border-right: 1px solid var(--border);
    display: flex;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-blue);
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 16px;
    color: var(--text2);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 5px;
    padding: 0 2rem;
}

.insti-item {
    display: flex;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    background: #ffffff;
    transition: all .35s var(--ease);
    border: 1.5px solid var(--border);
    padding: 10px;
    height: 100px;
    align-items: center;
}

.insti-item img {
    width: 100%;
    height: auto;
}

.faq-btns-sec {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.faq-btns-sec a {
    width: 100%;
}

.tc-post-nominal-modal {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-blue);
    line-height: 1;
    margin-bottom: 6px;
    background: var(--cream2);
    margin-bottom: 15px;
    padding: 12px;
}

.mem_terms_list ul {
    list-style: none;
    padding-inline-start: 0px;
}

.mem_terms_list ul li {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.mem_terms_list ul li i {
    margin-top: 4px;
}

.mem_terms_list p b {
    color: var(--gold);
}

.tc-post-nominal-modal {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-blue);
    line-height: 1;
    margin-bottom: 6px;
    background: var(--cream2);
    margin-bottom: 15px;
    padding: 12px;
}

.mfd-fp-cards-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

.mfd-fp-s2-card {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 0.5px solid var(--border);
    cursor: pointer;
    box-shadow: var(--sh-md);
    background: linear-gradient(358deg, rgb(165 165 165) 0%, rgb(241 236 236) 100%);
    position: relative;
}

.mfd-fp-s2-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mfd-fp-s2-base {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 43, 94, 0.92));
    padding: 40px 16px 16px;
}

.mfd-fp-s2-base p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    height: 48px;
}

.mfd-fp-s2-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 43, 94, 0.88);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mfd-fp-s2-card:hover .mfd-fp-s2-overlay {
    opacity: 1;
}

.mfd-fp-s2-overlay .mfd-fp-ov-name {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.35;
}

.mfd-fp-s2-overlay .mfd-fp-ov-divider {
    width: 32px;
    height: 1.5px;
    background: #c8922a;
    margin: 0 auto 10px;
}

.mfd-fp-s2-overlay .mfd-fp-ov-desc {
    color: var(--text-white);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* faculty modal */
.modal-header-custom {
    background: linear-gradient(135deg, #2a1f6e 0%, #4a2f9a 50%, #6b2fa0 100%);
    border-radius: 8px 8px 0 0;
    padding: 0;
    position: relative;
}

.modal-header-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.modal-header-inner {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background-image: linear-gradient(to right, rgb(42 31 110 / 45%) 0%, rgb(74 47 154 / 30%) 100%), url('../../vectors/vec_bg_new_1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

.modal-photo {
    width: 163px;
    height: auto;
    border-radius: 8px;
    background: #6b2fa0;
    border: 1px solid var(--border2);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
}

.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty_modal_title {
    font-size: 14px;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.modal-name-badge {
    background: var(--cream2);
    font-weight: 700;
    font-size: 14px;
    padding: 5px 16px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 8px;
}

.modal-role {
    color: var(--text-white);
    font-size: 16px;
    margin: 0 0 10px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-tag {
    background: var(--cream2);
    font-weight: 600;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 8px;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 18px;
    border: none;
    background: transparent;
    color: var(--text-white);
    font-size: 16px;
    z-index: 2;
}

.modal-close-btn:hover {
    background: transparent;
}

.modal-body-custom {
    padding: 1.5rem;
}

.mfd-faculty-bio-text {
    font-size: 14px;
    line-height: normal;
    margin-bottom: 1.25rem;
}

.modal-footer-custom {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-content-custom {
    border-radius: 10px;
    overflow: unset;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-wrap: wrap;
}

.faculty-emp-card {
    background: var(--blue);
    border-radius: 20px;
    width: 100%;
    padding: 28px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    justify-content: center;
}

.faculty-emp-card:hover {
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.45);
}

/* animated background glow layers */
.faculty-emp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(ellipse at 50% 45%, rgba(120, 70, 220, 0.55) 0%, rgba(60, 20, 140, 0.45) 45%, transparent 75%);
    animation: bgPulse 1.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.faculty-emp-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(ellipse at 50% 45%, rgba(180, 120, 255, 0.3) 0%, transparent 60%);
    animation: bgPulse2 1.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgPulse {
    0% {
        opacity: 0.4;
        transform: scale(0.4);
    }

    50% {
        opacity: 1;
        transform: scale(0.6);
    }

    100% {
        opacity: 0.4;
        transform: scale(0.4);
    }
}

@keyframes bgPulse2 {
    0% {
        opacity: 1;
        transform: scale(1.03);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.97);
    }

    100% {
        opacity: 1;
        transform: scale(1.03);
    }
}

/* ─── Avatar circle ─────────────────────────── */
.avatar-wrap {
    position: relative;
    z-index: 1;
}

.avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2.5px solid rgba(180, 130, 255, 0.6);
    animation: ringBlink 1.8s ease-in-out infinite;
    pointer-events: none;
}

.avatar-ring2 {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1.5px solid rgba(180, 130, 255, 0.25);
    animation: ringBlink 1.8s ease-in-out infinite 0.3s;
    pointer-events: none;
}

@keyframes ringBlink {
    0% {
        opacity: 0.2;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }

    100% {
        opacity: 0.2;
        transform: scale(0.96);
    }
}

.avatar-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #5a3ab5 0%, #2e1d70 65%, #1a1135 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.08);
    z-index: 1;
}

/* Two-person SVG illustration */
.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Plus badge */
.plus-badge {
    position: absolute;
    bottom: 6px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: #1a1135;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.plus-badge i {
    font-size: 14px;
}

.emp-label {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.2px;
    z-index: 1;
    margin-top: 20px;
}


.mfd-prev-filter-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr .5fr;
    gap: 0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.mfd-prev-filter-group select {
    border-radius: 0px;
    font-weight: 500;
}

.mfd-prev-filter-group select:focus {
    box-shadow: unset;
}

/* trained director tab */

.prev-parti-t2-wrap {
    overflow: hidden;
    margin-bottom: 50px;
    border: 0.5px solid var(--border);
}

.prev-parti-t2-batch {
    background: var(--text-blue);
    padding: 10px 16px;
}

.prev-parti-t2-batch-openhouse {
    background: var(--gold);
}

.prev-parti-t2-batch p {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
}

.prev-parti-t2-batch .prev-parti-b1 {
    font-weight: 500;
    font-size: 18px;
}

.prev-parti-t2 table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.prev-parti-t2 thead tr {
    background: #1a3c72;
}

.prev-parti-t2 th {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    padding: 8px 12px;
    border-right: 1px solid var(--border);
    text-align: left;
    letter-spacing: 0.04em;
}

.prev-parti-t2 td {
    padding: 9px 12px;
    font-size: 16px;
    border-bottom: 0.5px solid var(--border);
    vertical-align: middle;
    -webkit-user-select: none;
    user-select: none;
}

.prev-parti-t2 tr:nth-child(even) td {
    background: var(--cream2);
}

.prev-parti-t2 tr:last-child td {
    border-bottom: none;
}

.prev-parti-t2 .prev-parti-num {
    color: var(--text2);
    font-size: 14px;
}

.mfd-prev-filter-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr .5fr;
    gap: 0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.mfd-prev-filter-group select {
    border-radius: 0px;
    font-weight: 500;
}

.mfd-prev-filter-group select:focus {
    box-shadow: unset;
}

/* end */

.fa-spinner {
    display: none;
}

.mfd-d-inhouse-right {
    overflow: hidden;
    position: relative;
    height: 70vh;
}

.mfd-d-inhouse-right img {
    object-position: 67%;
    height: 100%;
    width: 106%;
    object-fit: cover;
    margin-top: 0;
}

#prev_participant_datalist {
    -webkit-user-select: none;
    user-select: none;
}

@media only screen and (min-width: 1600px) and (max-width: 1930px) {}

@media only screen and (min-width: 1300px) and (max-width: 1518px) {

    .scroll-tabs .nav-link,
    .prev-parti-t2 td {
        font-size: 14px;
    }

    .mfd-upcom-batch-right {
        height: 68vh;
    }

    .mfd-wsa-left-image {
        height: 49.5vh;
    }


    .prev-parti-t2 table {
        table-layout: auto;
    }

    .prev-parti-t2 th,
    .prev-parti-t2 td {
        font-size: 14px;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1299px) {

    .prev-parti-t2 table {
        table-layout: auto;
    }

    .prev-parti-t2 th,
    .prev-parti-t2 td {
        font-size: 14px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .programme-cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .programme-card .programme-card-img {
        height: 213px;
    }

    .programme-card-top {
        justify-content: flex-start;
    }

    .programme-card-add .programme-card-img {
        height: 100%;
    }

    .programme-card-add {
        height: 277px;
    }

    .programme-card-add .programme-card-top {
        justify-content: space-between;
    }

    .mfd-upcom-batch-right {
        margin-top: 20px;
        height: 45vh;
    }

    .mfd-wsa-left-image img {
        object-position: 57% 57%;
    }

    .train-count-imgright {
        height: 70vh;
        margin-top: 30px;
    }

    .mfd-fp-cards-row {
        grid-template-columns: repeat(4, 1fr);
    }


    .prev-parti-t2 table {
        table-layout: auto;
    }

    .prev-parti-t2 th,
    .prev-parti-t2 td {
        font-size: 14px;
    }
}

@media only screen and (max-width: 768px) {
    .programme-cards {
        grid-template-columns: 1fr;
    }

    .scroll-tabs {
        top: 80px;
    }

    .stats-bar-inner {
        margin-top: 25px;
    }

    .mfd-upcom-batch-right {
        height: 45vh;
        margin-top: 20px;
    }

    .mfd-wsa-left-image {
        height: 47.5vh;
    }

    .train-count-imgright {
        height: 52vh;
        margin-top: 30px;
    }

    .mfd-fp-cards-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .prev-parti-t2 table {
        table-layout: auto;
    }

    .prev-parti-t2 th,
    .prev-parti-t2 td {
        font-size: 14px;
    }

}

@media only screen and (max-width: 540px) {
    .calendar-table thead th {
        padding: 9px 9px;
        font-size: 12px;
    }

    .calendar-table thead th:nth-child(2) {
        width: auto;
    }

    .calendar-table tbody td.batch-num,
    .calendar-table tbody td:nth-child(2) {
        font-size: 12px;
        width: auto;
    }

    .calendar-table tbody td {
        padding: 6px 9px;
        font-size: 12px;
        width: auto;
    }

    .calendar-table tbody td a {
        padding: 5px 10px;
        font-size: 12px;
    }

    .batch_full_badge {
        font-size: 10px;
        width: auto;
        padding: 5px 4px;
    }

    .eleg-why-grid {
        grid-template-columns: 1fr;
    }

    .stat-card-main {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .faq-btns-sec {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 20px;
    }

    .faq-btns-sec a {
        width: 100%;
    }

    .faq-btns-sec a:first-child {
        grid-column: 1 / -1;
    }

    .scroll-tabs .nav {
        padding-bottom: 10px;
    }

    .scroll-tabs .nav-link {
        font-size: 14px;
        padding: 9px 15px;
    }

    .scroll-tabs {
        top: 80px;
    }

    .section-lead {
        font-size: 14px;
    }

    .programme-cards {
        grid-template-columns: 1fr;
    }

    .programme-card {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .programme-card-img {
        height: 220px;
    }

    .programme-card-img img {
        object-position: center;
        width: 100%;
    }

    .programme-card-top {
        padding: 15px 0px 0px 0px;
    }

    .programme-tag-new {
        top: 15px;
    }

    .programme-card-top p {
        font-size: 12px;
    }

    .programme-meta {
        flex-direction: row;
    }

    .programme-card-add {
        height: auto;
    }

    .programme-card-bottom button,
    .programme-card-bottom a {
        width: 65%;
    }

    .mfd-upcom-batch-right {
        height: 30vh;
    }

    .calendar-note {
        margin-bottom: 20px;
    }

    .mfd-wsa-left-image {
        height: 31.5vh;
        margin-bottom: 15px;
    }

    .note-info-box p {
        font-size: 12px;
    }

    .note-info-box {
        padding: 10px;
    }

    .eleg-why-grid {
        gap: 20px;
    }

    .stat-card-logo img {
        width: 88px;
    }

    .stat-number {
        font-size: clamp(1.5rem, 4vw, 2.1rem);
    }

    .stat-label-primary {
        font-size: 12px;
    }

    .stat-description {
        font-size: 14px;
        line-height: normal;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .train-count-imgright {
        height: 32vh;
        margin-top: 30px;
    }

    .stats-bar-inner {
        margin-top: 25px;
    }

    .stat-num {
        font-size: 20px;
    }

    .stat-label {
        font-size: 14px;
        line-height: normal;
        padding: 0;
    }

    .tc-post-nominal-modal {
        font-size: 16px;
    }

    .mem_terms_list p {
        font-size: 14px;
    }

    .mem_terms_list ul li a {
        font-size: 14px;
    }

    .detail-list li {
        font-size: 14px;
    }

    .mfd-ideal-candidate-detail-list {
        grid-template-columns: 1fr 1fr;
    }

    .mfd-fp-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .mfd-fp-s2-base p {
        font-size: 14px;
        height: 30px;
    }

    .emp-label {
        font-size: 14px;
        margin-top: 12px;
        line-height: normal;
    }

    .avatar-circle {
        width: 80px;
        height: 80px;
    }

    .faculty-emp-card .btn-gold {
        padding: 4px 20px;
        font-size: 12px;
    }

    .mfd-fp-s2-overlay .mfd-fp-ov-name {
        font-size: 14px;
    }

    .mfd-fp-s2-overlay .mfd-fp-ov-desc {
        font-size: 10px;
    }

    #master_faculty_modalbody .modal-header-custom .btn-close {
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 100;
    }

    #master_faculty_modalbody .modal-header-custom .modal-header-inner {
        padding-top: 35px;
    }

    #master_faculty_modalbody .modal-header-inner .modal-photo {
        width: 120px;
    }

    #master_faculty_modalbody .modal-header-inner .modal-role {
        font-size: 14px;
    }

    #master_faculty_modalbody .modal-body-custom {
        font-size: 14px;
    }

    .modal-name-badge {
        font-size: 12px;
        padding: 5px 7px;
    }

    .prev-parti-t2 table {
        table-layout: auto;
    }

    .prev-parti-t2 td {
        font-size: 12px;
        padding: 5px 8px;
    }

    .prev-parti-t2-batch .prev-parti-b1 {
        font-size: 16px;
        line-height: normal;
    }

    .prev-parti-t2 th {
        font-size: 14px;
    }


    .mfd-prev-filter-group select {
        font-size: 12px;
    }

    .mfd-prev-filter-group {
        grid-template-columns: 1fr 1fr;
    }


    .sub_para {
        font-size: 14px;
        line-height: normal;
    }

    .insti-item {
        height: 95px;
        overflow: hidden;
    }

}