:root {
    --ink: #4a1830;
    --text: #6a4b57;
    --muted: #8a7480;
    --line: #eadfd9;
    --paper: #fbf7ef;
    --white: #ffffff;
    --teal: #9a214f;
    --teal-dark: #4b0820;
    --coral: #b25270;
    --gold: #efc664;
    --blue: #741438;
    --rose-soft: #f7ddec;
    --shadow: 0 24px 70px rgba(74, 8, 32, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    background:
        radial-gradient(circle at 8% 10%, rgba(178, 82, 112, .12), transparent 28%),
        radial-gradient(circle at 90% 6%, rgba(239, 198, 100, .16), transparent 26%),
        var(--paper);
    line-height: 1.65;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container-fluid {
    width: min(100%, 1480px);
    /* padding-left: clamp(18px, 4vw, 54px);
    padding-right: clamp(18px, 4vw, 54px); */
}

.text-justify {
  text-align: justify !important;
}

.spacer {
    padding: 45px 0;
}

.loader-mask {
    position: fixed;
    inset: 0;
    width: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 22px;
    background:
        radial-gradient(circle at center, rgba(239, 198, 100, .2), transparent 28%),
        linear-gradient(135deg, var(--teal-dark), var(--teal), var(--blue));
    overflow: hidden;
}

.loader-mask .college-logo {
    width: clamp(140px, 14vw, 210px);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.82);
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .28));
    animation: loaderLogoPulse 2.5s ease-in-out infinite;
}

.college-loader {
    position: relative;
    color: gold;
    max-width: 92vw;
    padding-bottom: 16px;
    font-family:philosopher;
    /* font-family: Georgia, "Times New Roman", serif; */
    font-size: clamp(34px, 5vw, 86px);
    line-height: .95;
    /* font-weight: 950; */
    text-transform: uppercase;
    letter-spacing: .02em;
    text-align: center;
    text-shadow:
        0 6px 0 rgba(59, 6, 24, .28),
        0 18px 34px rgba(0, 0, 0, .3);
    animation: loaderTextPulse 2.5s ease-in-out infinite;
    white-space: normal;
}

.college-loader::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(260px, 62vw);
    height: 4px;
    /* border-radius: 999px; */
    background: linear-gradient(90deg, transparent, var(--gold), var(--white), var(--gold), transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 22px rgba(239, 198, 100, .5);
}

@keyframes loaderTextPulse {
    0% {
        opacity: 0;
        letter-spacing: .08em;
        transform: translateY(10px);
    }
    50% {
        opacity: 1;
        letter-spacing: .02em;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        letter-spacing: .08em;
        transform: translateY(10px);
    }
}

@keyframes loaderLogoPulse {
    0% {
        opacity: 0;
        transform: scale(.82);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(.82);
    }
}

.latest-news {
    color: var(--white);
    background: linear-gradient(90deg, #a90041, #960136, var(--blue));
    padding: 3px 0;
}

.ticker-wrapper-h {
    /*min-height: 41px;*/
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    /* border-radius: 999px; */
    background: rgb(255,255,255);
    box-shadow: 0 16px 40px rgba(59, 6, 24, .18);
    backdrop-filter: blur(10px);
}

.ticker-wrapper-h .heading {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: stretch;
    margin: 0;
    padding: 3px 13px;
    /* border-radius: 999px; */
    color: var(--teal-dark);
    background: var(--gold);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    box-shadow: 10px 0 22px rgba(59, 6, 24, .16);
}

.ticker-wrapper-h .heading::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -20px;
    width: 20px;
    height: calc(100% + 2px);
    background: rgb(154 33 79);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    pointer-events: none;
    z-index: -1;
}

.ticker-wrapper-h .heading::after {
    content: "";
    position: absolute;
    top: 0;
    right: -17px;
    width: 18px;
    height: 100%;
    /* background: var(--gold); */
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    pointer-events: none;
    z-index: 1;
    border: 2px solid rgb(154 33 79);
}

.ticker-wrapper-h .heading .fa-bell {
    color: #8b1039;
    filter: drop-shadow(0 0 7px rgba(255, 255, 255, .72));
    animation: latestNewsBell 1.65s ease-in-out infinite;
    transform-origin: 50% 10%;
}

@keyframes latestNewsBell {
    0%, 100% {
        color: hsl(340, 79%, 30%);
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 5px rgba(139, 16, 57, .35));
    }
    12% {
        color: #ffffff;
        transform: rotate(14deg) scale(1.08);
        filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.85));
    }
    24% {
        color: #b25270;
        transform: rotate(-12deg) scale(1.05);
        filter: drop-shadow(0 0 8px rgba(178, 82, 112, .65));
    }
    36% {
        color: #ffffff;
        transform: rotate(9deg) scale(1.08);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    }
    48% {
        color: #8b1039;
        transform: rotate(-6deg) scale(1.04);
        filter: drop-shadow(0 0 7px rgba(139, 16, 57, .55));
    }
    62% {
        transform: rotate(0deg) scale(1);
    }
    78% {
        color: #8b1039;
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 5px rgba(139, 16, 57, .35));
    }
}

.news-ticker-h {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 18px 0 36px;
    overflow: hidden;
    white-space: nowrap;
}

.news-ticker-track {
    display: flex;
    width: max-content;
    animation: latestNewsTicker 32s linear infinite;
}

.news-ticker-h:hover .news-ticker-track {
    animation-play-state: paused;
}

.news-ticker-group {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.news-ticker-group a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* margin-right: 28px; */
    padding: 1px 14px;
    border: 1px solid rgba(255,255,255,.22);
    /* border-radius: 999px; */
    color: rgb(0, 0, 0);
    font-size: 13px;
    font-weight: 700;
    background: rgba(255,255,255,.08);
}

.news-ticker-group a:hover {
    color: #941444;
    border-color: rgb(149 20 69);
    background: rgba(255,255,255,.14);
}

.news-ticker-group i {
    color: var(--gold);
    font-size: 12px;
}

.news-ticker-group .news-new-gif {
    width: 34px;
    height: auto;
    display: inline-block;
    flex: 0 0 auto;
}

@keyframes latestNewsTicker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.updates-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* margin-top: 8px; */
}

.updates-shortcuts a {
    display: block;
    padding: 0px 10px;
    border: 1px solid;
    border-color: rgba(239, 198, 100, .65);
    border-radius: .25rem;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    background: rgb(76 3 29);
}

.updates-shortcuts a:hover {
    color: rgba(255,255,255,1);
    border-color: rgba(255,255,255,1);
    background: rgba(255,255,255,.08);
}

.top-header {
    border-bottom: 1px solid rgba(234, 223, 217, .78);
    background: linear-gradient(135deg, rgb(247 197 109), #ffffff);
    backdrop-filter: blur(18px);
    border: 1px solid #a3184d;
    border-left: 0;
    border-right: 0;
}

.top-header-inner {
    /*min-height: 40px;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.contact-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.contact-strip i {
    color: var(--coral);
}

.menu-toggle {
    display: none;
    color: var(--teal);
    font-weight: 800;
}

.top-links ul {
    display: flex;
    gap: 6px;
}

.top-links a {
    display: block;
    padding: 4px 10px;
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 800;
}

.top-links a:hover {
    color: var(--coral);
}

.logo-area {
    position: relative;
    z-index: 30;
    isolation: isolate;
    overflow: hidden;
    padding: 9px 0px;
    background:#fcf9f2;
    /*background:*/
    /*    linear-gradient(110deg, rgba(255, 255, 255, .12), transparent 34%),*/
    /*    linear-gradient(105deg, var(--teal-dark) 0%, var(--teal) 48%, var(--paper) 48.2%, var(--white) 100%);*/
    backdrop-filter: blur(16px);
    /*clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 72% 100%, 0 calc(100% - 8px));*/
    box-shadow: 0 18px 44px rgba(74, 8, 32, .14);
}

.logo-area::marker {
    display: none;
}

.logo-area::before,
.logo-area::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.logo-area::before {
    inset: 0 auto 0 0;
    width: min(66%, 860px);
    background:
        linear-gradient(135deg, rgba(239, 198, 100, .24), transparent 35%),
        linear-gradient(120deg, var(--teal-dark), var(--teal) 62%, var(--coral));
    clip-path: polygon(0 0, 78% 0, 68% 100%, 0 100%);
}

.logo-area::after {
    inset: 0 -8% 0 auto;
    width: min(52%, 720px);
    background:
        linear-gradient(135deg, rgba(239, 198, 100, .58), rgba(255, 255, 255, .72) 46%, rgba(178, 82, 112, .18));
    clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 143%);
}

/*.logo-area .container-fluid::before {
    content: "";
    position: absolute;
    left: clamp(132px, 13vw, 210px);
    right: clamp(18px, 5vw, 72px);
    bottom: -14px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--coral), transparent);
    opacity: .86;
}*/

.logo-area .container-fluid::after {
    content: "";
    position: absolute;
    top: -44px;
    left: -35%;
    width: 28%;
    height: 190%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .3), transparent);
    transform: skewX(-24deg);
    animation: logoAreaSheen 5.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes logoAreaSheen {
    0%, 58% {
        left: -35%;
        opacity: 0;
    }
    68% {
        opacity: .85;
    }
    100% {
        left: 112%;
        opacity: 0;
    }
}

.logo-area .container-fluid {
    position: relative;
    z-index: 1;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
}

/* .logo::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 50%;
    width: 148px;
    height: 148px;
    background:
        linear-gradient(135deg, rgba(239, 198, 100, .34), rgba(255, 255, 255, .12)),
        url("../img/bethune-seal.svg") center / 82% no-repeat;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    opacity: .38;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
} */

.logo img {
    position: relative;
    z-index: 1;
    width: 95px;
    height: auto;
    border-radius: 50%;
    background: var(--white);
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .24));
}

.institution-tag {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-top: 10px;
    padding: 3px 0;
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(74, 8, 32, .18);
    /* clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); */
}

