﻿/* =========================================================
   USEFUL LINKS
========================================================= */

.useful-link-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 18px;
    color: #273E47;
    background: #fff;
    border: 1px solid rgba(139, 21, 56, 0.12);
    border-radius: 12px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(39, 62, 71, 0.07);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Heading */

.useful-links-heading {
    margin-bottom: 42px;
}

.useful-links-subtitle {
    display: inline-block;
    margin-bottom: 7px;
    color: #8B1538;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.useful-links-heading h2 {
    margin: 0;
    color: #273E47;
    font-size: 32px;
    font-weight: 700;
}

    .useful-links-heading h2 span {
        color: #8B1538;
    }

.useful-links-heading p {
    margin: 12px 0 0;
    color: #777;
    font-size: 13px;
}


.useful-links-heading h2 {
    margin: 0;
    color: #273E47;
    font-size: 34px;
    font-weight: 700;
}


    .useful-links-heading h2 span {
        color: #8B1538;
    }


.useful-links-heading p {
    margin: 12px 0 0;
    color: #6b7280;
    font-size: 14px;
}


/* Heading line */

.useful-links-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px auto 0;
}


    .useful-links-line span {
        width: 45px;
        height: 2px;
        background: #8B1538;
        border-radius: 20px;
    }


    .useful-links-line i {
        color: #8B1538;
        font-size: 12px;
    }


/* =========================================================
   GRID
========================================================= */

.useful-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}


/* =========================================================
   CARD
========================================================= */

.useful-link-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 18px;
    color: #273E47;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(139, 21, 56, 0.12);
    border-radius: 12px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(39, 62, 71, 0.06);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}


    /* Left accent */

    .useful-link-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 0;
        background: #8B1538;
        border-radius: 0 0 5px 5px;
        transition: height 0.35s ease;
    }


    /* Hover background glow */

    .useful-link-card::after {
        content: "";
        position: absolute;
        width: 100px;
        height: 100px;
        right: -45px;
        bottom: -45px;
        background: rgba(252, 234, 222, 0.8);
        border-radius: 50%;
        transition: transform 0.45s ease, background 0.45s ease;
    }


/* =========================================================
   ICON
========================================================= */

.useful-link-icon {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-right: 14px;
    color: #8B1538;
    background: #FCEADE;
    border: 1px solid rgba(139, 21, 56, 0.10);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1), background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}


    .useful-link-icon i {
        font-size: 20px;
        transition: transform 0.35s ease;
    }


/* =========================================================
   CONTENT
========================================================= */

.useful-link-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}


    .useful-link-content span {
        color: #273E47;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
        transition: color 0.35s ease;
    }


.useful-link-arrow {
    color: #8B1538;
    font-size: 11px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.35s ease, color 0.35s ease;
}


/* =========================================================
   HOVER
========================================================= */

.useful-link-card:hover {
    color: #fff;
    background: #8B1538;
    border-color: #8B1538;
    transform: translateY(-7px);
    box-shadow: 0 14px 28px rgba(139, 21, 56, 0.20);
}


    .useful-link-card:hover::before {
        height: 100%;
    }


    .useful-link-card:hover::after {
        transform: scale(3);
        background: rgba(255, 255, 255, 0.06);
    }


    .useful-link-card:hover .useful-link-icon {
        color: #8B1538;
        background: #FCEADE;
        border-color: #FCEADE;
        transform: rotate(-6deg) scale(1.06);
    }


        .useful-link-card:hover .useful-link-icon i {
            transform: scale(1.12);
        }


    .useful-link-card:hover .useful-link-content span {
        color: #fff;
    }


    .useful-link-card:hover .useful-link-arrow {
        color: #fff;
        opacity: 1;
        transform: translateX(0);
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .useful-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


@media (max-width: 991px) {

    .useful-links-section {
        padding: 65px 0;
    }

    .useful-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 767px) {

    .useful-links-heading h2 {
        font-size: 28px;
    }

    .useful-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .useful-link-card {
        min-height: 82px;
        padding: 14px;
    }

    .useful-link-icon {
        width: 44px;
        height: 44px;
        margin-right: 10px;
    }

        .useful-link-icon i {
            font-size: 17px;
        }

    .useful-link-content span {
        font-size: 13px;
    }
}


@media (max-width: 480px) {

    .useful-links-section {
        padding: 50px 0;
    }

    .useful-links-grid {
        grid-template-columns: 1fr;
    }

    .useful-link-card {
        min-height: 72px;
    }
}





/* =========================================================
   MKS COLLEGE
   ABOUT PAGE
   Theme:
   #8B1538
   #FCEADE
========================================================= */

.mks-about-page {
    --mks-maroon: #8B1538;
    --mks-maroon-dark: #69102a;
    --mks-peach: #FCEADE;
    --mks-text: #333333;
    --mks-muted: #6f6f6f;
    --mks-border: #ead9d0;
    --mks-white: #ffffff;
}


    /* =========================================================
   COMMON
========================================================= */

    .mks-about-page p {
        color: var(--mks-muted);
        line-height: 1.85;
        font-size: 15px;
    }

    .mks-about-page h1,
    .mks-about-page h2,
    .mks-about-page h3,
    .mks-about-page h4,
    .mks-about-page h5 {
        color: var(--mks-text);
    }

.section-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 0;
}

    .section-heading h2 span {
        color: var(--mks-maroon);
    }


/* =========================================================
   BADGE
========================================================= */

.section-badge,
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    background: var(--mks-peach);
    color: var(--mks-maroon);
    border: 1px solid rgba(139, 21, 56, 0.12);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

    .section-badge::before,
    .about-badge::before {
        content: "";
        width: 6px;
        height: 6px;
        background: var(--mks-maroon);
        border-radius: 50%;
    }


/* =========================================================
   HEADING DIVIDER
========================================================= */

.heading-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
}

    .heading-divider span {
        width: 45px;
        height: 1px;
        background: var(--mks-maroon);
        opacity: .35;
    }

    .heading-divider i {
        color: var(--mks-maroon);
        font-size: 13px;
    }


/* =========================================================
   HERO
========================================================= */

.about-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 90% 20%, rgba(139, 21, 56, .08), transparent 30%), var(--mks-peach);
}

    .about-hero::before {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        border-radius: 50%;
        background: rgba(139, 21, 56, .035);
        top: -180px;
        right: -100px;
    }

.about-hero-title {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
}

    .about-hero-title span {
        display: block;
        color: var(--mks-maroon);
    }

.about-hero-text {
    max-width: 700px;
    font-size: 16px !important;
}


/* =========================================================
   HERO INFO
========================================================= */

.about-hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.about-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-info-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--mks-maroon);
    color: #fff;
    box-shadow: 0 8px 20px rgba(139, 21, 56, .18);
}

.about-info-item small {
    display: block;
    color: var(--mks-muted);
    font-size: 11px;
}

.about-info-item strong {
    display: block;
    color: var(--mks-text);
    font-size: 14px;
}


/* =========================================================
   HERO CARD
========================================================= */

.about-hero-card {
    position: relative;
    padding: 38px;
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(139, 21, 56, .08);
    box-shadow: 0 20px 50px rgba(70, 30, 30, .12);
}

.about-card-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--mks-peach);
    color: var(--mks-maroon);
    font-size: 24px;
    margin-bottom: 22px;
}

.about-hero-card h3 {
    font-size: 25px;
    font-weight: 700;
}

    .about-hero-card h3 span {
        color: var(--mks-maroon);
    }

.about-card-line {
    height: 1px;
    background: var(--mks-border);
    margin: 25px 0;
}

.about-stat {
    padding: 15px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #eee;
}

    .about-stat strong {
        display: block;
        color: var(--mks-maroon);
        font-size: 20px;
    }

    .about-stat span {
        display: block;
        color: var(--mks-muted);
        font-size: 11px;
        margin-top: 3px;
    }


/* =========================================================
   INTRODUCTION
========================================================= */

.about-introduction {
    background: #fff;
}

.about-content-card {
    padding: 35px;
    background: #fff;
    border-left: 4px solid var(--mks-maroon);
    border-radius: 0 15px 15px 0;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
}

    .about-content-card p {
        margin-bottom: 18px;
    }

    .about-content-card strong {
        color: var(--mks-maroon);
    }


/* =========================================================
   COLLEGE GLANCE
========================================================= */

.about-glance {
    background: #faf7f5;
}

.glance-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--mks-border);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .glance-card:hover {
        transform: translateY(-6px);
        border-color: rgba(139, 21, 56, .2);
        box-shadow: 0 15px 35px rgba(139, 21, 56, .10);
    }

.glance-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--mks-peach);
    color: var(--mks-maroon);
    font-size: 18px;
}

.glance-card span {
    display: block;
    color: var(--mks-muted);
    font-size: 11px;
}

.glance-card h4 {
    margin: 4px 0 0;
    font-size: 16px;
    font-weight: 700;
}


/* =========================================================
   ACADEMIC PROFILE
========================================================= */

.academic-profile {
    background: #fff;
}

.academic-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
}

    .academic-image-box img {
        width: 100%;
        height: 430px;
        object-fit: cover;
        display: block;
    }

    .academic-image-box::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(20, 10, 10, .25), transparent 45% );
    }

.academic-image-badge {
    position: absolute;
    z-index: 2;
    left: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 17px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
}

    .academic-image-badge strong {
        color: var(--mks-maroon);
        font-size: 18px;
    }

    .academic-image-badge span {
        color: var(--mks-muted);
        font-size: 12px;
    }

.academic-text {
    max-width: 650px;
}


/* =========================================================
   STREAM CARDS
========================================================= */

.stream-card {
    height: 100%;
    padding: 22px;
    border-radius: 16px;
    background: #faf7f5;
    border: 1px solid var(--mks-border);
    transition: all .3s ease;
}

    .stream-card:hover {
        transform: translateY(-5px);
        background: #fff;
        box-shadow: 0 12px 30px rgba(139, 21, 56, .08);
    }

.stream-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: var(--mks-maroon);
    color: #fff;
    border-radius: 11px;
}

.stream-card h5 {
    font-size: 16px;
    font-weight: 700;
}

.stream-card p {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 0;
}


/* =========================================================
   CAMPUS
========================================================= */

.campus-section {
    background: var(--mks-peach);
}

    .campus-section .section-heading h2 {
        max-width: 600px;
    }

.campus-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 20px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(139, 21, 56, .08);
}

.campus-highlight-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--mks-maroon);
    color: #fff;
}

.campus-highlight strong {
    display: block;
    color: var(--mks-text);
    font-size: 14px;
}

.campus-highlight span {
    display: block;
    color: var(--mks-muted);
    font-size: 12px;
    margin-top: 2px;
}


/* =========================================================
   CAMPUS CARD
========================================================= */

.campus-card {
    position: relative;
    padding: 45px 35px;
    background: var(--mks-maroon);
    border-radius: 24px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(139, 21, 56, .22);
}

    .campus-card::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .06);
        top: -100px;
        right: -80px;
    }

.campus-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12);
    border-radius: 16px;
    font-size: 25px;
    margin-bottom: 25px;
}

.campus-card h3 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

    .campus-card h3 span {
        color: var(--mks-peach);
    }

.campus-card p {
    color: rgba(255, 255, 255, .75);
}

.campus-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: var(--mks-peach);
    font-size: 13px;
}


/* =========================================================
   CLOSING
========================================================= */

.about-closing {
    background: #fff;
}

.about-closing-card {
    padding: 55px 25px;
    border-radius: 24px;
    background: linear-gradient( 135deg, #fff7f2, var(--mks-peach) );
    border: 1px solid var(--mks-border);
}

    .about-closing-card h2 {
        font-size: clamp(27px, 4vw, 40px);
        font-weight: 700;
    }

        .about-closing-card h2 span {
            color: var(--mks-maroon);
        }

    .about-closing-card p {
        max-width: 650px;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .about-hero-title {
        font-size: 45px;
    }

    .academic-image-box img {
        height: 380px;
    }

    .about-hero-card {
        padding: 30px;
    }
}


@media (max-width: 767.98px) {

    .about-hero-title {
        font-size: 38px;
    }

    .about-hero-text {
        font-size: 14px !important;
    }

    .about-hero-info {
        gap: 15px;
    }

    .about-content-card {
        padding: 25px;
    }

    .academic-image-box img {
        height: 300px;
    }

    .campus-card {
        padding: 35px 25px;
    }
}


@media (max-width: 575.98px) {

    .about-hero-title {
        font-size: 34px;
    }

    .about-hero-card {
        padding: 25px;
        border-radius: 18px;
    }

    .about-info-item {
        width: 100%;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .about-content-card {
        padding: 22px;
    }

    .academic-image-box img {
        height: 260px;
    }

    .about-closing-card {
        padding: 40px 20px;
    }
}

/* =========================================================
   MKS COLLEGE EVENTS SLIDER
========================================================= */

.mks-event-slider .owl-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

    .mks-event-slider .owl-nav button,
    .mks-gallery-slider .owl-nav button {
        width: 44px;
        height: 44px;
        border-radius: 50% !important;
        background: #8B1538 !important;
        color: #fff !important;
        font-size: 16px !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: background 0.2s, transform 0.2s !important;
        outline: none !important;
    }

        .mks-event-slider .owl-nav button:hover,
        .mks-gallery-slider .owl-nav button:hover {
            background: #6b0f2a !important;
            transform: scale(1.08);
        }

.mks-event-slider .owl-dots,
.mks-gallery-slider .owl-dots {
    margin-top: 16px;
    text-align: center;
}

.mks-event-slider .owl-dot span,
.mks-gallery-slider .owl-dot span {
    background: #d1d5db !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    transition: background 0.2s !important;
}

.mks-event-slider .owl-dot.active span,
.mks-gallery-slider .owl-dot.active span {
    background: #8B1538 !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* Event Card */
.mks-event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    margin: 8px;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .mks-event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(139,21,56,0.18);
    }

.mks-event-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

    .mks-event-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.35s;
        display: block;
    }

.mks-event-card:hover .mks-event-img img {
    transform: scale(1.06);
}

.mks-event-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

    .mks-event-noimg i {
        font-size: 52px;
        color: #94a3b8;
    }

/* Date Badge */
.mks-event-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #8B1538;
    color: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 2px 8px rgba(139,21,56,0.35);
}

    .mks-event-date-badge .day {
        display: block;
        font-size: 22px;
        font-weight: 700;
        line-height: 1;
    }

    .mks-event-date-badge .month {
        display: block;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mks-event-date-badge .year {
        display: block;
        font-size: 10px;
        opacity: 0.8;
    }

/* Fancybox trigger on image */
.mks-event-img > a {
    display: block;
    width: 100%;
    height: 100%;
}

.mks-event-body {
    padding: 18px 18px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mks-event-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
}

.mks-event-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

    .mks-event-meta li {
        font-size: 13px;
        color: #64748b;
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .mks-event-meta li i {
            color: #8B1538;
            width: 14px;
            flex-shrink: 0;
        }

.mks-event-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.mks-event-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* =========================================================
   MKS MEDIA GALLERY SLIDER
========================================================= */

.mks-gallery-slider {
    width: 100%;
}

    .mks-gallery-slider .owl-nav {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 20px;
    }

.mks-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 4px;
}

.mks-gallery-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    background: #f1f5f9;
}

    .mks-gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.35s;
        display: block;
    }

    .mks-gallery-thumb:hover img {
        transform: scale(1.08);
    }

.mks-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139,21,56,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
    border-radius: 8px;
}

.mks-gallery-thumb:hover .mks-gallery-overlay {
    opacity: 1;
}

.mks-gallery-overlay i {
    font-size: 26px;
    color: #fff;
}

@media (max-width: 576px) {
    .mks-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   MKS PAGE BANNER + BREADCRUMB
   Used on all inner pages
========================================================= */
/* =========================================================
   MKS COLLEGE PAGE BANNER
   Theme:
   #8B1538 = Primary
   #FCEADE = Soft Peach
   #FFFFFF = White
   ========================================================= */

.mks-page-banner {
    position: relative;
    min-height: 285px;
    padding: 60px 0 65px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background-color: #FCEADE;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================================
   DEFAULT BANNER
   ========================================================= */

.mks-banner-default {
    background: radial-gradient( circle at 10% 20%, rgba(139, 21, 56, 0.08), transparent 30% ), radial-gradient( circle at 90% 80%, rgba(139, 21, 56, 0.06), transparent 32% ), #FCEADE;
}


/* =========================================================
   IMAGE BANNER
   ========================================================= */

.mks-banner-image {
    background-color: #FCEADE;
}


    /*
   IMPORTANT:
   No dark maroon overlay.
   Image remains visible and clean.
*/

    .mks-banner-image .mks-banner-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient( 90deg, rgba(252, 234, 222, 0.88) 0%, rgba(252, 234, 222, 0.68) 42%, rgba(252, 234, 222, 0.48) 100% );
    }


/* Default banner doesn't need overlay */

.mks-banner-default .mks-banner-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}


/* =========================================================
   DECORATIVE CIRCLES
   ========================================================= */

.mks-page-banner::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -150px;
    top: -180px;
    border-radius: 50%;
    border: 1px solid rgba(139, 21, 56, 0.10);
    box-shadow: 0 0 0 35px rgba(139, 21, 56, 0.025), 0 0 0 70px rgba(139, 21, 56, 0.018);
    z-index: 2;
    pointer-events: none;
}


.mks-page-banner::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    left: -120px;
    bottom: -140px;
    border-radius: 50%;
    background: rgba(139, 21, 56, 0.055);
    z-index: 2;
    pointer-events: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.mks-page-banner .container {
    position: relative;
    z-index: 5;
}


/* =========================================================
   CONTENT CARD
   ========================================================= */

.mks-banner-content {
    position: relative;
    width: fit-content;
    max-width: 850px;
    margin: 0 auto;
    padding: 28px 55px 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(139, 21, 56, 0.12);
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(80, 20, 30, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


    /* =========================================================
   TOP ACCENT
   ========================================================= */

    .mks-banner-content::before {
        content: "";
        position: absolute;
        width: 52px;
        height: 4px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background: #8B1538;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px rgba(139, 21, 56, 0.20);
    }


/* =========================================================
   BADGE
   ========================================================= */

.mks-banner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    margin-bottom: 10px;
    border-radius: 50px;
    background: #FCEADE;
    border: 1px solid rgba(139, 21, 56, 0.12);
    color: #8B1538;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* =========================================================
   TITLE
   ========================================================= */

.mks-banner-title {
    margin: 0;
    color: #8B1538;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.5px;
}


    /* =========================================================
   TITLE UNDERLINE
   ========================================================= */

    .mks-banner-title::after {
        content: "";
        display: block;
        width: 48px;
        height: 3px;
        margin: 13px auto 0;
        background: #8B1538;
        border-radius: 10px;
    }


/* =========================================================
   SUBTITLE
   ========================================================= */

.mks-banner-subtitle {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.2px;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.mks-breadcrumb-bar {
    position: relative;
    /*    z-index: 10;*/
    background: #ffffff;
    border-bottom: 1px solid rgba(139, 21, 56, 0.08);
    box-shadow: 0 3px 15px rgba(40, 20, 25, 0.05);
}


    .mks-breadcrumb-bar .container {
        padding-top: 11px;
        padding-bottom: 11px;
    }


/* =========================================================
   BREADCRUMB ITEMS
   ========================================================= */

.mks-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 10px;
    font-size: 13px;
}


    .mks-breadcrumb .breadcrumb-item a {
        color: #8B1538;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.25s ease;
    }


        .mks-breadcrumb .breadcrumb-item a:hover {
            color: #64102a;
            text-decoration: none;
        }


    .mks-breadcrumb .breadcrumb-item.active {
        color: #64748b;
        font-weight: 500;
    }


    /* =========================================================
   BREADCRUMB SEPARATOR
   ========================================================= */

    .mks-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        color: #c49aaa;
        font-size: 11px;
        padding: 0 9px;
    }


    /* =========================================================
   HOME ICON
   ========================================================= */

    .mks-breadcrumb
    .breadcrumb-item:first-child a::before {
        content: "\f015";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 25px;
        height: 25px;
        margin-right: 7px;
        border-radius: 7px;
        background: #FCEADE;
        color: #8B1538;
        font-size: 10px;
        transition: all 0.25s ease;
    }


    .mks-breadcrumb
    .breadcrumb-item:first-child a:hover::before {
        background: #8B1538;
        color: #ffffff;
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .mks-page-banner {
        min-height: 255px;
        padding: 55px 0 60px;
    }

    .mks-banner-content {
        padding: 26px 40px;
    }

    .mks-banner-title {
        font-size: 38px;
    }
}


@media (max-width: 767.98px) {

    .mks-page-banner {
        min-height: 225px;
        padding: 45px 0 50px;
    }

    .mks-banner-content {
        width: calc(100% - 30px);
        padding: 24px 25px;
        border-radius: 16px;
    }

    .mks-banner-title {
        font-size: 31px;
    }

    .mks-banner-subtitle {
        font-size: 14px;
    }
}


@media (max-width: 575.98px) {

    .mks-page-banner {
        min-height: 200px;
        padding: 38px 0 42px;
    }

    .mks-banner-content {
        width: calc(100% - 20px);
        padding: 22px 17px;
        border-radius: 14px;
    }

    .mks-banner-title {
        font-size: 27px;
        letter-spacing: -0.3px;
    }

        .mks-banner-title::after {
            width: 42px;
            margin-top: 10px;
        }

    .mks-banner-subtitle {
        margin-top: 9px;
        font-size: 13px;
    }

    .mks-breadcrumb {
        font-size: 12px;
    }
}
/*=================founder================================*/

/* =========================================================
   MKS COLLEGE
   FOUNDER PAGE
========================================================= */

.mks-founder-page {
    --mks-maroon: #8B1538;
    --mks-maroon-dark: #69102a;
    --mks-peach: #FCEADE;
    --mks-text: #333333;
    --mks-muted: #6f6f6f;
    --mks-border: #ead9d0;
    --mks-white: #ffffff;
}


    /* =========================================================
   COMMON
========================================================= */

    .mks-founder-page p {
        color: var(--mks-muted);
        line-height: 1.85;
        font-size: 15px;
    }

    .mks-founder-page h1,
    .mks-founder-page h2,
    .mks-founder-page h3,
    .mks-founder-page h4,
    .mks-founder-page h5 {
        color: var(--mks-text);
    }

.section-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
}

    .section-heading h2 span {
        color: var(--mks-maroon);
    }


/* =========================================================
   BADGES
========================================================= */

.section-badge,
.founder-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    background: var(--mks-peach);
    color: var(--mks-maroon);
    border: 1px solid rgba(139, 21, 56, .12);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .section-badge::before,
    .founder-badge::before {
        content: "";
        width: 6px;
        height: 6px;
        background: var(--mks-maroon);
        border-radius: 50%;
    }


/* =========================================================
   DIVIDER
========================================================= */

.heading-divider {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
}

    .heading-divider span {
        width: 45px;
        height: 1px;
        background: var(--mks-maroon);
        opacity: .35;
    }

    .heading-divider i {
        color: var(--mks-maroon);
        font-size: 13px;
    }


/* =========================================================
   HERO
========================================================= */

.founder-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 85% 20%, rgba(139, 21, 56, .08), transparent 30% ), var(--mks-peach);
}

    .founder-hero::before {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        border-radius: 50%;
        background: rgba(139, 21, 56, .035);
        top: -180px;
        right: -100px;
    }

.founder-hero-title {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
}

    .founder-hero-title span {
        display: block;
        color: var(--mks-maroon);
    }

.founder-hero-text {
    max-width: 680px;
    font-size: 16px !important;
}


/* =========================================================
   YEAR
========================================================= */

.founder-year {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.founder-year-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-maroon);
    color: #fff;
    border-radius: 13px;
    box-shadow: 0 10px 25px rgba(139, 21, 56, .18);
}

.founder-year small {
    display: block;
    color: var(--mks-muted);
    font-size: 11px;
}

.founder-year strong {
    display: block;
    color: var(--mks-maroon);
    font-size: 20px;
}


/* =========================================================
   HERO CARD
========================================================= */

.founder-hero-card {
    padding: 40px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(70, 30, 30, .12);
    border: 1px solid rgba(139, 21, 56, .08);
}

.founder-quote-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-peach);
    color: var(--mks-maroon);
    border-radius: 15px;
    font-size: 20px;
    margin-bottom: 22px;
}

.founder-hero-card p {
    font-size: 16px;
    color: var(--mks-text);
    font-style: italic;
}

.founder-card-line {
    height: 1px;
    background: var(--mks-border);
    margin: 25px 0;
}

.founder-card-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mks-maroon);
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.founder-introduction {
    background: #fff;
}

.founder-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
}

    .founder-image-wrapper img {
        width: 100%;
        height: 480px;
        object-fit: cover;
        display: block;
    }

    .founder-image-wrapper::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(20, 5, 10, .45), transparent 45% );
    }

.founder-image-caption {
    position: absolute;
    z-index: 2;
    left: 25px;
    right: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, .96);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.caption-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-peach);
    color: var(--mks-maroon);
    border-radius: 11px;
}

.founder-image-caption small {
    display: block;
    color: var(--mks-muted);
    font-size: 10px;
}

.founder-image-caption strong {
    display: block;
    color: var(--mks-text);
    font-size: 13px;
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.founder-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #faf7f5;
    border: 1px solid var(--mks-border);
    border-radius: 15px;
}

.founder-highlight-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-maroon);
    color: #fff;
    border-radius: 12px;
}

.founder-highlight strong {
    display: block;
    color: var(--mks-text);
    font-size: 14px;
}

.founder-highlight span {
    display: block;
    color: var(--mks-muted);
    font-size: 12px;
    margin-top: 3px;
}


/* =========================================================
   JOURNEY
========================================================= */

.founder-journey {
    background: #faf7f5;
}

.journey-card {
    position: relative;
    padding: 32px 27px;
    background: #fff;
    border: 1px solid var(--mks-border);
    border-radius: 18px;
    overflow: hidden;
    transition: all .3s ease;
}

    .journey-card:hover {
        transform: translateY(-7px);
        border-color: rgba(139, 21, 56, .2);
        box-shadow: 0 18px 40px rgba(139, 21, 56, .09);
    }

.journey-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgba(139, 21, 56, .08);
    font-size: 42px;
    font-weight: 800;
}

.journey-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-peach);
    color: var(--mks-maroon);
    border-radius: 14px;
    margin-bottom: 22px;
}

.journey-year {
    display: inline-block;
    color: var(--mks-maroon);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.journey-card h4 {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 700;
}

.journey-card p {
    font-size: 13px;
    margin-bottom: 0;
}


/* =========================================================
   IDEALS
========================================================= */

.founder-ideals {
    background: #fff;
}

.ideals-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ideal-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 19px;
    background: #faf7f5;
    border: 1px solid var(--mks-border);
    border-radius: 15px;
    transition: all .3s ease;
}

    .ideal-item:hover {
        transform: translateX(5px);
        background: #fff;
        box-shadow: 0 10px 30px rgba(139, 21, 56, .07);
    }

.ideal-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-maroon);
    color: #fff;
    border-radius: 11px;
}

.ideal-item h5 {
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 700;
}

.ideal-item p {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   LEGACY
========================================================= */

.founder-legacy {
    background: var(--mks-peach);
}

.legacy-card {
    padding: 45px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(139, 21, 56, .08);
    box-shadow: 0 15px 40px rgba(139, 21, 56, .07);
}

    .legacy-card h2 {
        font-size: clamp(28px, 4vw, 40px);
        font-weight: 700;
    }

        .legacy-card h2 span {
            color: var(--mks-maroon);
        }

.legacy-symbol {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--mks-maroon);
    border-radius: 18px;
    color: #fff;
}

.legacy-symbol-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    border-radius: 15px;
    font-size: 22px;
    margin-bottom: 12px;
}

.legacy-symbol strong {
    color: #fff;
    font-size: 18px;
}

.legacy-symbol span {
    margin-top: 4px;
    color: rgba(255,255,255,.7);
    font-size: 11px;
}


/* =========================================================
   CLOSING
========================================================= */

.founder-closing {
    background: #fff;
}

.founder-closing-inner {
    padding: 55px 25px;
    background: linear-gradient( 135deg, #fff7f2, var(--mks-peach) );
    border: 1px solid var(--mks-border);
    border-radius: 24px;
}

    .founder-closing-inner h2 {
        font-size: clamp(28px, 4vw, 40px);
        font-weight: 700;
    }

        .founder-closing-inner h2 span {
            color: var(--mks-maroon);
        }

    .founder-closing-inner p {
        max-width: 650px;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .founder-hero-title {
        font-size: 45px;
    }

    .founder-image-wrapper img {
        height: 400px;
    }

    .founder-hero-card {
        padding: 30px;
    }
}


@media (max-width: 767.98px) {

    .founder-hero-title {
        font-size: 38px;
    }

    .founder-image-wrapper img {
        height: 350px;
    }

    .legacy-card {
        padding: 30px 22px;
    }
}


@media (max-width: 575.98px) {

    .founder-hero-title {
        font-size: 34px;
    }

    .founder-hero-card {
        padding: 25px;
    }

    .founder-image-wrapper img {
        height: 290px;
    }

    .founder-image-caption {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .founder-highlight {
        align-items: flex-start;
    }

    .legacy-card {
        padding: 25px 18px;
    }
}

/*==================founder end==============================*/

/*===================mission vission==========================*/

/* =========================================================
   MKS COLLEGE
   MISSION & VISION PAGE
========================================================= */

.mks-mission-page {
    --mks-maroon: #8B1538;
    --mks-maroon-dark: #68102a;
    --mks-peach: #FCEADE;
    --mks-text: #333;
    --mks-muted: #707070;
    --mks-border: #ead9d0;
    --mks-light: #faf7f5;
}


    /* =========================================================
   COMMON
========================================================= */

    .mks-mission-page p {
        color: var(--mks-muted);
        line-height: 1.85;
        font-size: 15px;
    }

    .mks-mission-page h1,
    .mks-mission-page h2,
    .mks-mission-page h3,
    .mks-mission-page h4,
    .mks-mission-page h5 {
        color: var(--mks-text);
    }

    .mks-mission-page h2 {
        font-size: clamp(28px, 4vw, 40px);
        font-weight: 700;
    }

        .mks-mission-page h2 span {
            color: var(--mks-maroon);
        }


/* =========================================================
   BADGE
========================================================= */

.section-badge,
.mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    background: var(--mks-peach);
    color: var(--mks-maroon);
    border: 1px solid rgba(139,21,56,.12);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .section-badge::before,
    .mission-badge::before {
        content: "";
        width: 6px;
        height: 6px;
        background: var(--mks-maroon);
        border-radius: 50%;
    }


/* =========================================================
   DIVIDER
========================================================= */

.mission-divider {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
}

    .mission-divider span {
        width: 45px;
        height: 1px;
        background: var(--mks-maroon);
        opacity: .35;
    }

    .mission-divider i {
        color: var(--mks-maroon);
        font-size: 13px;
    }


/* =========================================================
   HERO
========================================================= */

.mission-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 90% 15%, rgba(139,21,56,.09), transparent 30% ), var(--mks-peach);
}

    .mission-hero::before {
        content: "";
        position: absolute;
        width: 400px;
        height: 400px;
        right: -180px;
        bottom: -200px;
        border-radius: 50%;
        background: rgba(139,21,56,.035);
    }

.mission-hero-title {
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

    .mission-hero-title span {
        color: var(--mks-maroon);
    }

.mission-hero-text {
    max-width: 680px;
    font-size: 16px !important;
}


/* =========================================================
   HERO STATS
========================================================= */

.mission-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.mission-stat {
    padding-right: 30px;
    border-right: 1px solid rgba(139,21,56,.2);
}

    .mission-stat:last-child {
        border-right: 0;
    }

    .mission-stat strong {
        display: block;
        color: var(--mks-maroon);
        font-size: 23px;
        font-weight: 800;
    }

    .mission-stat span {
        color: var(--mks-muted);
        font-size: 11px;
    }


/* =========================================================
   VISION HERO CARD
========================================================= */

.vision-hero-card {
    padding: 38px;
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(139,21,56,.08);
    box-shadow: 0 20px 50px rgba(90,30,40,.12);
}

.vision-symbol {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--mks-maroon);
    color: #fff;
    border-radius: 15px;
    font-size: 21px;
}

.vision-hero-card > span {
    color: var(--mks-maroon);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vision-hero-card h3 {
    margin-top: 10px;
    font-size: 28px;
    font-weight: 700;
}

    .vision-hero-card h3 strong {
        color: var(--mks-maroon);
    }


/* =========================================================
   VISION SECTION
========================================================= */

.vision-section {
    background: #fff;
}

.vision-content > h2 {
    max-width: 600px;
}

.vision-quote {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--mks-light);
    border-left: 3px solid var(--mks-maroon);
    border-radius: 0 12px 12px 0;
}

    .vision-quote i {
        color: var(--mks-maroon);
        font-size: 20px;
    }

    .vision-quote p {
        margin: 0;
        color: var(--mks-text);
        font-size: 14px;
        font-style: italic;
    }


/* =========================================================
   VISION CARDS
========================================================= */

.vision-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vision-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--mks-light);
    border: 1px solid var(--mks-border);
    border-radius: 16px;
    transition: all .3s ease;
}

    .vision-card:hover {
        transform: translateX(6px);
        background: #fff;
        box-shadow: 0 12px 30px rgba(139,21,56,.08);
    }

.vision-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-peach);
    color: var(--mks-maroon);
    border-radius: 12px;
}

.vision-card h5 {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 700;
}

.vision-card p {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   MISSION SECTION
========================================================= */

.mission-section {
    background: var(--mks-light);
}

.mission-intro {
    max-width: 680px;
}


/* =========================================================
   MISSION CARDS
========================================================= */

.mission-card {
    position: relative;
    padding: 32px 27px;
    background: #fff;
    border: 1px solid var(--mks-border);
    border-radius: 18px;
    overflow: hidden;
    transition: all .3s ease;
}

    .mission-card:hover {
        transform: translateY(-7px);
        border-color: rgba(139,21,56,.2);
        box-shadow: 0 18px 40px rgba(139,21,56,.09);
    }

.mission-card-number {
    position: absolute;
    top: 15px;
    right: 18px;
    color: rgba(139,21,56,.07);
    font-size: 42px;
    font-weight: 800;
}

.mission-card-icon {
    width: 53px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-peach);
    color: var(--mks-maroon);
    border-radius: 14px;
    margin-bottom: 22px;
    font-size: 18px;
}