.college_name {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0;
    color: gold;
    font-family: philosopher !important;
    text-transform: uppercase;
    /* font-family: Georgia, "Times New Roman", serif; */
    font-size: clamp(36px, 3vw, 62px);
    line-height: .92;
    /* font-weight: 800; */
    text-shadow: 0 10px 24px rgba(0, 0, 0, .26);
}

.college_name::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 18%;
    bottom: -10px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, .72), transparent);
    transform: skewX(-24deg);
}

.sub-txt p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    /* font-weight: 800; */
}

.ashok-stambh-mark {
    position: relative;
    width: clamp(54px, 5vw, 82px);
    aspect-ratio: 11 / 15;
    display: grid;
    place-items: center;
}

.ashok-stambh-mark img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.lower-hed-box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 16px 15px 18px;
}

/*.lower-hed-box::before {
    content: "";
    align-self: stretch;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--teal), var(--gold), var(--coral));
    flex: 0 0 auto;
}*/

.lower-hed-box .right {
    min-width: 230px;
}

.btns-dcx ul {
    display: flex;
    gap: 9px;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 10px;
    border-right: 1px solid rgba(154, 33, 79, .16);
    /*border-left: 1px solid rgba(154, 33, 79, .1);*/
}

.header-socials a {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(154, 33, 79, .16);
    border-radius: 50%;
    color: var(--teal-dark);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 22px rgba(74, 8, 32, .1);
}

.header-socials a::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--social-bg, var(--teal));
    transform: scale(0);
    transition: transform .28s ease;
    z-index: 0;
}

.header-socials i {
    position: relative;
    z-index: 1;
    font-size: 16px;
}

.header-socials a:hover {
    color: var(--white);
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(74, 8, 32, .18);
}

.header-socials a:hover::before {
    transform: scale(1);
}

.header-socials .facebook {
    --social-bg: linear-gradient(135deg, #1877f2, #0b4ea2);
}

.header-socials .instagram {
    --social-bg: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
}

.header-socials .youtube {
    --social-bg: linear-gradient(135deg, #ff0033, #b00020);
}

.quick-btn,
.common_btn,
.link-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 41px;
    padding: 7px 10px;
    overflow: hidden;
    border: 1px solid var(--teal);
    border-radius: .25rem;
    color: var(--teal-dark);
    background:
        linear-gradient(135deg, var(--gold), #fff0b7 46%, var(--gold));
    background-size: 180% 180%;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(239, 198, 100, .24);
    isolation: isolate;
    transition: color .25s ease, border-color .25s ease, background-position .35s ease, box-shadow .35s ease, transform .35s ease;
}

.quick-btn::before,
.common_btn::before,
.link-pill::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -75%;
    width: 58%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .72), transparent);
    transform: skewX(-22deg);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.quick-btn i,
.common_btn i,
.link-pill i {
    transition: transform .35s ease;
}

.quick-btn.alt,
.common_btn.ghost,
.link-pill {
    color: var(--teal-dark);
    background:
        linear-gradient(135deg, var(--paper), #ffffff 52%, #fff2d3);
    background-size: 180% 180%;
    box-shadow: none;
}

.quick-btn:hover,
.common_btn:hover,
.link-pill:hover {
    color: var(--white);
    background:
        linear-gradient(135deg, var(--coral), var(--teal), var(--teal-dark));
    background-position: 100% 50%;
    border-color: var(--coral);
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(154, 33, 79, .28);
}

.quick-btn:hover::before,
.common_btn:hover::before,
.link-pill:hover::before {
    animation: buttonSheen .72s ease forwards;
}

.quick-btn:hover i,
.common_btn:hover i,
.link-pill:hover i {
    transform: translateX(2px) rotate(-8deg) scale(1.08);
}

@keyframes buttonSheen {
    0% {
        left: -75%;
        opacity: 0;
    }
    24% {
        opacity: .9;
    }
    100% {
        left: 125%;
        opacity: 0;
    }
}

.common_btn2 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 41px;
    padding: 8px 18px;
    overflow: hidden;
    border: 1px solid var(--teal);
    border-radius: .25rem;
    color: var(--white) !important;
    background:
        linear-gradient(135deg, var(--coral), #9a214f 52%, var(--coral));
    background-size: 180% 180%;
    border-color: var(--coral);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(239, 198, 100, .24);
    isolation: isolate;
    transition: color .25s ease, border-color .25s ease, background-position .35s ease, box-shadow .35s ease, transform .35s ease;
}

.common_btn2::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -75%;
    width: 58%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .72), transparent);
    transform: skewX(-22deg);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.common_btn2 i {
    transition: transform .35s ease;
}

.common_btn2:hover {
    border: 1px solid var(--teal);    
    color: var(--teal-dark) !important;
    background:
        linear-gradient(135deg, var(--gold), #fff0b8 52%, var(--gold));
    background-position: 100% 50%;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(154, 33, 79, .28);
}

.common_btn2:hover::before {
    animation: buttonSheen .72s ease forwards;
}

.common_btn2:hover i {
    transform: translateX(2px) rotate(-8deg) scale(1.08);
}

.input-group {
    min-width: 230px;
}

.input-group .form-control {
    min-height: 44px;
    border-color: var(--line);
    /* border-radius: 999px 0 0 999px; */
    background: var(--white);
    box-shadow: none;
}

.input-group .btn {
    min-width: 50px;
    border-color: var(--teal);
    /* border-radius: 0 999px 999px 0; */
    background: var(--teal);
}

.site_menu {
    position: relative;
    top: 0;
    z-index: 90;
    padding: 0 0 8px;
    background: linear-gradient(180deg, rgba(251,247,239,.96), rgba(251,247,239,0));
}

.site_menu .mainmenu{
    background: linear-gradient(90deg, #3b0618, var(--teal-dark), var(--blue));
}

.site_menu.sticky-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 8px 0;
    background: rgba(251,247,239,.94);
    box-shadow: 0 10px 30px rgba(74, 8, 32, .12);
    backdrop-filter: blur(16px);
    animation: stickyMenuDown .45s ease forwards;
}

@keyframes stickyMenuDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site_menu .navbar {
    padding: 0;
}

.site_menu .container-fluid {
    justify-content: center;
}

.mainNav {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 0;
    width: 100%;
    padding: 0px;
    /* border: 1px solid rgba(234,223,217,.86); */
    /* border-radius: 999px; */
    /* background: rgba(255,255,255,.86); */
    /* box-shadow: 0 18px 50px rgba(16, 35, 47, .10); */
    backdrop-filter: blur(18px);
}

.mainNav > li {
    position: relative;
}

/*.mainNav > li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 30px;
    background: #f7c56d;
    clip-path: polygon(50% 0, 100% 9px, 100% calc(100% - 9px), 50% 100%, 0 calc(100% - 9px), 0 9px);
    opacity: .72;
    transform: translateY(-50%);
    transition: opacity .2s ease, height .2s ease;
}

.mainNav > li:hover::before,
.mainNav > li.active::before,
.mainNav > li:hover + li::before,
.mainNav > li.active + li::before {
    opacity: 1;
    height: 36px;
}*/

.mainNav > li > a {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: 5px;
    margin-right: 3px;
    padding: 9px 5px;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    /* font-weight: 900; */
    white-space: nowrap;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .18);
}

.mainNav > li > a i {
    color: var(--gold);
    font-size: 14px;
    transition: color .2s ease, transform .2s ease;
}

.mainNav > li:not(.active) > a i.fa-circle-dot {
    font-size: 11px;
    color: rgba(239, 198, 100, .9);
    filter: drop-shadow(0 0 5px rgba(239, 198, 100, .48));
}

.mainNav > li:not(.active) > a:hover i.fa-circle-dot {
    color: var(--teal-dark);
    transform: scale(1.16);
}

.mainNav > li.submenu > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 2px;
    color: rgba(239, 198, 100, .9);
    font-size: 12px;
    line-height: 1;
    transition: color .2s ease, transform .2s ease;
}

.mainNav > li.active > a,
.mainNav > li > a:hover,
.mainNav > li.submenu:hover > a {
    color: var(--teal-dark);
    background: linear-gradient(135deg, var(--gold), #fff3c5);
    box-shadow: 0 10px 24px rgba(239, 198, 100, .24);
}

.mainNav > li.active > a i,
.mainNav > li > a:hover i,
.mainNav > li.submenu:hover > a i,
.mainNav > li.submenu > a:hover::after,
.mainNav > li.submenu:hover > a::after {
    color: var(--teal-dark);
}

.mainNav > li.submenu:hover > a::after {
    transform: rotate(180deg);
}

#mobNav {
    color: var(--teal-dark);
    font-size: 24px;
}

.dropdownMenu {
    position: absolute;
    left: 0;
    top: calc(100% + 0px);
    min-width: 250px;
    /* padding: 13px; */
    border: 1px solid rgba(239, 198, 100, .34);
    /* border-radius: 0 0 18px 18px; */
    background:
        linear-gradient(180deg, rgba(255, 243, 197, .96), rgba(255, 255, 255, .98) 34%, rgba(251, 247, 239, .98)),
        var(--white);
    box-shadow: 0 24px 54px rgba(74, 8, 32, .18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    transform: translateY(12px) scale(.98);
    transform-origin: top left;
    overflow: visible;
    transition: opacity .28s ease, visibility .28s ease, transform .32s cubic-bezier(.2, .8, .2, 1);
}

.dropdownMenu::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--coral), var(--teal));
}

.dropdownMenu.columns {
    min-width: 460px;
    columns: 2;
}

.submenu:hover > .dropdownMenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdownMenu .submenu {
    position: relative;
}

.dropdownMenu .submenu > a {
    padding-right: 30px;
}

.dropdownMenu .submenu > a::after {
    content: "\f105";
    position: absolute;
    right: 12px;
    top: 50%;
    font-family: "Font Awesome 6 Free";
    font-size: 12px;
    font-weight: 900;
    color: var(--coral);
    transform: translateY(-50%);
    transition: color .2s ease, transform .25s ease;
}

.dropdownMenu .submenu:hover > a::after {
    color: var(--gold);
    transform: translate(3px, -50%);
}

.dropdownMenu .dropdownMenu {
    top: 0;
    left: calc(100% + 1px);
    min-width: 245px;
    z-index: 110;
    transform: translateX(14px) scale(.98);
}