.mission-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 9px;
}

.mission-card p {
    font-size: 13px;
    margin-bottom: 0;
}


/* =========================================================
   PILLARS
========================================================= */

.mission-pillars {
    background: #fff;
}

.pillar-card {
    position: relative;
    padding: 35px 30px;
    background: var(--mks-light);
    border: 1px solid var(--mks-border);
    border-radius: 20px;
    text-align: center;
    transition: all .3s ease;
}

    .pillar-card:hover {
        transform: translateY(-7px);
        background: #fff;
        box-shadow: 0 18px 40px rgba(139,21,56,.08);
    }

    .pillar-card.featured {
        background: var(--mks-maroon);
        border-color: var(--mks-maroon);
    }

.pillar-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-peach);
    color: var(--mks-maroon);
    border-radius: 16px;
    font-size: 21px;
}

.pillar-card > span {
    color: var(--mks-maroon);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pillar-card h4 {
    margin-top: 8px;
    font-size: 22px;
    font-weight: 700;
}

.pillar-card.featured h4,
.pillar-card.featured p,
.pillar-card.featured > span {
    color: #fff;
}

.pillar-card p {
    font-size: 13px;
    margin-bottom: 0;
}


/* =========================================================
   CLOSING
========================================================= */

.mission-closing {
    background: var(--mks-peach);
}

.mission-closing-card {
    padding: 55px 25px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(139,21,56,.08);
    box-shadow: 0 15px 40px rgba(139,21,56,.07);
}

    .mission-closing-card h2 {
        font-size: clamp(30px, 4vw, 45px);
        font-weight: 800;
    }

        .mission-closing-card h2 span {
            color: var(--mks-maroon);
        }

    .mission-closing-card p {
        max-width: 650px;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .mission-hero-title {
        font-size: 45px;
    }

    .vision-hero-card {
        padding: 30px;
    }
}


@media (max-width: 767.98px) {

    .mission-hero-title {
        font-size: 38px;
    }

    .mission-hero-stats {
        gap: 18px;
    }

    .mission-stat {
        padding-right: 18px;
    }
}


@media (max-width: 575.98px) {

    .mission-hero-title {
        font-size: 34px;
    }

    .vision-hero-card {
        padding: 25px;
    }

    .mission-hero-stats {
        gap: 15px;
    }

    .mission-stat {
        padding-right: 15px;
    }

        .mission-stat strong {
            font-size: 20px;
        }

    .vision-card {
        padding: 16px;
    }

    .mission-card {
        padding: 25px 22px;
    }
}


/*=================bachelor of arts=======================*/
/* =========================================================
   BACHELOR OF ARTS
   MKS COLLEGE
========================================================= */

.ba-page {
    --ba-maroon: #8B1538;
    --ba-maroon-dark: #69102b;
    --ba-peach: #FCEADE;
    --ba-light: #faf7f5;
    --ba-text: #303030;
    --ba-muted: #707070;
    --ba-border: #eadbd4;
}


    /* =========================================================
   COMMON
========================================================= */

    .ba-page h1,
    .ba-page h2,
    .ba-page h3,
    .ba-page h4,
    .ba-page h5 {
        color: var(--ba-text);
    }

    .ba-page h2 {
        font-size: clamp(28px, 4vw, 40px);
        font-weight: 750;
    }

        .ba-page h2 span,
        .ba-page h1 span {
            color: var(--ba-maroon);
        }

    .ba-page p {
        color: var(--ba-muted);
        line-height: 1.8;
        font-size: 14px;
    }


/* =========================================================
   BADGE
========================================================= */

.course-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    background: var(--ba-peach);
    color: var(--ba-maroon);
    border: 1px solid rgba(139, 21, 56, .12);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .course-badge::before {
        content: "";
        width: 6px;
        height: 6px;
        background: var(--ba-maroon);
        border-radius: 50%;
    }


/* =========================================================
   HERO
========================================================= */

.ba-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 85% 20%, rgba(139, 21, 56, .09), transparent 30% ), var(--ba-peach);
}

    .ba-hero::after {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        right: -170px;
        bottom: -190px;
        border-radius: 50%;
        background: rgba(139, 21, 56, .04);
    }

    .ba-hero h1 {
        font-size: clamp(40px, 5vw, 62px);
        font-weight: 800;
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .ba-hero p {
        max-width: 700px;
        font-size: 15px;
    }


/* =========================================================
   HERO BUTTONS
========================================================= */

.ba-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    color: #fff !important;
    background: var(--ba-maroon);
    border: 1px solid var(--ba-maroon);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    transition: all .3s ease;
}

    .ba-btn:hover {
        color: #fff !important;
        background: var(--ba-maroon-dark);
        border-color: var(--ba-maroon-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(139, 21, 56, .2);
    }

.ba-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    color: var(--ba-maroon) !important;
    background: #fff;
    border: 1px solid var(--ba-maroon);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    transition: all .3s ease;
}

    .ba-btn-outline:hover {
        color: #fff !important;
        background: var(--ba-maroon);
        transform: translateY(-2px);
    }


/* =========================================================
   HERO CARD
========================================================= */

.ba-hero-card {
    position: relative;
    z-index: 2;
    padding: 38px;
    background: #fff;
    border: 1px solid rgba(139, 21, 56, .08);
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(80, 30, 40, .12);
}

.ba-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
    background: var(--ba-maroon);
    border-radius: 15px;
    font-size: 21px;
}

.ba-hero-card > span {
    color: var(--ba-maroon);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ba-hero-card h3 {
    margin-top: 8px;
    font-size: 28px;
    font-weight: 750;
}

.ba-card-line {
    width: 45px;
    height: 3px;
    margin: 15px 0;
    background: var(--ba-maroon);
    border-radius: 5px;
}


/* =========================================================
   OVERVIEW
========================================================= */

.ba-overview {
    background: #fff;
}


/* =========================================================
   INFO BOX
========================================================= */

.ba-info-box {
    padding: 12px;
    background: var(--ba-light);
    border: 1px solid var(--ba-border);
    border-radius: 20px;
}

.ba-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    border-bottom: 1px solid var(--ba-border);
}

    .ba-info-item:last-child {
        border-bottom: 0;
    }

.ba-info-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ba-maroon);
    background: var(--ba-peach);
    border-radius: 12px;
}

.ba-info-item span {
    display: block;
    color: var(--ba-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.ba-info-item strong {
    display: block;
    margin-top: 3px;
    color: var(--ba-text);
    font-size: 14px;
}


/* =========================================================
   SUBJECTS
========================================================= */

.ba-subjects {
    background: var(--ba-light);
}

    .ba-subjects > .container > .text-center p {
        max-width: 650px;
    }


/* =========================================================
   SUBJECT CARD
========================================================= */

.ba-subject-card {
    padding: 28px 25px;
    background: #fff;
    border: 1px solid var(--ba-border);
    border-radius: 17px;
    transition: all .3s ease;
}

    .ba-subject-card:hover {
        transform: translateY(-6px);
        border-color: rgba(139, 21, 56, .2);
        box-shadow: 0 15px 35px rgba(139, 21, 56, .08);
    }

.ba-subject-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--ba-maroon);
    background: var(--ba-peach);
    border-radius: 14px;
    font-size: 19px;
}

.ba-subject-card h4 {
    font-size: 18px;
    font-weight: 700;
}

.ba-subject-card p {
    margin-bottom: 0;
    font-size: 13px;
}


/* =========================================================
   LEARNING
========================================================= */

.ba-learning {
    background: #fff;
}

.ba-learning-card {
    display: flex;
    gap: 14px;
    height: 100%;
    padding: 20px;
    background: var(--ba-light);
    border: 1px solid var(--ba-border);
    border-radius: 15px;
    transition: all .3s ease;
}

    .ba-learning-card:hover {
        background: #fff;
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(139, 21, 56, .07);
    }

    .ba-learning-card > i {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ba-maroon);
        background: var(--ba-peach);
        border-radius: 11px;
    }

    .ba-learning-card h5 {
        margin-bottom: 5px;
        font-size: 14px;
        font-weight: 700;
    }

    .ba-learning-card p {
        margin-bottom: 0;
        font-size: 11px;
        line-height: 1.65;
    }


/* =========================================================
   CAREER
========================================================= */

.ba-career {
    background: var(--ba-light);
}

    .ba-career > .container > .text-center p {
        max-width: 650px;
    }

.ba-career-card {
    height: 100%;
    padding: 28px 22px;
    background: #fff;
    border: 1px solid var(--ba-border);
    border-radius: 17px;
    text-align: center;
    transition: all .3s ease;
}

    .ba-career-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(139, 21, 56, .08);
    }

    .ba-career-card > i {
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 17px;
        color: var(--ba-maroon);
        background: var(--ba-peach);
        border-radius: 14px;
        font-size: 19px;
    }

    .ba-career-card h5 {
        font-size: 16px;
        font-weight: 700;
    }

    .ba-career-card p {
        margin-bottom: 0;
        font-size: 12px;
    }


/* =========================================================
   CTA
========================================================= */

.ba-cta {
    background: var(--ba-peach);
}

.ba-cta-box {
    padding: 38px 42px;
    background: #fff;
    border: 1px solid rgba(139, 21, 56, .1);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(139, 21, 56, .06);
}

    .ba-cta-box h2 {
        margin-bottom: 0;
    }

    .ba-cta-box p {
        max-width: 700px;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .ba-hero h1 {
        font-size: 46px;
    }

    .ba-hero-card {
        padding: 30px;
    }
}


@media (max-width: 767.98px) {

    .ba-hero h1 {
        font-size: 39px;
    }

    .ba-hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .ba-btn-outline {
        margin-left: 0 !important;
    }

    .ba-cta-box {
        padding: 30px 25px;
    }
}


@media (max-width: 575.98px) {

    .ba-hero h1 {
        font-size: 34px;
    }

    .ba-hero-card {
        padding: 25px;
    }

    .ba-info-item {
        padding: 14px 10px;
    }

    .ba-subject-card,
    .ba-career-card {
        padding: 23px 20px;
    }
}

/*=================student greviance =====================*/
/* =========================================================
   STUDENT GRIEVANCE
   M.K.S. COLLEGE
========================================================= */

.student-grievance-page {
    --grievance-maroon: #8B1538;
    --grievance-maroon-dark: #69102b;
    --grievance-peach: #FCEADE;
    --grievance-light: #faf7f5;
    --grievance-text: #303030;
    --grievance-muted: #727272;
    --grievance-border: #eadbd4;
}


/* =========================================================
   INTRO
========================================================= */

.grievance-intro {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 90% 10%, rgba(139, 21, 56, .09), transparent 30% ), var(--grievance-peach);
}

    .grievance-intro::before {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        left: -170px;
        bottom: -180px;
        border-radius: 50%;
        background: rgba(139, 21, 56, .04);
    }

.grievance-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    background: #fff;
    color: var(--grievance-maroon);
    border: 1px solid rgba(139, 21, 56, .12);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .grievance-badge::before {
        content: "";
        width: 6px;
        height: 6px;
        background: var(--grievance-maroon);
        border-radius: 50%;
    }

.grievance-intro h1 {
    color: var(--grievance-text);
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -1px;
}

    .grievance-intro h1 span {
        color: var(--grievance-maroon);
    }

.grievance-intro-text {
    max-width: 780px;
    color: var(--grievance-muted);
    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   INFO PILLS
========================================================= */

.grievance-info-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.grievance-info-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(139, 21, 56, .1);
    border-radius: 50px;
    color: var(--grievance-text);
    font-size: 11px;
    font-weight: 600;
    transition: all .3s ease;
}

    .grievance-info-pill i {
        color: var(--grievance-maroon);
    }

    .grievance-info-pill:hover {
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 7px 18px rgba(139, 21, 56, .08);
    }


/* =========================================================
   FORM SECTION
========================================================= */

.grievance-form-section {
    background: #fff;
}


/* =========================================================
   FORM CARD
========================================================= */

.grievance-form-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--grievance-border);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(70, 30, 40, .08);
}


/* =========================================================
   FORM HEADER
========================================================= */

.grievance-form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 25px 30px;
    background: linear-gradient( 135deg, var(--grievance-maroon), var(--grievance-maroon-dark) );
    color: #fff;
}

.grievance-header-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    font-size: 18px;
}

.grievance-form-header span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.grievance-form-header h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}


/* =========================================================
   FORM BODY
========================================================= */

.grievance-form-body {
    padding: 32px;
}


/* =========================================================
   FORM NOTE
========================================================= */

.grievance-form-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
    padding: 15px 17px;
    background: var(--grievance-light);
    border-left: 3px solid var(--grievance-maroon);
    border-radius: 0 10px 10px 0;
}

    .grievance-form-note i {
        margin-top: 3px;
        color: var(--grievance-maroon);
    }

    .grievance-form-note p {
        margin: 0;
        color: var(--grievance-muted);
        font-size: 12px;
        line-height: 1.7;
    }


/* =========================================================
   LABEL
========================================================= */

.grievance-label {
    display: block;
    margin-bottom: 8px;
    color: var(--grievance-text);
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   INPUT
========================================================= */

.grievance-input-wrapper {
    position: relative;
}

    .grievance-input-wrapper > i {
        position: absolute;
        top: 50%;
        left: 15px;
        z-index: 3;
        transform: translateY(-50%);
        color: var(--grievance-maroon);
        font-size: 13px;
        pointer-events: none;
    }

.grievance-input {
    min-height: 48px;
    padding: 10px 15px 10px 42px !important;
    color: var(--grievance-text);
    background: #fff !important;
    border: 1px solid var(--grievance-border) !important;
    border-radius: 9px !important;
    font-size: 13px;
    box-shadow: none !important;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

    .grievance-input::placeholder,
    .grievance-textarea::placeholder {
        color: #aaa;
    }

    .grievance-input:hover {
        border-color: rgba(139, 21, 56, .3) !important;
    }

    .grievance-input:focus {
        border-color: var(--grievance-maroon) !important;
        background: #fff !important;
        box-shadow: 0 0 0 3px rgba(139, 21, 56, .08) !important;
    }


/* =========================================================
   TEXTAREA
========================================================= */

.grievance-textarea-wrapper {
    position: relative;
}

    .grievance-textarea-wrapper > i {
        position: absolute;
        top: 17px;
        left: 15px;
        z-index: 3;
        color: var(--grievance-maroon);
        font-size: 13px;
        pointer-events: none;
    }

.grievance-textarea {
    min-height: 145px;
    padding: 13px 15px 13px 42px !important;
    resize: vertical;
    color: var(--grievance-text);
    background: #fff !important;
    border: 1px solid var(--grievance-border) !important;
    border-radius: 9px !important;
    font-size: 13px;
    box-shadow: none !important;
    transition: all .25s ease;
}

    .grievance-textarea:focus {
        border-color: var(--grievance-maroon) !important;
        box-shadow: 0 0 0 3px rgba(139, 21, 56, .08) !important;
    }


/* =========================================================
   FILE UPLOAD
========================================================= */

.grievance-upload-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--grievance-light);
    border: 1px dashed rgba(139, 21, 56, .3);
    border-radius: 12px;
    transition: all .3s ease;
}

    .grievance-upload-box:hover {
        background: var(--grievance-peach);
        border-color: var(--grievance-maroon);
    }

.grievance-upload-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grievance-maroon);
    background: #fff;
    border-radius: 12px;
    font-size: 18px;
}

.grievance-upload-content {
    flex: 1;
}

.grievance-file {
    min-height: 40px;
    padding: 7px !important;
    background: #fff !important;
    border: 1px solid var(--grievance-border) !important;
    border-radius: 7px !important;
    font-size: 12px;
}

.grievance-upload-content small {
    display: block;
    margin-top: 7px;
    color: var(--grievance-muted);
    font-size: 10px;
}

    .grievance-upload-content small span {
        margin: 0 5px;
        color: var(--grievance-maroon);
    }


/* =========================================================
   VALIDATION
========================================================= */

.grievance-error {
    display: block;
    margin-top: 5px;
    color: #c0392b;
    font-size: 11px;
}

.grievance-validation {
    padding: 10px 13px;
    background: #fff5f5;
    border: 1px solid #f0cccc;
    border-radius: 8px;
    font-size: 12px;
}


/* =========================================================
   BUTTONS
========================================================= */

.grievance-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--grievance-border);
}

.grievance-submit-btn,
.grievance-cancel-btn {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.grievance-submit-btn {
    color: #fff;
    background: var(--grievance-maroon);
    border: 1px solid var(--grievance-maroon);
    cursor: pointer;
}

    .grievance-submit-btn:hover {
        color: #fff;
        background: var(--grievance-maroon-dark);
        border-color: var(--grievance-maroon-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(139, 21, 56, .2);
    }

    .grievance-submit-btn i {
        font-size: 11px;
        transition: transform .3s ease;
    }

    .grievance-submit-btn:hover i {
        transform: translateX(3px);
    }

.grievance-cancel-btn {
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
}

    .grievance-cancel-btn:hover {
        color: var(--grievance-maroon);
        background: var(--grievance-light);
        border-color: var(--grievance-maroon);
        transform: translateY(-2px);
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .grievance-form-body {
        padding: 25px 20px;
    }

    .grievance-form-header {
        padding: 22px 20px;
    }

    .grievance-info-pills {
        gap: 7px;
    }

    .grievance-info-pill {
        font-size: 10px;
    }
}


@media (max-width: 575.98px) {

    .grievance-intro {
        text-align: center;
    }

        .grievance-intro h1 {
            font-size: 34px;
        }

    .grievance-intro-text {
        font-size: 13px;
    }

    .grievance-form-header {
        gap: 12px;
    }

    .grievance-header-icon {
        width: 44px;
        height: 44px;
    }

    .grievance-form-header h3 {
        font-size: 19px;
    }

    .grievance-form-body {
        padding: 22px 16px;
    }

    .grievance-upload-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .grievance-upload-content {
        width: 100%;
    }

    .grievance-actions {
        flex-direction: column;
    }

    .grievance-submit-btn,
    .grievance-cancel-btn {
        width: 100%;
    }
}

/*=====================staff grievances=====================*/

/* =========================================================
   STAFF GRIEVANCE
   M.K.S. COLLEGE THEME
========================================================= */

.staff-grievance-page {
    --sg-maroon: #8B1538;
    --sg-maroon-dark: #681029;
    --sg-peach: #FCEADE;
    --sg-soft: #faf7f5;
    --sg-border: #eadbd4;
    --sg-text: #303030;
    --sg-muted: #747474;
}


/* =========================================================
   INTRO
========================================================= */

.staff-grievance-intro {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 90% 20%, rgba(139, 21, 56, .09), transparent 30% ), var(--sg-peach);
}

    .staff-grievance-intro::before {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        left: -180px;
        bottom: -190px;
        border-radius: 50%;
        background: rgba(139, 21, 56, .04);
    }

.staff-grievance-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: #fff;
    color: var(--sg-maroon);
    border: 1px solid rgba(139, 21, 56, .12);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .staff-grievance-badge::before {
        content: "";
        width: 6px;
        height: 6px;
        background: var(--sg-maroon);
        border-radius: 50%;
    }

.staff-grievance-intro h1 {
    color: var(--sg-text);
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -1px;
}

    .staff-grievance-intro h1 span {
        color: var(--sg-maroon);
    }

.staff-grievance-intro-text {
    max-width: 780px;
    color: var(--sg-muted);
    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   INFO PILLS
========================================================= */

.staff-grievance-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.staff-grievance-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(139, 21, 56, .1);
    border-radius: 50px;
    color: var(--sg-text);
    font-size: 11px;
    font-weight: 600;
    transition: all .3s ease;
}

    .staff-grievance-pill i {
        color: var(--sg-maroon);
    }

    .staff-grievance-pill:hover {
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(139, 21, 56, .08);
    }


/* =========================================================
   FORM SECTION
========================================================= */

.staff-grievance-form-section {
    background: #fff;
}


/* =========================================================
   CARD
========================================================= */

.staff-grievance-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sg-border);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(70, 30, 40, .08);
}


/* =========================================================
   HEADER
========================================================= */

.staff-grievance-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 25px 30px;
    color: #fff;
    background: linear-gradient( 135deg, var(--sg-maroon), var(--sg-maroon-dark) );
}

.staff-grievance-header-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    font-size: 19px;
}

.staff-grievance-header span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.staff-grievance-header h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}


/* =========================================================
   BODY
========================================================= */

.staff-grievance-body {
    padding: 32px;
}


/* =========================================================
   INFO NOTE
========================================================= */

.staff-grievance-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
    padding: 15px 17px;
    background: var(--sg-soft);
    border-left: 3px solid var(--sg-maroon);
    border-radius: 0 10px 10px 0;
}

    .staff-grievance-note i {
        margin-top: 3px;
        color: var(--sg-maroon);
    }

    .staff-grievance-note p {
        margin: 0;
        color: var(--sg-muted);
        font-size: 12px;
        line-height: 1.7;
    }


/* =========================================================
   LABEL
========================================================= */

.staff-grievance-label {
    display: block;
    margin-bottom: 8px;
    color: var(--sg-text);
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   INPUT
========================================================= */

.staff-grievance-input-wrapper {
    position: relative;
}

    .staff-grievance-input-wrapper > i {
        position: absolute;
        top: 50%;
        left: 15px;
        z-index: 3;
        color: var(--sg-maroon);
        transform: translateY(-50%);
        font-size: 13px;
        pointer-events: none;
    }

.staff-grievance-input {
    min-height: 48px;
    padding: 10px 15px 10px 42px !important;
    color: var(--sg-text);
    background: #fff !important;
    border: 1px solid var(--sg-border) !important;
    border-radius: 9px !important;
    font-size: 13px;
    box-shadow: none !important;
    transition: all .25s ease;
}

    .staff-grievance-input:hover {
        border-color: rgba(139, 21, 56, .3) !important;
    }

    .staff-grievance-input:focus {
        border-color: var(--sg-maroon) !important;
        box-shadow: 0 0 0 3px rgba(139, 21, 56, .08) !important;
    }


/* =========================================================
   TEXTAREA
========================================================= */

.staff-grievance-textarea-wrapper {
    position: relative;
}

    .staff-grievance-textarea-wrapper > i {
        position: absolute;
        top: 17px;
        left: 15px;
        z-index: 3;
        color: var(--sg-maroon);
        font-size: 13px;
        pointer-events: none;
    }

.staff-grievance-textarea {
    min-height: 150px;
    padding: 13px 15px 13px 42px !important;
    resize: vertical;
    color: var(--sg-text);
    background: #fff !important;
    border: 1px solid var(--sg-border) !important;
    border-radius: 9px !important;
    font-size: 13px;
    box-shadow: none !important;
    transition: all .25s ease;
}

    .staff-grievance-textarea:focus {
        border-color: var(--sg-maroon) !important;
        box-shadow: 0 0 0 3px rgba(139, 21, 56, .08) !important;
    }


/* =========================================================
   FILE UPLOAD
========================================================= */

.staff-grievance-upload {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--sg-soft);
    border: 1px dashed rgba(139, 21, 56, .3);
    border-radius: 12px;
    transition: all .3s ease;
}

    .staff-grievance-upload:hover {
        background: var(--sg-peach);
        border-color: var(--sg-maroon);
    }

.staff-grievance-upload-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sg-maroon);
    background: #fff;
    border-radius: 12px;
    font-size: 18px;
}

.staff-grievance-upload-content {
    flex: 1;
}

.staff-grievance-file {
    min-height: 40px;
    padding: 7px !important;
    background: #fff !important;
    border: 1px solid var(--sg-border) !important;
    border-radius: 7px !important;
    font-size: 12px;
}

.staff-grievance-upload-content small {
    display: block;
    margin-top: 7px;
    color: var(--sg-muted);
    font-size: 10px;
}

    .staff-grievance-upload-content small span {
        margin: 0 5px;
        color: var(--sg-maroon);
    }


/* =========================================================
   VALIDATION
========================================================= */

.staff-grievance-validation {
    padding: 10px 13px;
    background: #fff5f5;
    border: 1px solid #f0cccc;
    border-radius: 8px;
    font-size: 12px;
}

.staff-grievance-error {
    display: block;
    margin-top: 5px;
    color: #c0392b;
    font-size: 11px;
}


/* =========================================================
   BUTTONS
========================================================= */

.staff-grievance-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--sg-border);
}

.staff-grievance-submit,
.staff-grievance-reset {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 21px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: all .3s ease;
}

.staff-grievance-submit {
    color: #fff;
    background: var(--sg-maroon);
    border: 1px solid var(--sg-maroon);
    cursor: pointer;
}

    .staff-grievance-submit:hover {
        color: #fff;
        background: var(--sg-maroon-dark);
        border-color: var(--sg-maroon-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(139, 21, 56, .2);
    }

    .staff-grievance-submit i {
        transition: transform .3s ease;
    }

    .staff-grievance-submit:hover i {
        transform: translateX(3px);
    }

.staff-grievance-reset {
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
}

    .staff-grievance-reset:hover {
        color: var(--sg-maroon);
        background: var(--sg-soft);
        border-color: var(--sg-maroon);
        transform: translateY(-2px);
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .staff-grievance-body {
        padding: 25px 20px;
    }

    .staff-grievance-header {
        padding: 22px 20px;
    }

    .staff-grievance-pills {
        gap: 7px;
    }

    .staff-grievance-pill {
        font-size: 10px;
    }
}


@media (max-width: 575.98px) {

    .staff-grievance-intro h1 {
        font-size: 34px;
    }

    .staff-grievance-intro-text {
        font-size: 13px;
    }

    .staff-grievance-header {
        gap: 12px;
    }

    .staff-grievance-header-icon {
        width: 44px;
        height: 44px;
    }

    .staff-grievance-header h3 {
        font-size: 19px;
    }

    .staff-grievance-body {
        padding: 22px 16px;
    }

    .staff-grievance-upload {
        align-items: flex-start;
        flex-direction: column;
    }

    .staff-grievance-upload-content {
        width: 100%;
    }

    .staff-grievance-actions {
        flex-direction: column;
    }

    .staff-grievance-submit,
    .staff-grievance-reset {
        width: 100%;
    }
}

/*===========================gallery css =========================*/

/* =========================================================
   M.K.S. COLLEGE
   PREMIUM MEDIA GALLERY
========================================================= */

.college-gallery-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: #fff;
}


/* =========================================================
   HEADING
========================================================= */

.gallery-heading {
    max-width: 700px;
    margin: 0 auto 45px;
}

.gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    color: #8B1538;
    background: #FCEADE;
    border: 1px solid rgba(139, 21, 56, .10);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .gallery-badge i {
        font-size: 11px;
    }

.gallery-heading h2 {
    margin: 16px 0 10px;
    color: #292929;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -.7px;
}

    .gallery-heading h2 span {
        color: #8B1538;
    }

.gallery-heading p {
    max-width: 580px;
    margin: 0 auto;
    color: #777;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   MASONRY GALLERY
========================================================= */

.college-gallery {
    column-count: 4;
    column-gap: 18px;
}

.gallery-item {
    width: 100%;
    margin-bottom: 18px;
    break-inside: avoid;
    page-break-inside: avoid;
}


/* =========================================================
   CARD
========================================================= */

.gallery-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(40, 20, 25, .08);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .gallery-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 35px rgba(139, 21, 56, .18);
    }


/* =========================================================
   IMAGE
========================================================= */

.gallery-image-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #f4eeee;
}

    .gallery-image-wrap img {
        display: block;
        width: 100%;
        height: auto;
        min-height: 180px;
        object-fit: cover;
        transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .5s ease;
    }

.gallery-card:hover img {
    transform: scale(1.07);
    filter: brightness(.72) saturate(1.05);
}


/* =========================================================
   OVERLAY
========================================================= */

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    background: linear-gradient( 180deg, rgba(139, 21, 56, .05), rgba(65, 8, 27, .78) );
    transition: opacity .4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}


/* =========================================================
   OVERLAY CONTENT
========================================================= */

.gallery-overlay-content {
    width: 100%;
    text-align: center;
    color: #fff;
    transform: translateY(15px);
    transition: transform .4s ease;
}

.gallery-card:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-view-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B1538;
    background: #fff;
    border-radius: 50%;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}

.gallery-overlay-content h5 {
    margin: 0 auto 5px;
    max-width: 280px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.gallery-overlay-content span {
    color: rgba(255, 255, 255, .75);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.gallery-empty {
    max-width: 550px;
    margin: 20px auto 0;
    padding: 55px 30px;
    text-align: center;
    background: #faf7f5;
    border: 1px dashed #ddc8c0;
    border-radius: 18px;
}

.gallery-empty-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B1538;
    background: #FCEADE;
    border-radius: 50%;
    font-size: 26px;
}

.gallery-empty h4 {
    margin-bottom: 7px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
}

.gallery-empty p {
    margin: 0;
    color: #888;
    font-size: 13px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199.98px) {

    .college-gallery {
        column-count: 3;
    }
}


@media (max-width: 767.98px) {

    .college-gallery-section {
        padding: 60px 0;
    }

    .gallery-heading {
        margin-bottom: 30px;
    }

        .gallery-heading h2 {
            font-size: 32px;
        }

    .college-gallery {
        column-count: 2;
        column-gap: 13px;
    }

    .gallery-item {
        margin-bottom: 13px;
    }

    .gallery-card {
        border-radius: 11px;
    }
}


@media (max-width: 575.98px) {

    .college-gallery-section {
        padding: 50px 0;
    }

    .gallery-heading h2 {
        font-size: 28px;
    }

    .gallery-heading p {
        font-size: 13px;
    }

    .college-gallery {
        column-count: 2;
        column-gap: 9px;
    }

    .gallery-item {
        margin-bottom: 9px;
    }

    .gallery-overlay {
        padding: 10px;
    }

    .gallery-view-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 7px;
        font-size: 12px;
    }

    .gallery-overlay-content h5 {
        font-size: 11px;
    }

    .gallery-overlay-content span {
        display: none;
    }
}

/*==================notification===================*/
/* =========================================================
   M.K.S. COLLEGE
   PREMIUM NOTIFICATION / NOTICE BOARD
========================================================= */

.college-notification-section {
    padding: 80px 0;
    background: radial-gradient( circle at 5% 10%, rgba(252, 234, 222, .55), transparent 28% ), #fff;
    position: relative;
    overflow: hidden;
}


/* =========================================================
   HEADING
========================================================= */

.notification-heading {
    max-width: 720px;
    margin: 0 auto 50px;
}

.notification-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    color: #8B1538;
    background: #FCEADE;
    border: 1px solid rgba(139, 21, 56, .10);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .notification-badge i {
        font-size: 11px;
    }

.notification-heading h2 {
    margin: 16px 0 10px;
    color: #292929;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -.7px;
}

    .notification-heading h2 span {
        color: #8B1538;
    }

.notification-heading p {
    max-width: 620px;
    margin: 0 auto;
    color: #777;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   CATEGORY BOX
========================================================= */

.notification-category {
    margin-bottom: 38px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eadbd4;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(65, 25, 35, .07);
}


/* =========================================================
   CATEGORY HEADER
========================================================= */

.notification-category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: linear-gradient( 135deg, #FCEADE, #fff7f3 );
    border-bottom: 1px solid #eadbd4;
}

.category-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #8B1538;
    border-radius: 12px;
    box-shadow: 0 7px 16px rgba(139, 21, 56, .16);
}

    .category-icon i {
        font-size: 15px;
    }

.notification-category-title > div:nth-child(2) {
    flex: 1;
}

.notification-category-title span {
    display: block;
    margin-bottom: 2px;
    color: #9a777d;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.notification-category-title h5 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 750;
}

.category-count {
    min-width: 65px;
    padding: 7px 11px;
    color: #8B1538;
    background: #fff;
    border: 1px solid rgba(139, 21, 56, .12);
    border-radius: 9px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
}

    .category-count small {
        display: block;
        margin-top: -2px;
        color: #999;
        font-size: 8px;
        font-weight: 600;
        text-transform: uppercase;
    }


/* =========================================================
   NOTIFICATION LIST
========================================================= */

.notification-list {
    padding: 8px 12px;
}


/* =========================================================
   NOTIFICATION ITEM
========================================================= */

.notification-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 12px;
    border-bottom: 1px solid #f1e9e6;
    transition: background .3s ease, transform .3s ease, padding .3s ease;
}

    .notification-item:last-child {
        border-bottom: 0;
    }

    .notification-item:hover {
        padding-left: 17px;
        background: #fffaf8;
    }


/* =========================================================
   DATE
========================================================= */

.notification-date {
    width: 54px;
    flex-shrink: 0;
    text-align: center;
    padding: 7px 5px;
    background: #FCEADE;
    border-radius: 9px;
}

    .notification-date span {
        display: block;
        color: #8B1538;
        font-size: 18px;
        font-weight: 800;
        line-height: 1;
    }

    .notification-date small {
        display: block;
        margin-top: 4px;
        color: #9b777d;
        font-size: 8px;
        font-weight: 700;
        text-transform: uppercase;
    }


/* =========================================================
   BELL ICON
========================================================= */

.notification-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B1538;
    background: #fff;
    border: 1px solid #eadbd4;
    border-radius: 50%;
    transition: all .3s ease;
}

.notification-item:hover .notification-icon {
    color: #fff;
    background: #8B1538;
    border-color: #8B1538;
    transform: rotate(-8deg) scale(1.08);
}

.notification-icon i {
    font-size: 12px;
}


/* =========================================================
   CONTENT
========================================================= */

.notification-content {
    min-width: 0;
    flex: 1;
}

    .notification-content h6 {
        margin: 0 0 7px;
        color: #333;
        font-size: 13px;
        font-weight: 650;
        line-height: 1.6;
        transition: color .25s ease;
    }

.notification-item:hover .notification-content h6 {
    color: #8B1538;
}