.dropdownMenu .submenu:hover > .dropdownMenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.dropdownMenu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    /* border-radius: 12px; */
    color: var(--teal-dark);
    /* font-weight: 800; */
    break-inside: avoid;
    box-shadow: 0 -4px 15px rgb(115 11 50 / 10%);
}

.dropdownMenu a::before {
    content: "\f058";
    flex: 0 0 auto;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--coral);
    font-size: 13px;
    line-height: 1;
}

.dropdownMenu a:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    transform: translateX(2px);
}

.dropdownMenu a:hover::before {
    color: var(--gold);
}

.bethune-hero {
    position: relative;
    overflow: hidden;
    background: var(--paper);
}

.hero-kicker,
.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.hero-kicker::before,
.section-label::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--coral);
}

.hero-title {
    margin: 0;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5.6vw, 88px);
    line-height: .92;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 14px 34px rgba(35, 2, 14, .34);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.header-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 5px solid #9a214f;
    background: var(--teal-dark);
    box-shadow: 0 18px 48px rgba(74, 8, 32, .24);
}

.header-carousel .owl-stage-outer {
    position: relative;
    z-index: 1;
}

.header-carousel .slideInRight {
    animation-name: bethuneSlideInRight;
}

.header-carousel .slideOutLeft {
    animation-name: bethuneSlideOutLeft;
}

@keyframes bethuneSlideInRight {
    0% {
        opacity: .12;
        clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
        transform: translate3d(72px, 0, 0) scale(1.04) rotate(.7deg);
    }

    58% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    100% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes bethuneSlideOutLeft {
    0% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        opacity: .18;
        clip-path: polygon(0 0, 82% 0, 100% 100%, 18% 100%);
        transform: translate3d(-72px, 0, 0) scale(1.04) rotate(-.7deg);
    }
}

.slider-box {
    position: relative;
    min-height: 560px;
    height: clamp(560px, 72vh, 780px);
    background: var(--teal-dark);
    overflow: hidden;
}

.slider-box::before {
    content: "";
    position: absolute;
    inset: auto clamp(18px, 4vw, 66px) clamp(20px, 4vw, 56px) auto;
    z-index: 3;
    width: clamp(110px, 12vw, 190px);
    height: 5px;
    border-radius: 999px;
    background: var(--gold);
    pointer-events: none;
}

.slider-box::after {
    content: "";
    position: absolute;
    inset: clamp(16px, 2vw, 28px);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .42);
    pointer-events: none;
}

.slider-box img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    transform: translateX(54px) scale(1.1);
    transition: transform 6.4s cubic-bezier(.2, .8, .2, 1);
}

.header-carousel .owl-item.active .slider-box img {
    transform: translateX(0) scale(1.02);
}

.header-carousel .owl-nav {
    position: absolute;
    right: clamp(16px, 3vw, 42px);
    top: 50%;
    bottom: auto;
    left: clamp(16px, 3vw, 42px);
    z-index: 60;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    pointer-events: auto;
    transform: translateY(-50%);
}

.header-carousel.owl-carousel .owl-nav button.owl-prev,
.header-carousel.owl-carousel .owl-nav button.owl-next,
.header-carousel.owl-carousel .owl-nav [class*=owl-] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    display: grid;
    place-items: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid rgba(239, 198, 100, .78) !important;
    border-radius: 18px 6px 18px 6px !important;
    color: var(--white) !important;
    background-color: #9a214f !important;
    background:
        linear-gradient(135deg, #efc664 0%, #b25270 46%, #9a214f 100%) !important;
    box-shadow:
        0 16px 34px rgba(35, 2, 14, .34),
        inset 0 1px 0 rgba(255,255,255,.5),
        inset 0 -8px 18px rgba(75, 8, 32, .22);
    cursor: pointer;
    pointer-events: auto !important;
    font-size: 18px !important;
    line-height: 1 !important;
    overflow: hidden;
    transition: color .2s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.header-carousel.owl-carousel .owl-nav button.owl-prev::before,
.header-carousel.owl-carousel .owl-nav button.owl-next::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 14px 4px 14px 4px;
    pointer-events: none;
}

.header-carousel.owl-carousel .owl-nav button.owl-prev::after,
.header-carousel.owl-carousel .owl-nav button.owl-next::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.28), transparent 42%);
    pointer-events: none;
}

.header-carousel.owl-carousel .owl-nav button.owl-prev i,
.header-carousel.owl-carousel .owl-nav button.owl-next i {
    position: relative;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 2px 2px rgba(35, 2, 14, .28));
}

.header-carousel.owl-carousel .owl-nav button.owl-prev:hover,
.header-carousel.owl-carousel .owl-nav button.owl-next:hover,
.header-carousel.owl-carousel .owl-nav [class*=owl-]:hover {
    color: var(--ink) !important;
    background-color: var(--gold) !important;
    background:
        linear-gradient(135deg, #fff0b8 0%, #efc664 45%, #d8898f 100%) !important;
    box-shadow:
        0 20px 42px rgba(35, 2, 14, .42),
        inset 0 1px 0 rgba(255,255,255,.62),
        inset 0 -8px 18px rgba(154, 33, 79, .18);
    filter: saturate(1.08);
    transform: translateY(-3px) scale(1.05);
}

.header-carousel.owl-carousel .owl-nav button.owl-prev:active,
.header-carousel.owl-carousel .owl-nav button.owl-next:active {
    transform: translateY(0) scale(.98);
}

.header-carousel.owl-carousel .owl-nav button.owl-prev:focus-visible,
.header-carousel.owl-carousel .owl-nav button.owl-next:focus-visible {
    outline: 3px solid rgba(239, 198, 100, .8);
    outline-offset: 3px;
}

.header-carousel.owl-carousel .owl-nav button.owl-prev.disabled,
.header-carousel.owl-carousel .owl-nav button.owl-next.disabled {
    opacity: .72;
    filter: grayscale(0);
}

.header-carousel .owl-dots {
    position: absolute;
    left: clamp(18px, 5vw, 76px);
    bottom: clamp(30px, 4vw, 52px);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 999px;
    background: rgba(75, 8, 32, .42);
    backdrop-filter: blur(10px);
}

.header-carousel .owl-dots .owl-dot {
    display: inline-block;
    cursor: pointer;
}

.header-carousel .owl-dots .owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    margin: 0;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.75);
    background: transparent;
    transition: width .25s ease, background .25s ease, border-color .25s ease;
}

.header-carousel .owl-dots .owl-dot.active span,
.header-carousel .owl-dots .owl-dot:hover span {
    width: 34px;
    border-color: var(--gold);
    background: var(--gold);
}

.floating-rank {
    position: absolute;
    right: clamp(18px, 5vw, 76px);
    top: clamp(24px, 5vw, 72px);
    z-index: 6;
    width: 158px;
    min-height: 158px;
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px solid rgba(154, 33, 79, .12);
    border-radius: 28px;
    color: var(--ink);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 22px 48px rgba(35, 2, 14, .28);
    backdrop-filter: blur(16px);
    text-align: center;
}

.floating-rank span,
.floating-rank small {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.floating-rank strong {
    font-size: 54px;
    line-height: .9;
}

.owl-theme .owl-dots .owl-dot span {
    width: 9px;
    height: 9px;
    background: rgba(154, 33, 79, .25);
}

.owl-theme .owl-dots .owl-dot.active span {
    width: 28px;
    background: var(--coral);
}

.web_title {
    margin-bottom: 28px;
}

.common-title {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    line-height: .98;
    font-weight: 800;
    letter-spacing: 0;
}

.common-title::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 18%;
    bottom: 0;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #efc664, #9a214f, rgba(154, 33, 79, 0));
    transform: skewX(-24deg);
}

.title-sm {
    font-size: 35px;
}

.about-college {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(251,247,239,.86)),
        radial-gradient(circle at 12% 18%, rgba(239, 198, 100, .18), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(154, 33, 79, .12), transparent 26%);
}

.welcome-college::before {
    content: "";
    position: absolute;
    inset: 34px clamp(18px, 4vw, 64px) auto auto;
    width: clamp(150px, 18vw, 280px);
    height: clamp(150px, 18vw, 280px);
    border: 22px solid rgba(154, 33, 79, .08);
    border-radius: 50%;
    pointer-events: none;
}

.welcome-college::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(520px, 42vw);
    height: 8px;
    background: linear-gradient(90deg, #9a214f, var(--gold), transparent);
    pointer-events: none;
}

.welcome-media {
    position: relative;
    isolation: isolate;
    min-height: clamp(420px, 42vw, 610px);
    padding: clamp(12px, 1.8vw, 25px);
}

.welcome-media::before {
    content: "";
    position: absolute;
    inset: 0 44px 44px 0;
    z-index: -1;
    border: 3px solid #9a214f;
    border-radius: 46px 12px 46px 12px;
    background: var(--white);
    box-shadow: 0 26px 70px rgba(74, 8, 32, .16);
}

.welcome-media::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -2;
    width: 62%;
    height: 58%;
    border-radius: 12px 42px 12px 42px;
    background: linear-gradient(135deg, var(--gold), #9a214f);
}

.welcome-media > img {
    width: calc(100% - 32px);
    height: clamp(360px, 37vw, 540px);
    object-fit: cover;
    border: 1px solid rgba(154, 33, 79, .18);
    border-radius: 40px 10px 40px 10px;
    box-shadow: 0 22px 56px rgba(35, 2, 14, .18);
    will-change: transform, clip-path;
}