/* =========================================================
   META
========================================================= */

.notification-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

    .notification-meta > span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #999;
        font-size: 9px;
    }

    .notification-meta i {
        color: #8B1538;
        font-size: 9px;
    }

.notification-status {
    color: #8B1538 !important;
    font-weight: 600;
}

    .notification-status i {
        font-size: 5px;
        animation: notificationPulse 1.8s infinite;
    }


/* =========================================================
   ARROW
========================================================= */

.notification-arrow {
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B1538;
    background: #faf5f3;
    border-radius: 50%;
    transition: all .3s ease;
}

.notification-item:hover .notification-arrow {
    color: #fff;
    background: #8B1538;
    transform: translateX(3px);
}

.notification-arrow i {
    font-size: 9px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.notification-empty {
    max-width: 560px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;
    background: #fffaf8;
    border: 1px dashed #ddc8c0;
    border-radius: 18px;
}

.notification-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B1538;
    background: #FCEADE;
    border-radius: 50%;
    font-size: 25px;
}

.notification-empty h4 {
    margin-bottom: 7px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
}

.notification-empty p {
    margin: 0;
    color: #888;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes notificationPulse {

    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .35;
        transform: scale(.75);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .college-notification-section {
        padding: 60px 0;
    }

    .notification-heading {
        margin-bottom: 35px;
    }

        .notification-heading h2 {
            font-size: 31px;
        }

    .notification-category-title {
        padding: 15px;
    }

    .notification-list {
        padding: 5px 8px;
    }

    .notification-item {
        gap: 10px;
        padding: 15px 7px;
    }

        .notification-item:hover {
            padding-left: 10px;
        }

    .notification-icon {
        width: 34px;
        height: 34px;
    }

    .notification-date {
        width: 48px;
    }

        .notification-date span {
            font-size: 16px;
        }

    .notification-content h6 {
        font-size: 12px;
    }
}


@media (max-width: 575.98px) {

    .college-notification-section {
        padding: 50px 0;
    }

    .notification-heading h2 {
        font-size: 28px;
    }

    .notification-heading p {
        font-size: 12px;
    }

    .category-icon {
        width: 39px;
        height: 39px;
    }

    .notification-category-title {
        gap: 10px;
    }

        .notification-category-title h5 {
            font-size: 13px;
        }

    .category-count {
        min-width: 50px;
        padding: 6px 7px;
        font-size: 13px;
    }

    .notification-date {
        display: none;
    }

    .notification-meta > span:first-child {
        display: none;
    }

    .notification-arrow {
        width: 27px;
        height: 27px;
    }
}

/*===================events css============================*/
/* =========================================================
   MKS COLLEGE
   EVENTS PAGE
   Theme:
   Primary  : #8B1538
   Secondary: #FCEADE
   Dark     : #273E47
   ========================================================= */


/* =========================
   EVENTS PAGE
   ========================= */

.mks-events-page {
    background: #fff;
}


/* =========================
   PAGE HEADER
   ========================= */

.mks-events-header {
    padding: 70px 0 45px;
    background: radial-gradient( circle at 10% 20%, rgba(139, 21, 56, 0.07), transparent 32% ), radial-gradient( circle at 90% 80%, rgba(252, 234, 222, 0.75), transparent 35% ), #ffffff;
}


.mks-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border: 1px solid rgba(139, 21, 56, 0.10);
}


    .mks-section-badge i {
        font-size: 15px;
    }


.mks-events-heading {
    margin: 18px 0 10px;
    color: #273E47;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
}


    .mks-events-heading span {
        color: #8B1538;
    }


.mks-events-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: #73787c;
    font-size: 15px;
    line-height: 1.8;
}


.mks-heading-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 20px;
}


    .mks-heading-line span {
        width: 38px;
        height: 2px;
        background: #8B1538;
        border-radius: 5px;
    }


    .mks-heading-line i {
        color: #8B1538;
        font-size: 14px;
    }


/* =========================
   EVENTS SECTION
   ========================= */

.mks-events-section {
    padding: 20px 0 85px;
    background: linear-gradient( 180deg, #ffffff 0%, #fffaf8 100% );
}


.mks-events-grid {
    position: relative;
}


/* =========================
   EVENT CARD
   ========================= */

.mks-event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(139, 21, 56, 0.10);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(45, 20, 28, 0.07);
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}


    .mks-event-card:hover {
        transform: translateY(-8px);
        border-color: rgba(139, 21, 56, 0.22);
        box-shadow: 0 20px 45px rgba(139, 21, 56, 0.14);
    }


/* =========================
   IMAGE AREA
   ========================= */

.mks-event-image-wrap {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #FCEADE;
}


.mks-event-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}


.mks-event-card:hover .mks-event-image {
    transform: scale(1.08);
    filter: brightness(.88);
}


/* Bottom image gradient */

.mks-event-image-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient( to top, rgba(30, 10, 20, .48), transparent );
    pointer-events: none;
}


/* =========================
   NO IMAGE
   ========================= */

.mks-event-no-image {
    height: 245px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: radial-gradient( circle at 20% 20%, rgba(139, 21, 56, .09), transparent 35% ), linear-gradient( 135deg, #ffffff, #FCEADE );
    color: #8B1538;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}


.mks-event-placeholder-icon {
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 21, 56, .08);
    border: 1px solid rgba(139, 21, 56, .12);
    font-size: 36px;
}


/* =========================
   EVENT LABEL
   ========================= */

.mks-event-overlay-label {
    position: absolute;
    right: 17px;
    bottom: 15px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, .94);
    color: #8B1538;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,.12);
    backdrop-filter: blur(5px);
}


    .mks-event-overlay-label i {
        font-size: 13px;
    }


/* =========================
   DATE BADGE
   ========================= */

.mks-event-date {
    position: absolute;
    top: 17px;
    left: 17px;
    z-index: 5;
    width: 68px;
    min-height: 77px;
    padding: 9px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(139, 21, 56, .10);
    box-shadow: 0 8px 22px rgba(0,0,0,.15);
    transition: transform .35s ease, background .35s ease;
}


.mks-event-card:hover .mks-event-date {
    transform: translateY(-3px);
    background: #FCEADE;
}


.mks-event-day {
    display: block;
    color: #8B1538;
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
}


.mks-event-month {
    margin-top: 5px;
    color: #62676b;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================
   CONTENT
   ========================= */

.mks-event-content {
    position: relative;
    flex: 1;
    padding: 25px 24px 26px;
    background: #ffffff;
}


    .mks-event-content::before {
        content: "";
        position: absolute;
        top: 0;
        left: 24px;
        width: 42px;
        height: 3px;
        background: #8B1538;
        border-radius: 0 0 6px 6px;
        transition: width .35s ease;
    }


.mks-event-card:hover
.mks-event-content::before {
    width: 75px;
}


/* =========================
   TITLE
   ========================= */

.mks-event-title {
    margin: 0 0 19px;
    color: #273E47;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 750;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .3s ease;
}


.mks-event-card:hover
.mks-event-title {
    color: #8B1538;
}


/* =========================
   META
   ========================= */

.mks-event-meta {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 11px;
    color: #62676b;
    font-size: 14px;
    line-height: 1.5;
}


    .mks-event-meta:last-child {
        margin-bottom: 0;
    }


.mks-event-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 9px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 15px;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}


.mks-event-card:hover
.mks-event-icon {
    background: #8B1538;
    color: #ffffff;
    transform: translateY(-2px);
}


.mks-event-meta-content {
    flex: 1;
    padding-top: 1px;
}


.mks-event-meta-label {
    display: block;
    margin-bottom: 2px;
    color: #273E47;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}


/* =========================
   DESCRIPTION
   ========================= */

.mks-event-description {
    position: relative;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid #f0e6e8;
    color: #70757a;
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================
   CARD SHINE
   ========================= */

.mks-event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 65%;
    height: 100%;
    z-index: 20;
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,.20), transparent );
    transform: skewX(-20deg);
    transition: left .8s ease;
    pointer-events: none;
}


.mks-event-card:hover::before {
    left: 140%;
}


/* =========================
   EMPTY STATE
   ========================= */

.mks-events-empty {
    padding: 70px 25px;
    text-align: center;
    background: radial-gradient( circle at top right, rgba(139,21,56,.06), transparent 35% ), #ffffff;
    border: 1px solid rgba(139,21,56,.10);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(45,20,28,.06);
}


.mks-events-empty-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FCEADE;
    color: #8B1538;
    font-size: 38px;
}


.mks-events-empty h4 {
    margin-bottom: 8px;
    color: #273E47;
    font-weight: 750;
}


.mks-events-empty p {
    color: #7b8085;
    font-size: 14px;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 991px) {

    .mks-events-header {
        padding: 60px 0 40px;
    }

    .mks-events-section {
        padding-bottom: 65px;
    }
}


@media (max-width: 767px) {

    .mks-events-header {
        padding: 50px 0 35px;
    }

    .mks-events-heading {
        font-size: 31px;
    }

    .mks-events-subtitle {
        font-size: 14px;
    }

    .mks-event-image-wrap,
    .mks-event-no-image {
        height: 220px;
    }

    .mks-event-content {
        padding: 22px 20px 24px;
    }

    .mks-event-title {
        font-size: 18px;
    }

    .mks-event-date {
        top: 14px;
        left: 14px;
        width: 62px;
        min-height: 70px;
    }

    .mks-event-day {
        font-size: 22px;
    }

    .mks-event-overlay-label {
        right: 13px;
        bottom: 13px;
    }
}


@media (max-width: 575px) {

    .mks-events-header {
        padding: 42px 0 30px;
    }

    .mks-events-heading {
        font-size: 27px;
    }

    .mks-section-badge {
        font-size: 10px;
        padding: 7px 13px;
    }

    .mks-event-image-wrap,
    .mks-event-no-image {
        height: 210px;
    }

    .mks-event-content {
        padding: 20px 18px 22px;
    }

    .mks-event-title {
        font-size: 17px;
    }

    .mks-event-meta {
        font-size: 13px;
    }

    .mks-event-meta-icon {
        width: 30px;
        height: 30px;
    }
}


/* =========================
   REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {

    .mks-event-card,
    .mks-event-image,
    .mks-event-date,
    .mks-event-icon,
    .mks-event-card::before {
        transition: none !important;
    }
}


/*===================alumni css=========================*/
/* =========================================================
   MKS ALUMNI PAGE
========================================================= */

.mks-alumni-page {
    background: #fff;
}


/* =========================================================
   HERO
========================================================= */

.mks-alumni-hero {
    position: relative;
    padding: 75px 0 70px;
    background: radial-gradient( circle at 15% 20%, rgba(139, 21, 56, 0.08), transparent 35% ), radial-gradient( circle at 85% 80%, rgba(252, 234, 222, 0.9), transparent 40% ), #fff;
    overflow: hidden;
}

    .mks-alumni-hero::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: #FCEADE;
        top: -110px;
        left: -80px;
        opacity: .65;
    }

    .mks-alumni-hero::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: #FCEADE;
        bottom: -100px;
        right: -60px;
        opacity: .65;
    }

    .mks-alumni-hero .container {
        position: relative;
        z-index: 2;
    }


/* Badge */

.mks-section-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    border-radius: 50px;
    background: #FCEADE;
    color: #8B1538;
    border: 1px solid rgba(139, 21, 56, .12);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 15px;
}


/* Heading */

.mks-alumni-heading {
    margin: 0;
    color: #8B1538;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 750;
    letter-spacing: -.5px;
}

.mks-alumni-intro {
    max-width: 720px;
    margin: 15px auto 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   ALUMNI SECTION
========================================================= */

.mks-alumni-section {
    padding: 65px 0 85px;
    background: #FCEADE;
}


/* =========================================================
   ALUMNI CARD
========================================================= */

.mks-alumni-card {
    position: relative;
    height: 100%;
    padding: 26px;
    background: #fff;
    border: 1px solid rgba(139, 21, 56, .08);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(73, 20, 35, .07);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    overflow: hidden;
}

    .mks-alumni-card::before {
        content: "";
        position: absolute;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: #FCEADE;
        right: -55px;
        top: -55px;
        transition: transform .4s ease;
    }

    .mks-alumni-card::after {
        content: "";
        position: absolute;
        width: 4px;
        height: 55px;
        left: 0;
        top: 28px;
        background: #8B1538;
        border-radius: 0 5px 5px 0;
    }

    .mks-alumni-card:hover {
        transform: translateY(-8px);
        border-color: rgba(139, 21, 56, .2);
        box-shadow: 0 18px 45px rgba(73, 20, 35, .14);
    }

        .mks-alumni-card:hover::before {
            transform: scale(1.35);
        }


/* =========================================================
   PROFILE
========================================================= */

.mks-alumni-profile {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}


/* Photo */

.mks-alumni-photo-wrap {
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    padding: 4px;
    background: #FCEADE;
    border: 1px solid rgba(139, 21, 56, .14);
}

.mks-alumni-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}


/* Placeholder */

.mks-alumni-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8B1538;
    color: #fff;
    font-size: 34px;
}


/* Main Info */

.mks-alumni-main-info {
    min-width: 0;
}

.mks-alumni-name {
    position: relative;
    margin: 0 0 5px;
    color: #263238;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.mks-alumni-designation {
    margin: 0 0 5px;
    color: #8B1538;
    font-size: 13px;
    font-weight: 600;
}

.mks-alumni-organization {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

    .mks-alumni-organization i {
        color: #8B1538;
        font-size: 14px;
    }


/* =========================================================
   DETAILS
========================================================= */

.mks-alumni-details {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 17px 0;
    border-top: 1px solid #f1e5df;
    border-bottom: 1px solid #f1e5df;
}

.mks-alumni-detail {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.mks-detail-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 15px;
}

.mks-alumni-detail div {
    min-width: 0;
}

.mks-alumni-detail small {
    display: block;
    margin-bottom: 2px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.mks-alumni-detail strong {
    display: block;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}


/* =========================================================
   ACHIEVEMENT
========================================================= */

.mks-alumni-achievement {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    background: #fff8f4;
    border: 1px solid #f8e6dc;
}

.mks-achievement-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #8B1538;
    color: #fff;
    font-size: 16px;
}

.mks-alumni-achievement span {
    display: block;
    margin-bottom: 3px;
    color: #8B1538;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.mks-alumni-achievement p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================================
   FOOTER / LINKEDIN
========================================================= */

.mks-alumni-footer {
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.mks-linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 8px;
    background: #FCEADE;
    color: #8B1538;
    border: 1px solid rgba(139, 21, 56, .12);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

    .mks-linkedin-btn i {
        font-size: 15px;
    }

    .mks-linkedin-btn:hover {
        background: #8B1538;
        color: #fff;
        transform: translateY(-2px);
    }


/* =========================================================
   EMPTY STATE
========================================================= */

.mks-alumni-empty {
    max-width: 550px;
    margin: 0 auto;
    padding: 55px 30px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(73, 20, 35, .08);
}

.mks-empty-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FCEADE;
    color: #8B1538;
    font-size: 34px;
}

.mks-alumni-empty h3 {
    color: #263238;
    font-size: 21px;
    font-weight: 700;
}

.mks-alumni-empty p {
    color: #64748b;
    margin: 0;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .mks-alumni-hero {
        padding: 55px 0 50px;
    }

    .mks-alumni-section {
        padding: 45px 0 60px;
    }

    .mks-alumni-card {
        padding: 22px;
    }

    .mks-alumni-profile {
        gap: 14px;
    }

    .mks-alumni-photo-wrap {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    .mks-alumni-name {
        font-size: 18px;
    }

    .mks-alumni-details {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 400px) {

    .mks-alumni-card {
        padding: 18px;
    }

    .mks-alumni-profile {
        align-items: flex-start;
    }

    .mks-alumni-photo-wrap {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
    }

    .mks-alumni-name {
        font-size: 17px;
    }
}
/*===============naac css=======================*/
/* =========================================================
   MKS COLLEGE - NAAC PAGE
   Theme:
   #8B1538  -> Primary Maroon
   #FCEADE  -> Soft Peach
   ========================================================= */

.mks-naac-page {
    position: relative;
    padding: 75px 0 90px;
    background: radial-gradient( circle at 15% 20%, rgba(252, 234, 222, 0.85) 0%, rgba(252, 234, 222, 0.35) 18%, transparent 42% ), radial-gradient( circle at 85% 75%, rgba(252, 234, 222, 0.75) 0%, rgba(252, 234, 222, 0.30) 18%, transparent 42% ), #ffffff;
    overflow: hidden;
}


    /* =========================================================
   DECORATIVE BACKGROUND SHAPES
   ========================================================= */

    .mks-naac-page::before,
    .mks-naac-page::after {
        content: "";
        position: absolute;
        width: 190px;
        height: 190px;
        border-radius: 50%;
        background: rgba(252, 234, 222, 0.65);
        pointer-events: none;
        z-index: 0;
    }

    /* Top Left */
    .mks-naac-page::before {
        top: -95px;
        left: -55px;
        animation: mksNaacFloatOne 8s ease-in-out infinite;
    }

    /* Bottom Right */
    .mks-naac-page::after {
        right: -70px;
        bottom: -105px;
        width: 220px;
        height: 220px;
        background: rgba(252, 234, 222, 0.55);
        animation: mksNaacFloatTwo 10s ease-in-out infinite;
    }


    /* Extra soft glow */

    .mks-naac-page .container {
        position: relative;
        z-index: 2;
    }


/* =========================================================
   FLOATING ANIMATION
   ========================================================= */

@keyframes mksNaacFloatOne {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(18px, 12px);
    }
}


@keyframes mksNaacFloatTwo {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-15px, -18px);
    }
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.mks-content-heading {
    max-width: 900px;
    margin: 0 auto 58px;
}


/* =========================================================
   BADGE + SIDE LINES
   ========================================================= */

.mks-heading-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}


.mks-heading-line-left,
.mks-heading-line-right {
    width: 48px;
    height: 2px;
    background: #8B1538;
    position: relative;
}


    .mks-heading-line-left::after,
    .mks-heading-line-right::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #FCEADE;
        border: 1px solid #8B1538;
        transform: translateY(-50%);
    }


    .mks-heading-line-left::after {
        right: -3px;
    }


    .mks-heading-line-right::after {
        left: -3px;
    }


/* =========================================================
   NAAC BADGE
   ========================================================= */

.mks-heading-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 19px;
    background: #FCEADE;
    border: 1px solid rgba(139, 21, 56, 0.15);
    border-radius: 50px;
    color: #8B1538;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    box-shadow: 0 5px 18px rgba(139, 21, 56, 0.08);
    transition: all 0.3s ease;
}


    .mks-heading-badge i {
        font-size: 14px;
    }


    .mks-heading-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(139, 21, 56, 0.13);
    }


/* =========================================================
   MAIN TITLE
   ========================================================= */

.mks-heading-title {
    margin: 0;
    color: #27323a;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.7px;
}


/* Maroon accent for title */

.mks-heading-title {
    position: relative;
}


/* =========================================================
   TITLE DECORATION
   ========================================================= */

.mks-heading-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 15px 0 17px;
}


    .mks-heading-decoration span {
        display: block;
        width: 26px;
        height: 3px;
        background: #8B1538;
        border-radius: 5px;
    }


        .mks-heading-decoration span:first-child {
            width: 22px;
        }


        .mks-heading-decoration span:last-child {
            width: 22px;
        }


    .mks-heading-decoration i {
        color: #F0B49D;
        font-size: 7px;
    }


/* =========================================================
   DESCRIPTION
   ========================================================= */

.mks-heading-description {
    max-width: 700px;
    margin: 0 auto;
    color: #718096;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}


/* =========================================================
   DOCUMENT GRID
   ========================================================= */

.mks-naac-grid {
    position: relative;
}


/* =========================================================
   NAAC CARD
   ========================================================= */

.mks-naac-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px;
    background: #ffffff;
    border: 1px solid #f0e2dc;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(50, 30, 35, 0.055);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}


    /* Soft decorative corner */

    .mks-naac-card::before {
        content: "";
        position: absolute;
        top: -65px;
        right: -65px;
        width: 145px;
        height: 145px;
        border-radius: 50%;
        background: #FCEADE;
        opacity: 0.65;
        transition: transform 0.45s ease, opacity 0.35s ease;
    }


    /* Bottom subtle line */

    .mks-naac-card::after {
        content: "";
        position: absolute;
        left: 26px;
        right: 26px;
        bottom: 0;
        height: 3px;
        background: linear-gradient( 90deg, #8B1538, #F0B49D, #8B1538 );
        border-radius: 5px 5px 0 0;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.35s ease;
    }


    .mks-naac-card:hover {
        transform: translateY(-7px);
        border-color: rgba(139, 21, 56, 0.18);
        box-shadow: 0 18px 42px rgba(139, 21, 56, 0.11);
    }


        .mks-naac-card:hover::before {
            transform: scale(1.25);
            opacity: 0.9;
        }


        .mks-naac-card:hover::after {
            transform: scaleX(1);
        }


/* =========================================================
   CARD TOP
   ========================================================= */

.mks-naac-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}


/* =========================================================
   FILE ICON
   ========================================================= */

.mks-naac-file-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 21px;
    border: 1px solid rgba(139, 21, 56, 0.08);
    transition: all 0.35s ease;
}


.mks-naac-card:hover .mks-naac-file-icon {
    background: #8B1538;
    color: #ffffff;
    transform: rotate(-4deg) scale(1.05);
    box-shadow: 0 8px 18px rgba(139, 21, 56, 0.22);
}


/* =========================================================
   DOCUMENT BADGE
   ========================================================= */

.mks-naac-document-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 30px;
    background: #fff7f3;
    border: 1px solid #f1d9ce;
    color: #8B1538;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}


    .mks-naac-document-badge i {
        font-size: 11px;
    }


/* =========================================================
   CARD CONTENT
   ========================================================= */

.mks-naac-card-content {
    position: relative;
    z-index: 2;
    flex: 1;
}


    .mks-naac-card-content h5 {
        margin: 0 0 11px;
        color: #29343b;
        font-size: 18px;
        line-height: 1.45;
        font-weight: 700;
        transition: color 0.3s ease;
    }


.mks-naac-card:hover
.mks-naac-card-content h5 {
    color: #8B1538;
}


.mks-naac-card-content p {
    margin: 0;
    color: #718096;
    font-size: 13.5px;
    line-height: 1.75;
}


/* =========================================================
   CARD FOOTER
   ========================================================= */

.mks-naac-card-footer {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid #f0e7e2;
}


    .mks-naac-card-footer > span {
        color: #8B1538;
        font-size: 13px;
        font-weight: 700;
        transition: transform 0.3s ease;
    }


.mks-naac-card:hover
.mks-naac-card-footer > span {
    transform: translateX(3px);
}


/* =========================================================
   VIEW BUTTON
   ========================================================= */

.mks-naac-view-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #8B1538;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 7px 16px rgba(139, 21, 56, 0.18);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}


    .mks-naac-view-btn i {
        font-size: 13px;
        transition: transform 0.3s ease;
    }


    .mks-naac-view-btn:hover {
        background: #6f102d;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(139, 21, 56, 0.28);
    }


        .mks-naac-view-btn:hover i {
            transform: translateX(3px);
        }


/* =========================================================
   EMPTY STATE
   ========================================================= */

.mks-naac-empty {
    max-width: 650px;
    margin: 20px auto 0;
    padding: 55px 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #f0e2dc;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(50, 30, 35, 0.05);
}


.mks-naac-empty-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 28px;
}


.mks-naac-empty h4 {
    margin-bottom: 8px;
    color: #29343b;
    font-size: 20px;
    font-weight: 700;
}


.mks-naac-empty p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .mks-naac-page {
        padding: 65px 0 75px;
    }

    .mks-content-heading {
        margin-bottom: 45px;
    }

    .mks-heading-title {
        font-size: 38px;
    }

    .mks-naac-card {
        padding: 23px;
    }
}


@media (max-width: 767.98px) {

    .mks-naac-page {
        padding: 55px 0 65px;
    }

    .mks-content-heading {
        margin-bottom: 38px;
    }

    .mks-heading-line-left,
    .mks-heading-line-right {
        width: 30px;
    }

    .mks-heading-title {
        font-size: 32px;
    }

    .mks-heading-description {
        font-size: 14px;
        padding: 0 12px;
    }

    .mks-naac-card {
        border-radius: 16px;
    }

    .mks-naac-card-content h5 {
        font-size: 17px;
    }
}


@media (max-width: 575.98px) {

    .mks-naac-page {
        padding: 45px 0 55px;
    }

    .mks-heading-badge-wrap {
        gap: 9px;
    }

    .mks-heading-line-left,
    .mks-heading-line-right {
        width: 22px;
    }

    .mks-heading-badge {
        padding: 8px 14px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .mks-heading-title {
        font-size: 29px;
    }

    .mks-heading-decoration {
        margin: 13px 0 15px;
    }

    .mks-heading-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .mks-naac-card {
        padding: 21px;
    }

    .mks-naac-card-top {
        margin-bottom: 21px;
    }

    .mks-naac-file-icon {
        width: 50px;
        height: 50px;
        border-radius: 13px;
    }

    .mks-naac-document-badge {
        padding: 6px 9px;
        font-size: 10px;
    }

    .mks-naac-card-footer {
        margin-top: 22px;
        padding-top: 16px;
    }

    .mks-naac-view-btn {
        width: 39px;
        height: 39px;
    }

    .mks-naac-empty {
        padding: 45px 20px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mks-naac-page::before,
    .mks-naac-page::after,
    .mks-naac-card,
    .mks-naac-card::before,
    .mks-naac-card::after,
    .mks-naac-file-icon,
    .mks-naac-view-btn {
        animation: none;
        transition: none;
    }
}

/*================naac index css========================*/
/* =========================================================
   MKS COLLEGE
   NAAC INDEX PAGE
   ========================================================= */

.mks-naac-index-page {
    position: relative;
    padding: 75px 0 90px;
    overflow: hidden;
    background: radial-gradient( circle at 8% 8%, rgba(252, 234, 222, 0.85) 0, rgba(252, 234, 222, 0.35) 17%, transparent 38% ), radial-gradient( circle at 92% 88%, rgba(252, 234, 222, 0.75) 0, rgba(252, 234, 222, 0.30) 18%, transparent 40% ), #ffffff;
}


    /* =========================================================
   BACKGROUND DECORATIONS
   ========================================================= */

    .mks-naac-index-page::before,
    .mks-naac-index-page::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        z-index: 0;
    }


    /* Top Left */

    .mks-naac-index-page::before {
        width: 210px;
        height: 210px;
        top: -105px;
        left: -70px;
        background: rgba(252, 234, 222, 0.72);
        animation: mksNaacIndexFloatOne 9s ease-in-out infinite;
    }


    /* Bottom Right */

    .mks-naac-index-page::after {
        width: 240px;
        height: 240px;
        right: -90px;
        bottom: -120px;
        background: rgba(252, 234, 222, 0.58);
        animation: mksNaacIndexFloatTwo 11s ease-in-out infinite;
    }


    .mks-naac-index-page > .container {
        position: relative;
        z-index: 2;
    }


/* =========================================================
   BACKGROUND ANIMATION
   ========================================================= */

@keyframes mksNaacIndexFloatOne {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 14px);
    }
}


@keyframes mksNaacIndexFloatTwo {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-18px, -16px);
    }
}


/* =========================================================
   PAGE HEADING
   ========================================================= */

.mks-content-heading {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}


/* =========================================================
   BADGE
   ========================================================= */

.mks-heading-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}


.mks-heading-line-left,
.mks-heading-line-right {
    width: 45px;
    height: 2px;
    background: #8B1538;
    position: relative;
}


    .mks-heading-line-left::after,
    .mks-heading-line-right::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #FCEADE;
        border: 1px solid #8B1538;
        transform: translateY(-50%);
    }


    .mks-heading-line-left::after {
        right: -3px;
    }


    .mks-heading-line-right::after {
        left: -3px;
    }


.mks-heading-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 50px;
    background: #FCEADE;
    border: 1px solid rgba(139, 21, 56, 0.14);
    color: #8B1538;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.07);
}


    .mks-heading-badge i {
        font-size: 13px;
    }


/* =========================================================
   TITLE
   ========================================================= */

.mks-heading-title {
    margin: 0;
    color: #29343b;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.6px;
}


/* =========================================================
   TITLE DECORATION
   ========================================================= */

.mks-heading-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 15px 0 17px;
}


    .mks-heading-decoration span {
        width: 25px;
        height: 3px;
        border-radius: 5px;
        background: #8B1538;
    }


    .mks-heading-decoration i {
        color: #E7A68C;
        font-size: 7px;
    }


.mks-heading-description {
    max-width: 700px;
    margin: 0 auto;
    color: #718096;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   CATEGORY SECTION
   ========================================================= */

.mks-naac-category-list {
    display: flex;
    flex-direction: column;
    gap: 42px;
}


/* =========================================================
   CATEGORY WRAPPER
   ========================================================= */

.mks-naac-category {
    position: relative;
    padding: 27px;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid #f0e1da;
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(55, 30, 35, 0.045);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


    .mks-naac-category:hover {
        border-color: rgba(139, 21, 56, 0.15);
        box-shadow: 0 15px 38px rgba(139, 21, 56, 0.07);
    }


/* =========================================================
   CATEGORY HEADER
   ========================================================= */

.mks-naac-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 23px;
    margin-bottom: 22px;
    border-bottom: 1px solid #f1e6e1;
}


.mks-naac-category-left {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* =========================================================
   CATEGORY ICON
   ========================================================= */

.mks-naac-category-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 20px;
    border: 1px solid rgba(139, 21, 56, 0.08);
    transition: all 0.3s ease;
}


.mks-naac-category:hover
.mks-naac-category-icon {
    background: #8B1538;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(139, 21, 56, 0.18);
}


/* =========================================================
   CATEGORY LABEL
   ========================================================= */

.mks-category-label {
    display: block;
    margin-bottom: 4px;
    color: #a27884;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}


/* =========================================================
   CATEGORY TITLE
   ========================================================= */

.mks-naac-category-title {
    margin: 0;
    color: #29343b;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}


/* =========================================================
   DOCUMENT COUNT
   ========================================================= */

.mks-naac-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 30px;
    background: #fff8f5;
    border: 1px solid #f1ddd4;
    color: #8B1538;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}


    .mks-naac-count i {
        font-size: 11px;
    }


/* =========================================================
   DOCUMENT GRID
   ========================================================= */

.mks-naac-document-grid {
    position: relative;
}


/* =========================================================
   DOCUMENT CARD
   ========================================================= */

.mks-naac-document-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 17px;
    height: 100%;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #eee3df;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}


    .mks-naac-document-card::before {
        content: "";
        position: absolute;
        width: 90px;
        height: 90px;
        top: -48px;
        right: -40px;
        border-radius: 50%;
        background: #FCEADE;
        opacity: 0.55;
        transition: transform 0.4s ease;
    }


    .mks-naac-document-card:hover {
        transform: translateY(-4px);
        border-color: rgba(139, 21, 56, 0.18);
        box-shadow: 0 12px 28px rgba(139, 21, 56, 0.08);
    }


        .mks-naac-document-card:hover::before {
            transform: scale(1.4);
        }


/* =========================================================
   DOCUMENT ICON
   ========================================================= */

.mks-document-icon {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 18px;
    transition: all 0.3s ease;
}


.mks-naac-document-card:hover
.mks-document-icon {
    background: #8B1538;
    color: #ffffff;
    transform: rotate(-4deg);
}


/* =========================================================
   DOCUMENT CONTENT
   ========================================================= */

.mks-document-content {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}


    .mks-document-content h3 {
        margin: 1px 0 7px;
        color: #303b42;
        font-size: 16px;
        line-height: 1.45;
        font-weight: 700;
        transition: color 0.3s ease;
    }


.mks-naac-document-card:hover
.mks-document-content h3 {
    color: #8B1538;
}


.mks-document-content p {
    margin: 0 0 13px;
    color: #788692;
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   DOCUMENT LINK
   ========================================================= */

.mks-document-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 145px;
    padding: 7px 9px 7px 11px;
    border-radius: 30px;
    color: #8B1538;
    background: #fff7f3;
    border: 1px solid #f0ddd5;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}


    .mks-document-link span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }


    .mks-document-link > i {
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #8B1538;
        color: #ffffff;
        font-size: 9px;
        transition: transform 0.3s ease;
    }


    .mks-document-link:hover {
        color: #ffffff;
        background: #8B1538;
        border-color: #8B1538;
    }


        .mks-document-link:hover > i {
            background: #ffffff;
            color: #8B1538;
            transform: translateX(2px);
        }


/* =========================================================
   CATEGORY EMPTY
   ========================================================= */

.mks-category-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 17px 18px;
    border-radius: 12px;
    background: #fffaf8;
    border: 1px dashed #ead8d0;
    color: #82909a;
    font-size: 13px;
}


    .mks-category-empty i {
        color: #8B1538;
        font-size: 16px;
    }


/* =========================================================
   COMPLETE EMPTY STATE
   ========================================================= */

.mks-naac-index-empty {
    max-width: 620px;
    margin: 10px auto 0;
    padding: 55px 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #f0e1da;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(50, 30, 35, 0.05);
}


.mks-index-empty-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 27px;
}


.mks-naac-index-empty h3 {
    margin-bottom: 8px;
    color: #29343b;
    font-size: 21px;
    font-weight: 700;
}


.mks-naac-index-empty p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .mks-naac-index-page {
        padding: 65px 0 75px;
    }

    .mks-content-heading {
        margin-bottom: 48px;
    }

    .mks-naac-category {
        padding: 23px;
    }
}


@media (max-width: 767.98px) {

    .mks-naac-index-page {
        padding: 55px 0 65px;
    }

    .mks-heading-title {
        font-size: 34px;
    }

    .mks-heading-description {
        padding: 0 12px;
        font-size: 14px;
    }

    .mks-naac-category-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .mks-naac-count {
        margin-left: 70px;
    }

    .mks-naac-category-title {
        font-size: 20px;
    }

    .mks-naac-document-card {
        padding: 18px;
    }
}