.welcome-seal {
    position: absolute;
    left: clamp(20px, 3vw, 42px);
    top: clamp(20px, 3vw, 42px);
    width: clamp(86px, 7vw, 128px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    /* padding: 10px; */
    border: 2px solid rgba(239, 198, 100, .78);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 36px rgba(35, 2, 14, .2);
    backdrop-filter: blur(8px);
}

.welcome-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.welcome-year {
    position: absolute;
    right: clamp(18px, 3vw, 42px);
    bottom: clamp(18px, 3vw, 42px);
    width: clamp(132px, 12vw, 180px);
    min-height: clamp(132px, 11vw, 180px);
    display: grid;
    place-items: center;
    padding: 18px;
    color: var(--white);
    border: 2px solid rgba(239, 198, 100, .72);
    border-radius: 26px 8px 26px 8px;
    background: linear-gradient(135deg, #9a214f, #4b0820);
    box-shadow: 0 22px 48px rgba(35, 2, 14, .28);
    text-align: center;
}

.welcome-year span {
    display: block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.welcome-year strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 3vw, 70px);
    /* line-height: .9; */
}

.welcome-content {
    position: relative;
    z-index: 1;
    padding: clamp(8px, 2vw, 28px) 0;
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.about-txt {
    max-width: 820px;
}

.about-txt p,
.section-copy {
    color: var(--text);
    /* font-size: 18px; */
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 45px;
    overflow-x: clip;
    overflow-y: visible;
}

.welcome-grid {
    position: relative;
    z-index: 1;
}

.stat-box {
    position: relative;
    min-height: 230px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(154, 33, 79, .14);
    border-top: 5px solid #9a214f;
    border-radius: 0 22px 0 22px;
    background:
        linear-gradient(135deg, #ffffff, #fff8ec 58%, #f7ddec);
    box-shadow: 0 16px 40px rgba(74,8,32,.1);
    transform-style: preserve-3d;
    perspective: 1000px;
    transform: translateY(0) rotateY(0deg);
    transition: transform .58s cubic-bezier(.18, .8, .25, 1), box-shadow .42s ease, border-color .35s ease, background .35s ease;
    isolation: isolate;
    will-change: transform;
}

.stat-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(154, 33, 79, .96), rgba(116, 20, 56, .94) 48%, rgba(75, 8, 32, .96)),
        radial-gradient(circle at 18% 16%, rgba(239, 198, 100, .45), transparent 30%);
    opacity: 0;
    transform: rotateY(-180deg) scale(.96);
    transform-origin: center;
    transition: opacity .25s ease, transform .58s cubic-bezier(.18, .8, .25, 1);
    z-index: 0;
}

.stat-box::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -42px;
    width: 130px;
    height: 130px;
    border: 18px solid rgba(239, 198, 100, .22);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.7) rotate(-18deg);
    transition: opacity .4s ease, transform .52s cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
    z-index: 0;
}

.stat-box > * {
    position: relative;
    z-index: 1;
    transition: color .35s ease, transform .42s cubic-bezier(.2, .8, .2, 1), text-shadow .35s ease;
}

.stat-box:hover,
.stat-box:focus-within {
    border-color: rgba(239, 198, 100, .7);
    box-shadow: 0 28px 62px rgba(74,8,32,.22);
    transform: translateY(-8px) rotateY(180deg);
}

.stat-box:hover::before,
.stat-box:focus-within::before {
    opacity: 1;
    transform: rotateY(180deg) scale(1);
}

.stat-box:hover::after,
.stat-box:focus-within::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.stat-box:hover span,
.stat-box:hover strong,
.stat-box:hover p,
.stat-box:focus-within span,
.stat-box:focus-within strong,
.stat-box:focus-within p {
    color: var(--white);
}

.stat-box:hover span,
.stat-box:focus-within span {
    color: var(--gold);
    transform: rotateY(180deg) translateY(-2px);
}

.stat-box:hover strong,
.stat-box:focus-within strong {
    color: var(--gold);
    text-shadow: 0 10px 24px rgba(35, 2, 14, .22);
}

.stat-box span {
    color: #8b1039;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.stat-box strong {
    display: block;
    margin: 18px 0 10px;
    color: #3b0618;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    line-height: .85;
}

.stat-box p {
    margin: 0;
    color: #5f3d4b;
    font-weight: 800;
}

.notice-area {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, #fbf7ef, #f7ddec),
        radial-gradient(circle at 85% 18%, rgba(239, 198, 100, .18), transparent 26%);
}

.notice-area::before {
    content: "";
    position: absolute;
    left: clamp(18px, 4vw, 64px);
    top: 42px;
    width: clamp(140px, 16vw, 260px);
    height: clamp(140px, 16vw, 260px);
    border: 20px solid rgba(154, 33, 79, .08);
    border-radius: 50%;
    pointer-events: none;
}

.section-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 32px;
}

.section-row .web_title {
    margin-bottom: 0;
}

.notice,
.p-box,
.event-card {
    /* height: 100%; */
    border: 1px solid rgba(154, 33, 79, .14);
    border-radius: 26px 8px 26px 8px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.notice {
    padding: 12px;
    border-top: 5px solid #9a214f;
}

.notice .faq__accordian-main-wrapper {
    height: 100%;
}

.notice-area .web_title {
    margin-bottom: 22px;
}

.faq__accordian-heading {
    position: relative;
    display: block;
    margin-bottom: 5px;
    padding: 13px 46px 13px 16px;
    border: 1px solid rgb(97 7 41);
    border-radius: 18px 6px 18px 6px;
    color: var(--white);
    background: linear-gradient(135deg, #9a214f, #4b0820);
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(74, 8, 32, .12);
}

.faq__accordian-heading:hover {
    color: var(--ink);
    background: linear-gradient(135deg, var(--gold), #fff0b8);
    box-shadow: 0 12px 28px rgba(74, 8, 32, .18);
}

.faq__accordian-heading::after {
    content: "\f107";
    position: absolute;
    right: 17px;
    top: 50%;
    color: var(--gold);
    font-family: "Font Awesome 6 Free";
    font-size: 15px;
    font-weight: 900;
    transform: translateY(-50%) rotate(0deg);
    transition: transform .25s ease, color .25s ease;
}

.faq__accordian-heading.active {
    color: var(--ink);
    background: linear-gradient(135deg, var(--gold), #fff0b8);
}

.faq__accordian-heading.active::after {
    color: var(--ink);
    transform: translateY(-50%) rotate(180deg);
}

.faq__accordion-content {
    display: none;
    padding: 8px 0 12px;
}

.notice-area marquee {
    width: 100%;
    height: 252px;
    padding: 12px;
    border: 1px solid rgba(154, 33, 79, .12);
    border-radius: 20px 6px 20px 6px;
    background:
        linear-gradient(180deg, rgba(251,247,239,.96), rgba(247,221,236,.62));
}

.notice-area .qiick-links li {
    position: relative;
    min-height: 74px;
    margin-bottom: 13px;
}

.notice-area .qiick-links a {
    display: block;
    min-height: 64px;
    padding: 10px 12px 10px 86px;
    border: 1px solid rgba(154, 33, 79, .12);
    border-radius: 16px 4px 16px 4px;
    color: var(--ink);
    background: rgba(255,255,255,.9);
    font-size: 14px;
    font-weight: 760;
    line-height: 1.45;
}

.notice-area .qiick-links a:hover {
    border-color: rgba(239, 198, 100, .72);
    color: #9a214f;
    transform: translateX(4px);
}

.notice-area .neWs_date {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 70px;
    min-height: 58px;
    display: grid;
    place-items: center;
    padding: 6px;
    color: var(--white);
    background: linear-gradient(135deg, #9a214f, #4b0820);
    border-radius: 14px 4px 14px 4px;
    box-shadow: 0 10px 20px rgba(74, 8, 32, .18);
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
}

.notice-area .neWs_date::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    clip-path: polygon(100% 0, 0 100%, 0 0);
    border-radius: inherit;
    background: rgba(239, 198, 100, .36);
}

.notice-area .neWs_date > span:first-child {
    display: block;
    color: var(--gold);
    font-size: 19px;
    font-weight: 950;
}

.notice-area .neWs_date .year01 {
    display: block;
    width: 100%;
    margin-top: 3px;
    padding-top: 3px;
    border-top: 1px solid rgba(255,255,255,.46);
    color: var(--white);
}

.notice-area .view-btn {
    margin-top: 10px;
    text-align: right;
}

.notice-area .view-btn .common_btn {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
}

.principal-panel {
    min-height: 544px;
    padding: clamp(18px, 2.8vw, 32px);
    border-top: 5px solid #9a214f;
    overflow: hidden;
}

.principal-image {
    width: min(290px, 45%);
    float: left;
    margin: 4px 24px 12px 0;
    padding: 8px;
    border: 1px solid rgba(154, 33, 79, .16);
    border-radius: 24px 6px 24px 6px;
    background: var(--white);
    box-shadow: 0 18px 36px rgba(74, 8, 32, .12);
    text-align: center;
}

.princi-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px 4px 20px 4px;
}

.princi-img img {
    width: 100%;
    height: 225px;
    object-fit: cover;
}

.txtp {
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px 4px 16px 4px;
    background: linear-gradient(135deg, rgba(247,221,236,.78), rgba(251,247,239,.95));
}

.txtp span {
    color: var(--coral);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.txtp h3 {
    margin: 8px 0 4px;
    color: var(--ink);
    font-size: 28px;
    font-weight: 900;
}

.txtp p,
.principal-panel > p {
    color: var(--text);
    /* font-size: 16px; */
    text-align: justify;
}

.talks-seminars {
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.bethune-links {
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(251,247,239,.88)),
        radial-gradient(circle at 8% 20%, rgba(239, 198, 100, .18), transparent 24%);
}

.talks-box {
    /* height: 100%; */
    min-height: 424px;
    padding: 22px;
    border: 1px solid rgba(154, 33, 79, .14);
    border-top: 5px solid #9a214f;
    border-radius: 26px 8px 26px 8px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow);
}

.programme-box {
    display: grid;
    gap: 16px;
}

.programme-box a {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(154, 33, 79, .14);
    border-radius: 20px 6px 20px 6px;
    color: var(--ink);
    background: linear-gradient(135deg, var(--paper), var(--white));
    font-weight: 900;
}

.programme-box i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px 4px 16px 4px;
    color: var(--white);
    background: linear-gradient(135deg, #9a214f, #4b0820);
}

.programme-box a:hover,
.department-list a:hover,
.quick-link-box a:hover {
    color: #9a214f;
    border-color: rgba(239, 198, 100, .72);
    transform: translateX(4px);
}

.department-list {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
}

.department-list a {
    padding: 10px 13px;
    border: 1px solid rgba(154, 33, 79, .14);
    border-radius: 999px;
    color: var(--ink);
    background: var(--paper);
    font-weight: 850;
}

.quick-link-box li + li {
    margin-top: 10px;
}

.quick-link-box a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(154, 33, 79, .12);
    border-radius: 16px 4px 16px 4px;
    color: var(--ink);
    background: rgba(251,247,239,.74);
    font-weight: 850;
}

.quick-link-box span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: #9a214f;
}

.programme-toggle {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
}

.programme-toggle a {
    padding: 11px 16px;
    border-radius: 999px;
    color: var(--teal-dark);
    font-weight: 900;
}

.programme-toggle a:hover {
    color: var(--white);
    background: var(--teal);
}

.department-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.department-cloud a {
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: var(--paper);
    font-weight: 900;
}

.department-cloud a:nth-child(3n) {
    background: #fff3e0;
}

.department-cloud a:nth-child(4n) {
    background: var(--rose-soft);
}

.department-cloud a:hover {
    color: var(--white);
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-3px);
}