@media (max-width: 575.98px) {

    .mks-naac-index-page {
        padding: 45px 0 55px;
    }

    .mks-heading-badge-wrap {
        gap: 9px;
    }

    .mks-heading-line-left,
    .mks-heading-line-right {
        width: 23px;
    }

    .mks-heading-badge {
        padding: 8px 14px;
        font-size: 10px;
    }

    .mks-heading-title {
        font-size: 29px;
    }

    .mks-heading-description {
        font-size: 13px;
    }

    .mks-naac-category {
        padding: 18px;
        border-radius: 17px;
    }

    .mks-naac-category-header {
        padding-bottom: 18px;
        margin-bottom: 18px;
    }

    .mks-naac-category-icon {
        width: 50px;
        height: 50px;
    }

    .mks-naac-count {
        margin-left: 65px;
    }

    .mks-naac-document-card {
        gap: 13px;
        padding: 16px;
        border-radius: 13px;
    }

    .mks-document-icon {
        width: 43px;
        height: 43px;
        border-radius: 11px;
        font-size: 16px;
    }

    .mks-document-content h3 {
        font-size: 14px;
    }

    .mks-document-content p {
        font-size: 12px;
    }

    .mks-document-link {
        min-width: 135px;
        font-size: 10px;
    }

    .mks-naac-index-empty {
        padding: 45px 20px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mks-naac-index-page::before,
    .mks-naac-index-page::after,
    .mks-naac-document-card,
    .mks-naac-document-card::before,
    .mks-naac-category-icon,
    .mks-document-icon {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   MKS TOP HEADER BAR
========================================================= */

.mks-top-header {
    background: #1e0a14;
    padding: 7px 0;
    font-size: 12.5px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

    .mks-top-header .top-left {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
    }

        .mks-top-header .top-left a,
        .mks-top-header .top-left span {
            color: rgba(255,255,255,0.75);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: color 0.2s;
        }

            .mks-top-header .top-left a:hover {
                color: #fff;
            }

        .mks-top-header .top-left i {
            color: #c9617a;
            font-size: 11px;
        }

    .mks-top-header .top-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }

.mks-top-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.75) !important;
    font-size: 11px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

    .mks-top-social a:hover {
        background: #8B1538;
        color: #fff !important;
    }

.mks-top-login {
    background: #8B1538;
    color: #fff !important;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

    .mks-top-login:hover {
        background: #6b0f2a;
        color: #fff !important;
    }

/* Divider */
.mks-top-divider {
    color: rgba(255,255,255,0.2);
    font-size: 11px;
}

/* =========================================================
   MKS SITE HEADER MAIN (Logo + Quick Links)
========================================================= */

.mks-site-header {
    background: #fff;
    padding: 12px 0;
    border-bottom: 2px solid #f1f1f1;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

    .mks-site-header .logo img {
        max-height: 70px;
        width: auto;
        display: block;
    }

@media (max-width: 991px) {
    .mks-site-header .logo img {
        max-height: 52px;
    }
}

@media (max-width: 575px) {
    .mks-site-header .logo img {
        max-height: 36px;
    }
}

/* Quick Link Buttons */
.mks-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

    .mks-quick-links .mks-ql-btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 6px 13px;
        border-radius: 6px;
        font-size: 12.5px;
        font-weight: 500;
        text-decoration: none;
        border: 1.5px solid transparent;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

/* Outlined style */
.mks-ql-btn.mks-ql-outline {
    border-color: #8B1538;
    color: #8B1538;
    background: transparent;
}

    .mks-ql-btn.mks-ql-outline:hover {
        background: #8B1538;
        color: #fff;
    }

/* Filled maroon */
.mks-ql-btn.mks-ql-filled {
    background: #8B1538;
    border-color: #8B1538;
    color: #fff;
}

    .mks-ql-btn.mks-ql-filled:hover {
        background: #6b0f2a;
        border-color: #6b0f2a;
    }

/* Dark outlined */
.mks-ql-btn.mks-ql-dark {
    border-color: #334155;
    color: #334155;
    background: transparent;
}

    .mks-ql-btn.mks-ql-dark:hover {
        background: #334155;
        color: #fff;
    }

/* Mobile toggle */
.mks-links-toggle {
    border: 1.5px solid #8B1538;
    color: #8B1538;
    background: transparent;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

    .mks-links-toggle:hover {
        background: #8B1538;
        color: #fff;
    }

/* Mobile collapsed links */
.mks-mobile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0 4px;
}

@media (max-width: 575px) {
    .mks-top-header .top-left {
        gap: 10px;
    }

        .mks-top-header .top-left a span {
            display: none;
        }
}

/* =========================================================
   TOP HEADER � MOBILE ENHANCEMENTS
========================================================= */

/* Mobile toggle button in top header */
.mks-top-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1;
}

    .mks-top-toggle:hover {
        background: rgba(255,255,255,0.2);
    }

/* Mobile collapsed info panel */
.mks-top-mobile-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 6px;
}

    .mks-top-mobile-info a,
    .mks-top-mobile-info span {
        color: rgba(255,255,255,0.80);
        font-size: 12.5px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: color 0.2s;
    }

        .mks-top-mobile-info a:hover {
            color: #fff;
        }

    .mks-top-mobile-info i {
        color: #c9617a;
        width: 14px;
        flex-shrink: 0;
    }

/* Small login button for mobile info panel */
.mks-top-login-sm {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: #8B1538 !important;
    color: #fff !important;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
    transition: background 0.2s;
}

    .mks-top-login-sm:hover {
        background: #6b0f2a !important;
    }

/* LNMU link in top header */
.mks-top-link {
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    white-space: nowrap;
}

    .mks-top-link:hover {
        color: #fff;
    }

/* Mobile icon buttons in main header */
.mks-mobile-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1.5px solid #8B1538;
    color: #8B1538;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}

    .mks-mobile-icon-btn:hover {
        background: #8B1538;
        color: #fff;
    }

/* Ensure mobile links panel has good padding */
.mks-mobile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0 6px;
    border-top: 1px solid #f1f1f1;
}

/* Fix quick links gap on tablet */
@media (max-width: 991px) {
    .mks-quick-links {
        gap: 4px;
    }

    .mks-ql-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .mks-mobile-icon-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .mks-links-toggle {
        padding: 4px 9px;
    }
}

/* =========================================================
   TOP HEADER � TOGGLE DROPDOWN PANEL
========================================================= */

.mks-top-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mks-top-info-link {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

    .mks-top-info-link:hover {
        color: #fff;
    }

    .mks-top-info-link i {
        color: #c9617a;
        font-size: 11px;
    }

.mks-top-dropdown {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
}

.mks-top-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

    .mks-top-social-row a {
        color: rgba(255,255,255,0.78);
        text-decoration: none;
        font-size: 12.5px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 10px;
        border-radius: 20px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        transition: all 0.2s;
        white-space: nowrap;
    }

        .mks-top-social-row a:hover {
            background: #8B1538;
            color: #fff;
            border-color: #8B1538;
        }

.mks-top-login-item {
    background: #8B1538 !important;
    color: #fff !important;
    border-color: #8B1538 !important;
    font-weight: 600;
}

    .mks-top-login-item:hover {
        background: #6b0f2a !important;
    }

/* =========================================================
   MAIN HEADER � MOBILE DROPDOWN PANEL
========================================================= */

.mks-header-dropdown {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0 8px;
    border-top: 2px solid #f1f5f9;
}
/*============tender page css==================*/
/* =========================================================
   MKS COLLEGE - TENDER PAGE
========================================================= */

.mks-tender-page {
    position: relative;
    padding: 75px 0 90px;
    background: #fff;
    overflow: hidden;
}

    .mks-tender-page::before {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        top: -170px;
        left: -150px;
        background: #FCEADE;
        border-radius: 50%;
        opacity: .65;
        pointer-events: none;
    }

    .mks-tender-page::after {
        content: "";
        position: absolute;
        width: 270px;
        height: 270px;
        right: -135px;
        bottom: -150px;
        background: #FCEADE;
        border-radius: 50%;
        opacity: .55;
        pointer-events: none;
    }

    .mks-tender-page .container {
        position: relative;
        z-index: 2;
    }


/* =========================================================
   PAGE HEADING
========================================================= */

.mks-content-heading {
    margin-bottom: 55px;
}

.mks-heading-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-bottom: 17px;
}

.mks-heading-line-left,
.mks-heading-line-right {
    width: 48px;
    height: 2px;
    background: #8B1538;
    border-radius: 10px;
    opacity: .9;
}

.mks-heading-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 17px;
    border-radius: 30px;
    background: #FCEADE;
    border: 1px solid #f1d0c1;
    color: #8B1538;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .mks-heading-badge i {
        font-size: 12px;
    }

.mks-heading-title {
    margin: 0;
    color: #252525;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 700;
}

    .mks-heading-title span {
        color: #8B1538;
    }

.mks-heading-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 14px auto 14px;
}

    .mks-heading-decoration span {
        width: 28px;
        height: 3px;
        background: #8B1538;
        border-radius: 10px;
    }

        .mks-heading-decoration span:first-child {
            width: 20px;
        }

    .mks-heading-decoration i {
        font-size: 6px;
        color: #e8a07d;
    }

.mks-heading-description {
    max-width: 700px;
    margin: 0 auto;
    color: #71809a;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   TENDER GRID
========================================================= */

.mks-tender-grid {
    position: relative;
}


/* =========================================================
   TENDER CARD
========================================================= */

.mks-tender-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #eadfe1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(50, 20, 30, .06);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

    .mks-tender-card:hover {
        transform: translateY(-6px);
        border-color: rgba(139, 21, 56, .25);
        box-shadow: 0 18px 42px rgba(139, 21, 56, .12);
    }


    /* Top maroon accent */
    .mks-tender-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient( 90deg, #8B1538, #b74361, #8B1538 );
        z-index: 3;
    }


/* =========================================================
   CARD TOP
========================================================= */

.mks-tender-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 25px 25px 15px;
}


/* Document icon */

.mks-tender-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 21px;
    transition: all .3s ease;
}

.mks-tender-card:hover .mks-tender-icon {
    background: #8B1538;
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================================
   STATUS
========================================================= */

.mks-tender-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 30px;
    background: #edf8f1;
    color: #23834a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

    .mks-tender-status .status-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #27a957;
        box-shadow: 0 0 0 3px rgba(39, 169, 87, .12);
    }


    /* Closed */

    .mks-tender-status.closed {
        background: #f5f5f5;
        color: #777;
    }

        .mks-tender-status.closed .status-dot {
            background: #888;
        }


    /* Awarded */

    .mks-tender-status.awarded {
        background: #fff6e7;
        color: #a56a00;
    }

        .mks-tender-status.awarded .status-dot {
            background: #d99a16;
        }


    /* Cancelled */

    .mks-tender-status.cancelled {
        background: #fff0f0;
        color: #b3261e;
    }

        .mks-tender-status.cancelled .status-dot {
            background: #d93025;
        }


/* =========================================================
   CONTENT
========================================================= */

.mks-tender-content {
    padding: 5px 25px 24px;
    flex: 1;
}


/* Title */

.mks-tender-title {
    margin: 0 0 9px;
    color: #252525;
    font-size: 21px !important;
    font-weight: 700;
    line-height: 1.4;
    transition: color .3s ease;
}

.mks-tender-card:hover .mks-tender-title {
    color: #8B1538;
}


/* Tender Number */

.mks-tender-number {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
    color: #8B1538;
    font-size: 12px;
}

    .mks-tender-number i {
        font-size: 10px;
    }

    .mks-tender-number span {
        color: #777;
    }

    .mks-tender-number strong {
        color: #8B1538;
        font-weight: 700;
    }


/* Description */

.mks-tender-description {
    margin: 0 0 20px;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================================
   DATE / INFORMATION
========================================================= */

.mks-tender-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.mks-tender-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 11px;
    background: #fbfbfb;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    transition: background .3s ease, border-color .3s ease;
}

.mks-tender-card:hover .mks-tender-info-item {
    background: #fffaf8;
    border-color: #f1dfe3;
}


/* Icon */

.mks-info-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 11px;
}


/* Info Content */

.mks-info-content {
    min-width: 0;
}

    .mks-info-content span {
        display: block;
        color: #999;
        font-size: 9px;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 2px;
    }

    .mks-info-content strong {
        display: block;
        color: #333;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.4;
    }


/* Last Date */

.mks-tender-info-item.mks-last-date {
    background: #fff8f8;
    border-color: #f3dddd;
}

.mks-last-date .mks-info-icon {
    background: #f9e7e7;
    color: #a51c3e;
}

.mks-last-date .mks-info-content strong {
    color: #8B1538;
}


/* =========================================================
   FINANCIAL INFORMATION
========================================================= */

.mks-tender-financial {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 16px;
    border: 1px solid #eee5e6;
    border-radius: 10px;
    overflow: hidden;
    background: #fffdfc;
}

.mks-financial-item {
    padding: 11px 10px;
    text-align: center;
    border-right: 1px solid #eee5e6;
}

    .mks-financial-item:last-child {
        border-right: 0;
    }

    .mks-financial-item span {
        display: block;
        color: #999;
        font-size: 9px;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .mks-financial-item strong {
        display: block;
        color: #333;
        font-size: 11px;
        font-weight: 700;
    }


/* =========================================================
   FOOTER
========================================================= */

.mks-tender-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 25px;
    border-top: 1px solid #eee7e8;
    background: #fffdfc;
}


/* Reference */

.mks-tender-reference {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #777;
    font-size: 11px;
    font-weight: 600;
}

    .mks-tender-reference i {
        color: #8B1538;
        font-size: 12px;
    }


/* Document button */

.mks-tender-document-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: 8px;
    background: #8B1538;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

    .mks-tender-document-btn:hover {
        background: #6f102c;
        color: #fff;
        transform: translateX(3px);
        box-shadow: 0 6px 15px rgba(139, 21, 56, .20);
    }

    .mks-tender-document-btn i {
        font-size: 10px;
        transition: transform .3s ease;
    }

    .mks-tender-document-btn:hover i {
        transform: translateX(3px);
    }


/* =========================================================
   EMPTY STATE
========================================================= */

.mks-tender-empty {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 25px;
    text-align: center;
    background: #fff;
    border: 1px solid #eee2e5;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(50, 20, 30, .05);
}

.mks-tender-empty-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #FCEADE;
    color: #8B1538;
    font-size: 28px;
}

.mks-tender-empty h3,
.mks-tender-empty h4 {
    margin-bottom: 8px;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.mks-tender-empty p {
    margin: 0;
    color: #888;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .mks-tender-page {
        padding: 55px 0 65px;
    }

    .mks-content-heading {
        margin-bottom: 40px;
    }

    .mks-heading-title {
        font-size: 30px;
    }

    .mks-heading-description {
        font-size: 13px;
    }

    .mks-tender-card-top {
        padding: 22px 20px 14px;
    }

    .mks-tender-content {
        padding: 5px 20px 20px;
    }

    .mks-tender-footer {
        padding: 14px 20px;
    }
}


@media (max-width: 575px) {

    .mks-heading-line-left,
    .mks-heading-line-right {
        width: 28px;
    }

    .mks-heading-badge {
        padding: 7px 12px;
        font-size: 9px;
    }

    .mks-heading-title {
        font-size: 27px;
    }

    .mks-tender-info {
        grid-template-columns: 1fr;
    }

    .mks-tender-financial {
        grid-template-columns: 1fr;
    }

    .mks-financial-item {
        border-right: 0;
        border-bottom: 1px solid #eee5e6;
    }

        .mks-financial-item:last-child {
            border-bottom: 0;
        }

    .mks-tender-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .mks-tender-document-btn {
        width: 100%;
        justify-content: center;
    }
}

/*===================footer css===========================*/
/* =========================================================
   MKS COLLEGE FOOTER
   ========================================================= */

.mks-footer {
    position: relative;
    background: #24141a;
    color: #d9d1d4;
    overflow: hidden;
}


    /* Decorative Background */

    .mks-footer::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        top: -240px;
        left: -180px;
        background: rgba(139, 21, 56, 0.18);
        pointer-events: none;
    }

    .mks-footer::after {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        right: -180px;
        bottom: -220px;
        background: rgba(222, 154, 126, 0.08);
        pointer-events: none;
    }


/* =========================================================
   MAIN FOOTER
   ========================================================= */

.mks-footer-main {
    position: relative;
    z-index: 2;
    padding: 75px 0 60px;
    background: linear-gradient( 135deg, #2b151e 0%, #24141a 48%, #1d1116 100% );
}


/* =========================================================
   BRAND
   ========================================================= */

/*.mks-footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}*/

.mks-footer-logo {
    /*    width: 58px;
    height: 58px;
    min-width: 58px;*/
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*    background: linear-gradient( 135deg, #9d174d, #7d1235 );*/
    color: #fff;
    font-size: 23px;
    box-shadow: 0 10px 25px rgba(139, 21, 56, 0.25);
}

.mks-footer-brand h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.mks-footer-brand span {
    display: block;
    color: #c8bfc3;
    font-size: 11px;
    line-height: 1.5;
}


.mks-footer-description {
    max-width: 430px;
    color: #bdb3b7;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}


/* =========================================================
   SOCIAL ICONS
   ========================================================= */

.mks-footer-social {
    display: flex;
    align-items: center;
    gap: 9px;
}

    .mks-footer-social a {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ddd4d7;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.08);
        text-decoration: none;
        transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    }

        .mks-footer-social a:hover {
            transform: translateY(-4px);
            background: #8b1538;
            color: #fff;
            border-color: #8b1538;
        }


/* =========================================================
   FOOTER WIDGET
   ========================================================= */

.mks-footer-widget h4 {
    position: relative;
    margin: 0 0 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}


.mks-footer-title-line {
    position: relative;
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 22px;
    border-radius: 10px;
    background: #c9826e;
}

    .mks-footer-title-line::after {
        content: "";
        position: absolute;
        left: 12px;
        top: 0;
        width: 18px;
        height: 3px;
        border-radius: 10px;
        background: #8b1538;
    }


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.mks-footer-widget ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .mks-footer-widget ul li {
        margin-bottom: 11px;
    }

        .mks-footer-widget ul li a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #bfb5b9;
            font-size: 14px;
            text-decoration: none;
            transition: color 0.25s ease, transform 0.25s ease;
        }

            .mks-footer-widget ul li a i {
                color: #c9826e;
                font-size: 11px;
                transition: transform 0.25s ease;
            }

            .mks-footer-widget ul li a:hover {
                color: #fff;
                transform: translateX(4px);
            }

                .mks-footer-widget ul li a:hover i {
                    transform: translateX(3px);
                }


/* =========================================================
   CONTACT
   ========================================================= */

.mks-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mks-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.mks-contact-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 130, 110, 0.12);
    border: 1px solid rgba(201, 130, 110, 0.16);
    color: #d79884;
    font-size: 14px;
}

.mks-contact-item span {
    display: block;
    margin-bottom: 3px;
    color: #93878c;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.mks-contact-item p {
    margin: 0;
    color: #d2c9cc;
    font-size: 13px;
    line-height: 1.6;
}

.mks-contact-item a {
    color: #d2c9cc;
    text-decoration: none;
    transition: color 0.25s ease;
}

    .mks-contact-item a:hover {
        color: #fff;
    }


/* =========================================================
   MAP SECTION
   ========================================================= */

.mks-footer-map-section {
    position: relative;
    z-index: 2;
    padding: 32px 0;
    background: #1c1015;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


/* Location */

.mks-footer-location {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.mks-location-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #8b1538;
    color: #fff;
    box-shadow: 0 8px 22px rgba(139, 21, 56, 0.25);
}

.mks-footer-location h5 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.mks-footer-location p {
    max-width: 430px;
    margin: 0 0 12px;
    color: #aaa0a5;
    font-size: 13px;
    line-height: 1.6;
}


.mks-location-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 8px;
    color: #fff;
    background: #8b1538;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

    .mks-location-btn:hover {
        color: #fff;
        background: #a51b46;
        transform: translateY(-2px);
    }


/* Map */

.mks-footer-map {
    height: 190px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

    .mks-footer-map iframe {
        width: 100%;
        height: 100%;
        display: block;
        border: 0;
        filter: grayscale(0.2);
    }


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.mks-footer-bottom {
    position: relative;
    z-index: 2;
    padding: 20px 0;
    background: #160c10;
}

.mks-copyright {
    color: #91858a;
    font-size: 12px;
    line-height: 1.6;
}

    .mks-copyright strong {
        color: #d0c5c9;
        font-weight: 600;
    }


/* Bottom Links */

.mks-footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

    .mks-footer-bottom-links a {
        color: #9f9398;
        font-size: 12px;
        text-decoration: none;
        transition: color 0.25s ease;
    }

        .mks-footer-bottom-links a:hover {
            color: #fff;
        }

    .mks-footer-bottom-links span {
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: #806f75;
    }


/* =========================================================
   BACK TO TOP
   ========================================================= */

.mks-scroll-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #8b1538;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

    .mks-scroll-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mks-scroll-top:hover {
        color: #fff;
        background: #a51b46;
        transform: translateY(-3px);
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {

    .mks-footer-main {
        padding: 60px 0 50px;
    }
}


@media (max-width: 991px) {

    .mks-footer-main {
        padding: 55px 0 45px;
    }

    .mks-footer-brand h3 {
        font-size: 18px;
    }

    .mks-footer-map-section {
        padding: 30px 0;
    }

    .mks-footer-map {
        height: 240px;
    }

    .mks-footer-bottom-links {
        justify-content: flex-start;
    }
}


@media (max-width: 767px) {

    .mks-footer-main {
        padding: 45px 0 35px;
    }

    .mks-footer-brand {
        align-items: flex-start;
    }

    .mks-footer-logo {
        width: 100%;
        height: 80px;
        min-width: 50px;
    }

    .mks-footer-description {
        font-size: 13px;
    }

    .mks-footer-widget {
        margin-top: 10px;
    }

    .mks-footer-map {
        height: 220px;
    }

    .mks-scroll-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}


@media (max-width: 575px) {

    .mks-footer-main {
        padding: 40px 0 30px;
    }

    .mks-footer-brand {
        gap: 12px;
    }

        .mks-footer-brand h3 {
            font-size: 16px;
        }

        .mks-footer-brand span {
            font-size: 9px;
        }

    .mks-footer-social a {
        width: 35px;
        height: 35px;
    }

    .mks-footer-map {
        height: 200px;
    }

    .mks-footer-location {
        gap: 12px;
    }

    .mks-location-icon {
        width: 43px;
        height: 43px;
        min-width: 43px;
    }

    .mks-footer-bottom-links {
        gap: 7px;
    }
}

/*===============gallery-page css=====================*/
/* =========================================================
   MKS COLLEGE - UNIQUE MEDIA GALLERY
   ========================================================= */

.college-gallery-section {
    position: relative;
    padding: 85px 0 100px;
    background: radial-gradient(circle at 5% 10%, rgba(139, 21, 56, 0.055), transparent 22%), radial-gradient(circle at 95% 85%, rgba(231, 166, 130, 0.09), transparent 25%), #ffffff;
    overflow: hidden;
}


    /* ---------------------------------------------------------
   Background Decorative Shapes
   --------------------------------------------------------- */

    .college-gallery-section::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(139, 21, 56, 0.035);
        top: -120px;
        left: -90px;
        pointer-events: none;
    }

    .college-gallery-section::after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        border: 1px solid rgba(139, 21, 56, 0.07);
        right: -170px;
        bottom: -160px;
        pointer-events: none;
    }


/* ---------------------------------------------------------
   Gallery Heading
   --------------------------------------------------------- */

.gallery-heading {
    position: relative;
    max-width: 760px;
    margin: 0 auto 52px;
    z-index: 2;
}

.gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 50px;
    background: #fff1e8;
    border: 1px solid #f3d2c2;
    color: #8b1538;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

    .gallery-badge i {
        font-size: 13px;
    }


.gallery-heading h2 {
    margin: 17px 0 12px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 700;
    color: #27323a;
    letter-spacing: -0.5px;
}

    .gallery-heading h2 span {
        color: #8b1538;
    }


    .gallery-heading h2::after {
        content: "";
        display: block;
        width: 58px;
        height: 4px;
        margin: 17px auto 0;
        border-radius: 10px;
        background: linear-gradient( 90deg, #8b1538 0%, #e5a184 50%, #8b1538 100% );
    }


.gallery-heading p {
    max-width: 650px;
    margin: 18px auto 0;
    color: #718096;
    font-size: 15px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   Gallery Grid
   --------------------------------------------------------- */

.college-gallery {
    position: relative;
    z-index: 2;
    display: grid;
    /*
       Masonry-like editorial layout.
       Different cards are intentionally sized differently.
    */
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 92px;
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   Individual Gallery Item
   --------------------------------------------------------- */

.gallery-item {
    min-width: 0;
    position: relative;
}


    /*
   Different image sizes create a magazine/editorial feel.
*/

    .gallery-item:nth-child(1) {
        grid-column: span 5;
        grid-row: span 4;
    }

    .gallery-item:nth-child(2) {
        grid-column: span 3;
        grid-row: span 3;
    }

    .gallery-item:nth-child(3) {
        grid-column: span 4;
        grid-row: span 5;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 3;
        grid-row: span 3;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 4;
        grid-row: span 4;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 5;
        grid-row: span 3;
    }

    .gallery-item:nth-child(7) {
        grid-column: span 4;
        grid-row: span 4;
    }

    .gallery-item:nth-child(8) {
        grid-column: span 3;
        grid-row: span 5;
    }


    /*
   Continue pattern automatically for larger galleries.
*/

    .gallery-item:nth-child(8n + 9) {
        grid-column: span 4;
        grid-row: span 4;
    }

    .gallery-item:nth-child(8n + 10) {
        grid-column: span 5;
        grid-row: span 3;
    }

    .gallery-item:nth-child(8n + 11) {
        grid-column: span 3;
        grid-row: span 4;
    }

    .gallery-item:nth-child(8n + 12) {
        grid-column: span 4;
        grid-row: span 5;
    }

    .gallery-item:nth-child(8n + 13) {
        grid-column: span 3;
        grid-row: span 3;
    }

    .gallery-item:nth-child(8n + 14) {
        grid-column: span 5;
        grid-row: span 4;
    }

    .gallery-item:nth-child(8n + 15) {
        grid-column: span 4;
        grid-row: span 3;
    }

    .gallery-item:nth-child(8n + 16) {
        grid-column: span 3;
        grid-row: span 4;
    }


/* ---------------------------------------------------------
   Gallery Card
   --------------------------------------------------------- */

.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #f7f7f7;
    border: 1px solid rgba(139, 21, 56, 0.10);
    box-shadow: 0 8px 25px rgba(25, 30, 40, 0.06);
    text-decoration: none;
    transform: translateY(0);
    transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.45s ease, border-color 0.3s ease;
}


/* Slightly different radius for visual variety */

.gallery-item:nth-child(3n) .gallery-card {
    border-radius: 24px 12px 24px 12px;
}

.gallery-item:nth-child(3n + 1) .gallery-card {
    border-radius: 12px 24px 12px 24px;
}


.gallery-card:hover {
    transform: translateY(-7px);
    border-color: rgba(139, 21, 56, 0.22);
    box-shadow: 0 18px 42px rgba(30, 35, 45, 0.14);
}


/* ---------------------------------------------------------
   Image Wrapper
   --------------------------------------------------------- */

.gallery-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}


    .gallery-image-wrap img {
        width: 100%;
        height: 100%;
        min-height: 100%;
        display: block;
        object-fit: cover;
        transform: scale(1.01);
        transition: transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
    }


.gallery-card:hover img {
    transform: scale(1.09);
    filter: saturate(1.08);
}


/* ---------------------------------------------------------
   Image Overlay
   --------------------------------------------------------- */

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: linear-gradient( 180deg, rgba(20, 10, 15, 0.05) 10%, rgba(20, 10, 15, 0.78) 100% );
    opacity: 0;
    transition: opacity 0.45s ease;
}


.gallery-card:hover .gallery-overlay {
    opacity: 1;
}


/* ---------------------------------------------------------
   Overlay Content
   --------------------------------------------------------- */

.gallery-overlay-content {
    text-align: center;
    color: #ffffff;
    transform: translateY(20px) scale(.96);
    transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}


.gallery-card:hover .gallery-overlay-content {
    transform: translateY(0) scale(1);
}


.gallery-view-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #8b1538;
    font-size: 17px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}


.gallery-overlay-content h5 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}


.gallery-overlay-content span {
    display: inline-block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ---------------------------------------------------------
   Floating Corner Accent
   --------------------------------------------------------- */

.gallery-card::before {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    right: -35px;
    top: -35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    z-index: 3;
    pointer-events: none;
    transition: transform 0.5s ease;
}


.gallery-card:hover::before {
    transform: scale(1.5);
}


/* ---------------------------------------------------------
   Empty State
   --------------------------------------------------------- */

.gallery-empty {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 65px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #f0e2dc;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(30, 35, 45, 0.06);
}


.gallery-empty-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #fff0e7;
    color: #8b1538;
    font-size: 30px;
}


.gallery-empty h4 {
    margin-bottom: 8px;
    color: #27323a;
    font-weight: 650;
}


.gallery-empty p {
    margin: 0;
    color: #7b8794;
    font-size: 14px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .college-gallery-section {
        padding: 70px 0 80px;
    }

    .college-gallery {
        grid-auto-rows: 80px;
        gap: 15px;
    }

    .gallery-item:nth-child(n) {
        grid-column: span 6;
        grid-row: span 4;
    }

    .gallery-item:nth-child(3n) {
        grid-row: span 5;
    }

    .gallery-item:nth-child(4n) {
        grid-row: span 3;
    }
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 575px) {

    .college-gallery-section {
        padding: 55px 0 65px;
    }

    .gallery-heading {
        margin-bottom: 35px;
        padding: 0 10px;
    }

        .gallery-heading h2 {
            font-size: 31px;
        }

        .gallery-heading p {
            font-size: 14px;
            line-height: 1.7;
        }

    .college-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 145px;
        gap: 10px;
    }

    .gallery-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 2;
    }

    .gallery-item:nth-child(3n) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(5n) {
        grid-column: span 1;
        grid-row: span 3;
    }

    .gallery-card {
        border-radius: 13px !important;
    }

    .gallery-overlay {
        padding: 12px;
    }

    .gallery-view-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .gallery-overlay-content h5 {
        font-size: 13px;
    }

    .gallery-overlay-content span {
        font-size: 10px;
    }
}


/* ---------------------------------------------------------
   Accessibility / Reduced Motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .gallery-card,
    .gallery-image-wrap img,
    .gallery-overlay,
    .gallery-overlay-content,
    .gallery-card::before {
        transition: none !important;
    }
}


/*====================gallery main page css ===================*/
/* =========================================================
   MKS HOME PAGE - MEDIA GALLERY
   ========================================================= */

.mks-home-gallery {
    position: relative;
    padding: 90px 0 105px;
    overflow: hidden;
    background: radial-gradient( circle at 5% 20%, rgba(139, 21, 56, 0.055), transparent 25% ), radial-gradient( circle at 95% 80%, rgba(231, 166, 130, 0.10), transparent 27% ), #ffffff;
}


/* ---------------------------------------------------------
   Decorative Background
   --------------------------------------------------------- */

.mks-gallery-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.mks-gallery-circle-one {
    width: 260px;
    height: 260px;
    top: -150px;
    left: -100px;
    border: 1px solid rgba(139, 21, 56, 0.07);
    background: rgba(139, 21, 56, 0.025);
}

.mks-gallery-circle-two {
    width: 320px;
    height: 320px;
    right: -180px;
    bottom: -180px;
    border: 1px solid rgba(231, 166, 130, 0.14);
    background: rgba(231, 166, 130, 0.035);
}


/* ---------------------------------------------------------
   Heading
   --------------------------------------------------------- */

.mks-home-gallery-heading {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}


.mks-gallery-heading-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 15px;
}


.mks-gallery-heading-line {
    width: 42px;
    height: 2px;
    background: #8b1538;
    position: relative;
}


    .mks-gallery-heading-line::after {
        content: "";
        position: absolute;
        top: -2px;
        right: -5px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #e5a184;
    }


.mks-gallery-heading-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 50px;
    background: #fff1e8;
    border: 1px solid #f1d1c2;
    color: #8b1538;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


    .mks-gallery-heading-badge i {
        font-size: 12px;
    }


.mks-home-gallery-heading h2 {
    margin: 0;
    color: #27323a;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
}


    .mks-home-gallery-heading h2 span {
        color: #8b1538;
    }


    .mks-home-gallery-heading h2::after {
        content: "";
        display: block;
        width: 58px;
        height: 4px;
        margin: 15px auto 0;
        border-radius: 20px;
        background: linear-gradient( 90deg, #8b1538, #e5a184, #8b1538 );
    }


.mks-home-gallery-heading p {
    max-width: 650px;
    margin: 17px auto 0;
    color: #718096;
    font-size: 15px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   View All Button
   --------------------------------------------------------- */

.mks-gallery-view-all {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin: 28px 0 38px;
}


.mks-gallery-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px 11px 21px;
    border-radius: 50px;
    background: #8b1538;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(139, 21, 56, 0.18);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}


    .mks-gallery-view-btn i {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,.16);
        transition: transform .3s ease;
    }


    .mks-gallery-view-btn:hover {
        background: #6f102d;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(139, 21, 56, 0.25);
    }


        .mks-gallery-view-btn:hover i {
            transform: translateX(3px);
        }


/* ---------------------------------------------------------
   Gallery Slider
   --------------------------------------------------------- */

.mks-gallery-slider {
    position: relative;
    z-index: 2;
    padding: 5px 45px 12px;
}


.mks-gallery-slide {
    padding: 4px;
}


/* ---------------------------------------------------------
   Bento Grid
   --------------------------------------------------------- */

.mks-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 170px 170px;
    gap: 13px;
    max-width: 1100px;
    margin: 0 auto;
}


/*
   6 images:
   
   +------------------------+
   �        �        �      �
   �   1    �   2    �  3   �
   �        �        �      �
   +--------+--------+------�
   �   4    �   5    �  6   �
   +------------------------+

   But first image gets larger visual importance.
*/


.mks-home-gallery-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}


.mks-home-gallery-card:nth-child(2) {
    grid-column: span 1;
}


.mks-home-gallery-card:nth-child(3) {
    grid-column: span 1;
}


.mks-home-gallery-card:nth-child(4) {
    grid-column: span 1;
}


.mks-home-gallery-card:nth-child(5) {
    grid-column: span 1;
}


.mks-home-gallery-card:nth-child(6) {
    grid-column: span 2;
}


/* ---------------------------------------------------------
   Gallery Card
   --------------------------------------------------------- */

.mks-home-gallery-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #f5f5f5;
    border: 1px solid rgba(139, 21, 56, 0.09);
    box-shadow: 0 7px 22px rgba(25, 30, 40, 0.07);
    text-decoration: none !important;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}


    .mks-home-gallery-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 17px 38px rgba(25, 30, 40, 0.15);
    }


/* ---------------------------------------------------------
   Image
   --------------------------------------------------------- */

.mks-home-gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


    .mks-home-gallery-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transform: scale(1.01);
        transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s ease;
    }


.mks-home-gallery-card:hover img {
    transform: scale(1.09);
    filter: saturate(1.08);
}


/* ---------------------------------------------------------
   Overlay
   --------------------------------------------------------- */

.mks-home-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background: linear-gradient( 180deg, rgba(25, 10, 16, .03) 20%, rgba(25, 10, 16, .82) 100% );
    opacity: 0;
    transition: opacity .4s ease;
}


.mks-home-gallery-card:hover .mks-home-gallery-overlay {
    opacity: 1;
}


/* ---------------------------------------------------------
   Expand Icon
   --------------------------------------------------------- */

.mks-gallery-expand {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #ffffff;
    color: #8b1538;
    font-size: 15px;
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
    transform: translateY(18px) scale(.8);
    transition: transform .45s cubic-bezier(.2,.8,.2,1);
}


.mks-home-gallery-card:hover .mks-gallery-expand {
    transform: translateY(0) scale(1);
}


/* ---------------------------------------------------------
   Caption
   --------------------------------------------------------- */

.mks-gallery-caption {
    max-width: 90%;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transform: translateY(12px);
    transition: transform .45s ease .05s;
}


.mks-home-gallery-card:hover .mks-gallery-caption {
    transform: translateY(0);
}


.mks-gallery-view-label {
    margin-top: 5px;
    color: rgba(255,255,255,.72);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transform: translateY(10px);
    transition: transform .45s ease .1s;
}


.mks-home-gallery-card:hover .mks-gallery-view-label {
    transform: translateY(0);
}


/* ---------------------------------------------------------
   Owl Navigation
   --------------------------------------------------------- */

.mks-gallery-slider .owl-nav {
    margin: 0;
}


    .mks-gallery-slider .owl-nav button.owl-prev,
    .mks-gallery-slider .owl-nav button.owl-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        margin: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50% !important;
        background: #ffffff !important;
        color: #8b1538 !important;
        border: 1px solid #ead8d2 !important;
        box-shadow: 0 7px 20px rgba(25,30,40,.10);
        transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
    }


    .mks-gallery-slider .owl-nav button.owl-prev {
        left: 0;
    }


    .mks-gallery-slider .owl-nav button.owl-next {
        right: 0;
    }


    .mks-gallery-slider .owl-nav button:hover {
        background: #8b1538 !important;
        color: #ffffff !important;
        box-shadow: 0 10px 25px rgba(139,21,56,.22);
    }


    .mks-gallery-slider .owl-nav button.owl-prev:hover {
        transform: translateY(-50%) translateX(-2px);
    }


    .mks-gallery-slider .owl-nav button.owl-next:hover {
        transform: translateY(-50%) translateX(2px);
    }


/* ---------------------------------------------------------
   Owl Dots
   --------------------------------------------------------- */

.mks-gallery-slider .owl-dots {
    margin-top: 23px;
}


.mks-gallery-slider .owl-dot span {
    width: 7px !important;
    height: 7px !important;
    margin: 4px !important;
    background: #dec9c4 !important;
    transition: width .3s ease, background .3s ease;
}


.mks-gallery-slider .owl-dot.active span {
    width: 24px !important;
    border-radius: 10px;
    background: #8b1538 !important;
}


/* ---------------------------------------------------------
   Empty State
   --------------------------------------------------------- */

.mks-gallery-empty {
    position: relative;
    max-width: 600px;
    margin: 20px auto 0;
    padding: 55px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #f0e1da;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(30,35,45,.06);
}


.mks-gallery-empty-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #fff0e7;
    color: #8b1538;
    font-size: 28px;
}


.mks-gallery-empty h4 {
    margin-bottom: 7px;
    color: #27323a;
    font-weight: 650;
}


.mks-gallery-empty p {
    margin: 0;
    color: #7b8794;
    font-size: 14px;
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .mks-home-gallery {
        padding: 75px 0 85px;
    }

    .mks-gallery-slider {
        padding-left: 35px;
        padding-right: 35px;
    }

    .mks-gallery-grid {
        grid-template-rows: 150px 150px;
        gap: 11px;
    }
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .mks-home-gallery {
        padding: 60px 0 70px;
    }

    .mks-home-gallery-heading h2 {
        font-size: 32px;
    }

    .mks-home-gallery-heading p {
        padding: 0 12px;
        font-size: 14px;
    }

    .mks-gallery-heading-line {
        width: 28px;
    }

    .mks-gallery-slider {
        padding-left: 0;
        padding-right: 0;
    }

    .mks-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 145px 145px 145px;
        gap: 9px;
    }

    .mks-home-gallery-card:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .mks-home-gallery-card:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .mks-home-gallery-card:nth-child(6) {
        grid-column: span 2;
    }

    .mks-gallery-expand {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .mks-gallery-caption {
        font-size: 12px;
    }

    .mks-gallery-slider .owl-nav {
        display: none;
    }
}


/* ---------------------------------------------------------
   Small Mobile
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .mks-gallery-heading-top {
        gap: 8px;
    }

    .mks-gallery-heading-line {
        width: 20px;
    }

    .mks-gallery-heading-badge {
        font-size: 9px;
        padding: 7px 12px;
    }

    .mks-gallery-grid {
        grid-template-rows: 125px 125px 125px;
    }
}

/*=======================main page event css ===================*/
/* =========================================================
   COLLEGE EVENTS SECTION
   ========================================================= */

.college-event-section {
    position: relative;
    overflow: hidden;
    padding: 85px 0;
    background: radial-gradient(circle at 8% 15%, rgba(139, 21, 56, 0.07), transparent 28%), radial-gradient(circle at 92% 85%, rgba(139, 21, 56, 0.06), transparent 30%), linear-gradient(180deg, #fffaf8 0%, #ffffff 48%, #fffaf8 100%);
}

    /* Decorative background circles */
    .college-event-section::before,
    .college-event-section::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        z-index: 0;
    }

    .college-event-section::before {
        width: 260px;
        height: 260px;
        top: -120px;
        left: -100px;
        background: rgba(139, 21, 56, 0.045);
    }

    .college-event-section::after {
        width: 320px;
        height: 320px;
        right: -150px;
        bottom: -170px;
        background: rgba(236, 155, 122, 0.08);
    }

    .college-event-section .container {
        position: relative;
        z-index: 2;
    }


    /* =========================================================
   SECTION HEADING
   ========================================================= */

    .college-event-section .section-title {
        position: relative;
        margin-bottom: 12px;
    }

        .college-event-section .section-title h2 {
            margin: 0;
            font-size: clamp(28px, 3vw, 40px);
            font-weight: 700;
            line-height: 1.2;
            color: #263238;
            letter-spacing: -0.4px;
        }

            .college-event-section .section-title h2 .text-red {
                color: #8b1538 !important;
            }


            /* Small decorative line under heading */
            .college-event-section .section-title h2::after {
                content: "";
                display: block;
                width: 58px;
                height: 3px;
                margin: 15px auto 0;
                border-radius: 20px;
                background: linear-gradient( 90deg, #8b1538 0%, #8b1538 65%, #e9a083 65%, #e9a083 100% );
            }


    /* =========================================================
   VIEW ALL BUTTON
   ========================================================= */

    .college-event-section .event-btns {
        margin: 5px 0 35px;
    }

        .college-event-section .event-btns .btn {
            position: relative;
            border-radius: 30px;
            padding: 10px 24px;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.3px;
            border: 1px solid #8b1538;
            background: #8b1538;
            color: #fff;
            box-shadow: 0 8px 20px rgba(139, 21, 56, 0.16);
            transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
        }

            .college-event-section .event-btns .btn:hover {
                background: #6f102d;
                border-color: #6f102d;
                transform: translateY(-2px);
                box-shadow: 0 12px 25px rgba(139, 21, 56, 0.23);
            }


    /* =========================================================
   EVENT SLIDER AREA
   ========================================================= */

    .college-event-section .event-slide-row {
        position: relative;
    }

    .college-event-section .mks-event-slider {
        padding: 12px 8px 25px;
    }

        .college-event-section .mks-event-slider .item {
            height: 100%;
            padding: 8px;
        }


    /* =========================================================
   EVENT CARD
   ========================================================= */

    .college-event-section .mks-event-card {
        position: relative;
        height: 100%;
        overflow: hidden;
        background: #ffffff;
        border: 1px solid rgba(139, 21, 56, 0.10);
        border-radius: 18px;
        box-shadow: 0 8px 25px rgba(35, 24, 29, 0.07), 0 2px 6px rgba(35, 24, 29, 0.03);
        transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    }

        .college-event-section .mks-event-card:hover {
            transform: translateY(-8px);
            border-color: rgba(139, 21, 56, 0.20);
            box-shadow: 0 20px 45px rgba(35, 24, 29, 0.12), 0 5px 12px rgba(139, 21, 56, 0.06);
        }


        /* Top maroon accent */
        .college-event-section .mks-event-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 30px;
            right: 30px;
            height: 3px;
            background: linear-gradient( 90deg, #8b1538, #a91c48, #e9a083 );
            border-radius: 0 0 8px 8px;
            z-index: 5;
        }


    /* =========================================================
   EVENT IMAGE
   ========================================================= */

    .college-event-section .mks-event-img {
        position: relative;
        height: 235px;
        overflow: hidden;
        background: linear-gradient( 135deg, #f8e9e2, #f5f5f5 );
    }

        .college-event-section .mks-event-img a {
            display: block;
            width: 100%;
            height: 100%;
        }

        .college-event-section .mks-event-img img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease, filter 0.4s ease;
        }

    .college-event-section .mks-event-card:hover .mks-event-img img {
        transform: scale(1.07);
        filter: brightness(0.88);
    }


    /* Image bottom fade */
    .college-event-section .mks-event-img::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 80px;
        pointer-events: none;
        background: linear-gradient( to top, rgba(15, 10, 12, 0.30), transparent );
    }


    /* =========================================================
   NO IMAGE
   ========================================================= */

    .college-event-section .mks-event-noimg {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: radial-gradient( circle at center, rgba(139, 21, 56, 0.10), transparent 60% ), #faf4f1;
        color: #8b1538;
    }

        .college-event-section .mks-event-noimg i {
            font-size: 55px;
            opacity: 0.75;
        }


    /* =========================================================
   DATE BADGE
   ========================================================= */

    .college-event-section .mks-event-date-badge {
        position: absolute;
        left: 18px;
        top: 18px;
        z-index: 4;
        width: 72px;
        min-height: 82px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 7px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 13px;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .college-event-section .mks-event-card:hover .mks-event-date-badge {
        transform: translateY(-3px);
        background: #ffffff;
    }

    .college-event-section .mks-event-date-badge .day {
        font-size: 26px;
        line-height: 1;
        font-weight: 800;
        color: #8b1538;
    }

    .college-event-section .mks-event-date-badge .month {
        margin-top: 5px;
        font-size: 11px;
        line-height: 1;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #4b5563;
    }

    .college-event-section .mks-event-date-badge .year {
        margin-top: 4px;
        font-size: 10px;
        color: #8b1538;
        font-weight: 600;
    }


    /* =========================================================
   EVENT BODY
   ========================================================= */

    .college-event-section .mks-event-body {
        position: relative;
        padding: 23px 22px 22px;
        background: #fff;
    }


    /* Title */
    .college-event-section .mks-event-title {
        margin: 0 0 15px;
        color: #263238;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.25s ease;
    }

    .college-event-section .mks-event-card:hover .mks-event-title {
        color: #8b1538;
    }


    /* =========================================================
   EVENT META
   ========================================================= */

    .college-event-section .mks-event-meta {
        list-style: none;
        padding: 0;
        margin: 0 0 15px;
    }

        .college-event-section .mks-event-meta li {
            display: flex;
            align-items: flex-start;
            gap: 9px;
            padding: 7px 0;
            color: #667085;
            font-size: 13px;
            line-height: 1.5;
            border-bottom: 1px solid #f1f1f1;
        }

            .college-event-section .mks-event-meta li:last-child {
                border-bottom: 0;
            }

            .college-event-section .mks-event-meta li i {
                width: 17px;
                flex: 0 0 17px;
                margin-top: 2px;
                color: #8b1538;
                font-size: 13px;
            }


    /* =========================================================
   DESCRIPTION
   ========================================================= */

    .college-event-section .mks-event-desc {
        margin: 5px 0 18px;
        color: #7a8494;
        font-size: 13.5px;
        line-height: 1.7;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }


    /* =========================================================
   ACTION BUTTONS
   ========================================================= */

    .college-event-section .mks-event-actions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 15px;
        border-top: 1px solid #eeeeee;
    }

        .college-event-section .mks-event-actions .btn {
            border-radius: 25px;
            padding: 8px 17px;
            font-size: 12px;
            font-weight: 600;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .college-event-section .mks-event-actions .btn-red {
            background: #8b1538;
            border-color: #8b1538;
            color: #fff;
            box-shadow: 0 5px 14px rgba(139, 21, 56, 0.14);
        }

            .college-event-section .mks-event-actions .btn-red:hover {
                background: #6f102d;
                border-color: #6f102d;
                transform: translateY(-2px);
                box-shadow: 0 8px 18px rgba(139, 21, 56, 0.20);
            }

        .college-event-section .mks-event-actions .btn:not(.btn-red) {
            border: 1px solid #e5e7eb;
            background: #fff;
            color: #4b5563;
        }

            .college-event-section .mks-event-actions .btn:not(.btn-red):hover {
                border-color: #8b1538;
                color: #8b1538;
                transform: translateY(-2px);
            }


    /* =========================================================
   OWL NAVIGATION
   Existing Owl Carousel ko touch nahi kar raha
   ========================================================= */

    .college-event-section .owl-nav button.owl-prev,
    .college-event-section .owl-nav button.owl-next {
        width: 42px;
        height: 42px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50% !important;
        background: #fff !important;
        color: #8b1538 !important;
        border: 1px solid rgba(139, 21, 56, 0.14) !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        transition: all 0.25s ease;
    }

        .college-event-section .owl-nav button.owl-prev:hover,
        .college-event-section .owl-nav button.owl-next:hover {
            background: #8b1538 !important;
            color: #fff !important;
            border-color: #8b1538 !important;
            transform: translateY(-2px);
        }

    .college-event-section .owl-nav button i {
        font-size: 13px;
    }

    .college-event-section .owl-nav {
        margin-top: 8px !important;
    }


    /* =========================================================
   OWL DOTS
   ========================================================= */

    .college-event-section .owl-dots {
        margin-top: 18px !important;
    }

    .college-event-section .owl-dot span {
        width: 7px !important;
        height: 7px !important;
        margin: 4px !important;
        background: #d8c3ca !important;
        transition: width 0.3s ease, background 0.3s ease;
    }

    .college-event-section .owl-dot.active span {
        width: 22px !important;
        background: #8b1538 !important;
        border-radius: 10px !important;
    }


    /* =========================================================
   EMPTY STATE
   ========================================================= */

    .college-event-section .text-muted {
        color: #7b8794 !important;
    }

        .college-event-section .text-muted i {
            color: #8b1538 !important;
            opacity: 0.65;
        }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .college-event-section {
        padding: 70px 0;
    }

        .college-event-section .mks-event-img {
            height: 220px;
        }

        .college-event-section .mks-event-body {
            padding: 20px;
        }
}


@media (max-width: 767px) {

    .college-event-section {
        padding: 60px 0;
    }

        .college-event-section .section-title h2 {
            font-size: 30px;
        }

        .college-event-section .mks-event-img {
            height: 230px;
        }

        .college-event-section .mks-event-title {
            font-size: 18px;
        }

        .college-event-section .mks-event-date-badge {
            left: 14px;
            top: 14px;
        }
}


@media (max-width: 575px) {

    .college-event-section {
        padding: 50px 0;
    }

        .college-event-section .event-btns {
            margin-bottom: 25px;
        }

        .college-event-section .mks-event-slider {
            padding-left: 2px;
            padding-right: 2px;
        }

            .college-event-section .mks-event-slider .item {
                padding: 5px;
            }

        .college-event-section .mks-event-card {
            border-radius: 15px;
        }

        .college-event-section .mks-event-img {
            height: 215px;
        }

        .college-event-section .mks-event-body {
            padding: 18px;
        }

        .college-event-section .mks-event-actions {
            align-items: stretch;
        }

            .college-event-section .mks-event-actions .btn {
                flex: 1;
                text-align: center;
            }
}



/* =========================================================
   TOP HEADER � REDESIGNED BUTTONS
   Desktop: ghost links + solid Admin Login
   Mobile: icon + label pill cards in dropdown
========================================================= */

/* Ghost pill � Notifications, Events */
.mks-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1;
}

.mks-top-btn-ghost {
    color: #8B1538;
    background: #FCEADE;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 5px;
    margin-right: 3px;
    border-radius: 2px;
    font-weight: 500;
}

    .mks-top-btn-ghost:hover {
        background: #8B1538;
        color: #fff;
        border-color: rgba(255,255,255,0.35);
        text-decoration: none;
    }

    .mks-top-btn-ghost i {
        font-size: 11px;
        opacity: 0.85;
    }

/* Solid pill � Admin Login */
.mks-top-btn-solid {
    color: #fff;
    background: #8B1538;
    border: 1px solid #8B1538;
    font-weight: 600;
}

    .mks-top-btn-solid:hover {
        background: #6b0f2a;
        border-color: #6b0f2a;
        color: #fff;
        text-decoration: none;
    }

    .mks-top-btn-solid i {
        font-size: 11px;
    }

/* Thin vertical divider between ghost links and solid button */
.mks-top-btn-divider {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}

/* Better toggle button on mobile */
.mks-top-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.88);
    border-radius: 6px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

    .mks-top-toggle:hover {
        background: rgba(255,255,255,0.2);
        color: #fff;
    }

/* -- Mobile dropdown panel --------------------------- */
.mks-top-dropdown {
    padding: 10px 0 6px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mks-top-dropdown-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 4px 0;
}

/* Each item in dropdown */
.mks-top-dd-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px 6px 8px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.82);
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

    .mks-top-dd-item:hover {
        background: rgba(255,255,255,0.17);
        color: #fff;
        border-color: rgba(255,255,255,0.3);
        text-decoration: none;
    }

/* Icon bubble inside each item */
.mks-top-dd-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
    color: #f0a0b4;
}

/* Admin Login special pill */
.mks-top-dd-login {
    background: #8B1538;
    border-color: #8B1538;
    color: #fff;
    font-weight: 600;
}

    .mks-top-dd-login:hover {
        background: #6b0f2a;
        border-color: #6b0f2a;
        color: #fff;
    }

    .mks-top-dd-login .mks-top-dd-icon {
        background: rgba(255,255,255,0.18);
        color: #fff;
    }

/* Very small screens � wrap nicely */
@media (max-width: 400px) {
    .mks-top-dropdown-links {
        gap: 5px;
    }

    .mks-top-dd-item {
        font-size: 12px;
        padding: 5px 11px 5px 7px;
    }
}

/* =========================================================
   MAIN BANNER � RESPONSIVE HEIGHT FIX
========================================================= */

.main-banner {
    position: relative !important;
    aspect-ratio: unset !important;
    height: 520px !important;
    width: 100%;
    overflow: hidden;
}

    .main-banner .owl-carousel,
    .main-banner .owl-carousel .owl-stage-outer,
    .main-banner .owl-carousel .owl-stage,
    .main-banner .owl-carousel .owl-item,
    .main-banner .item,
    .main-banner .banner-col {
        height: 100% !important;
    }

        .main-banner .banner-col img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }

/* Large monitors 1920px+ */
@media (min-width: 1920px) {
    .main-banner {
        height: 680px !important;
    }
}

/* Standard desktop 1600-1919 */
@media (min-width: 1600px) and (max-width: 1919px) {
    .main-banner {
        height: 600px !important;
    }
}

/* 1440-1599 */
@media (min-width: 1440px) and (max-width: 1599px) {
    .main-banner {
        height: 540px !important;
    }
}

/* Laptop 1280-1439 */
@media (min-width: 1280px) and (max-width: 1439px) {
    .main-banner {
        height: 480px !important;
    }
}

/* Small laptop 1024-1279 */
@media (min-width: 1024px) and (max-width: 1279px) {
    .main-banner {
        height: 420px !important;
    }
}

/* Tablet 768-1023 */
@media (min-width: 768px) and (max-width: 1023px) {
    .main-banner {
        height: 340px !important;
    }
}

/* Mobile < 768 */
@media (max-width: 767px) {
    .main-banner {
        height: 220px !important;
    }
}

/* =========================================================
   MARQUEE TICKER � OVERLAPS BANNER BOTTOM EDGE
   margin-top pulls ticker up by half its height (30px)
   so it straddles the banner/content boundary.
========================================================= */

.marquee-section {
    position: relative;
    z-index: 10;
    margin-top: -30px !important;
    background: transparent !important;
    padding: 0 !important;
}

.marquee-inner {
    margin-top: 0 !important;
    height: 60px !important;
    background: #273E47 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.30) !important;
    overflow: hidden !important;
}

    /* RED "LATEST NEWS" label */
    .marquee-inner h3 {
        background: #8B1538 !important;
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        letter-spacing: 1.5px !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
        padding: 0 24px !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        border-radius: 0 !important;
        min-width: max-content !important;
        z-index: 1;
    }

/* Ticker text area */
.marquee-ticker-wrap {
    overflow: hidden !important;
    flex: 1 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* Noticeboard � small top buffer above the ticker */
.noticeboard-section {
    padding-top: 40px !important;
}

@media (max-width: 767px) {
    .marquee-section {
        margin-top: -22px !important;
    }

    .marquee-inner {
        height: 44px !important;
        border-radius: 4px !important;
    }

        .marquee-inner h3 {
            font-size: 10px !important;
            padding: 0 14px !important;
            letter-spacing: 1px !important;
        }

    .noticeboard-section {
        padding-top: 30px !important;
    }
}

/* =========================================================
   MKS COLLEGE � PREMIUM TOP HEADER (REDESIGN)
========================================================= */

.mks-top-header {
    background: linear-gradient(135deg, #1a0810 0%, #2d0f1e 40%, #8B1538 100%);
    padding: 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

    /* Subtle shimmer line at bottom */
    .mks-top-header::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), rgba(252,234,222,0.4), rgba(255,255,255,0.25), transparent);
    }

.mks-top-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    gap: 12px;
}

/* -- LEFT: Info chips ----------------------------------- */
.mks-th-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.mks-th-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 11.5px;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

    .mks-th-chip i {
        color: #f0a0b0;
        font-size: 10px;
    }

    .mks-th-chip:hover {
        background: rgba(252,234,222,0.14);
        border-color: rgba(252,234,222,0.35);
        color: #fff;
        text-decoration: none;
    }

.mks-th-sep {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* -- RIGHT: Action buttons ------------------------------ */
.mks-th-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Ghost action button */
.mks-th-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
}

.mks-th-btn-ghost {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.82);
}

    .mks-th-btn-ghost i {
        color: #f0a0b0;
        font-size: 10px;
    }

    .mks-th-btn-ghost:hover {
        background: rgba(255,255,255,0.16);
        border-color: rgba(255,255,255,0.3);
        color: #fff;
        text-decoration: none;
    }

/* LNMU pill */
.mks-th-btn-lnmu {
    background: rgba(139,21,56,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-weight: 600;
}

    .mks-th-btn-lnmu:hover {
        background: rgba(139,21,56,0.9);
        color: #fff;
        text-decoration: none;
    }

/* Admin Login � solid accent */
.mks-th-btn-login {
    background: #FCEADE;
    border: 1px solid rgba(252,234,222,0.5);
    color: #8B1538;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3px;
}

    .mks-th-btn-login i {
        color: #8B1538;
        font-size: 10px;
    }

    .mks-th-btn-login:hover {
        background: #fff;
        color: #6b0f2a;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    }

/* Divider */
.mks-th-vdiv {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* Mobile toggle */
.mks-th-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

    .mks-th-toggle:hover {
        background: rgba(255,255,255,0.2);
    }

/* Mobile dropdown */
.mks-th-dropdown {
    padding: 10px 0 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mks-th-dd-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 4px 0;
}

.mks-th-dd-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px 7px 9px;
    border-radius: 22px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.13);
    color: rgba(255,255,255,0.82);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}

    .mks-th-dd-item:hover {
        background: rgba(255,255,255,0.17);
        color: #fff;
        text-decoration: none;
        border-color: rgba(255,255,255,0.3);
    }

.mks-th-dd-ico {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
    color: #f0a0b0;
}

.mks-th-dd-login {
    background: #8B1538;
    border-color: #8B1538;
    color: #fff;
    font-weight: 700;
}

    .mks-th-dd-login:hover {
        background: #6b0f2a;
        border-color: #6b0f2a;
        color: #fff;
    }

    .mks-th-dd-login .mks-th-dd-ico {
        background: rgba(255,255,255,0.2);
        color: #fff;
    }

/* Responsive */
@media (max-width: 575px) {
    .mks-th-chip .mks-th-chip-text {
        display: none;
    }

    .mks-th-sep {
        display: none;
    }
}

/* =========================================================
   MKS COLLEGE � NAVBAR MEGA / MULTI-LEVEL DROPDOWN
========================================================= */

/* Base dropdown */
.main-navbar .dropdown-menu {
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(30,10,20,0.16), 0 2px 8px rgba(30,10,20,0.06);
    padding: 8px;
    min-width: 200px;
    margin-top: 4px;
    animation: mksDropFadeIn 0.2s ease;
}

@keyframes mksDropFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-navbar .dropdown-menu li a,
.main-navbar .dropdown-menu > li > a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: 8px;
    color: #2d1520;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.18s, color 0.18s, padding-left 0.18s;
}

    .main-navbar .dropdown-menu li a:hover,
    .main-navbar .dropdown-menu > li > a:hover {
        background: #FCEADE;
        color: #8B1538;
        padding-left: 18px;
    }

    .main-navbar .dropdown-menu li a i {
        width: 18px;
        text-align: center;
        color: #8B1538;
        font-size: 11px;
        opacity: 0.8;
    }

/* Divider inside dropdown */
.main-navbar .dropdown-menu .dropdown-divider {
    margin: 6px 10px;
    border-color: #f0e0e5;
}

/* -- MEGA DROPDOWN for Program Offered ------------------- */

/* Desktop: mega-dropdown container needs relative positioning context */
.main-navbar .mega-dropdown {
    position: relative !important;
}

/* Desktop mega-menu � hidden by default, shown on hover */
.main-navbar .mega-menu {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 520px !important;
    min-width: 520px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(30,10,20,0.18), 0 3px 10px rgba(30,10,20,0.06) !important;
    background: #fff !important;
    z-index: 1050;
    border: none !important;
    margin-top: 0 !important;
}

/* Show mega-menu on hover � same as how style.css handles regular dropdowns */
.main-navbar .navbar-dark .navbar-nav .nav-item.mega-dropdown:hover > .mega-menu {
    display: block !important;
}

/* Header band inside mega menu */
.mega-menu-header {
    background: linear-gradient(135deg, #8B1538, #6b0f2a);
    padding: 16px 22px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mega-menu-header-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.mega-menu-header h6 {
    margin: 0 0 2px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.mega-menu-header span {
    color: rgba(255,255,255,0.72);
    font-size: 11px;
}

/* Columns grid */
.mega-menu-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 12px;
}

/* Each column block */
.mega-col {
    padding: 10px;
}

.mega-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0e0e5;
}

.mega-col-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

    .mega-col-badge.ug {
        background: #FCEADE;
        color: #8B1538;
    }

    .mega-col-badge.pg {
        background: #e8f0fe;
        color: #1a5cb0;
    }

.mega-col-title h6 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #2d1520;
}

.mega-col-title span {
    display: block;
    font-size: 10px;
    color: #888;
    font-weight: 400;
}

/* Course item inside mega column */
.mega-course-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    text-decoration: none;
    color: #2d1520;
    font-size: 12.5px;
    font-weight: 500;
    transition: background 0.18s, color 0.18s;
    margin-bottom: 4px;
}

    .mega-course-item:last-child {
        margin-bottom: 0;
    }

    .mega-course-item:hover {
        background: #FCEADE;
        color: #8B1538;
        text-decoration: none;
    }

.mega-course-ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: background 0.18s;
}

    .mega-course-ico.ug-ico {
        background: #fff0e7;
        color: #8B1538;
    }

    .mega-course-ico.pg-ico {
        background: #eef3fd;
        color: #1a5cb0;
    }

.mega-course-item:hover .mega-course-ico.ug-ico {
    background: rgba(139,21,56,0.14);
}

.mega-course-item:hover .mega-course-ico.pg-ico {
    background: rgba(26,92,176,0.12);
}

.mega-course-info strong {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
}

.mega-course-info span {
    display: block;
    font-size: 10.5px;
    color: #888;
    margin-top: 2px;
}

.mega-course-item:hover .mega-course-info strong {
    color: #8B1538;
}

.mega-course-item:hover .mega-course-info span {
    color: #a05060;
}

/* Footer strip inside mega menu */
.mega-menu-footer {
    border-top: 1px solid #f0e0e5;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #faf6f7;
}

    .mega-menu-footer a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 11.5px;
        font-weight: 600;
        color: #8B1538;
        text-decoration: none;
        transition: gap 0.18s;
    }

        .mega-menu-footer a:hover {
            gap: 9px;
            text-decoration: none;
        }

    .mega-menu-footer span {
        font-size: 10px;
        color: #bbb;
    }

/* -- MOBILE: everything inside collapsed navbar ------------- */
@media (max-width: 991px) {
    /* Reset mega-dropdown to normal flow in mobile navbar */
    .main-navbar .mega-dropdown {
        position: static !important;
    }

    /* On mobile mega-menu uses Bootstrap show/hide (data-toggle collapse) */
    /* We override the absolute positioning so it flows naturally */
    .main-navbar .mega-menu {
        position: static !important;
        display: none; /* hidden by default � Bootstrap adds show/block */
        width: 100% !important;
        min-width: unset !important;
        left: auto !important;
        transform: none !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        border: 1px solid rgba(139,21,56,0.12) !important;
        margin: 4px 0 8px !important;
        overflow: hidden;
    }

        /* When Bootstrap adds .show class (via data-toggle) */
        .main-navbar .mega-menu.show {
            display: block !important;
        }

    /* Stack columns vertically on mobile */
    .mega-menu-body {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    /* Smaller header on mobile */
    .mega-menu-header {
        padding: 12px 16px;
    }

        .mega-menu-header h6 {
            font-size: 13px;
        }

    /* Tighter course items on mobile */
    .mega-course-item {
        padding: 8px 8px;
    }

    .mega-course-ico {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    /* Compact footer on mobile */
    .mega-menu-footer {
        padding: 8px 10px;
    }

    /* Make regular dropdown-menus also look clean on mobile */
    .main-navbar .dropdown-menu {
        box-shadow: none !important;
        border: 1px solid rgba(139,21,56,0.12) !important;
        border-radius: 10px !important;
        margin: 4px 0 8px !important;
    }
}

/* =========================================================
   MKS MIDDLE SITE HEADER � MOBILE FIX
   Prevents the collapsed links panel from blocking touch
   events on the main navbar below it on mobile widths.
========================================================= */

@media (max-width: 991px) {
    /* Ensure site-header stacks cleanly and doesn't overflow */
    .mks-site-header {
        position: relative;
        z-index: 100;
    }

        /* Collapsed panel must not overflow or block elements below */
        .mks-site-header #mksHeaderDropdown {
            position: relative;
            z-index: 99;
        }

            .mks-site-header #mksHeaderDropdown:not(.show) {
                /* When closed, fully remove from paint layer so nothing is blocked */
                pointer-events: none;
                height: 0;
                overflow: hidden;
            }

            .mks-site-header #mksHeaderDropdown.show {
                pointer-events: auto;
                height: auto;
                overflow: visible;
            }
}

/* =========================================================
   MKS NAVBAR � DROPDOWN CARET + ENHANCED STYLING
   Works with the custom mks-dd-toggle JS system
========================================================= */

/* Hide Bootstrap's default caret � we use our own */
.main-navbar .mks-dd-toggle::after {
    display: none !important;
}

/* Custom chevron caret */
.main-navbar .mks-dd-caret {
    font-size: 9px;
    margin-left: 4px;
    opacity: 0.75;
    transition: transform 0.22s ease, opacity 0.22s ease;
    display: inline-block;
    vertical-align: middle;
}

    /* Rotate on open (mobile JS adds this class) */
    .main-navbar .mks-dd-caret.mks-dd-caret-open {
        transform: rotate(180deg);
        opacity: 1;
    }

/* Desktop hover � rotate caret too */
@media (min-width: 992px) {
    .main-navbar .nav-item.dropdown:hover .mks-dd-caret {
        transform: rotate(180deg);
        opacity: 1;
    }
}

/* -- ENHANCED REGULAR DROPDOWN (mks-dropdown) ---------------- */