.photo-gallery {
    overflow: hidden;
    background: linear-gradient(120deg, var(--teal-dark), #741438);
}

.photo-gallery .common-title,
.photo-gallery .section-copy {
    color: var(--white);
}

.photo-gallery .section-copy {
    color: rgba(255,255,255,.82);
}

.gallery-feature {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

.gallery-feature img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0,0,0,.45);
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.admission-card {
    margin-top: 20px;
    padding: 22px;
    border: 1px solid rgba(239, 198, 100, .42);
    border-left: 5px solid var(--gold);
    border-radius: 24px 8px 24px 8px;
    color: var(--white);
    background: rgba(255,255,255,.1);
    box-shadow: 0 20px 46px rgba(35, 2, 14, .18);
    backdrop-filter: blur(10px);
}

.admission-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admission-card p {
    margin: 0 0 16px;
    color: rgba(255,255,255,.84);
}

.admission-card.compact {
    border-left-color: #fff0b8;
}

.admission-card.compact a {
    color: var(--gold);
    font-weight: 950;
}

.admission-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.upcoming-events {
    background: var(--paper);
}

.event-card {
    min-height: 300px;
    padding: 28px;
}

.event-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
    font-weight: 900;
}

.event-card i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 20px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    font-size: 22px;
}

.event-card p {
    margin: 14px 0 24px;
    color: var(--muted);
}

.event-card a {
    color: var(--teal-dark);
    font-weight: 950;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(16,35,47,.16);
}

.event-slide .owl-stage-outer {
    padding: 12px 0 32px;
}

.activity-hub {
    background:
        linear-gradient(135deg, rgba(251,247,239,.96), rgba(247,221,236,.82)),
        radial-gradient(circle at 88% 22%, rgba(154, 33, 79, .12), transparent 26%);
}

.mary-box {
    /* height: 100%; */
    min-height: 424px;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid rgba(154, 33, 79, .14);
    border-top: 5px solid #9a214f;
    border-radius: 26px 8px 26px 8px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow);
}

.mary-img {
    float: left;
    width: min(320px, 45%);
    margin: 0 24px 14px 0;
    overflow: hidden;
    border-radius: 28px 8px 28px 8px;
    box-shadow: 0 22px 42px rgba(74,8,32,.16);
}

.mary-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.mary-box p {
    color: var(--text);
    /* font-size: 16px; */
    text-align: justify;
}

.event-list li {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(154, 33, 79, .12);
}

.event-list li:last-child {
    border-bottom: 0;
}

.event-list .dated {
    display: grid;
    place-items: center;
    min-height: 62px;
    margin: 0;
    border-radius: 16px 4px 16px 4px;
    color: var(--white);
    background: linear-gradient(135deg, #9a214f, #4b0820);
    font-weight: 950;
    line-height: 1.1;
    text-align: center;
}

.event-list .dated span {
    display: block;
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
}

.event-list a {
    color: var(--ink);
    font-weight: 850;
}

.event-list a:hover {
    color: #9a214f;
}

.current-events-showcase {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(251,247,239,.9)),
        radial-gradient(circle at 9% 16%, rgba(239, 198, 100, .18), transparent 24%);
}

.current-events-showcase::before {
    content: "";
    position: absolute;
    right: clamp(18px, 5vw, 78px);
    top: 48px;
    width: clamp(130px, 15vw, 240px);
    height: clamp(130px, 15vw, 240px);
    border: 18px solid rgba(154, 33, 79, .08);
    border-radius: 50%;
    pointer-events: none;
}

.current-events-showcase .events {
    position: relative;
    z-index: 1;
}

.current-event-slide .owl-stage-outer {
    padding: 12px 0 34px;
}

.current-event-card {
    height: 100%;
    min-height: 560px;
    border: 1px solid rgba(154, 33, 79, .14);
    border-top: 5px solid #9a214f;
    border-radius: 26px 8px 26px 8px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.current-event-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 30px 76px rgba(74, 8, 32, .16);
}

.current-event-card .event-media {
    position: relative;
    display: block;
    overflow: hidden;
}

.current-event-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .55s ease;
    object-position: top;
}

.current-event-card:hover img {
    transform: scale(1.06);
}

.current-event-card .event-media span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 16px 4px 16px 4px;
    color: var(--ink);
    background: var(--gold);
    box-shadow: 0 14px 28px rgba(35, 2, 14, .22);
}

.current-event-card .details-box {
    padding: 22px;
    min-height: 322px;
    position: relative;
}

.current-event-card h3 {
    min-height: 68px;
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 950;
    line-height: 1.25;
}

.current-event-card .check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid rgba(154, 33, 79, .12);
    border-bottom: 1px solid rgba(154, 33, 79, .12);
}

.current-event-card .check p {
    margin: 0;
    color: #9a214f;
    font-weight: 900;
}

.current-event-card .check i {
    color: var(--gold);
}

.current-event-card .right a,
.current-event-card .details-box > p {
    color: var(--text);
    /* font-size: 15px; */
}

.current-event-card .details-box > p {
    margin: 16px 0;
}

.current-event-card .right a,
.current-event-card .reg a {
    font-weight: 900;
}

/*.details-box .reg{*/
/*    position: absolute;*/
/*    bottom: 23px;*/
/*    left: 5%;*/
/*    right: 5%;*/
/*}*/

.current-event-card .reg a {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 10px 14px;
    border: 1px solid #510420;
    border-radius: 16px 4px 16px 4px;
    color: var(--white);
    background: linear-gradient(135deg, #9a214f, #b25270 52%, #4b0820);
    background-size: 180% 180%;
    box-shadow: 0 12px 24px rgba(154, 33, 79, .2);
    text-align: center;
    isolation: isolate;
    transition: color .25s ease, background-position .35s ease, box-shadow .35s ease, transform .35s ease;
}

.current-event-card .reg a::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -75%;
    width: 58%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .72), transparent);
    transform: skewX(-22deg);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.current-event-card .reg a i {
    transition: transform .35s ease;
}

.current-event-card .reg a:hover {
    color: #510420;
    background: linear-gradient(135deg, var(--gold), #fff0b7 46%, var(--gold));
    background-position: 100% 50%;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(154, 33, 79, .28);
}

.current-event-card .reg a:hover::before {
    animation: buttonSheen .72s ease forwards;
}

.current-event-card .reg a:hover i {
    transform: translateX(2px) rotate(-8deg) scale(1.08);
}

.current-events-showcase .owl-nav {
    margin-top: 12px;
    text-align: center;
}

.current-events-showcase .owl-nav [class*=owl-] {
    margin: 0 6px !important;
    background: transparent !important;
}

.current-events-showcase .owl-nav .nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(239, 198, 100, .72);
    border-radius: 18px 6px 18px 6px;
    color: var(--white);
    background: linear-gradient(135deg, #9a214f, #4b0820);
    box-shadow: 0 12px 26px rgba(35, 2, 14, .18);
    font-weight: 900;
}

.current-events-showcase .owl-nav [class*=owl-]:hover .nav-btn {
    color: var(--ink);
    background: linear-gradient(135deg, var(--gold), #fff0b8);
}

.current-events-showcase .readmore {
    margin-top: 14px;
    text-align: center;
}

.current-event-slide .item.animated {
    animation: bethuneEventPulse .9s ease both;
}

@keyframes bethuneEventPulse {
    from {
        opacity: .75;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.achievements {
    background: var(--white);
}

.achievement-slide .owl-stage-outer {
    padding: 12px 0 36px;
}

.achievement-card {
    position: relative;
    min-height: 440px;
    padding: 18px;
    border: 1px solid rgba(154, 33, 79, .14);
    border-top: 5px solid #9a214f;
    border-radius: 26px 8px 26px 8px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.achievement-card > i {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px 4px 16px 4px;
    color: var(--ink);
    background: var(--gold);
    box-shadow: 0 14px 28px rgba(35, 2, 14, .18);
}

.achievement-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: hidden;
    border-radius: 20px 6px 20px 6px;
}

.achievement-card img {
    width: 100%;
    height: 185px;
    object-fit: fill;
}

.achievement-media img:first-child {
    border-radius: 20px 0 0 6px;
}

.achievement-media img:last-child {
    border-radius: 0 6px 20px 0;
}

.achievement-card span {
    display: block;
    margin-top: 18px;
    color: #9a214f;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.achievement-card h3 {
    margin: 8px 0 10px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 950;
}

.achievement-card p {
    color: var(--muted);
}

.achievement-card a {
    color: #9a214f;
    font-weight: 950;
}

.bethune-gallery-showcase {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(154,33,79,.96), rgba(28,75,72,.94)),
        url("../img/bg12.jpg") center / cover no-repeat;
}

.bethune-gallery-showcase::before {
    content: "";
    position: absolute;
    inset: 26px;
    border: 1px solid rgba(239,198,100,.28);
    border-radius: 34px 8px 34px 8px;
    pointer-events: none;
}

.bethune-gallery-showcase .container-fluid {
    position: relative;
    z-index: 1;
}

.bethune-gallery-showcase .common-title,
.bethune-gallery-showcase .section-label {
    color: var(--white);
}

.bethune-gallery-showcase .common-title::after {
    background: var(--gold);
}

.gallery-heading-row {
    margin-bottom: 26px;
}

.gallery-panel {
    height: 100%;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.18);
    border-top: 5px solid var(--gold);
    border-radius: 28px 8px 28px 8px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 26px 70px rgba(35,2,14,.28);
    overflow: hidden;
}

.gallery-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.gallery-panel-head span {
    color: #9a214f;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gallery-panel-head h3 {
    margin: 5px 0 0;
    color: var(--ink);
    font-size: 26px;
    font-weight: 950;
}

.gallery-panel-head > i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 18px 4px 18px 4px;
    color: var(--ink);
    background: var(--gold);
    box-shadow: 0 14px 30px rgba(35,2,14,.18);
}

.bethune-gallery-showcase .gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px 6px 24px 6px;
    background: #f8f2e5;
    box-shadow: 0 18px 38px rgba(35,2,14,.16);
}

.photo_gallery .gallery-item img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: transform .55s ease, filter .55s ease;
}

.photo_gallery .gallery-item:hover img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.04);
}

.bethune-gallery-showcase .overlay {
    position: absolute;
    inset: auto 14px 14px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 18px 4px 18px 4px;
    color: var(--white);
    background: rgba(154,33,79,.86);
    backdrop-filter: blur(10px);
    transform: translateY(18px);
    opacity: 0;
    transition: opacity .35s ease, transform .35s ease;
}

.bethune-gallery-showcase .gallery-item:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.bethune-gallery-showcase .overlay i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px 4px 14px 4px;
    color: var(--ink);
    background: var(--gold);
}

.bethune-gallery-showcase .overlay h3 {
    margin: 0;
    color: var(--white);
    font-size: 17px;
    font-weight: 900;
}

.video-item {
    height: 334px;
}

.video-item iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.bethune-gallery-showcase .owl-stage-outer {
    padding: 6px 0 28px;
}

.bethune-gallery-showcase .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 4px;
    background: rgba(154,33,79,.28);
    transition: width .3s ease, background .3s ease;
}

.bethune-gallery-showcase .owl-dots .owl-dot.active span,
.bethune-gallery-showcase .owl-dots .owl-dot:hover span {
    width: 30px;
    background: #9a214f;
}

.sitee__footer {
    padding: 10px 0 20px;
    color: rgba(255,255,255,.82);
    background:
        linear-gradient(135deg, rgba(59, 6, 24, .98), rgba(28, 75, 72, .94)),
        url("../img/bg12.jpg") center / cover no-repeat;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand img {
    width: 60px;
    border-radius: 50%;
    filter: drop-shadow(0 12px 22px rgba(0,0,0,.22));
}

.footer-brand h2 {
    margin: 0;
    color: var(--white);
    /* font-family: Georgia, "Times New Roman", serif; */
    /* font-size: 34px; */
}

.footer-brand p {
    margin: 4px 0 0;
    color: var(--gold);
    font-weight: 900;
}

.footer-brand .fcname{
    font-family: philosopher !important;
}

.footer-brand .fcdesc{
    font-size:10px;
}

.footer-links-row {
    align-items: stretch;
}

.sitee__footer .inner-box {
    height: 100%;
    padding: 24px 22px;
    border: 1px solid rgba(255,255,255,.14);
    border-top: 4px solid var(--gold);
    border-radius: 22px 6px 22px 6px;
    background: rgba(255,255,255,.07);
    box-shadow: 0 20px 42px rgba(11, 2, 6, .18);
}

.sitee__footer h3 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    color: var(--white);
    font-size: 18px;
    font-weight: 950;
    text-transform: uppercase;
}

.sitee__footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: var(--gold);
}

.sitee__footer li {
    margin-bottom: 12px;
}

.footer-link-list a,
.footer-contact-list a,
.footer-contact-list span {
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.55;
}

.footer-link-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color .22s ease, transform .22s ease;
}

.footer-link-list a::before {
    content: "\f105";
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--ink);
    background: var(--gold);
    font-family: "Font Awesome 6 Free";
    font-size: 11px;
    font-weight: 900;
}

.footer-link-list a:hover,
.footer-contact-list a:hover {
    color: var(--gold);
}

.footer-link-list a:hover {
    transform: translateX(4px);
}

.footer-contact-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.sitee__footer i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(255,255,255,.1);
}

.maps {
    overflow: hidden;
    border-radius: 18px 4px 18px 4px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 18px 34px rgba(11, 2, 6, .24);
}

.maps iframe {
    display: block;
    height: 220px;
}

.lower__ft {
    padding: 10px;
    color: rgba(255,255,255,.7);
    background: #25040f;
}

.lower__ft p {
    margin: 0;
}

.gallery-breadcrumb-banner {
    position: relative;
    min-height: 302px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.gallery-breadcrumb-banner > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-breadcrumb-banner .overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(59, 6, 24, .88), rgba(28, 75, 72, .58)),
        linear-gradient(0deg, rgba(35, 2, 14, .34), transparent 58%);
}

.gallery-breadcrumb-banner::after {
    content: "";
    position: absolute;
    inset: 26px;
    border: 1px solid rgba(239,198,100,.4);
    border-radius: 34px 8px 34px 8px;
    pointer-events: none;
}

.gallery-breadcrumb-banner .banner-content {
    max-width: 760px;
    padding: 76px 0;
    margin-left: 40px;
}

.gallery-breadcrumb-banner .section-label {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--gold);
}

.gallery-breadcrumb-banner .banner-title {
    margin: 0 0 18px;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    font-weight: 900;
    line-height: 1;
}

.gallery-breadcrumb-banner .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,.24);
    /* border-radius: 999px; */
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
}

.gallery-breadcrumb-banner .breadcrumb-item,
.gallery-breadcrumb-banner .breadcrumb-item a {
    color: rgba(255,255,255,.88);
    font-size: 14px;
    font-weight: 800;
}

.gallery-breadcrumb-banner .breadcrumb-item a:hover,
.gallery-breadcrumb-banner .breadcrumb-item.active {
    color: var(--gold);
}

.gallery-breadcrumb-banner .breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}

.gallery-breadcrumb-banner .breadcrumb-item + .breadcrumb-item::before {
    padding-right: 10px;
    color: rgba(255,255,255,.62);
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.photo-gallery-page {
    position: relative;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,242,229,.94)),
        url("../img/bg12.jpg") center / cover fixed;
}

.photo-gallery-page .common-title {
    color: var(--ink);
}

.photo-gallery-page .section-copy {
    max-width: 590px;
    color: var(--muted);
}

.gallery-page-heading {
    margin-bottom: 30px;
}

.gallery-category-card {
    position: relative;
    min-height: 360px;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(154, 33, 79, .14);
    border-top: 5px solid #9a214f;
    border-radius: 30px 8px 30px 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.gallery-category-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    object-fit: cover;
    transition: transform .7s ease, filter .7s ease;
}

.gallery-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(59, 6, 24, .88), rgba(59, 6, 24, .18) 62%, rgba(28,75,72,.1));
    transition: opacity .35s ease;
}

.gallery-card-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 20px 6px 20px 6px;
    color: var(--white);
    background: rgba(154, 33, 79, .86);
    backdrop-filter: blur(10px);
    transform: translateY(8px);
    transition: transform .35s ease, background .35s ease;
}

.gallery-card-content i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px 4px 16px 4px;
    color: var(--ink);
    background: var(--gold);
}

.gallery-card-content h3 {
    margin: 0;
    color: var(--white);
    font-size: 19px;
    font-weight: 950;
    line-height: 1.25;
}

.gallery-category-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.04);
}

.gallery-category-card:hover .gallery-card-content {
    transform: translateY(0);
    background: rgba(28, 75, 72, .9);
}

.single-photo-gallery-page .inner {
    position: relative;
}

.single-gallery-item {
    height: 100%;
}

.single-gallery-item a {
    position: relative;
    min-height: 320px;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(154, 33, 79, .14);
    border-top: 5px solid var(--gold);
    border-radius: 30px 8px 30px 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.single-gallery-item img {
    width: 100%;
    height: 320px;
    display: block;
    object-fit: cover;
    transition: transform .7s ease, filter .7s ease;
}

.single-gallery-item a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(59,6,24,.84), rgba(59,6,24,.08) 64%);
    opacity: .9;
    transition: opacity .35s ease;
}

.single-gallery-overlay {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 18px 4px 18px 4px;
    color: var(--white);
    background: rgba(154, 33, 79, .86);
    backdrop-filter: blur(10px);
    transform: translateY(18px);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease, background .35s ease;
}

.single-gallery-overlay i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px 4px 14px 4px;
    color: var(--ink);
    background: var(--gold);
}

.single-gallery-overlay h3 {
    margin: 0;
    color: var(--white);
    font-size: 17px;
    font-weight: 900;
}

.single-gallery-item:hover img {
    transform: scale(1.08);
    filter: saturate(1.1) contrast(1.04);
}

.single-gallery-item:hover a::after {
    opacity: 1;
}

.single-gallery-item:hover .single-gallery-overlay {
    transform: translateY(0);
    opacity: 1;
    background: rgba(28, 75, 72, .9);
}

.master-page {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,.97), rgba(248,242,229,.94)),
        url("../img/bg12.jpg") center / cover fixed;
}

.sidebar-menu,
.master-content {
    /* height: 100%; */
    border: 1px solid rgba(154, 33, 79, .14);
    border-top: 5px solid #9a214f;
    border-radius: 30px 8px 30px 8px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
}

.sidebar-menu {
    position: sticky;
    /* top: 96px; */
    overflow: hidden;
}