/* Override base dropdown-menu with premium look */
.main-navbar .mks-dropdown {
    padding: 6px !important;
    min-width: 230px !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 50px rgba(30,10,20,0.16), 0 3px 10px rgba(30,10,20,0.06) !important;
    border: none !important;
    background: #fff !important;
    margin-top: 2px !important;
}

    /* Each list item link */
    .main-navbar .mks-dropdown > li > a {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 9px 14px !important;
        border-radius: 9px !important;
        color: #2d1520 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        transition: background 0.16s, color 0.16s, padding-left 0.16s !important;
        line-height: 1.4 !important;
    }

        /* Icon inside each item */
        .main-navbar .mks-dropdown > li > a > i:first-child {
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 7px;
            background: #FCEADE;
            color: #8B1538;
            font-size: 11px;
            flex-shrink: 0;
            transition: background 0.16s, color 0.16s;
        }

        /* Hover state */
        .main-navbar .mks-dropdown > li > a:hover {
            background: #fff6f8 !important;
            color: #8B1538 !important;
            padding-left: 18px !important;
        }

            .main-navbar .mks-dropdown > li > a:hover > i:first-child {
                background: #8B1538 !important;
                color: #fff !important;
            }

    /* Divider */
    .main-navbar .mks-dropdown .dropdown-divider {
        margin: 5px 8px;
        border-color: #f5e8eb;
    }

/* Mobile � dropdown shows as block in flow */
@media (max-width: 991px) {
    .main-navbar .mks-dropdown {
        box-shadow: none !important;
        border: 1px solid rgba(139,21,56,0.12) !important;
        border-radius: 10px !important;
        margin: 4px 0 8px !important;
        background: rgba(255,255,255,0.07) !important;
    }

        .main-navbar .mks-dropdown > li > a {
            color: rgba(255,255,255,0.88) !important;
        }

            .main-navbar .mks-dropdown > li > a > i:first-child {
                background: rgba(255,255,255,0.12) !important;
                color: #f0a0b0 !important;
            }

            .main-navbar .mks-dropdown > li > a:hover {
                background: rgba(255,255,255,0.12) !important;
                color: #fff !important;
                padding-left: 14px !important;
            }

                .main-navbar .mks-dropdown > li > a:hover > i:first-child {
                    background: rgba(139,21,56,0.5) !important;
                    color: #fff !important;
                }
}

/* =========================================================
   MKS HOME PAGE � SHARED SECTION HEADING
========================================================= */

.mks-home-section-heading {
    margin-bottom: 45px;
}

.mks-home-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: #FCEADE;
    color: #8B1538;
    border: 1px solid rgba(139,21,56,0.12);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mks-home-section-heading h2 {
    color: #27323a;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin: 8px 0;
}

    .mks-home-section-heading h2 span {
        color: #8B1538;
    }

.mks-home-section-heading p {
    color: #718096;
    font-size: 14px;
    max-width: 600px;
    margin: 10px auto 0;
}

.mks-home-section-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 14px 0 0;
}

    .mks-home-section-line span {
        width: 45px;
        height: 2px;
        background: #8B1538;
        border-radius: 5px;
        opacity: 0.5;
    }

    .mks-home-section-line i {
        color: #8B1538;
        font-size: 9px;
        opacity: 0.7;
    }

/* View All button � shared */
.mks-home-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: #8B1538;
    color: #fff !important;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(139,21,56,0.18);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

    .mks-home-view-all-btn:hover {
        background: #6b0f2a;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(139,21,56,0.25);
        text-decoration: none;
    }

/* =========================================================
   HOME NEWS SECTION
========================================================= */

.mks-home-news-section {
    padding: 80px 0;
    background: #fff;
}

/* News Card */
.mks-news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(139,21,56,0.08);
    box-shadow: 0 6px 22px rgba(30,10,20,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .mks-news-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 38px rgba(139,21,56,0.13);
    }

.mks-news-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #faf0f0;
}

    .mks-news-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }

.mks-news-card:hover .mks-news-card-img img {
    transform: scale(1.06);
}

.mks-news-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FCEADE, #faf0f0);
    color: #8B1538;
    font-size: 42px;
    opacity: 0.6;
}

.mks-news-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #8B1538;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mks-news-card-body {
    padding: 18px 18px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mks-news-card-date {
    color: #8B1538;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

    .mks-news-card-date i {
        margin-right: 4px;
    }

.mks-news-card-title {
    color: #263238;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mks-news-card-desc {
    color: #718096;
    font-size: 13px;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 14px;
}

.mks-news-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8B1538;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s;
}

    .mks-news-card-btn:hover {
        gap: 10px;
        text-decoration: none;
        color: #6b0f2a;
    }

/* News slider nav */
.mks-news-slider .owl-nav button {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #8B1538 !important;
    color: #fff !important;
    border: none !important;
}

    .mks-news-slider .owl-nav button:hover {
        background: #6b0f2a !important;
    }

/* =========================================================
   HOME ALUMNI SECTION
========================================================= */
/* =========================================================
   HOME ALUMNI SECTION
   ========================================================= */

.mks-home-alumni-section {
    position: relative;
    padding: 90px 0 85px;
    background: radial-gradient(circle at 8% 20%, rgba(139, 21, 56, 0.07), transparent 28%), radial-gradient(circle at 92% 80%, rgba(139, 21, 56, 0.06), transparent 30%), #faf8f7;
    overflow: hidden;
}


    /* Decorative background circles */

    .mks-home-alumni-section::before,
    .mks-home-alumni-section::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        z-index: 0;
    }

    .mks-home-alumni-section::before {
        width: 260px;
        height: 260px;
        top: -120px;
        left: -100px;
        border: 1px solid rgba(139, 21, 56, 0.10);
        box-shadow: 0 0 0 35px rgba(139, 21, 56, 0.025), 0 0 0 70px rgba(139, 21, 56, 0.018);
    }

    .mks-home-alumni-section::after {
        width: 210px;
        height: 210px;
        right: -90px;
        bottom: -100px;
        border: 1px solid rgba(139, 21, 56, 0.09);
    }


    /* Keep content above background */

    .mks-home-alumni-section .container {
        position: relative;
        z-index: 2;
    }


/* =========================================================
   SECTION HEADING
   ========================================================= */

.mks-home-section-heading {
    margin-bottom: 45px;
}

.mks-home-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 30px;
    background: rgba(139, 21, 56, 0.07);
    border: 1px solid rgba(139, 21, 56, 0.12);
    color: #8b1538;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

    .mks-home-section-badge i {
        font-size: 13px;
    }

.mks-home-section-heading h2 {
    margin: 15px 0 10px;
    color: #252b31;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
    font-weight: 700;
}

    .mks-home-section-heading h2 span {
        color: #8b1538;
    }

.mks-home-section-heading p {
    margin: 12px auto 0;
    max-width: 650px;
    color: #727b84;
    font-size: 14px;
    line-height: 1.8;
}


/* Heading decorative line */

.mks-home-section-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px auto;
    width: 150px;
}

    .mks-home-section-line span {
        height: 1px;
        flex: 1;
        background: linear-gradient( to right, transparent, rgba(139, 21, 56, 0.45) );
    }

        .mks-home-section-line span:last-child {
            background: linear-gradient( to left, transparent, rgba(139, 21, 56, 0.45) );
        }

    .mks-home-section-line i {
        color: #8b1538;
        font-size: 8px;
    }


/* =========================================================
   ALUMNI SLIDER
   ========================================================= */

.mks-alumni-slider {
    position: relative;
    padding: 8px 5px 18px;
}

    .mks-alumni-slider .owl-stage {
        display: flex;
    }

    .mks-alumni-slider .owl-item {
        display: flex;
    }

    .mks-alumni-slider .item {
        width: 100%;
        padding: 10px 8px;
    }


/* =========================================================
   ALUMNI CARD
   ========================================================= */

.mks-home-alumni-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 365px;
    padding: 30px 24px 25px;
    background: #ffffff;
    border: 1px solid rgba(31, 41, 55, 0.07);
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(20, 25, 30, 0.055);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}


    /* Top decorative strip */

    .mks-home-alumni-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient( 90deg, #8b1538, #b42a50, #8b1538 );
        transform: scaleX(0.25);
        transform-origin: center;
        transition: transform 0.35s ease;
    }

    .mks-home-alumni-card:hover {
        transform: translateY(-8px);
        border-color: rgba(139, 21, 56, 0.14);
        box-shadow: 0 18px 45px rgba(38, 20, 27, 0.11);
    }

        .mks-home-alumni-card:hover::before {
            transform: scaleX(1);
        }


/* =========================================================
   ALUMNI PHOTO
   ========================================================= */

.mks-home-alumni-photo-wrap {
    position: relative;
    width: 112px;
    height: 112px;
    margin: 0 auto 18px;
    padding: 4px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(139, 21, 56, 0.14);
    box-shadow: 0 7px 22px rgba(139, 21, 56, 0.10);
}


    /* Outer decorative ring */

    .mks-home-alumni-photo-wrap::before {
        content: "";
        position: absolute;
        inset: -5px;
        border-radius: 50%;
        border: 1px dashed rgba(139, 21, 56, 0.28);
        transition: transform 0.5s ease;
    }

.mks-home-alumni-card:hover
.mks-home-alumni-photo-wrap::before {
    transform: rotate(180deg);
}


.mks-home-alumni-photo-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}


/* Placeholder */

.mks-home-alumni-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 145deg, #8b1538, #64102a );
    color: #ffffff;
    font-size: 38px;
}


/* =========================================================
   ALUMNI CONTENT
   ========================================================= */

.mks-home-alumni-info h4 {
    margin: 0 0 6px;
    color: #252b31;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.mks-home-alumni-desg {
    margin: 0 0 7px;
    color: #8b1538;
    font-size: 13px;
    font-weight: 600;
}

.mks-home-alumni-org {
    margin: 0 auto 13px;
    max-width: 230px;
    color: #707983;
    font-size: 12px;
    line-height: 1.5;
}

    .mks-home-alumni-org i {
        margin-right: 5px;
        color: #8b1538;
    }


/* =========================================================
   COURSE / YEAR META
   ========================================================= */

.mks-home-alumni-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

    .mks-home-alumni-meta span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 5px 10px;
        border-radius: 20px;
        background: #faf3f5;
        border: 1px solid rgba(139, 21, 56, 0.08);
        color: #626b74;
        font-size: 11px;
        font-weight: 500;
    }

    .mks-home-alumni-meta i {
        color: #8b1538;
        font-size: 10px;
    }


/* =========================================================
   ACHIEVEMENT
   ========================================================= */

.mks-home-alumni-achievement {
    position: relative;
    margin: 0 auto 15px;
    padding: 10px 12px;
    max-width: 290px;
    color: #737c85;
    font-size: 12px;
    line-height: 1.65;
    background: #fafafa;
    border-radius: 10px;
}

    .mks-home-alumni-achievement::before {
        content: "\f10d";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        color: rgba(139, 21, 56, 0.18);
        font-size: 14px;
        margin-right: 5px;
    }


/* =========================================================
   LINKEDIN BUTTON
   ========================================================= */

.mks-home-alumni-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 7px;
    background: #f2f6f8;
    border: 1px solid #dfe6ea;
    color: #315b72 !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

    .mks-home-alumni-linkedin i {
        font-size: 14px;
    }

    .mks-home-alumni-linkedin:hover {
        background: #0077b5;
        border-color: #0077b5;
        color: #ffffff !important;
        transform: translateY(-2px);
    }


/* =========================================================
   OWL CAROUSEL NAVIGATION
   ========================================================= */

.mks-alumni-slider .owl-nav {
    margin-top: 10px;
}

    .mks-alumni-slider .owl-nav button {
        width: 42px !important;
        height: 42px !important;
        margin: 0 5px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50% !important;
        background: #ffffff !important;
        color: #8b1538 !important;
        border: 1px solid rgba(139, 21, 56, 0.16) !important;
        box-shadow: 0 5px 15px rgba(20, 25, 30, 0.07);
        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

        .mks-alumni-slider .owl-nav button:hover {
            background: #8b1538 !important;
            color: #ffffff !important;
            transform: translateY(-2px);
        }

        .mks-alumni-slider .owl-nav button i {
            font-size: 13px;
        }


/* =========================================================
   OWL DOTS
   ========================================================= */

.mks-alumni-slider .owl-dots {
    margin-top: 8px;
}

.mks-alumni-slider .owl-dot span {
    width: 7px !important;
    height: 7px !important;
    margin: 4px !important;
    background: #d9c3c9 !important;
    transition: width 0.25s ease, background 0.25s ease;
}

.mks-alumni-slider .owl-dot.active span {
    width: 22px !important;
    border-radius: 10px !important;
    background: #8b1538 !important;
}


/* =========================================================
   VIEW ALL BUTTON
   ========================================================= */

.mks-home-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border: 1px solid rgba(139, 21, 56, 0.18);
    border-radius: 8px;
    background: #ffffff;
    color: #8b1538 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 5px 18px rgba(20, 25, 30, 0.05);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .mks-home-view-all-btn i:last-child {
        font-size: 11px;
        transition: transform 0.25s ease;
    }

    .mks-home-view-all-btn:hover {
        background: #8b1538;
        border-color: #8b1538;
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 9px 22px rgba(139, 21, 56, 0.18);
    }

        .mks-home-view-all-btn:hover i:last-child {
            transform: translateX(4px);
        }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .mks-home-alumni-section {
        padding: 70px 0;
    }

    .mks-home-alumni-card {
        min-height: 350px;
    }
}


@media (max-width: 767px) {

    .mks-home-alumni-section {
        padding: 60px 0;
    }

    .mks-home-section-heading {
        margin-bottom: 30px;
    }

        .mks-home-section-heading h2 {
            font-size: 28px;
        }

    .mks-home-alumni-card {
        min-height: auto;
        padding: 28px 20px 24px;
    }

    .mks-alumni-slider .item {
        padding: 8px 5px;
    }
}


@media (max-width: 480px) {

    .mks-home-alumni-photo-wrap {
        width: 100px;
        height: 100px;
    }

    .mks-home-alumni-info h4 {
        font-size: 17px;
    }

    .mks-home-section-heading p {
        font-size: 13px;
    }

    .mks-alumni-slider .owl-nav button {
        width: 38px !important;
        height: 38px !important;
    }
}
/* =========================================================
   HOME MAGAZINE SECTION
========================================================= */

.mks-home-magazine-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, #1a0810 0%, #2d0f1e 50%, #8B1538 100%);
    overflow: hidden;
}

.mks-magazine-bg-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.mks-home-magazine-section .mks-home-section-badge {
    background: rgba(252,234,222,0.15);
    color: #FCEADE;
    border-color: rgba(252,234,222,0.25);
}

.mks-magazine-content {
    position: relative;
    z-index: 2;
}

    .mks-magazine-content h2 {
        color: #fff;
        font-size: clamp(28px, 4vw, 42px);
        font-weight: 700;
        margin: 12px 0 16px;
        line-height: 1.2;
    }

        .mks-magazine-content h2 span {
            color: #FCEADE;
        }

    .mks-magazine-content > p {
        color: rgba(255,255,255,0.78);
        font-size: 15px;
        line-height: 1.8;
        max-width: 500px;
        margin-bottom: 28px;
    }

/* Highlights */
.mks-magazine-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.mks-magazine-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .mks-magazine-highlight-item > i {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(252,234,222,0.12);
        border: 1px solid rgba(252,234,222,0.2);
        border-radius: 11px;
        color: #FCEADE;
        font-size: 16px;
    }

    .mks-magazine-highlight-item strong {
        display: block;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
    }

    .mks-magazine-highlight-item span {
        display: block;
        color: rgba(255,255,255,0.62);
        font-size: 12px;
        margin-top: 2px;
    }

/* Buttons */
.mks-magazine-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mks-mag-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #FCEADE;
    color: #8B1538 !important;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s;
}

    .mks-mag-btn-primary:hover {
        background: #fff;
        transform: translateY(-2px);
        text-decoration: none;
    }

.mks-mag-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

    .mks-mag-btn-outline:hover {
        border-color: #fff;
        background: rgba(255,255,255,0.08);
        transform: translateY(-2px);
        text-decoration: none;
    }

/* Magazine covers */
.mks-magazine-covers {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
}

.mks-magazine-featured {
    flex: 0 0 auto;
}

.mks-magazine-cover-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 45px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

    .mks-magazine-cover-card:hover {
        transform: translateY(-5px);
    }

.mks-magazine-cover-main {
    width: 180p;
}

    .mks-magazine-cover-main img {
        width: 100%;
/*        height: 250px;*/
        object-fit: cover;
        display: block;
    }

.mks-magazine-cover-info {
    padding: 10px 14px;
    background: #fff;
}

    .mks-magazine-cover-info h5 {
        margin: 0;
        font-size: 13px;
        font-weight: 700;
        color: #263238;
        line-height: 1.3;
    }

    .mks-magazine-cover-info span {
        font-size: 11px;
        color: #8B1538;
        font-weight: 600;
    }

.mks-magazine-cover-placeholder {
    width: 100%;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #2d1520, #8B1538);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

    .mks-magazine-cover-placeholder i {
        font-size: 40px;
        opacity: 0.8;
    }

.mks-magazine-mini-covers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.mks-magazine-cover-mini {
    width: 100%;
}

    .mks-magazine-cover-mini img {
        width: 100%;
        height: 80px;
        object-fit: cover;
        display: block;
    }

    .mks-magazine-cover-mini .mks-magazine-cover-placeholder {
        min-height: 80px;
        font-size: 11px;
    }

        .mks-magazine-cover-mini .mks-magazine-cover-placeholder i {
            font-size: 20px;
        }

    .mks-magazine-cover-mini > span {
        display: block;
        padding: 5px 10px;
        font-size: 10px;
        color: #263238;
        font-weight: 600;
        background: #fff;
        text-align: center;
    }

.mks-magazine-empty-visual {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 991px) {
    .mks-home-magazine-section {
        padding: 70px 0;
    }

    .mks-magazine-covers {
        justify-content: center;
        margin-top: 40px;
    }

    .mks-magazine-content > p {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .mks-home-news-section,
    .mks-home-alumni-section {
        padding: 60px 0;
    }

    .mks-magazine-cover-main {
/*        width: 150px;*/
    }

        .mks-magazine-cover-main img {
/*            height: 210px;*/
        }

    .mks-magazine-content h2 {
        font-size: 28px;
    }
}

/* =========================================================
   MKS HOME PAGE SHARED SECTION HEADING
========================================================= */
.mks-home-section-heading {
    margin-bottom: 45px;
}

.mks-home-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: #FCEADE;
    color: #8B1538;
    border: 1px solid rgba(139,21,56,0.12);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mks-home-section-heading h2 {
    color: #27323a;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin: 8px 0;
}

    .mks-home-section-heading h2 span {
        color: #8B1538;
    }

.mks-home-section-heading p {
    color: #718096;
    font-size: 14px;
    max-width: 600px;
    margin: 10px auto 0;
}

.mks-home-section-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 14px auto;
}

    .mks-home-section-line span {
        width: 45px;
        height: 2px;
        background: #8B1538;
        border-radius: 5px;
        opacity: 0.5;
    }

    .mks-home-section-line i {
        color: #8B1538;
        font-size: 9px;
        opacity: 0.7;
    }

.mks-home-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: #8B1538;
    color: #fff !important;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(139,21,56,0.18);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

    .mks-home-view-all-btn:hover {
        background: #6b0f2a;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(139,21,56,0.25);
        text-decoration: none;
    }

/* HOME NEWS SECTION */
.mks-home-news-section {
    padding: 80px 0;
    background: #fff;
}

.mks-news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(139,21,56,0.08);
    box-shadow: 0 6px 22px rgba(30,10,20,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .mks-news-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 38px rgba(139,21,56,0.13);
    }

.mks-news-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #faf0f0;
}

    .mks-news-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }

.mks-news-card:hover .mks-news-card-img img {
    transform: scale(1.06);
}

.mks-news-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FCEADE, #faf0f0);
    color: #8B1538;
    font-size: 42px;
    opacity: 0.6;
}

.mks-news-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #8B1538;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mks-news-card-body {
    padding: 18px 18px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mks-news-card-date {
    color: #8B1538;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.mks-news-card-title {
    color: #263238;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mks-news-card-desc {
    color: #718096;
    font-size: 13px;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 14px;
}

.mks-news-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8B1538;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s;
}

    .mks-news-card-btn:hover {
        gap: 10px;
        text-decoration: none;
        color: #6b0f2a;
    }

.mks-news-slider .owl-nav button {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #8B1538 !important;
    color: #fff !important;
    border: none !important;
}

    .mks-news-slider .owl-nav button:hover {
        background: #6b0f2a !important;
    }

/* HOME ALUMNI SECTION */
.mks-home-alumni-section {
    padding: 80px 0;
    background: #faf7f5;
}

.mks-home-alumni-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(139,21,56,0.08);
    box-shadow: 0 6px 22px rgba(30,10,20,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 24px;
    text-align: center;
    height: 100%;
}

    .mks-home-alumni-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 38px rgba(139,21,56,0.13);
    }

.mks-home-alumni-photo-wrap {
    width: 100%;
    height: 90px;
    /*    border-radius: 50%;*/
    margin: 0 auto 16px;
    border: 3px solid #FCEADE;
    overflow: hidden;
    background: #FCEADE;
}

    .mks-home-alumni-photo-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.mks-home-alumni-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8B1538;
    color: #fff;
    font-size: 32px;
}

.mks-home-alumni-info h4 {
    color: #263238;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
}

.mks-home-alumni-desg {
    color: #8B1538;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.mks-home-alumni-org {
    color: #718096;
    font-size: 12px;
    margin-bottom: 10px;
}

    .mks-home-alumni-org i {
        color: #8B1538;
        margin-right: 4px;
    }

.mks-home-alumni-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

    .mks-home-alumni-meta span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 11px;
        color: #718096;
        background: #FCEADE;
        padding: 3px 10px;
        border-radius: 20px;
    }

    .mks-home-alumni-meta i {
        color: #8B1538;
        font-size: 10px;
    }

.mks-home-alumni-achievement {
    color: #718096;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.mks-home-alumni-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0077b5;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

    .mks-home-alumni-linkedin:hover {
        background: #005582;
        text-decoration: none;
    }

.mks-alumni-slider .owl-nav button {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #8B1538 !important;
    color: #fff !important;
    border: none !important;
}

    .mks-alumni-slider .owl-nav button:hover {
        background: #6b0f2a !important;
    }

/* HOME MAGAZINE SECTION */
/* =========================================================
   HOME MAGAZINE SECTION
   ========================================================= */

.mks-home-magazine-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(circle at 15% 20%, rgba(252, 234, 222, 0.08), transparent 28%), radial-gradient(circle at 88% 75%, rgba(255, 255, 255, 0.06), transparent 25%), linear-gradient(135deg, #17070e 0%, #2a0b19 48%, #64102f 100%);
}


/* =========================================================
   BACKGROUND DECORATION
   ========================================================= */

.mks-magazine-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
    background-image: linear-gradient( 135deg, rgba(255,255,255,0.025) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.025) 50%, rgba(255,255,255,0.025) 75%, transparent 75% );
    background-size: 70px 70px;
}


/* Decorative glow */
.mks-home-magazine-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -210px;
    left: -150px;
    border-radius: 50%;
    background: rgba(252, 234, 222, 0.06);
    filter: blur(5px);
    pointer-events: none;
}


/* Decorative circle */
.mks-home-magazine-section::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -250px;
    bottom: -300px;
    border-radius: 50%;
    border: 1px solid rgba(252, 234, 222, 0.08);
    box-shadow: 0 0 0 40px rgba(252, 234, 222, 0.015), 0 0 0 80px rgba(252, 234, 222, 0.012);
    pointer-events: none;
}


/* =========================================================
   CONTENT
   ========================================================= */

.mks-magazine-content {
    position: relative;
    z-index: 3;
    padding-right: 45px;
}


/* Badge */
.mks-home-magazine-section .mks-home-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 30px;
    background: rgba(252, 234, 222, 0.10);
    border: 1px solid rgba(252, 234, 222, 0.20);
    color: #FCEADE;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    .mks-home-magazine-section .mks-home-section-badge i {
        font-size: 13px;
    }


/* Heading */
.mks-magazine-content h2 {
    margin: 18px 0 18px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -0.7px;
}

    .mks-magazine-content h2 span {
        color: #FCEADE;
    }


/* Description */
.mks-magazine-content > p {
    max-width: 570px;
    margin: 0 0 30px;
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.mks-magazine-highlights {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 32px;
}


.mks-magazine-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    max-width: 480px;
    border-radius: 13px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}


    .mks-magazine-highlight-item:hover {
        transform: translateX(6px);
        background: rgba(255,255,255,0.075);
        border-color: rgba(252,234,222,0.18);
    }


    /* Highlight Icon */
    .mks-magazine-highlight-item > i {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(252,234,222,0.10);
        border: 1px solid rgba(252,234,222,0.16);
        color: #FCEADE;
        font-size: 16px;
        transition: background 0.3s ease, transform 0.3s ease;
    }


    .mks-magazine-highlight-item:hover > i {
        background: rgba(252,234,222,0.17);
        transform: rotate(-5deg) scale(1.05);
    }


    /* Highlight Text */
    .mks-magazine-highlight-item strong {
        display: block;
        margin-bottom: 2px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
    }


    .mks-magazine-highlight-item span {
        display: block;
        color: rgba(255,255,255,0.55);
        font-size: 11px;
        line-height: 1.5;
    }


/* =========================================================
   BUTTONS
   ========================================================= */

.mks-magazine-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}


.mks-mag-btn-primary,
.mks-mag-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}


/* Primary */
.mks-mag-btn-primary {
    background: #FCEADE;
    color: #7d1234 !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.16);
}


    .mks-mag-btn-primary:hover {
        background: #ffffff;
        color: #7d1234 !important;
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.24);
    }


    .mks-mag-btn-primary i {
        font-size: 13px;
    }


/* Outline */
.mks-mag-btn-outline {
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


    .mks-mag-btn-outline:hover {
        color: #ffffff !important;
        background: rgba(255,255,255,0.10);
        border-color: rgba(255,255,255,0.55);
        transform: translateY(-3px);
    }


/* =========================================================
   MAGAZINE COVER AREA
   ========================================================= */

.mks-magazine-covers {
    position: relative;
    z-index: 3;
    min-height: 370px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 20px 15px;
}


/* Featured cover */
.mks-magazine-featured {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
}


/* =========================================================
   MAGAZINE CARD
   ========================================================= */

.mks-magazine-cover-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.32), 0 5px 15px rgba(0,0,0,0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


    .mks-magazine-cover-card:hover {
        transform: translateY(-9px) rotate(-1deg);
        box-shadow: 0 28px 55px rgba(0,0,0,0.40), 0 8px 20px rgba(0,0,0,0.16);
    }


/* Featured Cover */
.mks-magazine-cover-main {
    width: 100%;
    transform: rotate(-2deg);
}


    .mks-magazine-cover-main:hover {
        transform: translateY(-9px) rotate(0deg);
    }


    /* Main Image */
    .mks-magazine-cover-main img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }


/* =========================================================
   COVER INFO
   ========================================================= */

.mks-magazine-cover-info {
    padding: 12px 14px 14px;
    background: #ffffff;
}


    .mks-magazine-cover-info h5 {
        margin: 0 0 4px;
        color: #263238;
        font-size: 13px;
        line-height: 1.35;
        font-weight: 700;
    }


    .mks-magazine-cover-info span {
        display: inline-block;
        color: #8B1538;
        font-size: 11px;
        font-weight: 700;
    }


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.mks-magazine-cover-placeholder {
    position: relative;
    width: 100%;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 25px;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    background: radial-gradient( circle at 30% 20%, rgba(252,234,222,0.18), transparent 30% ), linear-gradient( 145deg, #240b16, #68112f );
}


    .mks-magazine-cover-placeholder::before {
        content: "";
        position: absolute;
        width: 170px;
        height: 170px;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 50%;
        pointer-events: none;
    }


    .mks-magazine-cover-placeholder i {
        position: relative;
        z-index: 1;
        font-size: 42px;
        color: #FCEADE;
        opacity: 0.9;
    }


    .mks-magazine-cover-placeholder span {
        position: relative;
        z-index: 1;
        max-width: 150px;
        color: #ffffff;
        font-size: 13px;
        line-height: 1.5;
        font-weight: 700;
    }


/* =========================================================
   MINI COVERS
   ========================================================= */

.mks-magazine-mini-covers {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 0 0 125px;
}


.mks-magazine-cover-mini {
    width: 125px;
    border-radius: 11px;
    transform: rotate(2deg);
}


    .mks-magazine-cover-mini:nth-child(2) {
        transform: rotate(-2deg);
    }


    .mks-magazine-cover-mini:nth-child(3) {
        transform: rotate(1deg);
    }


    .mks-magazine-cover-mini:hover {
        transform: translateX(5px) translateY(-4px) rotate(0deg);
    }


    /* Mini Images */
    .mks-magazine-cover-mini img {
        display: block;
        width: 100%;
        height: 82px;
        object-fit: cover;
    }


    /* Mini title */
    .mks-magazine-cover-mini > span {
        display: block;
        min-height: 30px;
        padding: 7px 8px;
        background: #ffffff;
        color: #263238;
        font-size: 10px;
        line-height: 1.35;
        font-weight: 700;
        text-align: center;
    }


    /* Mini placeholder */
    .mks-magazine-cover-mini .mks-magazine-cover-placeholder {
        min-height: 82px;
        padding: 10px;
        gap: 5px;
    }


        .mks-magazine-cover-mini .mks-magazine-cover-placeholder i {
            font-size: 22px;
        }


        .mks-magazine-cover-mini .mks-magazine-cover-placeholder span {
            display: none;
        }


/* =========================================================
   EMPTY STATE
   ========================================================= */

.mks-magazine-empty-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


    .mks-magazine-empty-visual .mks-magazine-cover-main {
        transform: rotate(-3deg);
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {

    .mks-magazine-content {
        padding-right: 20px;
    }

    .mks-magazine-cover-main {
        width: 100%;
    }

        .mks-magazine-cover-main img {
/*            height: 260px;*/
        }

    .mks-magazine-cover-mini {
        width: 110px;
    }

    .mks-magazine-mini-covers {
        flex-basis: 110px;
    }
}


@media (max-width: 991px) {

    .mks-home-magazine-section {
        padding: 80px 0;
    }

    .mks-magazine-content {
        padding-right: 0;
        text-align: center;
    }

        .mks-magazine-content > p {
            max-width: 650px;
            margin-left: auto;
            margin-right: auto;
        }

    .mks-magazine-highlights {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .mks-magazine-btns {
        justify-content: center;
    }

    .mks-magazine-covers {
        margin-top: 50px;
        min-height: 350px;
    }
}


@media (max-width: 575px) {

    .mks-home-magazine-section {
        padding: 65px 0;
    }

    .mks-magazine-content h2 {
        font-size: 29px;
        letter-spacing: -0.3px;
    }

    .mks-magazine-content > p {
        font-size: 14px;
        line-height: 1.75;
    }

    .mks-magazine-highlight-item {
        padding: 10px 11px;
    }

        .mks-magazine-highlight-item > i {
            width: 40px;
            height: 40px;
            flex-basis: 40px;
        }

    .mks-magazine-btns {
        flex-direction: column;
        width: 100%;
    }

    .mks-mag-btn-primary,
    .mks-mag-btn-outline {
        width: 100%;
        max-width: 270px;
    }

    .mks-magazine-covers {
        min-height: 320px;
        gap: 12px;
        padding: 15px 0;
    }

    .mks-magazine-cover-main {
        width: 100%;
    }

        .mks-magazine-cover-main img {
/*            height: 220px;*/
        }

    .mks-magazine-cover-info {
        padding: 9px 10px;
    }

        .mks-magazine-cover-info h5 {
            font-size: 11px;
        }

    .mks-magazine-mini-covers {
        flex-basis: 92px;
        gap: 10px;
    }

    .mks-magazine-cover-mini {
        width: 92px;
    }

        .mks-magazine-cover-mini img {
            height: 65px;
        }

        .mks-magazine-cover-mini > span {
            font-size: 9px;
            padding: 5px 4px;
        }
}


@media (max-width: 380px) {

    .mks-magazine-cover-main {
        width: 100%;
    }

        .mks-magazine-cover-main img {
/*            height: 200px;*/
        }

    .mks-magazine-mini-covers {
        flex-basis: 82px;
    }

    .mks-magazine-cover-mini {
        width: 82px;
    }

        .mks-magazine-cover-mini img {
            height: 58px;
        }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mks-magazine-cover-card,
    .mks-magazine-highlight-item,
    .mks-mag-btn-primary,
    .mks-mag-btn-outline {
        transition: none;
    }
}
/*=====================alumni index css======================*/


/*====================magazine file css=====================*/
/* =========================================================
   COLLEGE MAGAZINE PAGE
========================================================= */

.mks-magazine-page {
    position: relative;
    padding: 75px 0 90px;
    background: #faf8f7;
    overflow: hidden;
}

    .mks-magazine-page::before {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        top: -150px;
        left: -150px;
        border-radius: 50%;
        background: rgba(139, 21, 56, 0.045);
        pointer-events: none;
    }

    .mks-magazine-page::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        right: -120px;
        bottom: -100px;
        border-radius: 50%;
        background: rgba(139, 21, 56, 0.035);
        pointer-events: none;
    }


/* =========================================================
   MAGAZINE INTRO
========================================================= */

.mks-magazine-intro {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #ffffff;
    border: 1px solid rgba(139, 21, 56, 0.08);
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 22px;
    box-shadow: 0 8px 28px rgba(30, 10, 20, 0.06);
}


.mks-magazine-intro-content {
    display: flex;
    align-items: center;
    gap: 15px;
}


.mks-magazine-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: #8B1538;
    color: #fff;
    font-size: 21px;
    box-shadow: 0 8px 20px rgba(139, 21, 56, 0.18);
}


.mks-magazine-intro h2 {
    margin: 0 0 5px;
    color: #263238;
    font-size: 19px;
    font-weight: 700;
}


.mks-magazine-year {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8B1538;
    font-size: 12px;
    font-weight: 600;
}


    .mks-magazine-year i {
        font-size: 11px;
    }


/* =========================================================
   OPEN PDF BUTTON
========================================================= */

.mks-magazine-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #8B1538;
    color: #fff !important;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}


    .mks-magazine-open-btn:hover {
        background: #6d102c;
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(139, 21, 56, 0.18);
    }


/* =========================================================
   PDF VIEWER
========================================================= */

.mks-magazine-viewer {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(139, 21, 56, 0.08);
    box-shadow: 0 12px 35px rgba(30, 10, 20, 0.08);
}


/* Viewer Header */

.mks-magazine-viewer-header {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}


    .mks-magazine-viewer-header > div {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #263238;
        font-size: 13px;
        font-weight: 600;
    }


        .mks-magazine-viewer-header > div i {
            color: #8B1538;
            font-size: 17px;
        }


    .mks-magazine-viewer-header > a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #8B1538 !important;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease;
    }


        .mks-magazine-viewer-header > a:hover {
            color: #6d102c !important;
        }


/* =========================================================
   PDF AREA
========================================================= */

.mks-magazine-pdf {
    width: 100%;
    height: 850px;
    background: #525659;
}


    .mks-magazine-pdf iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }


/* =========================================================
   EMPTY STATE
========================================================= */

.mks-magazine-empty {
    position: relative;
    z-index: 2;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(139, 21, 56, 0.08);
    border-radius: 16px;
    padding: 70px 20px;
    box-shadow: 0 8px 28px rgba(30, 10, 20, 0.06);
}


.mks-magazine-empty-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8ecef;
    color: #8B1538;
    font-size: 30px;
}


.mks-magazine-empty h4 {
    margin-bottom: 8px;
    color: #263238;
    font-size: 20px;
    font-weight: 700;
}


.mks-magazine-empty p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .mks-magazine-page {
        padding: 60px 0 70px;
    }

    .mks-magazine-pdf {
        height: 750px;
    }
}


@media (max-width: 767px) {

    .mks-magazine-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .mks-magazine-open-btn {
        width: 100%;
        justify-content: center;
    }

    .mks-magazine-pdf {
        height: 650px;
    }

    .mks-magazine-viewer-header {
        padding: 0 13px;
    }
}


@media (max-width: 575px) {

    .mks-magazine-page {
        padding: 50px 0 60px;
    }

    .mks-magazine-intro {
        padding: 15px;
        border-radius: 12px;
    }

    .mks-magazine-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .mks-magazine-intro h2 {
        font-size: 16px;
    }

    .mks-magazine-viewer {
        border-radius: 10px;
    }

    .mks-magazine-viewer-header {
        min-height: 48px;
    }

        .mks-magazine-viewer-header > div span {
            font-size: 11px;
        }

        .mks-magazine-viewer-header > a {
            font-size: 11px;
        }

    .mks-magazine-pdf {
        height: 600px;
    }
}

/*=====================staff page css=====================*/
/* =========================================================
   STAFF PAGE
========================================================= */

.mks-staff-page {
    position: relative;
    padding: 75px 0 90px;
    background: #faf8f7;
    overflow: hidden;
}


    /* Decorative Background */

    .mks-staff-page::before {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        top: -170px;
        left: -170px;
        border-radius: 50%;
        background: rgba(139, 21, 56, 0.045);
        pointer-events: none;
    }

    .mks-staff-page::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        right: -150px;
        bottom: -150px;
        border-radius: 50%;
        background: rgba(139, 21, 56, 0.035);
        pointer-events: none;
    }


/* =========================================================
   TABLE WRAPPER
========================================================= */

.mks-staff-table-wrapper {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1px solid rgba(139, 21, 56, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(30, 10, 20, 0.07);
}


.mks-staff-table-scroll {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #8B1538 #f1f1f1;
}


    /* Chrome / Edge Scrollbar */

    .mks-staff-table-scroll::-webkit-scrollbar {
        height: 7px;
    }

    .mks-staff-table-scroll::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .mks-staff-table-scroll::-webkit-scrollbar-thumb {
        background: #8B1538;
        border-radius: 20px;
    }


/* =========================================================
   TABLE
========================================================= */

.mks-staff-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    background: #fff;
}


    /* =========================================================
   TABLE HEADER
========================================================= */

    .mks-staff-table thead {
        background: #8B1538;
    }


        .mks-staff-table thead th {
            position: relative;
            padding: 17px 16px;
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.25px;
            text-transform: uppercase;
            white-space: nowrap;
            border: 0;
            vertical-align: middle;
        }


            .mks-staff-table thead th:not(:last-child)::after {
                content: "";
                position: absolute;
                right: 0;
                top: 25%;
                width: 1px;
                height: 50%;
                background: rgba(255, 255, 255, 0.18);
            }


    /* Column Widths */

    .mks-staff-table .staff-col-number {
        width: 60px;
        text-align: center;
    }

    .mks-staff-table .staff-col-photo {
        width: 90px;
    }


    /* =========================================================
   TABLE BODY
========================================================= */

    .mks-staff-table tbody tr {
        background: #fff;
        transition: background 0.25s ease, transform 0.25s ease;
    }


        .mks-staff-table tbody tr:nth-child(even) {
            background: #fcfafb;
        }


        .mks-staff-table tbody tr:hover {
            background: #fff7f9;
        }


    .mks-staff-table tbody td {
        padding: 14px 16px;
        color: #4a5568;
        font-size: 13px;
        border: 0;
        border-bottom: 1px solid #f0e8eb;
        vertical-align: middle;
    }


    .mks-staff-table tbody tr:last-child td {
        border-bottom: 0;
    }


    /* =========================================================
   NUMBER
========================================================= */

    .mks-staff-table .staff-number {
        text-align: center;
        color: #8B1538;
        font-size: 12px;
        font-weight: 700;
    }


/* =========================================================
   STAFF PHOTO
========================================================= */

.mks-staff-photo {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: #f8ecef;
    border: 3px solid #f7e6eb;
    box-shadow: 0 3px 10px rgba(139, 21, 56, 0.08);
}


    .mks-staff-photo img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }


.mks-staff-photo-placeholder {
    color: #8B1538;
    font-size: 19px;
    background: #f9edef;
}


/* =========================================================
   STAFF NAME
========================================================= */

.mks-staff-name {
    color: #263238;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    min-width: 150px;
}


/* =========================================================
   GUARDIAN
========================================================= */

.mks-staff-guardian {
    color: #596775;
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   DESIGNATION
========================================================= */

.mks-staff-designation {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 20px;
    background: #f9edf0;
    color: #8B1538;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   QUALIFICATION
========================================================= */

.mks-staff-qualification {
    color: #4a5568;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}


/* =========================================================
   PAY SCALE
========================================================= */

.mks-staff-pay {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 6px;
    background: #f5f6f7;
    color: #4a5568;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}


/* =========================================================
   EMPTY / N/A
========================================================= */

.mks-staff-na {
    color: #a0aec0;
    font-size: 13px;
}


/* =========================================================
   MOBILE SCROLL HINT
========================================================= */

.mks-staff-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px;
    background: #faf7f8;
    border-top: 1px solid #f0e8eb;
    color: #8B1538;
    font-size: 11px;
    font-weight: 600;
}


    .mks-staff-scroll-hint i {
        font-size: 12px;
    }


/* =========================================================
   EMPTY STATE
========================================================= */

.mks-staff-empty {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 70px 20px;
    background: #fff;
    border: 1px solid rgba(139, 21, 56, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(30, 10, 20, 0.06);
}


.mks-staff-empty-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8ecef;
    color: #8B1538;
    font-size: 30px;
}


.mks-staff-empty h4 {
    margin-bottom: 8px;
    color: #263238;
    font-size: 20px;
    font-weight: 700;
}


.mks-staff-empty p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .mks-staff-page {
        padding: 60px 0 70px;
    }

    .mks-staff-table {
        min-width: 1000px;
    }

    .mks-staff-scroll-hint {
        display: flex;
    }
}


@media (max-width: 767px) {

    .mks-staff-page {
        padding: 50px 0 60px;
    }

    .mks-staff-table-wrapper {
        border-radius: 12px;
    }

    .mks-staff-table thead th {
        padding: 14px 13px;
        font-size: 11px;
    }

    .mks-staff-table tbody td {
        padding: 12px 13px;
    }

    .mks-staff-photo {
        width: 48px;
        height: 48px;
    }
}


@media (max-width: 575px) {

    .mks-staff-empty {
        padding: 55px 15px;
    }

    .mks-staff-empty-icon {
        width: 68px;
        height: 68px;
        font-size: 26px;
    }

    .mks-staff-empty h4 {
        font-size: 18px;
    }
}

/*==================calendar page css=====================*/
/* =========================================================
   ACADEMIC CALENDAR PAGE
========================================================= */

.mks-calendar-page {
    position: relative;
    padding: 75px 0 90px;
    background: #faf8f7;
    overflow: hidden;
}


    /* Decorative Background */

    .mks-calendar-page::before {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        top: -170px;
        left: -170px;
        border-radius: 50%;
        background: rgba(139, 21, 56, 0.045);
        pointer-events: none;
    }

    .mks-calendar-page::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        right: -150px;
        bottom: -150px;
        border-radius: 50%;
        background: rgba(139, 21, 56, 0.035);
        pointer-events: none;
    }


/* =========================================================
   PDF VIEWER
========================================================= */

.mks-calendar-viewer {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(139, 21, 56, 0.08);
    box-shadow: 0 12px 35px rgba(30, 10, 20, 0.08);
}


/* Viewer Header */

.mks-calendar-viewer-header {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: #fff;
    border-bottom: 1px solid #eee;
}


    .mks-calendar-viewer-header > div {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #263238;
        font-size: 13px;
        font-weight: 600;
    }


        .mks-calendar-viewer-header > div i {
            color: #8B1538;
            font-size: 17px;
        }


    .mks-calendar-viewer-header > a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #8B1538 !important;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease;
    }


        .mks-calendar-viewer-header > a:hover {
            color: #6d102c !important;
        }


/* =========================================================
   PDF
========================================================= */

.mks-calendar-pdf {
    width: 100%;
    height: 850px;
    background: #525659;
}


    .mks-calendar-pdf iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .mks-calendar-page {
        padding: 60px 0 70px;
    }

    .mks-calendar-pdf {
        height: 750px;
    }
}


@media (max-width: 767px) {

    .mks-calendar-page {
        padding: 50px 0 60px;
    }

    .mks-calendar-viewer {
        border-radius: 12px;
    }

    .mks-calendar-viewer-header {
        padding: 0 13px;
    }

    .mks-calendar-pdf {
        height: 650px;
    }
}


@media (max-width: 575px) {

    .mks-calendar-viewer-header {
        min-height: 48px;
    }

        .mks-calendar-viewer-header > div span {
            font-size: 11px;
        }

        .mks-calendar-viewer-header > a {
            font-size: 11px;
        }

    .mks-calendar-pdf {
        height: 600px;
    }
}

/*=============syllabus page css===================*/
/* =========================================================
   MKS SYLLABUS PAGE
========================================================= */

.mks-syllabus-section {
    position: relative;
    padding: 85px 0;
    background: #faf8f7;
    overflow: hidden;
}

    .mks-syllabus-section::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: rgba(139, 21, 56, 0.045);
        top: -120px;
        left: -100px;
    }

    .mks-syllabus-section::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(252, 234, 222, 0.55);
        right: -130px;
        bottom: -140px;
    }

    .mks-syllabus-section .container {
        position: relative;
        z-index: 2;
    }


/* Heading */

.mks-syllabus-heading {
    margin-bottom: 60px;
}

.mks-syllabus-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    background: #fceade;
    border: 1px solid rgba(139, 21, 56, 0.12);
    color: #8b1538;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.mks-syllabus-heading h2 {
    margin: 15px 0 10px;
    color: #263238;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
}

    .mks-syllabus-heading h2 span {
        color: #8b1538;
    }

.mks-syllabus-heading-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 15px;
}

    .mks-syllabus-heading-line span {
        width: 32px;
        height: 3px;
        background: #8b1538;
        border-radius: 10px;
    }

    .mks-syllabus-heading-line i {
        color: #e9a27e;
        font-size: 10px;
    }

.mks-syllabus-heading p {
    max-width: 650px;
    margin: auto;
    color: #718096;
    font-size: 15px;
    line-height: 1.8;
}


/* Course Group */

.mks-syllabus-group {
    margin-bottom: 55px;
}

.mks-syllabus-group-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.mks-syllabus-group-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #8b1538;
    color: #fff;
    font-size: 19px;
    box-shadow: 0 8px 20px rgba(139, 21, 56, .18);
}

.mks-syllabus-group-title span {
    display: block;
    color: #8b1538;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.mks-syllabus-group-title h3 {
    margin: 2px 0 0;
    color: #263238;
    font-size: 25px;
    font-weight: 750;
}


/* Course Card */

.mks-syllabus-card {
    height: 100%;
    background: #fff;
    border: 1px solid rgba(139, 21, 56, .09);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(30, 10, 20, .055);
    transition: all .3s ease;
}

    .mks-syllabus-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 35px rgba(139, 21, 56, .12);
        border-color: rgba(139, 21, 56, .18);
    }


/* Card Header */

.mks-syllabus-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient( 135deg, #fff 0%, #fff8f5 100% );
    border-bottom: 1px solid #f1e6e2;
}

.mks-syllabus-course-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #fceade;
    color: #8b1538;
    font-size: 18px;
}

.mks-syllabus-card-header h4 {
    margin: 0 0 4px;
    color: #263238;
    font-size: 16px;
    font-weight: 750;
}

.mks-syllabus-card-header span {
    color: #8a96a3;
    font-size: 11px;
}


/* PDF List */

.mks-syllabus-files {
    padding: 14px;
}

.mks-syllabus-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid #edf0f2;
    transition: all .25s ease;
}

    .mks-syllabus-file + .mks-syllabus-file {
        margin-top: 9px;
    }

    .mks-syllabus-file:hover {
        background: #fff8f5;
        border-color: #f0d7cc;
    }


.mks-syllabus-file-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff0f0;
    color: #c62828;
    font-size: 16px;
}

.mks-syllabus-file-info {
    flex: 1;
    min-width: 0;
}

    .mks-syllabus-file-info strong {
        display: block;
        color: #344054;
        font-size: 13px;
        font-weight: 700;
    }

    .mks-syllabus-file-info small {
        display: block;
        margin-top: 3px;
        color: #98a2b3;
        font-size: 10px;
    }


/* Actions */

.mks-syllabus-file-actions {
    display: flex;
    gap: 6px;
}

.mks-syllabus-view,
.mks-syllabus-download {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    text-decoration: none !important;
    transition: all .25s ease;
}

.mks-syllabus-view {
    background: #fceade;
    color: #8b1538 !important;
}

.mks-syllabus-download {
    background: #8b1538 !important;
    color: #fff !important;
}

.mks-syllabus-view:hover {
    background: #8b1538;
    color: #fff !important;
    transform: translateY(-2px);
}

.mks-syllabus-download:hover {
    background: #6e102d;
    transform: translateY(-2px);
}


/* Responsive */

@media (max-width: 767px) {

    .mks-syllabus-section {
        padding: 65px 0;
    }

    .mks-syllabus-heading {
        margin-bottom: 45px;
    }

    .mks-syllabus-group {
        margin-bottom: 40px;
    }

    .mks-syllabus-group-title h3 {
        font-size: 21px;
    }

    .mks-syllabus-card-header {
        padding: 16px;
    }

    .mks-syllabus-file {
        padding: 11px;
    }

    .mks-syllabus-file-info strong {
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .mks-syllabus-file {
        gap: 8px;
    }

    .mks-syllabus-file-icon {
        width: 36px;
        height: 36px;
    }

    .mks-syllabus-file-actions {
        gap: 4px;
    }

    .mks-syllabus-view,
    .mks-syllabus-download {
        width: 32px;
        height: 32px;
    }
}
/* =========================================================
   MKS LANGUAGE SWITCHER � TOP HEADER
========================================================= */

/* Desktop pill switcher */
.mks-lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 22px;
    padding: 3px;
    gap: 2px;
}

.mks-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 18px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    line-height: 1;
}

    .mks-lang-btn:hover {
        background: rgba(255,255,255,0.12);
        color: #fff;
    }

    /* Active state � filled pill */
    .mks-lang-btn.is-active {
        background: #FCEADE;
        color: #8B1538 !important;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

.mks-lang-flag {
    font-size: 13px;
    line-height: 1;
}

.mks-lang-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.mks-lang-divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}

/* Mobile dropdown language buttons */
.mks-lang-dd-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.14) !important;
    cursor: pointer;
}

    .mks-lang-dd-btn.is-active {
        background: rgba(252,234,222,0.18) !important;
        border-color: rgba(252,234,222,0.35) !important;
        color: #fff !important;
        font-weight: 700;
    }

/* Hide Google Translate bar/banner absolutely */
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-ftab-float,
.skiptranslate > iframe {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0 !important;
    position: static !important;
}

.goog-te-gadget {
    display: none !important;
}

/* =========================================================
   MKS COLLEGE - SYLLABUS PAGE
   Theme: #8B1538 / #FCEADE
========================================================= */

.mks-syllabus-section {
    padding: 70px 0 90px;
    background: radial-gradient(circle at 8% 10%, rgba(252,234,222,0.55), transparent 28%), radial-gradient(circle at 92% 88%, rgba(252,234,222,0.4), transparent 30%), #fff;
}

/* -- Heading ------------------------------------- */
.mks-syllabus-heading {
    max-width: 700px;
    margin: 0 auto 50px;
}

.mks-syllabus-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: #FCEADE;
    color: #8B1538;
    border: 1px solid rgba(139,21,56,0.12);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mks-syllabus-heading h2 {
    color: #27323a;
    font-size: clamp(28px,4vw,40px);
    font-weight: 700;
    margin: 8px 0;
}

    .mks-syllabus-heading h2 span {
        color: #8B1538;
    }

.mks-syllabus-heading p {
    color: #718096;
    font-size: 14px;
    max-width: 600px;
    margin: 10px auto 0;
}

.mks-syllabus-heading-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 14px 0 0;
}

    .mks-syllabus-heading-line span {
        width: 45px;
        height: 2px;
        background: #8B1538;
        border-radius: 5px;
        opacity: 0.5;
    }

    .mks-syllabus-heading-line i {
        color: #8B1538;
        font-size: 14px;
    }

/* -- Quick Jump ---------------------------------- */
.mks-syllabus-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 55px;
}

.mks-syllabus-jump-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: #fff;
    border: 1.5px solid rgba(139,21,56,0.18);
    border-radius: 30px;
    color: #8B1538;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

    .mks-syllabus-jump-btn:hover {
        background: #8B1538;
        color: #fff;
        border-color: #8B1538;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(139,21,56,0.18);
        text-decoration: none;
    }

    .mks-syllabus-jump-btn i {
        font-size: 12px;
    }

/* -- Group (per program) -------------------------- */
.mks-syllabus-group {
    margin-bottom: 60px;
    scroll-margin-top: 80px;
}

.mks-syllabus-group-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(139,21,56,0.1);
}

.mks-syllabus-group-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8B1538;
    color: #fff;
    border-radius: 14px;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(139,21,56,0.22);
}

.mks-syllabus-group-title span {
    display: block;
    color: #8B1538;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.mks-syllabus-group-title h3 {
    margin: 0;
    color: #27323a;
    font-size: 22px;
    font-weight: 700;
}

/* -- Syllabus Card -------------------------------- */
.mks-syllabus-card {
    background: #fff;
    border: 1px solid rgba(139,21,56,0.09);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(30,10,20,0.06);
    transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
    height: 100%;
}

    .mks-syllabus-card:hover {
        transform: translateY(-5px);
        border-color: rgba(139,21,56,0.22);
        box-shadow: 0 14px 36px rgba(139,21,56,0.12);
    }

/* Card header */
.mks-syllabus-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px 14px;
    background: linear-gradient(135deg, #fff8f4, #fff);
    border-bottom: 1px solid rgba(139,21,56,0.07);
}

.mks-syllabus-course-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FCEADE;
    color: #8B1538;
    border-radius: 12px;
    font-size: 18px;
    transition: background 0.22s, color 0.22s;
}

.mks-syllabus-card:hover .mks-syllabus-course-icon {
    background: #8B1538;
    color: #fff;
}

.mks-syllabus-card-header h4 {
    margin: 0 0 3px;
    color: #263238;
    font-size: 16px;
    font-weight: 700;
}

.mks-syllabus-card-header span {
    color: #718096;
    font-size: 12px;
}

/* Files list */
.mks-syllabus-files {
    padding: 12px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mks-syllabus-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #faf7f5;
    border: 1px solid rgba(139,21,56,0.07);
    border-radius: 10px;
    transition: background 0.18s, border-color 0.18s;
}

    .mks-syllabus-file:hover {
        background: #fff1e8;
        border-color: rgba(139,21,56,0.18);
    }

.mks-syllabus-file-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(220,70,70,0.18);
    border-radius: 9px;
    color: #e53e3e;
    font-size: 15px;
}

.mks-syllabus-file-info {
    flex: 1;
    min-width: 0;
}

    .mks-syllabus-file-info strong {
        display: block;
        color: #263238;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 2px;
    }

    .mks-syllabus-file-info small {
        color: #718096;
        font-size: 11px;
    }

/* Action buttons */
.mks-syllabus-file-actions {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.mks-syllabus-view,
.mks-syllabus-download {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.mks-syllabus-view {
    background: #FCEADE;
    color: #8B1538;
    border: 1px solid rgba(139,21,56,0.15);
}

    .mks-syllabus-view:hover {
        background: #8B1538;
        color: #fff;
        transform: scale(1.08);
        text-decoration: none;
    }

.mks-syllabus-download {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid rgba(46,125,50,0.18);
}

    .mks-syllabus-download:hover {
        background: #2e7d32;
        color: #fff;
        transform: scale(1.08);
        text-decoration: none;
    }

/* Responsive */
@media (max-width: 767px) {
    .mks-syllabus-section {
        padding: 50px 0 65px;
    }

    .mks-syllabus-jump {
        gap: 7px;
    }

    .mks-syllabus-jump-btn {
        padding: 7px 14px;
        font-size: 12px;
    }

    .mks-syllabus-group-title h3 {
        font-size: 19px;
    }

    .mks-syllabus-card-header h4 {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .mks-syllabus-heading h2 {
        font-size: 26px;
    }

    .mks-syllabus-group-icon {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }
}
/* === SYLLABUS PAGE CSS === */
.mks-syllabus-section {
    padding: 70px 0 90px;
    background: #fff;
}

.mks-syllabus-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: #FCEADE;
    color: #8B1538;
    border: 1px solid rgba(139,21,56,0.12);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mks-syllabus-heading {
    max-width: 700px;
    margin: 0 auto 50px;
}

    .mks-syllabus-heading h2 {
        color: #27323a;
        font-size: clamp(28px,4vw,40px);
        font-weight: 700;
        margin: 8px 0;
    }

        .mks-syllabus-heading h2 span {
            color: #8B1538;
        }

    .mks-syllabus-heading p {
        color: #718096;
        font-size: 14px;
        max-width: 600px;
        margin: 10px auto 0;
    }

.mks-syllabus-heading-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 14px 0 0;
}

    .mks-syllabus-heading-line span {
        width: 45px;
        height: 2px;
        background: #8B1538;
        border-radius: 5px;
        opacity: 0.5;
    }

    .mks-syllabus-heading-line i {
        color: #8B1538;
        font-size: 14px;
    }

.mks-syllabus-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 55px;
}

.mks-syllabus-jump-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: #fff;
    border: 1.5px solid rgba(139,21,56,0.18);
    border-radius: 30px;
    color: #8B1538;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s;
}

    .mks-syllabus-jump-btn:hover {
        background: #8B1538;
        color: #fff;
        border-color: #8B1538;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(139,21,56,0.18);
        text-decoration: none;
    }

.mks-syllabus-group {
    margin-bottom: 60px;
    scroll-margin-top: 80px;
}

.mks-syllabus-group-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(139,21,56,0.1);
}

.mks-syllabus-group-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8B1538;
    color: #fff;
    border-radius: 14px;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(139,21,56,0.22);
}

.mks-syllabus-group-title span {
    display: block;
    color: #8B1538;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.mks-syllabus-group-title h3 {
    margin: 0;
    color: #27323a;
    font-size: 22px;
    font-weight: 700;
}

.mks-syllabus-card {
    background: #fff;
    border: 1px solid rgba(139,21,56,0.09);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(30,10,20,0.06);
    transition: transform 0.28s,box-shadow 0.28s,border-color 0.28s;
    height: 100%;
}

    .mks-syllabus-card:hover {
        transform: translateY(-5px);
        border-color: rgba(139,21,56,0.22);
        box-shadow: 0 14px 36px rgba(139,21,56,0.12);
    }

.mks-syllabus-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px 14px;
    background: linear-gradient(135deg,#fff8f4,#fff);
    border-bottom: 1px solid rgba(139,21,56,0.07);
}

.mks-syllabus-course-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FCEADE;
    color: #8B1538;
    border-radius: 12px;
    font-size: 18px;
    transition: background 0.22s,color 0.22s;
}

.mks-syllabus-card:hover .mks-syllabus-course-icon {
    background: #8B1538;
    color: #fff;
}

.mks-syllabus-card-header h4 {
    margin: 0 0 3px;
    color: #263238;
    font-size: 16px;
    font-weight: 700;
}

.mks-syllabus-card-header span {
    color: #718096;
    font-size: 12px;
}

.mks-syllabus-files {
    padding: 12px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mks-syllabus-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #faf7f5;
    border: 1px solid rgba(139,21,56,0.07);
    border-radius: 10px;
    transition: background 0.18s,border-color 0.18s;
}

    .mks-syllabus-file:hover {
        background: #fff1e8;
        border-color: rgba(139,21,56,0.18);
    }

.mks-syllabus-file-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(220,70,70,0.18);
    border-radius: 9px;
    color: #e53e3e;
    font-size: 15px;
}

.mks-syllabus-file-info {
    flex: 1;
    min-width: 0;
}

    .mks-syllabus-file-info strong {
        display: block;
        color: #263238;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 2px;
    }

    .mks-syllabus-file-info small {
        color: #718096;
        font-size: 11px;
    }

.mks-syllabus-file-actions {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.mks-syllabus-view, .mks-syllabus-download {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.mks-syllabus-view {
    background: #FCEADE;
    color: #8B1538;
    border: 1px solid rgba(139,21,56,0.15);
}

    .mks-syllabus-view:hover {
        background: #8B1538;
        color: #fff;
        transform: scale(1.08);
        text-decoration: none;
    }

.mks-syllabus-download {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid rgba(46,125,50,0.18);
}

    .mks-syllabus-download:hover {
        background: #2e7d32;
        color: #fff;
        transform: scale(1.08);
        text-decoration: none;
    }

@media (max-width:767px) {
    .mks-syllabus-section {
        padding: 50px 0 65px
    }

    .mks-syllabus-jump-btn {
        padding: 7px 14px;
        font-size: 12px
    }

    .mks-syllabus-group-title h3 {
        font-size: 19px
    }
}

/* ===== SYLLABUS PAGE ===== */
.mks-syllabus-section {
    padding: 70px 0 90px;
    background: #fff
}

.mks-syllabus-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: #FCEADE;
    color: #8B1538;
    border: 1px solid rgba(139,21,56,.12);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px
}

.mks-syllabus-heading {
    max-width: 700px;
    margin: 0 auto 50px
}

    .mks-syllabus-heading h2 {
        color: #27323a;
        font-size: clamp(28px,4vw,40px);
        font-weight: 700;
        margin: 8px 0
    }

        .mks-syllabus-heading h2 span {
            color: #8B1538
        }

    .mks-syllabus-heading p {
        color: #718096;
        font-size: 14px;
        max-width: 600px;
        margin: 10px auto 0
    }

.mks-syllabus-heading-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 14px 0 0
}

    .mks-syllabus-heading-line span {
        width: 45px;
        height: 2px;
        background: #8B1538;
        border-radius: 5px;
        opacity: .5
    }

    .mks-syllabus-heading-line i {
        color: #8B1538;
        font-size: 14px
    }

.mks-syllabus-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 55px
}

.mks-syllabus-jump-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: #fff;
    border: 1.5px solid rgba(139,21,56,.18);
    border-radius: 30px;
    color: #8B1538;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .22s
}

    .mks-syllabus-jump-btn:hover {
        background: #8B1538;
        color: #fff;
        border-color: #8B1538;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(139,21,56,.18);
        text-decoration: none
    }

.mks-syllabus-group {
    margin-bottom: 60px;
    scroll-margin-top: 80px
}

.mks-syllabus-group-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(139,21,56,.1)
}

.mks-syllabus-group-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8B1538;
    color: #fff;
    border-radius: 14px;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(139,21,56,.22)
}

.mks-syllabus-group-title span {
    display: block;
    color: #8B1538;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 3px
}

.mks-syllabus-group-title h3 {
    margin: 0;
    color: #27323a;
    font-size: 22px;
    font-weight: 700
}

.mks-syllabus-card {
    background: #fff;
    border: 1px solid rgba(139,21,56,.09);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(30,10,20,.06);
    transition: transform .28s,box-shadow .28s,border-color .28s;
    height: 100%
}

    .mks-syllabus-card:hover {
        transform: translateY(-5px);
        border-color: rgba(139,21,56,.22);
        box-shadow: 0 14px 36px rgba(139,21,56,.12)
    }

.mks-syllabus-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px 14px;
    background: linear-gradient(135deg,#fff8f4,#fff);
    border-bottom: 1px solid rgba(139,21,56,.07)
}

.mks-syllabus-course-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FCEADE;
    color: #8B1538;
    border-radius: 12px;
    font-size: 18px;
    transition: background .22s,color .22s
}

.mks-syllabus-card:hover .mks-syllabus-course-icon {
    background: #8B1538;
    color: #fff
}

.mks-syllabus-card-header h4 {
    margin: 0 0 3px;
    color: #263238;
    font-size: 16px;
    font-weight: 700
}

.mks-syllabus-card-header span {
    color: #718096;
    font-size: 12px
}

.mks-syllabus-files {
    padding: 12px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.mks-syllabus-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #faf7f5;
    border: 1px solid rgba(139,21,56,.07);
    border-radius: 10px;
    transition: background .18s,border-color .18s
}

    .mks-syllabus-file:hover {
        background: #fff1e8;
        border-color: rgba(139,21,56,.18)
    }

.mks-syllabus-file-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(220,70,70,.18);
    border-radius: 9px;
    color: #e53e3e;
    font-size: 15px
}

.mks-syllabus-file-info {
    flex: 1;
    min-width: 0
}

    .mks-syllabus-file-info strong {
        display: block;
        color: #263238;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 2px
    }

    .mks-syllabus-file-info small {
        color: #718096;
        font-size: 11px
    }

.mks-syllabus-file-actions {
    display: flex;
    gap: 7px;
    flex-shrink: 0
}

.mks-syllabus-view, .mks-syllabus-download {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 13px;
    text-decoration: none;
    transition: all .2s
}

.mks-syllabus-view {
    background: #FCEADE;
    color: #8B1538;
    border: 1px solid rgba(139,21,56,.15)
}

    .mks-syllabus-view:hover {
        background: #8B1538;
        color: #fff;
        transform: scale(1.08);
        text-decoration: none
    }

.mks-syllabus-download {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid rgba(46,125,50,.18)
}

    .mks-syllabus-download:hover {
        background: #2e7d32;
        color: #fff;
        transform: scale(1.08);
        text-decoration: none
    }

@media(max-width:767px) {
    .mks-syllabus-section {
        padding: 50px 0 65px
    }

    .mks-syllabus-jump-btn {
        padding: 7px 14px;
        font-size: 12px
    }

    .mks-syllabus-group-title h3 {
        font-size: 19px
    }
}

/* ===== HOME GALLERY — STATIC BENTO GRID (no carousel) ===== */
.mks-home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 180px;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto 32px
}

    .mks-home-gallery-grid .mks-home-gallery-card:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2
    }

    .mks-home-gallery-grid .mks-home-gallery-card:nth-child(6) {
        grid-column: span 2
    }

@media(max-width:991px) {
    .mks-home-gallery-grid {
        grid-template-columns: repeat(3,1fr);
        grid-auto-rows: 155px
    }
}

@media(max-width:767px) {
    .mks-home-gallery-grid {
        grid-template-columns: repeat(2,1fr);
        grid-auto-rows: 140px;
        gap: 9px
    }

        .mks-home-gallery-grid .mks-home-gallery-card:nth-child(1) {
            grid-column: span 2;
            grid-row: span 1
        }

        .mks-home-gallery-grid .mks-home-gallery-card:nth-child(6) {
            grid-column: span 1
        }
}

@media(max-width:480px) {
    .mks-home-gallery-grid {
        grid-auto-rows: 120px
    }
}


/*=============principal desk css=================*/

/* =========================================================
   PRINCIPAL DESK
========================================================= */

.principal-desk-section {
    padding: 80px 0;
    background: radial-gradient(circle at 0% 10%, rgba(252, 234, 222, 0.55), transparent 24%), radial-gradient(circle at 100% 85%, rgba(252, 234, 222, 0.45), transparent 25%), #ffffff;
}


/* ---------------------------------------------------------
   Heading
--------------------------------------------------------- */

.principal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.principal-heading-text {
    max-width: 700px;
    margin: 18px auto 0;
    color: #718096;
    font-size: 15px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   Profile Row
--------------------------------------------------------- */

.principal-profile-row {
    margin-top: 55px;
}


/* ---------------------------------------------------------
   Profile Card
--------------------------------------------------------- */

.principal-profile-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(139, 21, 56, 0.10);
    border-radius: 22px;
    box-shadow: 0 15px 45px rgba(38, 50, 56, 0.08);
    transition: all 0.35s ease;
}

    .principal-profile-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient( 90deg, #8B1538, #c65b76, #8B1538 );
    }

    .principal-profile-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 22px 55px rgba(139, 21, 56, 0.13);
    }


/* ---------------------------------------------------------
   Profile Top
--------------------------------------------------------- */