.sidebar-menu .tittle_menu {
    margin: 0;
    padding: 22px 24px;
    color: var(--white);
    font-size: 22px;
    font-weight: 950;
    background: linear-gradient(135deg, #9a214f, var(--teal-dark));
}

.sidebar-menu nav {
    padding: 18px;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid rgba(154, 33, 79, .12);
    /* border-radius: 999px; */
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
    background: #fff8ec;
    transition: color .25s ease, background .25s ease, transform .25s ease, border-color .25s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    color: var(--white);
    border-color: #9a214f;
    background: #9a214f;
    transform: translateX(4px);
}

.sidebar-menu a i:not(.drop2x) {
    width: 22px;
    color: var(--gold);
}

.sidebar-menu a:hover i,
.sidebar-menu a.active i {
    color: var(--gold);
}

.sidebar-menu .drop2x {
    margin-left: auto;
    transition: transform .22s ease;
}

.submenu2 {
    display: none;
    margin: 10px 0 4px 18px;
    padding-left: 14px;
    border-left: 2px solid rgba(154, 33, 79, .18);
}

.sidebar-menu .has-submenu.open > a {
    color: var(--white);
    border-color: #9a214f;
    background: #9a214f;
}

.sidebar-menu .has-submenu.open .drop2x {
    transform: rotate(180deg);
}

.submenu2 a {
    padding: 10px 12px;
    color: var(--muted);
    background: rgba(255,255,255,.72);
}

.master-content {
    padding: clamp(24px, 3vw, 36px);
}

.master-content .center_text {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(154, 33, 79, .14);
}

.master-content .section-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: #9a214f;
}

.master-content .msub-title {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    font-weight: 950;
}

.master-content .inner {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.8;
}

.master-content .inner h3 {
    margin: 24px 0 12px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 950;
}

.master-content ul,
.master-content ol {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding-left: 0;
    list-style-type: none;
}

.master-content li {
    position: relative;
    padding: 12px 14px 12px 42px;
    border: 1px solid rgba(154, 33, 79, .12);
    border-radius: 16px 4px 16px 4px;
    background: #fff8ec;
}

.master-content ul li::before,
.master-content ol li::before {
    position: absolute;
    left: 14px;
    top: 12px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--ink);
    background: var(--gold);
    font-family: "Font Awesome 6 Free";
    font-size: 11px;
    font-weight: 900;
}

.master-content ul li::before {
    content: "\f00c";
}

.master-content ol {
    counter-reset: masterSteps;
}

.master-content ol li {
    counter-increment: masterSteps;
}

.master-content ol li::before {
    content: counter(masterSteps);
    font-family: inherit;
    font-weight: 950;
}

.master-highlight {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    margin: 24px 0;
    padding: 20px;
    border: 1px solid rgba(239, 198, 100, .58);
    border-left: 5px solid var(--gold);
    border-radius: 24px 8px 24px 8px;
    background: linear-gradient(135deg, rgba(154,33,79,.08), rgba(28,75,72,.08));
}

.master-highlight > i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px 4px 18px 4px;
    color: var(--ink);
    background: var(--gold);
    box-shadow: 0 14px 28px rgba(35, 2, 14, .16);
}

.master-highlight h3 {
    margin-top: 0;
}

.master-highlight p {
    margin-bottom: 0;
}

.master-tab-page .tab-sidebar .nav-tabs {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 0;
}

.master-tab-page .tab-sidebar .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid rgba(154, 33, 79, .12);
    border-radius: 16px 4px 16px 4px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
    text-align: left;
    background: #fff8ec;
    transition: color .25s ease, background .25s ease, transform .25s ease, border-color .25s ease;
}

.master-tab-page .tab-sidebar .nav-link i {
    width: 22px;
    color: var(--gold);
}

.master-tab-page .tab-sidebar .nav-link:hover,
.master-tab-page .tab-sidebar .nav-link.active {
    color: var(--white);
    border-color: #9a214f;
    background: #9a214f;
    transform: translateX(4px);
}

.tab-master-content .tab-pane {
    min-height: 420px;
}

.tab-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.tab-info-grid > div,
.in_bx {
    height: 100%;
    padding: 20px;
    border: 1px solid rgba(154, 33, 79, .14);
    border-top: 4px solid var(--gold);
    border-radius: 24px 8px 24px 8px;
    background: #fff8ec;
    box-shadow: 0 16px 34px rgba(35, 2, 14, .1);
}

.tab-info-grid i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 16px 4px 16px 4px;
    color: var(--ink);
    background: var(--gold);
}

.tdesk .in_bx img {
    width: 118px;
    height: 118px;
    object-fit: cover;
    margin-bottom: 16px;
    border: 4px solid var(--gold);
    border-radius: 50%;
    background: var(--white);
}

.in_bx h4 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 950;
}

.in_bx p {
    margin-bottom: 14px;
    color: var(--muted);
}

.dtalis {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    /* border-radius: 999px; */
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
    background: #9a214f;
}

.dtalis:hover {
    color: var(--ink);
    background: var(--gold);
}

.techer-pop .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 28px 8px 28px 8px;
    box-shadow: 0 30px 90px rgba(35, 2, 14, .35);
}

.techer-pop .modal-header {
    align-items: center;
    padding: 18px 22px;
    color: var(--white);
    background: linear-gradient(135deg, #9a214f, var(--teal-dark));
}

.techer-pop .modal-title {
    color: var(--white);
    font-size: 24px;
    font-weight: 950;
}

.techer-pop .modal-body {
    padding: 24px;
    background: #fffaf0;
}

.topmodal {
    padding: 18px;
    border: 1px solid rgba(154, 33, 79, .14);
    border-radius: 22px 6px 22px 6px;
    background: var(--white);
}

.topmodal .user-img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border: 4px solid var(--gold);
    border-radius: 50%;
}

.topmodal h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 28px;
    font-weight: 950;
}

.topmodal h4 {
    margin: 0;
    color: #9a214f;
    font-size: 18px;
    font-weight: 900;
}

.about-teacher {
    margin-top: 20px;
}

.about-teacher .nav-tabs {
    gap: 8px;
    border: 0;
}

.about-teacher .nav-link {
    border: 1px solid rgba(154,33,79,.16);
    /* border-radius: 999px; */
    color: var(--ink);
    font-weight: 850;
    background: var(--white);
}

.about-teacher .nav-link.active,
.about-teacher .nav-link:hover {
    color: var(--white);
    border-color: #9a214f;
    background: #9a214f;
}

.academic-table {
    margin-top: 16px;
    border: 1px solid rgba(154,33,79,.14);
    border-radius: 18px 6px 18px 6px;
    background: var(--white);
}

.academic-table h3 {
    margin: 0;
    padding: 16px 18px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 950;
}

.academic-table .table {
    margin: 0;
}

.academic-table th {
    color: var(--ink);
    background: #fff2d3;
}

.master-table-page .master-data-table {
    margin-top: 24px;
    overflow: scroll;
    border: 1px solid rgba(154, 33, 79, .14);
    border-radius: 24px 8px 24px 8px;
    background: var(--white);
    box-shadow: 0 18px 38px rgba(35, 2, 14, .1);
}

.master-data-table .table {
    margin: 0;
    min-width: 760px;
    vertical-align: middle;
}

.master-data-table thead th {
    padding: 16px 18px;
    border: 0;
    color: var(--white);
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
    background: linear-gradient(135deg, #9a214f, var(--teal-dark));
}

.master-data-table tbody td {
    padding: 16px 18px;
    border-color: rgba(154, 33, 79, .12);
    color: var(--muted);
    font-weight: 700;
}

.master-data-table tbody tr {
    transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.master-data-table tbody tr:nth-child(even) {
    background: #fff8ec;
}

.master-data-table tbody tr:hover {
    background: #fff2d3;
    box-shadow: inset 5px 0 0 #9a214f;
}

.master-data-table tbody td:nth-child(2) {
    color: var(--ink);
    font-weight: 950;
}

.master-data-table a {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px 4px 14px 4px;
    color: var(--ink);
    background: var(--gold);
    box-shadow: 0 12px 24px rgba(35, 2, 14, .14);
    transition: color .22s ease, background .22s ease, transform .22s ease;
}

.master-data-table a:hover {
    color: var(--white);
    background: #9a214f;
    transform: translateY(-2px);
}

.principal-desk-page .principal-page-heading {
    max-width: 900px;
    margin-bottom: 28px;
}

.principal-desk-page .section-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: #9a214f;
}

.principal-desk-page .msub-title {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    font-weight: 950;
}

.principal-desk .inner-content {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.principal-profile-card,
.principal-message-card {
    border: 1px solid rgba(154, 33, 79, .14);
    border-top: 5px solid #9a214f;
    border-radius: 30px 8px 30px 8px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.principal-profile-card {
    position: sticky;
    top: 96px;
}

.principal-profile-card .p-img {
    margin: 0;
}

.principal-profile-card img {
    width: 100%;
    height: 420px;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.principal-profile-text {
    padding: 22px;
    text-align: center;
    background: linear-gradient(135deg, #fff8ec, #ffffff);
}

.principal-profile-text h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 26px;
    font-weight: 950;
}

.principal-profile-text p {
    margin: 0 0 6px;
    color: #9a214f;
    font-weight: 900;
}

.principal-profile-text span {
    color: var(--muted);
    font-weight: 800;
}

.principal-message-card {
    position: relative;
    padding: clamp(24px, 3vw, 38px);
}

.principal-message-card > i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 18px 4px 18px 4px;
    color: var(--ink);
    background: var(--gold);
    box-shadow: 0 14px 28px rgba(35, 2, 14, .16);
}

.principal-message-card p {
    color: var(--muted);
    /* font-size: 16px; */
    line-height: 1.85;
}

.principal-signature {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(154, 33, 79, .14);
}

.principal-signature .teach-name {
    margin: 0 0 5px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 950;
}

.principal-signature .subtttl {
    color: #9a214f;
    font-weight: 900;
}

.video-gallery-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(154, 33, 79, .14);
    border-top: 5px solid #9a214f;
    border-radius: 30px 8px 30px 8px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}

.video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #25040f;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.video-card-content {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    background: linear-gradient(135deg, #fff8ec, #ffffff);
}

.video-card-content i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px 4px 16px 4px;
    color: var(--ink);
    background: var(--gold);
    box-shadow: 0 12px 24px rgba(35, 2, 14, .14);
}

.video-card-content h3 {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 950;
}

.video-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(35, 2, 14, .2);
}

@media (max-width: 991px) {
    .principal-desk .inner-content {
        grid-template-columns: 1fr;
    }

    .principal-profile-card {
        position: static;
    }

    .principal-profile-card img {
        height: 360px;
    }
}