.principal-profile-top {
    padding: 38px 30px 28px;
    text-align: center;
    background: linear-gradient( 180deg, rgba(252, 234, 222, 0.55), rgba(255, 255, 255, 0) );
}


/* ---------------------------------------------------------
   Principal Photo
--------------------------------------------------------- */

.principal-photo-wrap {
    width: 155px;
    height: 155px;
    margin: 0 auto 22px;
    padding: 6px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(139, 21, 56, 0.18);
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.14), 0 0 0 8px rgba(252, 234, 222, 0.45);
}

    .principal-photo-wrap img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        border-radius: 50%;
    }

.principal-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, #8B1538, #b63c60 );
    color: #ffffff;
    font-size: 55px;
}


/* ---------------------------------------------------------
   Name
--------------------------------------------------------- */

.principal-name-block {
    text-align: center;
}

.principal-role {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 14px;
    border-radius: 20px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.principal-name-block h3 {
    margin: 0;
    color: #263238;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
}

.principal-qualification {
    margin: 8px 0 0;
    color: #8B1538;
    font-size: 13px;
    font-weight: 600;
}

    .principal-qualification i {
        margin-right: 5px;
    }


/* ---------------------------------------------------------
   Contact
--------------------------------------------------------- */

.principal-contact-list {
    padding: 22px 25px;
    border-top: 1px solid #f0e5e8;
    border-bottom: 1px solid #f0e5e8;
}

.principal-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .principal-contact-item + .principal-contact-item {
        margin-top: 18px;
    }

.principal-contact-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 15px;
}

.principal-contact-item span {
    display: block;
    margin-bottom: 3px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.principal-contact-item a {
    color: #263238;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

    .principal-contact-item a:hover {
        color: #8B1538;
    }


/* ---------------------------------------------------------
   Profile Quote
--------------------------------------------------------- */

.principal-profile-quote {
    position: relative;
    margin: 22px 25px 25px;
    padding: 18px 20px 18px 48px;
    background: #faf7f5;
    border-radius: 14px;
    border-left: 3px solid #8B1538;
}

    .principal-profile-quote > i {
        position: absolute;
        left: 17px;
        top: 18px;
        color: #8B1538;
        font-size: 20px;
        opacity: 0.75;
    }

    .principal-profile-quote p {
        margin: 0;
        color: #718096;
        font-size: 12px;
        line-height: 1.7;
        font-style: italic;
    }


/* =========================================================
   PRINCIPAL MESSAGE
========================================================= */

.principal-message-card {
    height: 100%;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(139, 21, 56, 0.10);
    box-shadow: 0 15px 45px rgba(38, 50, 56, 0.08);
    overflow: hidden;
}


/* Message Header */

.principal-message-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 25px 30px;
    background: linear-gradient( 135deg, #8B1538, #a92c50 );
    color: #ffffff;
}

.principal-message-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 19px;
}

.principal-message-header span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255,255,255,0.70);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.principal-message-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}


/* Message Content */

.principal-message-content {
    position: relative;
    padding: 34px 35px 30px;
}

.message-opening-quote {
    position: absolute;
    top: 25px;
    right: 30px;
    color: rgba(139, 21, 56, 0.07);
    font-size: 70px;
    line-height: 1;
}

.principal-message-content p {
    position: relative;
    z-index: 1;
    margin-bottom: 19px;
    color: #596b73;
    font-size: 14px;
    line-height: 1.9;
    text-align: justify;
}

.principal-message-content > p:first-of-type {
    color: #263238;
    font-weight: 700;
    font-size: 15px;
    text-align: left;
}


/* Signature */

.principal-message-signature {
    margin-top: 28px;
    padding: 20px 22px;
    background: #faf7f5;
    border-radius: 14px;
    border-left: 4px solid #8B1538;
}

    .principal-message-signature p {
        font-size: 13px;
        color: #718096;
        margin-bottom: 8px;
    }

    .principal-message-signature strong {
        display: block;
        color: #263238;
        font-size: 15px;
    }

    .principal-message-signature span {
        display: block;
        margin-top: 3px;
        color: #8B1538;
        font-size: 13px;
        font-weight: 700;
    }

    .principal-message-signature small {
        display: block;
        margin-top: 3px;
        color: #718096;
        font-size: 11px;
    }


/* =========================================================
   LEADERSHIP VALUES
========================================================= */

.principal-values-section {
    margin-top: 85px;
}

    .principal-values-section .section-heading {
        margin-bottom: 42px;
    }


/* Value Card */

.principal-value-card {
    position: relative;
    height: 100%;
    padding: 32px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(139, 21, 56, 0.08);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(38, 50, 56, 0.06);
    transition: all 0.3s ease;
}

    .principal-value-card::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        height: 3px;
        background: #8B1538;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    .principal-value-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 38px rgba(139, 21, 56, 0.11);
    }

        .principal-value-card:hover::after {
            width: 55px;
        }


.principal-value-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #FCEADE;
    color: #8B1538;
    font-size: 21px;
    transition: all 0.3s ease;
}

.principal-value-card:hover .principal-value-icon {
    background: #8B1538;
    color: #ffffff;
    transform: rotate(-5deg);
}

.principal-value-card h4 {
    margin-bottom: 9px;
    color: #263238;
    font-size: 17px;
    font-weight: 700;
}

.principal-value-card p {
    max-width: 300px;
    margin: 0 auto;
    color: #718096;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .principal-desk-section {
        padding: 65px 0;
    }

    .principal-profile-row {
        margin-top: 40px;
    }

    .principal-message-card {
        margin-top: 5px;
    }

    .principal-values-section {
        margin-top: 65px;
    }
}


@media (max-width: 767px) {

    .principal-desk-section {
        padding: 55px 0;
    }

    .principal-profile-top {
        padding: 32px 22px 25px;
    }

    .principal-name-block h3 {
        font-size: 20px;
    }

    .principal-message-header {
        padding: 20px;
    }

        .principal-message-header h3 {
            font-size: 19px;
        }

    .principal-message-content {
        padding: 28px 22px 25px;
    }

        .principal-message-content p {
            font-size: 13px;
            text-align: left;
        }

    .principal-profile-quote {
        margin-left: 20px;
        margin-right: 20px;
    }
}


@media (max-width: 575px) {

    .principal-photo-wrap {
        width: 130px;
        height: 130px;
    }

    .principal-photo-placeholder {
        font-size: 45px;
    }

    .principal-contact-list {
        padding: 20px;
    }

    .principal-contact-item a {
        font-size: 12px;
    }

    .principal-message-header {
        align-items: flex-start;
    }

    .principal-message-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .principal-message-header h3 {
        font-size: 17px;
    }

    .principal-message-content {
        padding: 25px 18px;
    }

    .message-opening-quote {
        right: 15px;
        font-size: 55px;
    }

    .principal-message-signature {
        padding: 17px;
    }
}

/*================leadership section css========================*/

/* =========================================================
   COLLEGE LEADERSHIP SECTION
   ========================================================= */

.mks-leadership-section {
    position: relative;
    padding: 90px 0;
    background: #fffaf7;
    overflow: hidden;
}

/* Background Decorative Shapes */

.mks-leadership-bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

    .mks-leadership-bg-shape.shape-one {
        width: 320px;
        height: 320px;
        top: -170px;
        left: -120px;
        background: rgba(139, 21, 56, 0.055);
    }

    .mks-leadership-bg-shape.shape-two {
        width: 400px;
        height: 400px;
        right: -180px;
        bottom: -220px;
        background: rgba(252, 234, 222, 0.65);
    }


/* =========================================================
   SECTION HEADING
   ========================================================= */

.mks-leadership-heading {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto 55px;
}

.mks-leadership-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    background: #fceade;
    border: 1px solid rgba(139, 21, 56, 0.12);
    color: #8b1538;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .mks-leadership-badge i {
        font-size: 13px;
    }

.mks-leadership-heading h2 {
    margin: 16px 0 10px;
    color: #263238;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    font-weight: 750;
}

    .mks-leadership-heading h2 span {
        color: #8b1538;
    }

.mks-leadership-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 15px 0 17px;
}

    .mks-leadership-line span {
        display: block;
        width: 28px;
        height: 3px;
        border-radius: 10px;
        background: #8b1538;
    }

        .mks-leadership-line span:last-child {
            background: #8b1538;
        }

    .mks-leadership-line i {
        color: #e9a17d;
        font-size: 11px;
    }

.mks-leadership-heading p {
    margin: 0 auto;
    max-width: 680px;
    color: #718096;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   LEADER CARD
   ========================================================= */

.mks-leader-card {
    position: relative;
    z-index: 2;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(139, 21, 56, 0.09);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(40, 20, 25, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .mks-leader-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient( 90deg, #8b1538, #a72a50, #e9a17d );
    }

    .mks-leader-card:hover {
        transform: translateY(-9px);
        border-color: rgba(139, 21, 56, 0.18);
        box-shadow: 0 22px 55px rgba(70, 20, 35, 0.13);
    }


/* =========================================================
   CARD TOP
   ========================================================= */

.mks-leader-card-top {
    position: relative;
    padding: 38px 25px 22px;
    text-align: center;
    background: linear-gradient( 180deg, #fff7f2 0%, #ffffff 100% );
}


/* =========================================================
   LEADER PHOTO
   ========================================================= */

.mks-leader-photo-wrap {
    position: relative;
    width: 145px;
    height: 145px;
    margin: 0 auto;
    padding: 6px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #fceade;
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.12);
}

    .mks-leader-photo-wrap::before {
        content: "";
        position: absolute;
        inset: -7px;
        border: 1px dashed rgba(139, 21, 56, 0.25);
        border-radius: 50%;
    }

    .mks-leader-photo-wrap img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center top;
        border-radius: 50%;
    }


/* Active/status icon */

.mks-leader-status {
    position: absolute;
    right: 2px;
    bottom: 8px;
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8b1538;
    border: 3px solid #ffffff;
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.25);
}


/* =========================================================
   ROLE BADGE
   ========================================================= */

.mks-leader-role {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    padding: 7px 16px;
    background: #8b1538;
    color: #ffffff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(139, 21, 56, 0.18);
}

    .mks-leader-role i {
        font-size: 11px;
    }


/* =========================================================
   CARD INFORMATION
   ========================================================= */

.mks-leader-info {
    padding: 24px 27px 28px;
    text-align: center;
}

    .mks-leader-info h3 {
        margin: 0 0 5px;
        color: #263238;
        font-size: 20px;
        font-weight: 750;
        line-height: 1.35;
    }

.mks-leader-designation {
    display: block;
    color: #8b1538;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 13px;
}

.mks-leader-qualification {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 13px;
    background: #fff5ee;
    border-radius: 20px;
    color: #5f6870;
    font-size: 11px;
    font-weight: 600;
}

    .mks-leader-qualification i {
        color: #8b1538;
        font-size: 11px;
    }


/* =========================================================
   DESCRIPTION
   ========================================================= */

.mks-leader-info > p {
    margin: 18px auto 0;
    color: #718096;
    font-size: 13px;
    line-height: 1.8;
    max-width: 360px;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.mks-leader-divider {
    width: 55px;
    height: 2px;
    margin: 19px auto 16px;
    background: linear-gradient( 90deg, transparent, #8b1538, transparent );
}


/* =========================================================
   CONTACT
   ========================================================= */

.mks-leader-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

    .mks-leader-contact a,
    .mks-leader-contact > div {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        color: #65717a;
        font-size: 11px;
        text-decoration: none;
        line-height: 1.5;
    }

        .mks-leader-contact a:hover {
            color: #8b1538;
        }

    .mks-leader-contact i {
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: #fceade;
        color: #8b1538;
        border-radius: 50%;
        font-size: 10px;
    }


/* =========================================================
   BUTTON
   ========================================================= */

.mks-leader-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 20px;
    background: #8b1538;
    color: #ffffff !important;
    border: 1px solid #8b1538;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .mks-leader-btn i {
        font-size: 10px;
        transition: transform 0.25s ease;
    }

    .mks-leader-btn:hover {
        background: #6f102d;
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(139, 21, 56, 0.22);
    }

        .mks-leader-btn:hover i {
            transform: translateX(4px);
        }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .mks-leadership-section {
        padding: 75px 0;
    }

    .mks-leadership-heading {
        margin-bottom: 45px;
    }

    .mks-leader-card {
        max-width: 430px;
        margin: 0 auto;
    }
}


@media (max-width: 767px) {

    .mks-leadership-section {
        padding: 65px 0;
    }

    .mks-leadership-heading h2 {
        font-size: 30px;
    }

    .mks-leadership-heading p {
        font-size: 13px;
        padding: 0 12px;
    }

    .mks-leader-photo-wrap {
        width: 130px;
        height: 130px;
    }

    .mks-leader-info {
        padding: 22px 22px 25px;
    }

        .mks-leader-info h3 {
            font-size: 18px;
        }
}


@media (max-width: 575px) {

    .mks-leadership-section {
        padding: 55px 0;
    }

    .mks-leadership-heading {
        margin-bottom: 35px;
    }

    .mks-leadership-badge {
        font-size: 10px;
        padding: 7px 14px;
    }

    .mks-leadership-heading h2 {
        font-size: 27px;
    }

    .mks-leader-card-top {
        padding-top: 32px;
    }

    .mks-leader-photo-wrap {
        width: 120px;
        height: 120px;
    }

    .mks-leader-info > p {
        font-size: 12px;
    }
}
/* ===== ALUMNI SECTION FIXES ===== */
.mks-home-alumni-photo-wrap { width:75px !important; height:75px !important; border-radius:50% !important; margin:0 auto 14px !important; border:3px solid #FCEADE !important; overflow:hidden !important; background:#FCEADE !important; flex-shrink:0 !important; }
.mks-home-alumni-photo-wrap img { width:100% !important; height:100% !important; object-fit:cover !important; display:block !important; }
.mks-home-alumni-placeholder { width:100% !important; height:100% !important; display:flex !important; align-items:center !important; justify-content:center !important; background:#ddd !important; color:#888 !important; font-size:28px !important; }
.mks-home-alumni-card { padding:20px 18px !important; }
.mks-home-alumni-info h4 { font-size:15px !important; margin-bottom:3px !important; }
.mks-alumni-slider .owl-nav { display:flex !important; justify-content:center !important; gap:12px !important; margin-top:20px !important; }
.mks-alumni-slider .owl-nav button.owl-prev, .mks-alumni-slider .owl-nav button.owl-next { width:44px !important; height:44px !important; border-radius:50% !important; background:#8B1538 !important; color:#fff !important; border:3px solid #fff !important; box-shadow:0 4px 14px rgba(139,21,56,0.35) !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; font-size:16px !important; transition:all 0.2s !important; }
.mks-alumni-slider .owl-nav button.owl-prev:hover, .mks-alumni-slider .owl-nav button.owl-next:hover { background:#fff !important; color:#8B1538 !important; transform:scale(1.1) !important; }
.mks-alumni-slider .owl-nav button.owl-prev span, .mks-alumni-slider .owl-nav button.owl-next span { font-size:22px !important; line-height:1 !important; color:inherit !important; }
.mks-alumni-slider .owl-dots { margin-top:14px !important; text-align:center !important; }
.mks-alumni-slider .owl-dot span { background:#ddd !important; width:8px !important; height:8px !important; border-radius:50% !important; transition:all 0.2s !important; }
.mks-alumni-slider .owl-dot.active span { background:#8B1538 !important; width:22px !important; border-radius:4px !important; }

/* ===== ALUMNI FINAL FIXES ===== */
.mks-home-alumni-section .mks-home-alumni-photo-wrap,
.mks-home-alumni-card .mks-home-alumni-photo-wrap {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    border-radius: 50% !important;
    margin: 0 auto 16px !important;
    border: 3px solid #FCEADE !important;
    overflow: hidden !important;
    background: #e8e8e8 !important;
    flex-shrink: 0 !important;
    position: relative !important;
}
.mks-home-alumni-section .mks-home-alumni-photo-wrap img,
.mks-home-alumni-card .mks-home-alumni-photo-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 50% !important;
}
.mks-home-alumni-section .mks-home-alumni-placeholder,
.mks-home-alumni-card .mks-home-alumni-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #c8c8c8 !important;
    color: #777 !important;
    font-size: 30px !important;
    border-radius: 50% !important;
}
.mks-alumni-slider .owl-nav button.owl-prev,
.mks-alumni-slider .owl-nav button.owl-next {
    background: #8B1538 !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(139,21,56,0.3) !important;
    transition: all 0.2s !important;
    font-size: 16px !important;
}
.mks-alumni-slider .owl-nav button.owl-prev span,
.mks-alumni-slider .owl-nav button.owl-next span {
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1 !important;
}
.mks-alumni-slider .owl-nav button.owl-prev:hover,
.mks-alumni-slider .owl-nav button.owl-next:hover {
    background: #fff !important;
    color: #8B1538 !important;
    border-color: #8B1538 !important;
    transform: scale(1.1) !important;
}
.mks-alumni-slider .owl-nav button.owl-prev:hover span,
.mks-alumni-slider .owl-nav button.owl-next:hover span {
    color: #8B1538 !important;
}

/* ===== EVENT CARD META FIX (index page) ===== */
.college-event-section .mks-event-meta {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
}
.college-event-section .mks-event-meta li {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 9px !important;
    background: #f8f9fa !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    color: #4a5568 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    border-bottom: none !important;
    white-space: normal !important;
    word-break: break-word !important;
    min-width: 0 !important;
}
.college-event-section .mks-event-meta li:last-child {
    border-bottom: none !important;
}
.college-event-section .mks-event-meta li i {
    color: #8B1538 !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
    width: 14px !important;
    text-align: center !important;
    margin-top: 0 !important;
}
@media (max-width: 575px) {
    .college-event-section .mks-event-meta {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   MKS NOTICE BOARD SECTION (INDEX PAGE)
========================================================= */
.mks-nb-section { padding: 28px 0 60px; background: #faf7f5; }
.mks-nb-card { background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 6px 24px rgba(30,10,20,0.08); border:1px solid rgba(139,21,56,0.08); display:flex; flex-direction:column; height:100%; transition:box-shadow 0.25s,transform 0.25s; }
.mks-nb-card:hover { box-shadow:0 12px 36px rgba(139,21,56,0.13); transform:translateY(-4px); }
.mks-nb-card-header { display:flex; align-items:center; gap:12px; padding:16px 18px; }
.mks-nb-general  { background:linear-gradient(135deg,#8B1538,#6b0f2a); }
.mks-nb-exam     { background:linear-gradient(135deg,#1a5cb0,#0f3d7a); }
.mks-nb-admission{ background:linear-gradient(135deg,#1a7a4a,#0f5233); }
.mks-nb-header-icon { width:38px;height:38px;background:rgba(255,255,255,0.18);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;flex-shrink:0; }
.mks-nb-header-text { flex:1;min-width:0; }
.mks-nb-card-header h3 { margin:0 0 2px;color:#fff;font-size:15px;font-weight:700; }
.mks-nb-card-header span { color:rgba(255,255,255,0.75);font-size:11px; }
.mks-nb-count { min-width:36px;height:36px;background:rgba(255,255,255,0.2);border-radius:9px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;font-weight:800; }
.mks-nb-list-wrap { flex:1;overflow-y:auto;max-height:280px;padding:8px 12px; }
.mks-nb-list-wrap::-webkit-scrollbar { width:4px; }
.mks-nb-list-wrap::-webkit-scrollbar-track { background:#f0f0f0;border-radius:10px; }
.mks-nb-list-wrap::-webkit-scrollbar-thumb { background:#8B1538;border-radius:10px; }
.mks-nb-list { list-style:none;margin:0;padding:0; }
.mks-nb-item { display:flex;align-items:flex-start;gap:10px;padding:10px 6px;border-bottom:1px solid #f3ece8;transition:background 0.15s; }
.mks-nb-item:last-child { border-bottom:none; }
.mks-nb-item:hover { background:#fdf8f6;border-radius:8px; }
.mks-nb-date { display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:38px;height:44px;background:#FCEADE;border-radius:9px;flex-shrink:0; }
.mks-nb-day { font-size:17px;font-weight:800;color:#8B1538;line-height:1; }
.mks-nb-mon { font-size:9px;font-weight:700;color:#a05060;text-transform:uppercase;letter-spacing:0.5px;margin-top:2px; }
.mks-nb-content { flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px; }
.mks-nb-link { color:#2d1520;font-size:12.5px;font-weight:500;line-height:1.5;text-decoration:none;display:block;transition:color 0.18s; }
.mks-nb-link:hover { color:#8B1538;text-decoration:none; }
.mks-nb-new-badge { display:inline-flex;align-items:center;padding:2px 6px;background:#8B1538;color:#fff;font-size:9px;font-weight:800;letter-spacing:0.8px;border-radius:4px;text-transform:uppercase;flex-shrink:0;margin-bottom:2px; }
.mks-nb-arrow { color:#ccc;font-size:9px;flex-shrink:0;margin-top:4px;transition:color 0.15s; }
.mks-nb-item:hover .mks-nb-arrow { color:#8B1538; }
.mks-nb-empty { padding:20px 10px;color:#999;font-size:13px;text-align:center;list-style:none; }
.mks-nb-empty i { display:block;font-size:24px;margin-bottom:8px;opacity:0.5; }
.mks-nb-footer { padding:10px 18px 14px;border-top:1px solid #f5ece8; }
.mks-nb-readmore { display:inline-flex;align-items:center;gap:6px;color:#8B1538;font-size:12px;font-weight:600;text-decoration:none;transition:gap 0.18s; }
.mks-nb-readmore:hover { gap:10px;text-decoration:none;color:#6b0f2a; }
@media(max-width:991px){.mks-nb-list-wrap{max-height:220px}}
@media(max-width:767px){.mks-nb-section{padding:20px 0 45px}.mks-nb-card{margin-bottom:16px}.mks-nb-list-wrap{max-height:200px}}


/* =========================================================
   MKS COLLEGE - PRIVACY POLICY PAGE
   ========================================================= */

.mks-privacy-page {
    padding: 85px 0;
    background: #faf7f5;
    position: relative;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.mks-policy-header {
    margin-bottom: 45px;
}

.mks-policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 30px;
    background: #fceade;
    color: #8b1538;
    border: 1px solid rgba(139, 21, 56, 0.12);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

    .mks-policy-badge i {
        font-size: 12px;
    }

.mks-policy-header h1 {
    margin: 15px 0 12px;
    color: #263238;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
}

    .mks-policy-header h1 span {
        color: #8b1538;
    }

.mks-policy-header-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 15px 0;
}

    .mks-policy-header-line span {
        width: 55px;
        height: 2px;
        background: #8b1538;
        border-radius: 10px;
    }

    .mks-policy-header-line i {
        color: #8b1538;
        font-size: 13px;
    }

.mks-policy-header p {
    margin: 0 0 15px;
    color: #718096;
    font-size: 14px;
}

.mks-policy-updated {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #718096;
    font-size: 12px;
    background: #fff;
    border: 1px solid #eee4df;
    padding: 7px 14px;
    border-radius: 30px;
}

    .mks-policy-updated i {
        color: #8b1538;
    }


/* ---------------------------------------------------------
   MAIN WRAPPER
   --------------------------------------------------------- */

.mks-policy-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(139, 21, 56, 0.08);
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 12px 40px rgba(35, 15, 25, 0.07);
}


/* ---------------------------------------------------------
   INTRO
   --------------------------------------------------------- */

.mks-policy-intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    margin-bottom: 42px;
    background: linear-gradient( 135deg, #fff8f4, #fceade );
    border: 1px solid rgba(139, 21, 56, 0.10);
    border-radius: 15px;
}

.mks-policy-intro-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8b1538;
    color: #fff;
    border-radius: 14px;
    font-size: 21px;
    box-shadow: 0 8px 18px rgba(139, 21, 56, 0.18);
}

.mks-policy-intro h3 {
    margin: 0 0 8px;
    color: #263238;
    font-size: 19px;
    font-weight: 750;
}

.mks-policy-intro p {
    color: #59636b;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}


/* ---------------------------------------------------------
   POLICY SECTION
   --------------------------------------------------------- */

.mks-policy-section {
    padding-bottom: 38px;
    margin-bottom: 38px;
    border-bottom: 1px solid #eee8e5;
}

    .mks-policy-section:last-of-type {
        border-bottom: none;
    }

.mks-policy-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.mks-policy-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #8b1538;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 5px 12px rgba(139, 21, 56, 0.15);
}

.mks-policy-section-heading h2 {
    color: #263238;
    font-size: 21px;
    font-weight: 750;
    margin: 2px 0 4px;
}

.mks-policy-section-heading p {
    color: #8a9399;
    font-size: 12px;
    margin: 0;
}

.mks-policy-section > p {
    color: #59636b;
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 18px;
}


/* ---------------------------------------------------------
   SUB HEADINGS
   --------------------------------------------------------- */

.mks-policy-section h4 {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #37474f;
    font-size: 15px;
    font-weight: 700;
    margin: 25px 0 12px;
}

    .mks-policy-section h4 i {
        color: #8b1538;
        font-size: 14px;
    }


/* ---------------------------------------------------------
   LIST
   --------------------------------------------------------- */

.mks-policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .mks-policy-list li {
        position: relative;
        padding: 9px 0 9px 27px;
        color: #59636b;
        font-size: 14px;
        line-height: 1.75;
    }

        .mks-policy-list li::before {
            content: "\f00c";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 12px;
            width: 17px;
            height: 17px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fceade;
            color: #8b1538;
            border-radius: 50%;
            font-size: 8px;
        }


/* ---------------------------------------------------------
   CONTACT BOX
   --------------------------------------------------------- */

.mks-policy-contact {
    display: flex;
    gap: 22px;
    padding: 28px;
    margin-top: 5px;
    background: linear-gradient( 135deg, #8b1538 0%, #64102a 100% );
    border-radius: 17px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .mks-policy-contact::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        right: -100px;
        top: -100px;
        border: 35px solid rgba(255,255,255,.05);
    }

.mks-policy-contact-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px;
    font-size: 22px;
}

.mks-policy-contact-content {
    position: relative;
    z-index: 2;
}

.mks-policy-contact-label {
    display: block;
    color: #fceade;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 5px;
}

.mks-policy-contact h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 750;
    margin: 0 0 8px;
}

.mks-policy-contact p {
    color: rgba(255,255,255,.76);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 700px;
}

.mks-policy-contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .mks-policy-contact-details > div {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 9px 13px;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 8px;
        color: rgba(255,255,255,.85);
        font-size: 12px;
    }

    .mks-policy-contact-details i {
        color: #fceade;
    }


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .mks-policy-wrapper {
        padding: 35px;
    }
}

@media (max-width: 767px) {

    .mks-privacy-page {
        padding: 60px 0;
    }

    .mks-policy-header {
        margin-bottom: 30px;
    }

    .mks-policy-wrapper {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .mks-policy-intro {
        padding: 20px;
        gap: 14px;
    }

    .mks-policy-intro-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 17px;
    }

    .mks-policy-intro h3 {
        font-size: 17px;
    }

    .mks-policy-section-heading h2 {
        font-size: 18px;
    }

    .mks-policy-contact {
        padding: 22px;
        gap: 15px;
    }

    .mks-policy-contact-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 17px;
    }

    .mks-policy-contact h3 {
        font-size: 19px;
    }

    .mks-policy-contact-details {
        flex-direction: column;
    }

        .mks-policy-contact-details > div {
            width: 100%;
        }
}

@media (max-width: 575px) {

    .mks-privacy-page {
        padding: 50px 0;
    }

    .mks-policy-wrapper {
        padding: 20px 15px;
    }

    .mks-policy-intro {
        flex-direction: column;
    }

    .mks-policy-section {
        padding-bottom: 28px;
        margin-bottom: 28px;
    }

    .mks-policy-section-heading {
        gap: 10px;
    }

    .mks-policy-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 10px;
    }

    .mks-policy-list li,
    .mks-policy-section > p {
        font-size: 13px;
    }

    .mks-policy-contact {
        flex-direction: column;
    }
}

/* ===== MOBILE NAVBAR — SAFE TARGETED FIX ===== */
@media (max-width: 991px) {
    #collapsibleNavbar .nav-link,
    #collapsibleNavbar .mks-dd-toggle {
        color: #fff !important;
        font-size: 13px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    #collapsibleNavbar .mks-dd-caret {
        color: rgba(255,255,255,0.7) !important;
    }
    #collapsibleNavbar .mks-dropdown {
        background: rgba(0,0,0,0.3) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    #collapsibleNavbar .mks-dropdown > li > a {
        color: rgba(255,255,255,0.88) !important;
        padding: 10px 20px !important;
        border-bottom: 1px solid rgba(255,255,255,0.07) !important;
        border-radius: 0 !important;
        font-size: 12.5px !important;
    }
    #collapsibleNavbar .mks-dropdown > li:last-child > a {
        border-bottom: none !important;
    }
    #collapsibleNavbar .mks-dropdown > li > a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: #fff !important;
    }
    #collapsibleNavbar .mks-dropdown > li > a > i:first-child {
        background: rgba(255,255,255,0.15) !important;
        color: rgba(255,255,255,0.85) !important;
    }
    #collapsibleNavbar .mega-menu {
        background: rgba(0,0,0,0.25) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        width: 100% !important;
    }
    #collapsibleNavbar .mega-col-title h6,
    #collapsibleNavbar .mega-course-info strong,
    #collapsibleNavbar .mega-menu-header h6 { color: #fff !important; }
    #collapsibleNavbar .mega-col-title span,
    #collapsibleNavbar .mega-course-info span,
    #collapsibleNavbar .mega-menu-header span { color: rgba(255,255,255,0.65) !important; }
    #collapsibleNavbar .mega-course-item { color: rgba(255,255,255,0.88) !important; }
    #collapsibleNavbar .mega-menu-footer { background: rgba(0,0,0,0.15) !important; border-top: 1px solid rgba(255,255,255,0.1) !important; }
    #collapsibleNavbar .mega-menu-footer a { color: rgba(255,255,255,0.85) !important; }
    #collapsibleNavbar .mega-menu-footer span { color: rgba(255,255,255,0.5) !important; }
    .main-navbar .navbar-dark .navbar-nav .nav-item.dropdown:hover > .dropdown-menu,
    .main-navbar .navbar-dark .navbar-nav .nav-item.mega-dropdown:hover > .mega-menu {
        display: none;
    }
    .main-navbar .navbar-dark .navbar-nav .nav-item.dropdown:hover > .dropdown-menu.show,
    .main-navbar .navbar-dark .navbar-nav .nav-item.mega-dropdown:hover > .mega-menu.show {
        display: block !important;
    }
}

/* ===== MOBILE NAVBAR COLLAPSE — OVERRIDE responsive.css white bg ===== */
@media (max-width: 991px) {
    .main-navbar .navbar-collapse {
        background: #8B1538 !important;
        border-top: 1px solid rgba(255,255,255,0.15) !important;
        padding: 0 !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25) !important;
    }
    .main-navbar .navbar-dark .navbar-nav .nav-link {
        color: #fff !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    .main-navbar .navbar-dark .navbar-nav .dropdown-menu,
    .main-navbar .dropdown-menu {
        background: rgba(0,0,0,0.25) !important;
    }
    .main-navbar .navbar-dark .navbar-nav .dropdown-menu li a {
        color: rgba(255,255,255,0.9) !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    }
    .main-navbar .navbar-dark .navbar-nav .dropdown-menu li a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: #fff !important;
    }
    #collapsibleNavbar .mks-dropdown > li > a {
        color: rgba(255,255,255,0.9) !important;
    }
    .main-navbar .navbar-dark .navbar-nav .nav-item.dropdown:hover > .dropdown-menu,
    .main-navbar .navbar-dark .navbar-nav .nav-item.dropdown:hover > .mks-dropdown,
    .main-navbar .navbar-dark .navbar-nav .nav-item.mega-dropdown:hover > .mega-menu {
        display: none !important;
    }
    .main-navbar .navbar-dark .navbar-nav .nav-item.show > .dropdown-menu,
    .main-navbar .navbar-dark .navbar-nav .nav-item.show > .mks-dropdown,
    .main-navbar .navbar-dark .navbar-nav .nav-item.show > .mega-menu {
        display: block !important;
    }
}

/* ===== MOBILE NAVBAR SCROLL FIX ===== */
@media (max-width: 991px) {
    .main-navbar .navbar-collapse.show {
        max-height: calc(100vh - 60px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    .main-navbar .navbar-collapse.show::-webkit-scrollbar { width: 3px; }
    .main-navbar .navbar-collapse.show::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 3px; }
}

/* ===== MEGA MENU COURSE ITEM HOVER — MOBILE FIX ===== */
@media (max-width: 991px) {
    #collapsibleNavbar .mega-course-item:hover,
    #collapsibleNavbar .mega-course-item:focus {
        background: rgba(255,255,255,0.15) !important;
        color: #fff !important;
    }
    #collapsibleNavbar .mega-course-item:hover .mega-course-info strong,
    #collapsibleNavbar .mega-course-item:hover .mega-course-info span {
        color: #fff !important;
    }
    #collapsibleNavbar .mega-course-item:hover .mega-course-ico.ug-ico,
    #collapsibleNavbar .mega-course-item:hover .mega-course-ico.pg-ico {
        background: rgba(255,255,255,0.2) !important;
        color: #fff !important;
    }
    /* Also fix the default icon bg inside mega menu on mobile */
    #collapsibleNavbar .mega-course-ico.ug-ico {
        background: rgba(255,255,255,0.12) !important;
        color: rgba(255,255,255,0.85) !important;
    }
    #collapsibleNavbar .mega-course-ico.pg-ico {
        background: rgba(255,255,255,0.12) !important;
        color: rgba(255,255,255,0.85) !important;
    }
    #collapsibleNavbar .mega-col-badge.ug {
        background: rgba(255,255,255,0.15) !important;
        color: #fff !important;
    }
    #collapsibleNavbar .mega-col-badge.pg {
        background: rgba(255,255,255,0.15) !important;
        color: #fff !important;
    }
    #collapsibleNavbar .mega-col-title {
        border-bottom-color: rgba(255,255,255,0.15) !important;
    }
}