/* Global search start */

/* ==========================================================
   HEADER SEARCH
========================================================== */

.header-search-form {
    margin: 0;
}

.search-input-group {
    position: relative;
}

.search-input-group .form-control {
    height: 44px;
    padding: 0 48px 0 18px;
    border: 1px solid #e1e1e1;
    border-radius: 25px 0 0 25px !important;
    background: #ffffff;
    font-size: 14px;
    color: #333;
    box-shadow: none;
    transition: all 0.3s ease;
}

.search-input-group .searchbtn{
    border-radius: 0 25px 25px 0 !important;
}

.search-input-group .form-control:focus {
    border-color: #8b1738;

    box-shadow:
        0 0 0 3px rgba(139, 23, 56, 0.08);
}

.search-input-group .form-control::placeholder {
    color: #999;
}


.search-input-group .search-btn {
    position: absolute;

    right: 4px;
    top: 4px;

    width: 36px;
    height: 36px;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50% !important;

    background: #8b1738;

    color: #ffffff;

    transition: all 0.3s ease;
}

.search-input-group .search-btn:hover {
    background: #67102a;

    transform: scale(1.05);

    color: #fff;
}



/* ==========================================================
   SEARCH OVERLAY
========================================================== */

.search-overlay {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 90px 20px 40px;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.search-overlay.show {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}



/* ==========================================================
   BACKDROP
========================================================== */

.search-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(20, 10, 14, 0.72);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}



/* ==========================================================
   SEARCH BOX
========================================================== */

.search-modal-box {
    position: relative;

    width: 100%;
    max-width: 950px;

    max-height: calc(100vh - 130px);

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.28);

    transform:
        translateY(-25px)
        scale(0.97);

    transition:
        transform 0.35s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.search-overlay.show .search-modal-box {
    transform:
        translateY(0)
        scale(1);
}



/* ==========================================================
   MODAL HEADER
========================================================== */

.search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 25px;

    background:
        linear-gradient(
            135deg,
            #8b1738,
            #661027
        );

    color: #ffffff;
}


.search-heading {
    display: flex;
    align-items: center;

    gap: 14px;
}


.search-heading-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.13);

    border: 1px solid rgba(
        255,
        255,
        255,
        0.2
    );

    color: #f3c86a;

    font-size: 18px;
}


.search-heading span {
    display: block;

    margin-bottom: 2px;

    color: #f3c86a;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.2px;
}


.search-heading h2 {
    margin: 0;

    color: #fff;

    font-size: 23px;
    font-weight: 700;
}



/* ==========================================================
   CLOSE BUTTON
========================================================== */

.search-close-btn {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(
        255,
        255,
        255,
        0.25
    );

    border-radius: 50%;

    background: rgba(
        255,
        255,
        255,
        0.10
    );

    color: #fff;

    font-size: 18px;

    cursor: pointer;

    transition: all 0.3s ease;
}


.search-close-btn:hover {
    background: #ffffff;

    color: #8b1738;

    transform: rotate(90deg);
}



/* ==========================================================
   SEARCH QUERY
========================================================== */

.search-query-box {
    display: flex;
    align-items: center;

    gap: 8px;

    padding: 13px 25px;

    background: #fff8ea;

    border-bottom: 1px solid #f1e6ce;

    color: #666;

    font-size: 14px;
}


.search-query-box i {
    color: #8b1738;
}


.search-query-box strong {
    color: #8b1738;

    font-weight: 700;
}



/* ==========================================================
   RESULT AREA
========================================================== */

.search-result-area {
    min-height: 250px;

    overflow-y: auto;

    padding: 25px;
}


.search-result-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 18px;
    padding-bottom: 12px;

    border-bottom: 1px solid #eeeeee;
}


.search-result-title span {
    color: #222;

    font-size: 17px;
    font-weight: 700;
}


.search-result-title small {
    color: #888;

    font-size: 12px;
}


/* ==========================================================
   SEARCH RESULT ITEMS
========================================================== */

.search-overlay #content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* Remove unwanted old spacing */
.search-overlay #content br {
    display: none;
}

.search-overlay #content p,
.search-overlay #content div,
.search-overlay #content li {
    margin-top: 0;
    margin-bottom: 0;
}


/* Every returned search link */
.search-overlay #content a {
    position: relative;

    display: flex !important;
    align-items: center;

    width: 100%;

    min-height: 52px;

    padding: 13px 48px 13px 18px !important;

    margin: 0 !important;

    background: #ffffff !important;

    border: 1px solid #e9e9e9 !important;
    border-radius: 10px !important;

    color: #333333 !important;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.45;

    text-decoration: none !important;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);

    transition:
        all 0.25s ease;
}


/* Arrow */
.search-overlay #content a::after {
    content: "\f105";

    position: absolute;

    right: 18px;
    top: 50%;

    transform: translateY(-50%);

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    color: #b1b1b1;

    font-size: 14px;

    transition: all 0.25s ease;
}


/* Hover */
.search-overlay #content a:hover {
    background: #fff6f8 !important;

    border-color: rgba(139, 23, 56, 0.28) !important;

    color: #8b1738 !important;

    padding-left: 23px !important;

    box-shadow:
        0 7px 20px rgba(139, 23, 56, 0.08);
}


.search-overlay #content a:hover::after {
    right: 14px;

    color: #8b1738;
}


/* Optional alternating soft background */
.search-overlay #content a:nth-of-type(even) {
    background: #fcfcfc !important;
}


/* Keyboard accessibility */
.search-overlay #content a:focus {
    outline: none;

    border-color: #8b1738 !important;

    box-shadow:
        0 0 0 3px rgba(139, 23, 56, 0.10);
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .search-overlay #content {
        gap: 8px;
    }

    .search-overlay #content a {
        min-height: 48px;

        padding: 11px 42px 11px 14px !important;

        font-size: 13px;
    }

    .search-overlay #content a::after {
        right: 14px;
    }

    .search-overlay #content a:hover {
        padding-left: 18px !important;
    }

}


/* ==========================================================
   LOADING
========================================================== */

.search-loading {
    min-height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    text-align: left;
}


.search-loading strong {
    display: block;

    margin-bottom: 3px;

    color: #333;

    font-size: 16px;
}


.search-loading p {
    margin: 0;

    color: #888;

    font-size: 13px;
}


.search-spinner {
    width: 42px;
    height: 42px;

    border: 4px solid #eeeeee;

    border-top-color: #8b1738;

    border-radius: 50%;

    animation:
        searchSpin 0.8s linear infinite;
}


@keyframes searchSpin {

    to {
        transform: rotate(360deg);
    }

}



/* ==========================================================
   EMPTY / ERROR
========================================================== */

.search-empty {
    min-height: 220px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    text-align: center;
}


.search-empty-icon {
    width: 65px;
    height: 65px;

    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff3f6;

    color: #8b1738;

    font-size: 24px;
}


.search-empty h3 {
    margin-bottom: 7px;

    color: #333;

    font-size: 19px;
    font-weight: 700;
}


.search-empty p {
    max-width: 450px;

    margin: 0;

    color: #777;

    font-size: 14px;
}


.search-empty strong {
    color: #8b1738;
}



/* ==========================================================
   SCROLLBAR
========================================================== */

.search-result-area::-webkit-scrollbar {
    width: 7px;
}


.search-result-area::-webkit-scrollbar-track {
    background: #f5f5f5;
}


.search-result-area::-webkit-scrollbar-thumb {
    background: #c7c7c7;

    border-radius: 10px;
}


.search-result-area::-webkit-scrollbar-thumb:hover {
    background: #8b1738;
}



/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 767px) {

    .search-overlay {
        padding: 55px 15px 25px;
    }


    .search-modal-box {
        max-height:
            calc(100vh - 80px);

        border-radius: 14px;
    }


    .search-modal-header {
        padding: 17px;
    }


    .search-heading-icon {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }


    .search-heading h2 {
        font-size: 18px;
    }


    .search-heading span {
        font-size: 10px;
    }


    .search-close-btn {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }


    .search-query-box {
        padding: 11px 17px;

        font-size: 13px;
    }


    .search-result-area {
        padding: 18px;
    }


    .search-result-title {
        display: block;
    }


    .search-result-title span {
        display: block;

        margin-bottom: 3px;
    }

}

/* Global search end */

.search-box {
    width: 60%;
    max-width: 600px;
    border: 2px solid white;
    padding: 10px;
    border-radius: 30px;
    background: transparent; 
    color: #fff;
    font-size: 18px;
    text-align: center;
}
.search-box::placeholder{
    color:#fff;
}
.search-box:focus-visible{
    outline:0;
}

.menu-items {
  margin-top: 30px;
  width: 300px;
}
.menu-items .over-menu-items {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border: 1px solid white;
    background: transparent;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
    text-align: center;
}

.menu-items button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.inner-bx{
    text-align:justify;
}

.summernote-content {
    width: 100%;
    max-width: 100%;
}

/* Summernote table */
.summernote-content figure.table {
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
}

.summernote-content table {
    width: 100% !important;
    min-width: 700px;
    border-collapse: collapse;
    table-layout: auto !important;
}

.summernote-content table th,
.summernote-content table td {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    vertical-align: middle;
}

/* ISBN should not break/overlap */
.summernote-content table td:nth-child(2),
.summernote-content table th:nth-child(2) {
    white-space: nowrap;
    min-width: 130px;
}

/* Title */
.summernote-content table td:nth-child(3),
.summernote-content table th:nth-child(3) {
    min-width: 180px;
}

/* Author */
.summernote-content table td:nth-child(4),
.summernote-content table th:nth-child(4) {
    min-width: 150px;
}

/* Publisher */
.summernote-content table td:nth-child(5),
.summernote-content table th:nth-child(5) {
    min-width: 130px;
}

@media (max-width: 767px) {
    .summernote-content {
        overflow-x: auto;
    }

    .summernote-content table {
        min-width: 700px !important;
    }

    .summernote-content table td,
    .summernote-content table th {
        font-size: 14px;
        padding: 8px !important;
    }
}