/*****************************************************/
/* Custom CSS designed by: Umar Bashir */
/* Dated: 15.08.2025 */
/*****************************************************/
/* 
0. HTML Elements (Line No: 19)
1. Header Top (Line No: 28)
2. Main Menu (Line No: 134)
3. Top Panel Bar (Line No: 287)
4. News Ticker (Line No: 360)
5. Header (Line No: 422)
6. Theme Switch (Line No: 464)
7. Hero Buttons (Line No: 522)
8. Footer (Line No: 624)
9. Sidebar (Line No: 674)
10. New Header (Line No: 714)
11. Search Area (Line No: 974)
12. Notices Accordion (Line No. 1089)
13. General Scroll Bar (Line No. 1158)
14. Buttons (Line No. 1205)
*/ 


/***********************************/
/* ===== 0. HTML Elements ===== */
/***********************************/
a:hover{
  color: var(--link-hover-color);
}



/***********************************/
/* ===== 1. Header Top Area ===== */
/***********************************/
.header-top-area-wrapper {
    background: var(--header-top-bg-color);
    /* padding: 3px 0; */
    height: 40px; /* Fixed for desktop */
    border-bottom: 1px solid #ddd;

}

.header-top-one-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ===== Left Section ===== */
.header-top-one-wrapper .left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top-one-wrapper .left .mail a,
.header-top-one-wrapper .left .site p {
    margin: 0;
    color: var(--header-top-color);
    text-decoration: none;
    /* font-size: 12px; */
}

.header-top-one-wrapper .left i {
    margin-right: 6px;
    color: #ffd700; /* Gold for icons */
}

/* ===== Right Section ===== */
.header-top-one-wrapper .right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Top Navigation */
.top-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.top-nav li a {
    color: var(--header-top-color);
    text-decoration: none;
    transition: color 0.3s;
    font-size:0.75rem;
}

.top-nav li a:hover {
    color: var(--link-hover-color);
}

/* Social Links */
.social-wrapper-one {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.social-wrapper-one li a {
    color: var(--text-color-light2);;
    /* font-size: 14px; */
    font-size: 0.875rem;
    transition: color 0.3s;
}

.social-wrapper-one li a:hover {
    color: var(--link-hover-color);
}


/* Vertical line to separate the links (Umar Bashir 15.08.2025) */
.header-top-one-wrapper .left .mail a {
    position: relative;
    padding: 0 12px;       /* space between text and line */
    text-decoration: none; /* optional */
}
.header-top-one-wrapper .left .mail a:hover {
   color: var(--secondary-color);
}

.header-top-one-wrapper .left .mail a:first-child {
    padding-left: 0; /* remove left padding from the first link */
}

.header-top-one-wrapper .left .mail a:not(:last-child) {
    border-right: 1px solid #4b4b4b; /* separator line */
}
/* Vertical line ends */



/***********************************/
/* ===== 2. Main Menu ===== */
/* a. change + to chevron in menus & sub-menus */
/***********************************/
.navigation__menu--item.has-arrow::before {
  position: absolute;
  content: "\e906"; /* chevron-down */
  font-family: var(--icon-font);
  top: 50%;
  right: -13px;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.4s ease, color 0.4s ease;
  color: var(--rt-white);
  font-size: 10px;
  color: var(--icon-color) !important;
}

.navigation__menu--item.has-arrow:hover::before {
  transform: translateY(-50%) rotate(180deg); /* rotates to chevron-up */
}


/* b. Add Dashed divider for header submenus */
.header .navigation__menu ul.submenu > li,
.header .navigation__menu ul.sub__style > li {
    border-bottom: 1px dotted #d9dee3; /* adjust color to your theme */
}

.header .navigation__menu ul.submenu,
.header .navigation__menu ul.sub__style{
    padding: 10px 0px;
}

/* Remove divider on the last item of each submenu */
.header .navigation__menu ul.submenu > li:last-child,
.header .navigation__menu ul.sub__style > li:last-child {
    border-bottom: none;
}

/* Make links fill the row so the divider spans nicely */
.header .navigation__menu ul.submenu > li > a,
.header .navigation__menu ul.sub__style > li > a {
    display: block;
    padding: 5px 0px;
    text-decoration: none;
}

/* ===== dashed divider on ALL submenu levels ===== */
.header.header-one .navigation__menu ul.submenu.sub__style > li,
.header.header-one .navigation__menu ul.sub__style > li {
    border-bottom: 1px dashed #d9dee3 !important; /* tweak color if needed */
}

/* remove divider on last item of each submenu */
.header.header-one .navigation__menu ul.submenu.sub__style > li:last-child,
.header.header-one .navigation__menu ul.sub__style > li:last-child {
    border-bottom: none !important;
}

/* make submenu links fill the row so the divider spans neatly */
.header.header-one .navigation__menu ul.submenu.sub__style > li > a,
.header.header-one .navigation__menu ul.sub__style > li > a {
    display: block;
    text-decoration: none;
}

/* c. remove any underline in menus & sub-menus on hover */
/* ===== nuke ANY underline/line-on-hover (including pseudo-element bars) ===== */
.header.header-one .navigation__menu--item__link,
.header.header-one .navigation__menu ul.submenu.sub__style a,
.header.header-one .navigation__menu ul.sub__style a {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    /* font-weight: 500; */
}

/* hover/focus states */
.header.header-one .navigation__menu--item__link:hover,
.header.header-one .navigation__menu--item__link:focus,
.header.header-one .navigation__menu ul.submenu.sub__style a:hover,
.header.header-one .navigation__menu ul.sub__style a:hover,
.header.header-one .navigation__menu ul.submenu.sub__style a:focus,
.header.header-one .navigation__menu ul.sub__style a:focus {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    font-weight: 500;
    color: var(--link-hover-color);
}

/* kill theme underlines that use ::before/::after bars */
.header.header-one .navigation__menu--item__link::before,
.header.header-one .navigation__menu--item__link::after,
.header.header-one .navigation__menu ul.submenu.sub__style a::before,
.header.header-one .navigation__menu ul.submenu.sub__style a::after,
.header.header-one .navigation__menu ul.sub__style a::before,
.header.header-one .navigation__menu ul.sub__style a::after {
    content: none !important;
    display: none !important;
    font-weight: 500;
}

.header.header-one .navigation__menu ul.submenu.sub__style{
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-top: 1px solid #f2f2f2;
}
.navigation ul{
    display: flex;
    max-width: max-content;
    gap: 45px;
    position: relative;
    padding: 0;
    margin: 0;
}

.navigation__menu--item__link{
    position: relative;
    font-size: 14px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    padding: 30px 0;
    display: block;
    color: var(--rt-heading);
}


.navigation__menu--item__link2{
    position: relative;
    font-size: 15px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform:capitalize;
    padding: 10px 0;
    display: block;
    color: var(--main-menu-color);
}
.navigation__menu--item:hover > a:hover{
    color: var(--link-hover-color);
}
.navigation__menu--item:hover > a:focus{
    color: var(--link-hover-color);
}
.navigation__menu--item:hover > a:active{
    color: var(--link-hover-color);
}




/***********************************/
/* ===== 3. Top Panel Bar ===== */
/***********************************/
.panel-container { position: relative; }

/* Closed: panel fully hidden; only half of the button shows */
.panel {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    transition: transform 280ms ease;
    will-change: transform;

    width: min(92vw, 90%);
    background: #fff;
    border-radius: 0 0 14px 14px;
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px 20px 36px;
    z-index: 2;
}

/* Open: fully visible and on top of everything */
.panel.open {
    transform: translate(-50%, 0);
    z-index: 2147483647;
}

/* Slim circular toggle; caret sits toward bottom so it's fully visible when closed */
.panel-toggle {
    position: absolute;
    left: 50%;
    bottom: -20px;             /* half of height (36px) */
    transform: translateX(-50%);
    width: 60px;
    height: 60px;              /* slimmer than 50px */
    border-radius: 50%;
    border: none;
    /* background: var(--rt-primary); */
    background: var(--tertiary-color);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: flex-end;      /* keep icon in the visible half when closed */
    justify-content: center;
    padding-bottom: 4px;        /* nudge icon fully into view */
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: background-color 160ms ease, transform 280ms ease;
}
.panel.open .panel-toggle {
    align-items: center;        /* center icon when open */
    padding-bottom: 0;
}
.panel-toggle:focus-visible {
    outline: 3px solid #66a3ff;
    outline-offset: 3px;
}
.panel-toggle:hover { background-color: #6f091d; }

/* Icon can be text (▾, ↓, etc.) or an inline SVG; it rotates on open */
.panel-toggle .caret {
    display: inline-block;
    transition: transform 280ms ease;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.panel.open .panel-toggle .caret { transform: rotate(180deg); }



/***********************************/
/* ===== 4. News Ticker ===== */
/***********************************/
.news-ticker-wrapper {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--border-color);
}

.news-ticker1 {
    flex: 1; /* take remaining width */
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 30px;
    position: relative;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 60s linear infinite;
}

/* Stop animation on hover */
.news-ticker1:hover .ticker-content {
    animation-play-state: paused;
}

.news-ticker1 a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 5px;
    cursor: pointer;
    font-size: 0.813rem;
}

.news-ticker1 a:hover {
    text-decoration: underline;
}

/* Separator */
.news-ticker1 a::after {
    content: "|";
    margin-left: 15px;
    color: var(--border-color);
}

.news-ticker1 a:last-child::after {
    content: "";
}

.view-all-ticker {
    flex: 0 0 auto; /* fixed width */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    height: 30px; /* same height as ticker */
    white-space: nowrap;
    font-size: 0.75rem;
    border-left:1px solid var(--border-color);
}

.view-all:hover {
    background-color: var(--primary-color-dark);
}

/* Scroll animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}




/***********************************/
/* 5. Header */
/***********************************/
.header.v__3 .header__wrapper {
    margin-top: 0;
    padding: 15px 120px;
    border-bottom: none;
}

.header__logo .header__logo--link img{
  height: 50px;
}

.header__sticky {
  position: relative;
  top: 0;
  display: block;
  width: 100%;
  box-shadow: none;
  background: var(--main-menu-bg-color);
  z-index: 999;
  margin: auto;
  align-items: center;
  left: 0;
  border-radius: 0;
  transition: all 0.5s ease-in-out;
  top: 0;
  transform: translateY(0);
  /* box-shadow: 0px 7px 18px #1810100d; */
  border-bottom: 1px solid #f2f2f2;
    /* margin-bottom: 20px; */
  /* height: 80px; */
  padding-top:0px;
}

.fa-brands:hover
{
  color:var(--link-hover-color);
}



/***********************************/
/* 6. Theme switch */
/***********************************/

/* Switch Container */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px; /* height set to 20px */
}

    /* Hide Checkbox */
    .theme-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* Slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(204, 204, 204);;
    transition: 0.4s;
    border-radius: 20px;
    border: 1px solid #646464;
}

    /* Slider Circle */
    .slider:before {
        position: absolute;
        content: "";
        height: 14px; /* slightly smaller than height */
        width: 14px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }

/* When checked */
input:checked + .slider {
    background-color: var(--primary-color); /* dark theme color */
    border:1px solid #646464;
}

input:checked + .slider:before {
    transform: translateX(20px); /* move knob to right */
}


/* ***************************/
/* 7. Hero Buttons */
/* ***************************/
.hero-btns {
/*    background: var(--primary-color);*/
    background: #3f017c;
    padding: 70px 0;
    margin-top: -30px;
}

.hero-btns .thm-btn {
  padding: 17px 38px; 
  margin-top: 10px;
  margin-right: 10px;
  background: var(--primary-color-light2);
  color:var(--primary-color);
}

.ul_li, .ul_li_right, .ul_li_center, .ul_li_between {
  margin: 0px;
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
  align-items: center; }

.ul_li > li, .ul_li_right > li, .ul_li_center > li, .ul_li_between > li {
  float: left;
  list-style: none;
  display: inline-block; }

.ul_li {
  justify-content: flex-start; }

.ul_li_center {
  justify-content: center; }

  .thm-btn {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  background: var(--color-primary);
  border-style: none;
  padding: 19px 38px;
  align-self: center;
  position: relative;
  line-height: 1.2;
  transition: all 0.2s cubic-bezier(0.68, 0.01, 0.58, 0.75);
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.01px;
  /* border-radius: 80px; */
  border-radius: 10px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  z-index: 1;
  color: #fff; 
}

.thm-btn .icon svg {
-webkit-transition: 0.3s;
-o-transition: 0.3s;
transition: 0.3s; 
color:var(--primary-color);
}


.thm-btn:hover .icon svg {
  -webkit-transform: translateX(5px);
  -ms-transform: translateX(5px);
  transform: translateX(5px); 
}

.thm-btn span {
margin-left: 10px; 
color: var(--primary-color);
}

.thm-btn--stroke-white {
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: none;
background: transparent;
color: #fff; 
}

.thm-btn--stroke-white svg path {
  fill: #fff;
  fill: var(--primary-color);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s; 
}


/* Hover effect */
.thm-btn.sec-btn:hover {
  background-color: white;
  color: var(--primary-color); /* replace with your primary color */
  border-color: var(--primary-color);
}

/* Change SVG icon color on hover */
.thm-btn.sec-btn:hover svg path {
  fill: var(--primary-color);
}




/* ==========================================
   8. FOOTER - GENERAL
========================================== */

.footer {
    background-color: var(--footer-bg-color);
}

.rts-footer-copy-right,
.copyright {
    background-color: var(--copyright-bg-color);
}

.copyright {
    color: var(--rt-body);
}

.rts-footer-copy-right.v_1 a {
    color: var(--text-color-light2);
}

    .rts-footer-copy-right.v_1 a:hover {
        color: var(--link-hover-color);
    }

.rts-footer-copy-right .container {
    max-width: 100vw;
    margin-inline: auto;
    padding-inline: 16px;
}

.progress-wrap::after {
    color: var(--secondary-color);
}


/* ==========================================
   FOOTER - COMMON WIDGETS
========================================== */

.footer__widget--logo {
    margin-bottom: 20px;
}

.footer__widget--title {
    font-size: 0.875rem;
}

.footer__widget--description {
    color: var(--rt-body);
    font-size: 0.75rem;
    line-height: 1.5;
}

    .footer__widget--description span {
        color: var(--text-color-light2);
        font-size: 1.1rem;
        line-height: 1.5;
    }

.footer__widget .last-updated {
    color: var(--text-color-light3);
    font-size: 0.7rem;
}


/* ==========================================
   FOOTER - MAIN LAYOUT
========================================== */

.footer-main-layout {
    display: flex;
    align-items: flex-start;
}

.footer-identity,
.footer-menus-area {
    min-width: 0;
}


    /* ==========================================
   FOOTER - UNIVERSITY IDENTITY
========================================== */

    /* Logo */

    .footer-identity .footer__widget--logo {
        margin-bottom: 20px;
    }

        .footer-identity .footer__widget--logo img {
            display: block;
            width: 80px;
            max-height: 85px;
            height: auto;
            object-fit: contain;
        }

/* University name */

.footer-identity-name {
    color: var(--text-color-light2);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 3px;
    font-family: var(--font-primary);
}

/* Address */

.footer-identity .footer__widget--description {
    color: #999999;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* Website */

.footer-website-link {
    display: inline-block;
    color: var(--text-color-light2);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 2px;
    transition: color 0.2s ease;
}

    .footer-website-link:hover {
        color: var(--link-hover-color);
    }

/* Certification badges */

.footer-certification-badges {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 34px;
    margin: 12px 0 18px;
}

    .footer-certification-badges img {
        display: block;
        width: auto;
        max-width: 85px;
        height: 32px;
        object-fit: contain;
        object-position: left center;
    }

/* Social media - General */

.footer__widget--social .social li a {
    border: 1px solid #4b4b4b;
    border-radius: 10px;
}

    .footer__widget--social .social li a:hover {
        background-color: var(--link-hover-color);
        border: 1px solid #4b4b4b;
    }

/* Social media - University identity */

.footer-identity-social {
    margin: 0 0 12px;
}

    .footer-identity-social .social {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .footer-identity-social .social li {
            margin: 0;
            padding: 0;
        }

            .footer-identity-social .social li a {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                border: 1px solid #4b4b4b;
                border-radius: 10px;
                color: var(--text-color-light2);
                background: transparent;
                font-size: 15px;
                transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
            }

                .footer-identity-social .social li a:hover {
                    color: #ffffff;
                    background-color: var(--link-hover-color);
                    border-color: var(--link-hover-color);
                }

/* Last updated */

.footer-identity-updated {
    color: var(--text-color-light3);
    font-size: 0.7rem;
    line-height: 1.5;
}

    .footer-identity-updated > * {
        margin-bottom: 0;
    }


/* ==========================================
   FOOTER - MENU GRID
========================================== */

.footer-menus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}

.footer-menu-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0;
}

    .footer-menu-column .footer__widget {
        width: 100%;
        margin: 0;
    }

/* Menu links */

.footer__widget--menu {
    font-size: 0.6rem;
}

    .footer__widget--menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .footer__widget--menu ul li {
            padding: 0;
        }

            .footer__widget--menu ul li a {
                color: #bab9b9;
                font-size: 0.8rem;
                transition: color 0.2s ease;
            }

                .footer__widget--menu ul li a:hover {
                    color: var(--link-hover-color);
                }

            .footer__widget--menu ul li:not(:last-child) {
                margin-bottom: 5px;
            }


/* ==========================================
   FOOTER - POLICY LINKS
========================================== */

.footer-policies {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

    .footer-policies a {
        position: relative;
        color: var(--text-color-light2);
        font-size: 0.75rem;
        line-height: 2;
        text-decoration: none;
        transition: color 0.15s ease;
    }

        .footer-policies a:not(:last-child)::after {
            content: "|";
            color: var(--text-color-light2);
            margin-left: 1rem;
            pointer-events: none;
        }

        .footer-policies a:hover,
        .footer-policies a:focus-visible {
            color: var(--secondary-color);
        }

        .footer-policies a:focus-visible {
            outline: 2px solid var(--secondary-color);
            outline-offset: 3px;
            text-decoration: underline;
            text-underline-offset: 2px;
        }


/* ==========================================
   FOOTER - SUPPORT BAR
========================================== */

.support-bar {
    padding: 10px 0;
}

.support-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.support-label {
    color: var(--text-color-light2);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.support-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.support-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1;
}

.support-icon {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4A4B4C;
    color: #E0E0E0;
    font-size: 12px;
}


/* ==========================================
   FOOTER - RESPONSIVE
========================================== */

/* Tablets */

@media (max-width: 991.98px) {

    .footer-menus-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 20px;
    }
}

/* Mobile and tablets */

@media (max-width: 767.98px) {

    .footer-main-layout {
        row-gap: 35px;
    }

    .footer-identity {
        margin-bottom: 10px;
    }

        .footer-identity .footer__widget--logo {
            margin-bottom: 15px;
        }

    .footer-certification-badges {
        margin: 12px 0 16px;
    }

    .footer-menus-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-wrap {
        justify-content: center;
        row-gap: 8px;
    }
}

/* Small mobile */

@media (max-width: 575.98px) {

    .footer-menus-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-menu-column {
        gap: 20px;
    }

    .footer-identity-name {
        font-size: 1rem;
    }

    .footer-identity .footer__widget--description,
    .footer-website-link {
        font-size: 0.82rem;
    }

    .footer-policies {
        gap: 0.25rem 0.75rem;
    }

        .footer-policies a:not(:last-child)::after {
            margin-left: 0.75rem;
        }
}





/* ***************************/
/* 9. Sidebar */
/* ***************************/
.side-bar button i {
  color: #ffffff;
  height: 50px;
  width: 50px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  margin-top: -53px;
  font-size: 27px;
  background: var(--primary-color);
}

.mobile-menu-main nav ul li.has-droupdown::after {
  position: absolute;
  content: "+";
  font-family: var(--fontawesome) !important;
  font-size: 0.875rem;
  right: 0;
  font-weight: 400;
  top: 5px;
  padding: 8px 13px;
  color: #000;
  /* background: var(--primary-color) !important; */
  background:none !important;
  pointer-events: none;
  cursor: pointer;
}

.menu__trigger {
        display: none;
}


/* ******************************************************************** */
/* 10. New Header */
/* ******************************************************************** */

.site-header{
    border-bottom:1px solid var(--border-color-light);
}

/* Service Icons */
.service-icon {
  display: flex;
  align-items: center;
  margin-right: 20px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-icon i {
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-label {
  display: none;
  margin-left: 6px;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.service-icon:hover i {
  transform: scale(1.2);
}

.service-icon:hover .service-label {
  display: inline-block;
  opacity: 1;
  transform: translateX(0);
}

.logo-header img{
  max-height:65px; 
  height: 65px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  /* Social icons row full-width & centered */
  .social-column {
    justify-content: center !important;
    padding-bottom: 10px;
    border-bottom: 1px solid #f2f2f2;
  }

  /* Logo left-aligned */
  .logo {
    justify-content: flex-start !important;
  }
  .logo-header img{
    position: relative;
    top:5px;
    height: 45px ;
    align-items: center;
  }
}


/* Department Name*/
/* Common */
.dept-link {
    display: block;
    text-decoration: none;
}

.dept-name {
    line-height: 1.2;
}

/* DESKTOP AND LAPTOP: Two separate lines */
@media (min-width: 992px) {
    .dept-name {
        display: block !important;
        text-align: left;
        white-space: normal;
    }

        .dept-name .dept-prefix {
            display: block !important;
            font-family: inherit;
            font-size: 15px !important;
            font-weight: 400 !important;
            color: var(--text-muted);
        }

        .dept-name .dept-title {
            display: block !important;
            font-family: inherit;
            font-size: 26px !important;
            font-weight: 700 !important;
            color: var(--primary-color);
        }
}

/* TABLETS AND MOBILE: One continuous line */
@media (max-width: 991.98px) {
    .dept-name {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 100%;
        min-width: 0;
        text-align: center;
        white-space: nowrap !important;
        overflow: hidden;
    }

        .dept-name .dept-prefix,
        .dept-name .dept-title {
            display: inline !important;
            font-family: inherit !important;
            font-size: clamp(12px, 3vw, 19px) !important;
            font-weight: 600 !important;
            font-style: normal !important;
            line-height: 1.2;
            color: var(--primary-color) !important;
            min-width: 0;
        }

        .dept-name .dept-title {
            overflow: hidden;
            text-overflow: ellipsis;
        }
}


/* ====== Service slider ====== */
    .service-scroll-wrapper {
      position: relative;
      width: 100%;
      overflow: hidden; /* hides extra items */
    }
    .service-scroll {
      display: flex;
      transition: transform 0.3s ease;
      gap: 8px;
    }

    .service-card {
      flex: 0 0 calc((100% - 16px) / 3); /* show exactly 3 per row, account for 2 gaps */
      display:flex;
      align-items:center;
      gap:6px;
      padding:6px 10px;
      border:1px solid var(--border-color);
      border-radius:10px;
      background:var(--primary-color-light);
      font-size:0.813rem;
      color:var(--primary-color);
      text-decoration:none;
      white-space:nowrap;
      transition:transform .18s, background .18s, border-color .18s;
    }
    .service-card .icon {
      width:20px;height:20px;
      display:inline-flex;align-items:center;justify-content:center;
      font-size:11px;
      background:var(--primary-color);
      border-radius:50%;
      color:var(--primary-color-light);
      transition:background .18s, color .18s;
    }
    .service-card:hover {
      background:#f5f7ff;
      border-color:#cdd6ff;
      transform:translateX(1px);
    }
    .service-card:hover .icon {
      background:var(--primary-color);
      color:#fff;
    }

    /* ====== Scroll nav buttons ====== */
    .scroll-btn {
      position: absolute;
      top:50%;transform:translateY(-50%);
      width:28px;height:28px;
      border-radius:50%;
      border:1px solid #e9e9e9;
      background:rgba(255,255,255,0.95);
      box-shadow:0 2px 6px rgba(0,0,0,0.12);
      display:flex;align-items:center;justify-content:center;
      color:var(--primary-color);
      opacity:0;visibility:hidden;
      transition:opacity .2s,visibility .2s;
      cursor:pointer;
      z-index:5;
    }
    .scroll-btn.left { left:5px; }
    .scroll-btn.right { right:5px; }
    .service-scroll-wrapper:hover .scroll-btn {
      opacity:1;visibility:visible;
    }

    /* ====== Column alignment ====== */
    .social-col { justify-content:center; }
    .logo-col { justify-content:flex-start; }
    .controls-col { justify-content:flex-end; }
    @media(min-width:992px){
      .social-col{justify-content:flex-start;}
      .logo-col{justify-content:center;}
    }


/* ===== Custom Language Dropdown ===== */
.custom-dropdown {
    position: relative;
    font-size: 12px;
}

.custom-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    font-weight: 500;
}

.custom-dropdown-btn:hover {
    background: #f5f7ff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.custom-dropdown-btn i {
    font-size: 10px;
    transition: transform 0.2s;
}

.custom-dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    list-style: none;
    padding: 4px 0;
    margin: 0;
    display: none;
    min-width: 100%;
    z-index: 10;
}

.custom-dropdown-menu li {
    padding: 0px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.custom-dropdown-menu li:hover {
    background: #f0f4ff;
}

.custom-dropdown-menu li.active {
    font-weight: 600;
    color: var(--primary-color);
}






/* ===== Search Button & Input ===== */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.search-btn:hover {
    background: var(--link-hover-color);
    color: #fff;
}

.search-input {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    outline: none;
    transition: width 0.3s ease, opacity 0.3s ease;
    font-size: 12px;
}

.search-wrapper.active .search-input {
    width: 140px;
    opacity: 1;
}

/* Adjust dropdown and search for mobile */
@media(max-width:991px){
    .custom-dropdown-btn { font-size:11px; padding:3px 8px; }
    .search-input { width:100px; }
}


/* ************************************************* */
/* 11. Search Input Area */
/* ************************************************ */
.search-input-area {
  transition: all 500ms ease;
  visibility: hidden;
  transform: translateY(-100%);
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 57px 0;
  background: white;
  box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.46);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-input-area.show {
  visibility: visible;
  transform: inherit;
  opacity: 1;
}

.search-input-area .search-input-inner {
  display: flex;
  align-items: center;
  position: relative;
}

.search-input-area .search-input-inner .input-div {
  width: 80%;
  display: flex;
  align-items: center;
  margin: auto;
}

.search-input-area .search-input-inner .input-div input {
  background: #F7F7F7;
  border-radius: 5px;
  height: 55px;
  border: 1px solid transparent;
}
.search-input-area .search-input-inner .input-div input:focus {
  border: 1px solid var(--rt-primary);
}

.search-input-area .search-input-inner .input-div button {
  max-width: max-content;
  padding: 18px 21px;
  background: var(--rt-primary);
  display: flex;
  color: #fff;
  align-items: center;
  justify-content: center;
  display: block;
  margin-left: -9px;
  border-radius: 0 5px 5px 0;
  font-size: var(--p-s);
}

.search-input-area .search-close-icon {
  cursor: pointer;
  position: absolute;
  right: 38px;
  top: 22px;
}

.search-input-area .search-close-icon i {
  position: relative;
  z-index: 1;
  color: var(--primary-color-light);
  transition: 0.3s;
  font-size: 18px;
}


.search-input-area .search-close-icon i::after {
  position: absolute;
  height: 45px;
  width: 45px;
  content: "";
  border-radius: 5px;
  background: var(--primary-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: 0.3s;
}

#search-input{
  width: 80vw; 
  height: 65px;
  padding: 10px;
}

.search-input-area .search-input-inner .input-div button {
    max-width: max-content;
    padding: 18px 21px;
    background: var(--primary-color);
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: center;
    display: block;
    margin-left: -9px;
    border-radius: 0 5px 5px 0;
    font-size: var(--p-s);
}


/* ***************************** */
/* 12. Notices Accordion */
/* **************************** */

.rts-program{
    
}

.rts-program .program-accordion .accordion .accordion-item{
/*  border: 1px solid var(--border-color-light);*/
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 18px rgba(43, 47, 51, 0.08);

}

.rts-program .program-accordion .accordion .accordion-item .accordion-body-content{
  height: 300px;
  overflow-y:scroll;
}

.rts-program .program-accordion .accordion .accordion-button
 {
    font-size: 1.1rem;
    font-family: var(--font-primary);
    color: var(--primary-color);
    padding: 17px 20px;
    line-height: 1.4;
    border: 1px solid var(--border-color-light);
    font-weight: 500;
 }

 .rts-program .program-accordion .accordion .accordion-button:focus
 {
    background-color: var(--primary-color-light);
 }

  .rts-program .program-accordion .accordion .accordion-button:not(.collapsed)
 {
    background-color: var(--primary-color-light);
 }

.accordion-body-content .accordion-div{
/*  padding-bottom: 20px;*/
  padding-right: 20px;
}

.accordion-body-content .accordion-list{
   padding-left: 50px;
   padding-top: 10px;
   list-style: disc;
}
.accordion-body-content .accordion-list li{
   border-bottom: 1px dashed var(--primary-color-light3);
   padding: 5px;
}

.accordion-body-content .accordion-list li a{
   font-size: 0.875rem;
   color:var(--primary-color);
   font-weight: 400;
}
.accordion-body-content .accordion-list li a:hover{
   font-weight: 400;
   color: var(--primary-color);
   text-decoration: underline;
}

.accordion-body-content .accordion-list li span{
   font-size: 0.75rem;
   color: var(--secondary-color);
}

.rts-program .program-credit-area {
     margin-top: 0px; 
}


/* **************************** */
/* 13. General Scroll Bar */
/* *************************** */

/* Apply to whole page */
html, * {
  scrollbar-width: thin;              /* For Firefox */
  scrollbar-color: var(--scrollbar-color) transparent; /* thumb | track */
}

/* For Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  /* background-color: #4a90e2; */
  border-radius: 10px;
  border: 2px solid var(--border-color-light);
  background-clip: content-box;
  transition: background-color 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #2d6cc0;
}

/* Hide scrollbar by default */
html::-webkit-scrollbar,
html::-webkit-scrollbar-thumb {
  visibility: hidden;
}

/* Show scrollbar only on hover */
html:hover::-webkit-scrollbar,
html:hover::-webkit-scrollbar-thumb {
  visibility: visible;
}


/* ************************** */
/* 14. Buttons */
/* ************************** */

.btn-primary {
  display: inline-block;
  background: var(--primary-color-light);
  color: var(--primary-color);
  text-decoration: none;
  padding: .7rem 1.1rem;
  border-radius: .5rem;
  font-weight: 500;
  transition: background-color 200ms ease, transform 200ms ease;
  font-size: 0.750rem;
  border: 1px solid var(--border-color);
}

.btn-primary:hover,
.btn-primary:focus-visible { 
  background: var(--primary-color-light);
  transform: translateY(-1px); 
  color: var(--secondary-color); 
  border: 1px solid var(--border-color);
}

.btn-sm{
  padding:5px 20px;
}

/* CTA */
.slide-cta {
  display: inline-block;
  background: var(--primary-color-light);
  color: var(--primary-color);
  text-decoration: none;
  padding: 0.4rem 1.1rem;
  border-radius: .5rem;
  font-weight: 600;
  transition: background-color 200ms ease, transform 200ms ease;
  font-size: 0.875rem;
}

.slide-cta:hover,
.slide-cta:focus-visible { 
  background: var(--primary-color-light);
  transform: translateY(-1px); 
}


.dialog-btn {
    display: inline-block;
    background: var(--primary-color-light);
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.4rem 1.1rem;
    border-radius: .3rem;
    font-weight: 600;
    transition: background-color 200ms ease, transform 200ms ease;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    box-shadow: 1px 1px 2px var(--border-color);
}

.dialog-btn:hover,
.dialog-btn:focus-visible {
    background: var(--primary-color-light2);
}


/* ********************************** */
/* 15. Authorities/ Faculty Slider */
/* ********************************* */
.section-title{
  font-weight:700; 
  letter-spacing:.2px;
}

.faculty-slider {
    background: transparent;
    border-radius: 1rem;
    padding: 24px;
/*    border: 1px solid var(--primary-color-light2);*/
    border: 1px solid var(--border-color);
    /*  box-shadow:0 1px 20px rgba(0,0,0,.15);*/
/*    box-shadow: 0 6px 10px rgba(43, 47, 51, 0.08);*/
}

/* Viewport + track */
.slider-viewport{
  overflow:hidden;
  border-radius:12px;
}
.slider-track{
  display:flex;
  transition:transform .5s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}

.faculty-slide{
  min-width:100%;
  padding:24px;
}

/* Left: DP */
.dp-wrap{
  border-radius:10px;
  overflow:hidden;
  background:#0e1016;
  border:1px solid var(--border-color);
}
.dp-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* Right: text */
.faculty-content{ 
  max-width:560px; 
  padding: 2rem;
}

.faculty-name{
  font-weight:800;
  /* font-size:clamp(1.4rem,2.2vw,1.8rem); */
  font-size: 1.7rem;
  margin-bottom:.25rem;
  color:var(--primary-color);
}
.faculty-meta{
  color:var(--text-color);
  margin-bottom:1rem;
  font-size:1rem;
  font-weight: 500;
}
.faculty-intro{
  line-height:1.6;
  margin-bottom:1rem;
  font-size:1rem;
}

.nav-btn{
  background:transparent;
  border:1px solid var(--border-color);
  width:42px; height:42px;
  border-radius:50%;
  color:var(--text);
  font-size:22px; line-height:1;
  display:grid; place-items:center;
  transition:background .25s, border-color .25s, transform .15s, color .25s;
}
.nav-btn:hover{
  background:color-mix(in oklab, var(--primary-color-light) 20%, transparent);
  border-color: var(--primary-color);
  color:var(--primary-color);
}
.nav-btn:active{ transform:scale(.96); }
.nav-btn:focus-visible{ outline:2px solid color-mix(in oklab, var(--primary-color) 60%, transparent); outline-offset:2px; }

/* Dots */
.slider-dots li{ display:inline-block; }
.slider-dots button{
  width:10px; height:10px;
  border-radius:50%;
/*  background:var(--primary-color-light);*/
  background:#e3e3e3;
  border:0;
  padding:0;
  margin: 5px;
  transition:transform .2s, background .2s, box-shadow .2s;
}
.slider-dots button[aria-selected="true"]{
  background:var(--primary-color);
  transform:scale(1.2);
  box-shadow:0 0 0 6px color-mix(in oklab, var(--primary-color) 25%, transparent);
}
.slider-dots button:hover{
  background:var(--primary-color-light);
}
.slider-dots button:focus-visible{
  outline:2px solid color-mix(in oklab, var(--primary-color) 50%, transparent);
  outline-offset:2px;
}

/* Play/Pause button */
.slider-action-bar .btn{
  --bs-btn-color: var(--text);
  --bs-btn-border-color: var(--primary-color);
  --bs-btn-hover-bg: var(--primary-color);
  --bs-btn-hover-border-color: var(--primary-color);
  --bs-btn-hover-color:#fff;
  border-radius:999px;
}

/* Responsive refinements */
@media (max-width: 991.98px){
  .faculty-slide{ padding:16px; }
  .faculty-content{ 
  padding: 0px;
}
}


/* ******************************* */
/* 16. Vertical Scrolling Notifications Card */
/* ******************************* */

/* Card */
.card {
  /* width: min(820px, 92vw); */
/*  border: 1px solid var(--border-color-light);*/
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 10px rgba(43, 47, 51, 0.08);
}

.card__header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color-light);
  background-color: var(--primary-color-light);
}
.card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-color);
  font-family: var(--font-primary);

/*   padding: 17px 20px; 
   border: 1px solid var(--border-color-light); */
}

/* Card Body Scroll Behavior */
.card-body {
    max-height: 250px;
    overflow-y: hidden; /* hide scrollbar by default */
    transition: all 0.3s ease;
}

/* Show scrollbar only on hover */
.card:hover .card-body {
    overflow-y: auto; /* enable scroll on hover */
}

/* Lists with bullets */
.notice-list {
    list-style: disc;
    padding-left: 15px;
    margin: 0;
}

.notice-list li {
    border-bottom: 1px dashed var(--primary-color-light3);
    padding: 5px;
    text-decoration: none;
}


.notice-list li a {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 400;
}

.notice-list li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.notice-list li span {
    font-size: 0.75rem;
    color: var(--secondary-color);
}

/* Footer */
.card__footer {
  display: flex;
  justify-content: flex-end;
  padding: 10px 18px 14px 18px;
  border-top: 1px dashed var(--divider);
}

.view-all {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  /* border: 1px solid var(--border-color); */
}

.view-all:hover,
.view-all:focus-visible { background: #f3f2ff; outline: none; }



/* ******************************************* */
/* 17. Notices Tabbed Control */
/* ******************************************* */

/* Tokens tuned for academic brand feel */
:root{
  --edu-border: #e6e9ee;
  --edu-text: #1b2635;
  --edu-tab-bg: #f7f9fe;
  --edu-tab-pill: #ffffff;
  --edu-panel-h: 400px; /* adjust panel height */
}

.edu-tabs-wrap{
  /* border: 1px solid var(--border-color-light); */
  /* height: 500px ; */
}

/* Header text */
.edu-tabs .card-header h2{ color: var(--edu-ink); }
/* .edu-tabs .card-header p{ color: var(--edu-muted); } */

/* Radios hidden but accessible via labels */
.edu-tab-radio{
  position: absolute;
  left: -9999px;
}

/* Segmented tablist container */
.edu-tablist{
  padding: 0px 12px 0;
}
.edu-tablist-inner{
  display: flex;
  gap: 8px;
  /* background: var(--primary-color-light); */
  padding: 6px;
  /* border: 1px solid var(--edu-border); */
  border-radius: 10px;
  position: relative;
  /* overflow-x: auto; */
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.edu-tablist-inner::-webkit-scrollbar{ height: 10px; }
.edu-tablist-inner::-webkit-scrollbar-thumb{ background: #d7dde7; border-radius: 8px; }

/* Tab pill */
.edu-tab{
  scroll-snap-align: start;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  min-width: 112px;
  white-space: nowrap;
  border-radius: 10px;
  background: transparent;
  color: var(--edu-text);
  font-weight: 600;
  border: 1px solid transparent;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .1s ease;
  cursor: pointer;
}
.edu-tab:hover{
  background: rgba(21, 87, 176, 0.06);
}

/* Panels */
.edu-panels{ padding-top: 0 !important; }
.edu-panel{
  display: none;
  height: var(--edu-panel-h);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-top: 12px;
  padding-right: 6px;
}
.edu-panel::-webkit-scrollbar{ width: 10px; }
.edu-panel::-webkit-scrollbar-thumb{
  /* background: linear-gradient(180deg, var(--edu-accent), var(--edu-accent-2)); */
  border-radius: 10px;
}
.edu-panel::-webkit-scrollbar-track{ background: #eef2f7; border-radius: 10px; }

/* Links list */
.edu-links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

/* Pure CSS switching */
#t1:checked ~ .edu-panels #p1,
#t2:checked ~ .edu-panels #p2,
#t3:checked ~ .edu-panels #p3,
#t4:checked ~ .edu-panels #p4,
#t5:checked ~ .edu-panels #p5{
  display: block;
}

/* Active pill style with soft elevation */
#t1:checked ~ .edu-tablist .edu-tab[for="t1"],
#t2:checked ~ .edu-tablist .edu-tab[for="t2"],
#t3:checked ~ .edu-tablist .edu-tab[for="t3"],
#t4:checked ~ .edu-tablist .edu-tab[for="t4"],
#t5:checked ~ .edu-tablist .edu-tab[for="t5"]{
  background: var(--edu-tab-pill);
  color: var(--primary-color);
  border-color: var(--border-color) ;
  /* color: var(--edu-accent); */
  /* border-color: #d7e2f5; */
  /* box-shadow: 0 2px 10px rgba(21,87,176,.08), 0 1px 0 rgba(0,0,0,.02); */
}

/* Underline width/position — progressive enhancement using :has where supported */
@supports(selector(:has(*))){
  #t1:checked ~ .edu-tablist .edu-underline{ --x: calc(6px + 0*1px); --w: calc(112px + 16px); }
  #t2:checked ~ .edu-tablist .edu-underline{ --x: calc(6px + 1*(112px + 8px)); --w: calc(112px + 16px); }
  #t3:checked ~ .edu-tablist .edu-underline{ --x: calc(6px + 2*(112px + 8px)); --w: calc(112px + 16px); }
  #t4:checked ~ .edu-tablist .edu-underline{ --x: calc(6px + 3*(112px + 8px)); --w: calc(112px + 16px); }
  #t5:checked ~ .edu-tablist .edu-underline{ --x: calc(6px + 4*(112px + 8px)); --w: calc(112px + 16px); }
}

/* Responsive sizing */
@media (max-width: 992px){
  :root{ --edu-panel-h: 320px; }
  .edu-tab{ min-width: 104px; padding: 10px 12px; }
}
@media (max-width: 576px){
  :root{ --edu-panel-h: 300px; }
  .edu-tablist-inner{ gap: 6px; padding: 6px; }
  .edu-tab{ min-width: 96px; }
}




/* ********************************** */
/* GoI Branding Section */
/* ********************************* */
:root{
  --logo-height: 70px;               /* small, consistent height */
  --gap: 50px;                       /* spacing like the sample image */
}

.dept-logos{
/*  padding-block: 50px;*/
  padding-block: 30px;
}

.logos{
  display: flex;                     /* responsive row */
  flex-wrap: wrap;                   /* wraps on small screens */
  justify-content: center;    /* even spacing across row */
  align-items: center;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo{
  flex: 0 1 auto;                    /* don’t stretch logos */
  display: grid;                     /* easy centering */
  place-items: center;
}

.logo img{
  height: var(--logo-height);        /* equal height for symmetry */
  width: auto;                       /* preserve aspect ratio */
  object-fit: contain;
  filter: grayscale(100%) contrast(95%); /* grayscale baseline */
  opacity: 0.9;                      /* subtle desaturation feel */
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.logo img:hover,
.logo img:focus-visible{
  filter: none;                      /* reveal original color */
  opacity: 1;
  transform: translateY(-1px);       /* tiny lift for affordance */
  outline: none;
}

/* Tighten layout on smaller screens */
@media (max-width: 992px){
  .logos{ justify-content: center; gap: 32px 48px; }
}
@media (max-width: 600px){
  :root{ --logo-height: 40px; }
  .logos{ gap: 24px 36px; }
}





/* ******************************************************************** */
    /* Media Queries */
/* ******************************************************************** */

/* Mobile Menu */

/* max-width: 1200px (menu breakpoint) */
@media screen and (max-width: 1200px) {
    .header.v__2 {
      /* padding: 15px 0; */
      display: none;
    }
    .menu__trigger {
        display: flex;
        cursor: pointer;
    }
    #side-bar .mobile-menu-main {
    display: block;
    }

    .header__right--item .menu__trigger{
    display: flex;
  }

  }


/* max-width: 991px (tablet screens) */
@media screen and (max-width: 991px) {


     .header-top-area-wrapper {
        height: auto; /* Let height adjust for mobile */
        padding: 6px 0; /* Slightly more padding for readability */
    }
    .header-top-one-wrapper {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .header-top-one-wrapper .left,
    .header-top-one-wrapper .right {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* max-width: 768px (mobile screens (landscape mode)) */
@media screen and (max-width: 768px) {

   .header-top-area-wrapper {
        height: auto; /* Let height adjust for mobile */
        padding: 6px 0; /* Slightly more padding for readability */
    }
    .header-top-one-wrapper {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .header-top-one-wrapper .left,
    .header-top-one-wrapper .right {
        justify-content: center;
        flex-wrap: wrap;
    }

}


/* max-width: 576px (mobile screens (potrait mode)) */
@media (max-width: 576px) {
    .header.v__3 .header__wrapper {
      margin-top: 0;
      padding: 0px;
      border-bottom: none;
  }

  .header__logo .header__logo--link img{
    height: 30px;
  }

  .header.v__3 .header__social__link {
    display: none;
  }
  .header__right--item .menu__trigger{
    display: flex;
  }

  .header-top-area-wrapper {
        height: auto; /* Let height adjust for mobile */
        padding: 6px 0; /* Slightly more padding for readability */
  }
  .header-top-one-wrapper {
      flex-direction: column;
      gap: 0px;
      text-align: center;
  }
  .header-top-one-wrapper .left,
  .header-top-one-wrapper .right {
      justify-content: center;
      flex-wrap: wrap;
  }

  .top-nav {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      gap: 10px;
  }

  .header-top-one-wrapper .left .mail a {
      position: relative;
      padding: 0 5px;       /* space between text and line */
      text-decoration: none; /* optional */
}

  .thm-btn{
    text-align: center;
  }

  .search-button{
    display: none;
  }
}





/******************************/
/* Internal Pages */
/******************************/

.rts-blog.v_2.no-bg {
/*    background: var(--primary-color-light);*/
}

.rts-blog .rts-blog-post .single-blog-post .blog-content .post-title {
    /*    font-size: 1.2rem;*/
    font-size: 1rem;
    font-weight: 500;
    /*  text-transform: capitalize;*/
    color: var(--primary-color);
    position: relative;
    transition: var(--transition);
    line-height: 1.2;
    /*  font-family: var(--font-secondary);*/
    font-family: var(--font-primary);
}

.rts-blog .rts-blog-post .single-blog-post .blog-content .post-title:hover {
  color: var(--secondary-color) ;
}

.rts-blog .rts-blog-post.blog-v-full .blog-content .post-title {
/*    font-size: 2rem;
    color: var(--rt-white);
    font-family: var(--font-secondary);*/
    font-size: 1.5rem;
    color: var(--rt-white);
    font-family: var(--font-primary);
}

.rts-blog .rts-blog-post .single-blog-post .blog-content .post-meta .rt-author a:hover,
.rts-blog .rts-blog-post .single-blog-post .blog-content .post-meta .rt-date a:hover {
  color: var(--secondary-color);
}

.rts-border-bottom-1
 {
    border-bottom: 1px solid var(--rt-border);
}


#rts-program{
  background: var(--primary-color-light)!important;
  
}

.rts-program.v_2 .rts-program-single .rts-program-hover
{
  background-color: #f5eeff;
  padding: 41px 70px;
  /* border: 1px solid var(--primary-color); */
}
.rts-program.v_2 .rts-program-single .rts-program-hover.center-item {
    background-color: var(--primary-color);
    padding: 33px 70px;
}

.rts-program.v_2 .rts-program-single .rts-program-hover:hover
{
  background-color: var(--primary-color);
}



/******************************/
/* Additional Cards */
/*****************************/

/* 1) Exactly six columns on xl */
@media (min-width: 1200px){
  .cat-grid > .col-xl-2{ flex: 0 0 auto; width: 16.6667%; }
}

/* 2) Center contents in card */
.cat-card{
  display:flex;
  flex-direction: column;
  align-items: center;           /* horizontal center */
  justify-content: center;       /* vertical center */
  text-align: center;
  text-decoration: none;
  color: inherit;

  min-height: 240px;
  padding: 32px 16px;
  background: transparent;
  border-radius: 18px;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
  position: relative;
  isolation: isolate;
}

/* Hover panel highlight */
.cat-card:hover,
.cat-card.is-featured{
  background: var(--primary-color-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  z-index: 2;
}

/* 3) Internal dividers only AFTER (right) and BELOW (bottom) each cell */
.cat-grid > [class*="col-"]{
  position: relative;
}

/* Right divider (not for last column of each row) */
@media (min-width:1200px){
  .cat-grid > [class*="col-"]::after{
    content:"";
    position:absolute;
    top:0; right:0; bottom:0;
    width:1px;
    background: var(--border-color-light);
    z-index:0;
  }
  /* Remove right divider on every 6th column (last in the row) */
  .cat-grid > [class*="col-"]:nth-child(6n)::after{ display:none; }
  .cat-grid > [class*="col-"]:nth-child(6n)::after{ display:none; }

  .cat-grid > [class*="col-"]:nth-last-child(-n+6)::before{
    display: none;
  }
}

/* Bottom divider for all cells; the very last row will still show a divider which matches the reference grid style */
.cat-grid > [class*="col-"]::before{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: var(--border-color-light);
  z-index:0;
}

/* Keep divider lines hidden under the hover panel */
.cat-card{ z-index:1; }

/* Icon circle */
.cat-icon{
  width: 70px; 
  height: 70px;
  display: grid; place-items: center;
  background: var(--primary-color-light2); 
  color: var(--primary-color);
  border-radius: 50%;
  margin-bottom: 18px;
}
.cat-icon svg{ width: 30px; height: 30px; }
/* .cat-icon.accent{ background: var(--accent); color:#000; } */

/* Type */
.cat-title{
  font-family: var(--font-primary);
  text-transform: uppercase;
  font-weight: 600;
  /* font-size: clamp(20px, 2.1vw, 30px); */
  font-size: 0.913rem;
  line-height: 1.15;
  color: var(--primary-color);
  margin: 6px 0 6px;
  line-height: 1.5;
}
.cat-sub{
  font-family: var(--font-primary);
  font-size: 0.875rem;
  color: var(--text-color-dark);
  margin: 0;
}

/* Responsive fallbacks: still centered, dividers adapt automatically */
@media (max-width:1199.98px){
  /* 4 per row on lg, 3 on md, 2 on sm, 1 on xs using Bootstrap defaults */
  .cat-grid > [class*="col-"]::after{ display:none; } /* right-line logic changes per row width; simpler to drop it below xl */
  /* Optional: draw vertical lines also on lg/md if required; can add nth-child patterns (4n / 3n / 2n) similarly */
}

@media (prefers-reduced-motion: reduce){
  .cat-card{ transition:none; }
}


/******************************/
/* Menu Details Pages*/
/******************************/

.breadcrumbs-area {
    height: 30px;
    background-color: var(--primary-color-light);
    border-bottom: 1px solid var(--border-color-light);
}

.breadcrumbs-list{
    padding:0px;
}

.breadcrumbs-list li {
    display: inline-block;
    margin-top: 2px;
    margin-left: 0px;
    padding: 0px;
    font-size: 0.80rem;
    padding-right:5px;
    color: var(--muted-link-color);
}

.breadcrumbs-list li:not(:last-child)::after {
    content: '/';
    padding-left: 5px;
}

.breadcrumbs-list li a{
    font-size:0.80rem;
    color: var(--primary-color);
}

.breadcrumbs-list li a:hover{
    color: var(--secondary-color);
}

.menu-pages {
    padding: 50px 0px;
    font-size: 0.913rem;
    line-height: 1.8;
    color: var(--menu-page-color);
}

/* max-width: 576px (mobile screens (landscape mode)) */
@media screen and (max-width: 576px) {

    .breadcrumbs-area {
        height: 70px;
    }
}

/******************************/
/* Notices View All Pages*/
/******************************/
.notice-pages {
    margin:50px 0px;
}

/* Page header section */
.page-header {
    text-align: left;
    margin-bottom: 2.5rem;
    padding-top: 0rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color-light);
    /* background: linear-gradient(to right, #fafafa, #fefefe); */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 8px rgba(43, 47, 51, 0.04); */
}

.page-header-new {
    text-align: left;
    margin-bottom: 1.5rem;
    padding-top: 0rem;
    padding-bottom: 0.5rem;
/*    border-bottom: 1px solid var(--border-color-light);*/
    /* background: linear-gradient(to right, #fafafa, #fefefe); */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 8px rgba(43, 47, 51, 0.04); */
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.page-subtitle {
    font-size: 1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}


.card-grid {
    display: grid;
    /*    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));*/
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* Updated */
    gap: 1.5rem;
}

/* Entire card is clickable */
.u-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border-radius: 10px;
    /*    box-shadow: 0 6px 18px rgba(43, 47, 51, 0.08);*/
    box-shadow: 0 2px 5px rgba(43, 47, 51, 0.08);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    min-height: 180px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    border: 1px solid #f2f2f2;
}

/* Decorative top strip */
.u-card__top {
    height: 4px;
/*    background: linear-gradient(90deg, var(--primary-color-light3), var(--primary-color-light));*/
    background: var(--primary-color-light3);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* Body content */
.u-card__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
}

/* Title */
.u-card__title {
    font-size: 1rem;
    font-weight: 500;
    color: #222;
    margin-bottom: 6px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

/* Date */
.u-card__date {
    font-size: 0.75rem;
    color: var(--secondary-color);
}

/* Hover effect */
.u-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(43, 47, 51, 0.12);
}

.u-card:hover .u-card__title {
    color: var(--primary-color);
}

.u-card:hover .u-card__top {
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-light3));
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* Keep all cards same height */
.u-card {
    height: 200px;
}



/* Pagination Styling */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.page-item {
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
/*    border:1px solid var(--border-color-light);*/
}

.page-link {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    color: var(--primary-color);
    background-color: var(--primary-color-light);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size:0.7rem;
}

.page-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    color: #fff;
    cursor: default;
}

.page-item.disabled .page-link {
    background-color: #eee;
    color: #999;
    pointer-events: none;
}

@media (max-width: 576px) {
    .page-link {
        padding: 0.4rem 0.7rem;
        font-size: 0.9rem;
    }
}


.section-gap{
    margin-top:50px;
    margin-bottom:30px;
}

.section-padding{
    padding-top:100px;
    padding-bottom:100px;
}

.section-padding-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.sink{
    background-color: var(--sink-color);
}

.vc-message-card {
    background-color: var( --body-bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid var(--border-color);
    /*    box-shadow: 0 1px 50px rgba(0,0,0,.15);*/
    border-radius: 5px;
    border-top-left-radius: 25px;
}

.card-top {
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color-light3), var(--primary-color-light));
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.vc-image-col {
/*    position: relative;
    height: 100%;
    min-height: 100%;*/
}

.vc-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-para{
    font-size:1rem;
}

.read-more-link{
   color: var(--primary-color);
   margin:0px;
   padding:0px;
   text-decoration:underline;
   font-weight:normal;
}

.read-more-link:hover {
   font-weight:600;
   text-decoration:underline;
}

.vc-name{
    font-size:1.2rem;
}

@media (max-width: 767.98px) {
    .vc-image-col {
        height: 250px;
    }

    .vc-image {
        position: relative;
    }
}

/*************************************/
/* About Card */
/*************************************/

.uni-intro-card {
    background-color: transparent !important;
    border: 5px solid var(--primary-color);
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    border-radius: 1rem;
    border: 1px dashed var(--primary-color-light3);
    background-color: #fefefe !important;

}

.uni-intro-card2 {
    background-color: transparent !important;
    border: 5px solid var(--primary-color);
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    border-radius: 10px;
    border: 1px dashed var(--primary-color-light3);
    background-color: #fefefe !important;
    min-height: 300px;
}

.uni-logo {
    max-height: 80px;
    object-fit: contain;
}

.uni-intro-card .lead {
    font-size: 0.87rem;
    line-height: 1.7;
}

.uni-intro-card2 .lead {
    font-size: 1rem;
    line-height: 1.7;
}
/* Responsiveness */
@media (max-width: 767.98px) {
    .uni-logo {
        max-height: 120px;
        margin-bottom: 1rem;
    }

    .uni-intro-card {
        text-align: center;
    }

    .uni-intro-card2 {
        text-align: center;
    }
}

.uni-intro-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .uni-intro-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(52, 0, 104, 0.10);
    }
}

.uni-intro-card:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}
/*************************************/



/* === Authorities Section === */
.authorities-row {
    border: 2px solid transparent;
}

/* Right border for all except last column */
.authority-col {
    border-right: 2px solid var(--primary-color-light2);
    transition: border-color 0.3s ease;
}

.authority-col.last-col {
    border-right: none;
}

/* Transparent Card Styling */
.authority-card {
    background-color: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.authority-card:hover {
    transform: translateY(-5px);
/*    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);*/
}

/* Circular Display Picture */
.authority-dp {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ddd;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.authority-card:hover .authority-dp {
    transform: scale(1.05);
    border-color: var(--primary-color-light);
}

.authority-card .designation{
    font-size:0.8rem;
}

.authority-card > .name {
    font-size: 1rem;
    font-weight:500;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .authority-col {
        border-right: none;
        border-bottom: 2px solid var(--primary-color-light2);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .authority-col.last-col {
        border-bottom: none;
    }
}



/* === Video Card === */
.video-card {
    position: relative;
    display: block;
    width: 100%;
    height: 200px;
    border: 6px solid var(--primary-color-light3);
    border-radius: 6px;
    overflow: hidden;
    background-color: transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.video-card:hover {
    transform: scale(1.01);
    border-color: var(--primary-color-light);
}

/* Ensure full image coverage */
.video-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    min-height: 300px; /* adjust for desired height */
}

.video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumb {
    transform: scale(1.05);
}

/* Overlay for YouTube Icon */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

/* YouTube Icon */
.video-icon {
    font-size: 70px;
    color: var(--primary-color-light);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, color 0.3s ease;
}

.video-card:hover .video-icon {
    transform: scale(1.2);
    color: var(--primary-color-light);
}

/* Responsive */
@media (max-width: 767.98px) {
    .video-thumb-wrapper {
        min-height: 220px;
    }

    .video-icon {
        font-size: 50px;
    }
}






.course-card {
    background: transparent;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--primary-color-light2);
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.course-card:hover {
    transform: translateY(5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.course-card-bottom {
    background-color: var(--primary-color);
/*    background: linear-gradient(90deg, var(--primary-color-light3), var(--primary-color-light));*/
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.course-card-bottom h5 {
    color:var(--primary-color-light);
    font-size: 0.85rem;
    font-weight:500;
    font-family: var(--font-primary);
}



/* ===============================
   University Achievements Section
================================ */

.rts-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ensure all bootstrap columns stretch equally */
.faculty-sub-details > [class*="col-"] {
    display: flex;
}

/* Achievement Card */
.single-cat-item {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
}

    /* Image container (reduced height) */
    .single-cat-item .cat-thumb {
        position: relative;
        overflow: hidden;
        height: 120px; /* reduced image height */
    }

        /* Image styling */
        .single-cat-item .cat-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(1);
            transition: var(--transition);
        }

        /* Image hover effect */
        .single-cat-item .cat-thumb:hover img {
            transform: scale(1.1);
        }

    /* Content area */
    .single-cat-item .cat-meta {
        border: 1px solid #E3E3E3;
        border-top: none;
        padding: 18px 18px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        background: #fff;
        flex: 1;
        min-height: 120px; /* increased text area */
    }

        /* Title container */
        .single-cat-item .cat-meta .cat-title2 {
            font-family: var(--font-primary);
            font-weight: 400;
            font-size: 0.9rem;
            line-height: 1.5;
            color: var(--primary-color);
            flex: 1;
        }

            /* Title link with multiline ellipsis */
            .single-cat-item .cat-meta .cat-title2 a {
                display: -webkit-box;
                -webkit-line-clamp: 4; /* show up to 4 lines */
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                color: var(--primary-color);
                text-decoration: none;
            }

        /* Arrow icon area */
        .single-cat-item .cat-meta .cat-link {
            margin-left: 10px;
            flex-shrink: 0;
        }

    /* Optional subtle hover lift */
    .single-cat-item:hover {
        transform: translateY(-4px);
        transition: 0.3s ease;
    }



/* All Events page */

.rts-blog.v_3 .single-blog {
    border: 1px solid var(--border-color-light);
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    overflow: hidden;
    min-height: 330px;
    max-height: 330px;
}

.rts-blog.v_3 .single-blog__content .blog__thumb img {
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
    transform: scale(1);

    min-height:160px;
    max-height:160px;
}

.rts-blog.v_3 .single-blog__content .blog__title a {
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 1.2rem;
    font-weight:500;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* number of lines */
    overflow: hidden;
}

.rts-blog.v_3 .single-blog__content .blog__title a:hover {
    color: var(--secondary-color);
    transition: var(--transition);
}

.rts-blog.v_3 .single-blog__content .blog__meta--da {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.rts-blog.v_3 .single-blog__content .blog__meta--da .blog-date, 
.rts-blog.v_3 .single-blog__content .blog__meta--da .blog-author
{
    display: flex;
    gap: 8px;
    font-size:0.85rem;
}



/* Academic Programmes Landing Page*/
:root {
/*    --primary-color: #004aad;*/
/*    --primary-color-light: #e6eefc;*/
    --card-bg: #ffffff;
    --card-radius: 6px;
    --transition-speed: 0.3s;
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Updated */
    gap: 1.5rem;
}


.programme-card {
    display: grid;
    grid-template-columns: 3fr 9fr; /* 3 + 9 = 12 columns */
    background: var(--card-bg);
    border-radius: var(--card-radius);
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid var(--border-color);
    min-height:90px;
}

.programme-card:hover {
    transform: scale(1.03);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.programme-code {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.programme-name {
    padding: 1.2rem;
    display: flex;
    align-items: center;
    color: #333;
    font-weight: 500;
    background: var(--primary-color-light);
    font-size:1rem;
}

@media (max-width: 768px) {
    .programme-card {
        grid-template-columns: 4fr 8fr;
    }
}

@media (max-width: 576px) {
    .programme-card {
        grid-template-columns: 1fr; /* Stack vertically on small screens */
    }

    .programme-code {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .programme-name {
        padding: 1rem;
    }
}




/**************************/
/* Department Header Name */
/*************************/
.dept-name {
    line-height: 1.2;
    white-space: nowrap; /* prevents breaking into a new line */
}

.dept-prefix {
    font-size: 0.85rem;
    display: inline-block;
}

.dept-title {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-secondary);
    /* Auto-shrink text if long */
    font-size: clamp(0.9rem, 4vw, 1.5rem);
    /* Prevent wrapping */
    white-space: nowrap;
    /* Ensures scaling fits the parent width */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}



/********************************/
/* Faculty/ Staff Pages CSS*/
/*******************************/
.single-staff {
    border-radius: 8px;
    
}
.single-staff:hover {
    border-color: var(--primary-color);
    cursor:pointer;
}

/* Card wrapper */
.faculty-card {
    border-radius: 8px;
    background: #fff;
    padding: 15px;
    height: 100%;
    min-height: 190px; /* ensures equal height */
    display: flex;
    border: 1px solid var(--border-color);
    margin-bottom:1rem;
}

.faculty-card-inner {
    display: flex;
    gap: 15px;
    width: 100%;
}

/* Photo */
.faculty-photo {
    width: 130px;
    min-width: 130px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    background: #f2f2f2;
    flex-shrink: 0;
    border:2px solid var(--primary-color-light3);
}

.faculty-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps proportion, no stretching */
}

/* Faculty details */
.faculty-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faculty-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.faculty-designation {
    font-size: 0.87rem;
    color: #555;
    text-transform: uppercase;
}

/* Email / phone container */
.faculty-contact {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    min-width: 0; /* crucial for ellipsis */
    font-size: 0.8rem;
}

/* Fix long email overflow: single line, clipped with ellipsis */
.faculty-email a {
/*    display: inline-block;*/
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
    text-decoration: none;
}

.faculty-phone a {
    color: inherit;
    text-decoration: none;
}

.faculty-member__image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    object-fit: cover;
}

.faculty-member {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border-color);
/*    box-shadow: 0 2px 2px rgba(0,0,0,0.1);*/
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .faculty-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: left !important;
    }

    .faculty-photo {
        width: 240px;
        height: 240px; /* larger on mobile */
        min-width: 240px;
    }

    .faculty-details {
        margin-top: 12px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .faculty-photo {
        width: 180px;
        height: 180px;
    }
}


/*********************************/
/* Administration Menu Pages*/
/********************************/

/* BOX */
.dept-menu-box {
    border: 1px solid var(--border-color);
    width: 100%;
}

/* HEADER */
.dept-menu-header {
    background: var(--primary-color);
    padding: 10px 10px;
    font-size: 1rem;
    font-weight: 600;
    text-align: left !important;
    padding-left: 30px;
}

/* MENU LIST */
.dept-menu-list {
    margin: 0;
    padding: 0;
}

.dept-menu-item {
    border-bottom: 1px solid var(--border-color);
}

.dept-menu-item:last-child {
    border-bottom: none;
}

.dept-menu-item a {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.87rem;
    transition: background 0.2s ease;
    font-weight: 500;
    gap: 6px;
    padding-left:10px;
}

.dept-menu-item a:hover {
    background: var(--primary-color-light);
    color: var(--secondary-color);
}

.dept-menu-item.active a {
    /* background: #f0f0f0; */
    font-weight: 600;
}

.arrow-icon i {
    font-size: 12px;
    margin-right: 4px;
    padding-left:10px;
}

.member-info
{
    margin-left:0px;
}


/*********************************************/
/* New Additional Cards CSS on home page */
/*********************************************/

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
}

/* Clickable Card */
.feature-card {
    background: #fff;
/*    border-radius: 8px;*/
    border-radius: 0px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
/*    border:1px solid var(--border-color-light);*/
    border:1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
/*    background: var(--primary-color-light2);*/

    /* Icon Circle */
    .icon-wrap {
        background: var(--primary-color);
        transition: ease-in-out 0.5s;
    }

    .icon-wrap i {
        color: var(--primary-color-light);
        transition: ease-in-out 0.5s;
    }
}


/* Icon Circle */
.icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--primary-color-light2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.icon-wrap i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Text */
.feature-card p {
    font-size: 0.83rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
/*    font-weight:500;*/
}

/* Mobile tuning */
@media (max-width: 576px) {
    .feature-card {
        padding: 18px 12px;
    }

    .icon-wrap {
        width: 56px;
        height: 56px;
    }
}


/*********************************************/
/* Programmes Carousel CSS on home page */
/*********************************************/
:root {
    --programme-card-width: 240px;
    --nav-size: 44px;
}

.programmes-section {
    padding-top: 20px;
    padding-bottom: 50px;
    background: linear-gradient(180deg, #fff, var(--primary-color-light2));
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
/*    font-family: "Georgia", serif;*/
    font-size: 2rem;

    color: var(--primary-color, #3a167a);
}

.programmes-carousel {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Track */
.programmes-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(var(--programme-card-width), 1fr);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 10px;
    width: 100%;
}

    .programmes-track:focus {
        outline: 2px solid var(--primary-color, #3a167a);
        outline-offset: 4px;
    }

    /* Hide scrollbar */
    .programmes-track::-webkit-scrollbar {
        display: none;
    }

.programmes-track {
    scrollbar-width: none;
}

/* Cards */
.programme-tile {
    scroll-snap-align: start;
    background: #fff;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #ece7f5;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.programme-tile:hover,
.programme-tile:focus {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.programme-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    background: #f3eefb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.programme-tile h3 {
    font-size: 1.2rem;
    font-weight:500;
    color: #2c2c2c;
    margin-bottom: 0px;
    line-height:1.5;
}

/* Navigation buttons */
.carousel-nav {
    width: var(--nav-size);
    height: var(--nav-size);
    min-width: var(--nav-size);
    min-height: var(--nav-size);
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

    .carousel-nav svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: var(--primary-color, #3a167a);
        stroke-width: 2.5;
    }

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .carousel-nav {
        display: none;
    }
}


/************************/
/* ACADEMICS BUTTONS ON RIGHT SIDE ON HOME PAGE */
.research-section {
    /*    background-color: var(--primary-color);*/
    background-color: #5f2dbf;
    /*    background: linear-gradient(135deg, #5f2dbf, #7a3df0);*/
        border-radius:8px;
}

.research-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 22px 15px;
    border: 1px solid #fff;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    transition: .3s;
    background: rgba(255,255,255,.1);
}

.research-btn i {
    font-size: 22px;
    margin-right: 15px;
}

.research-btn:hover {
/*    background: rgba(255,255,255,.1);*/
    background: var(--primary-color);
}
/*************************************/



/* =============================
   ADMISSIONS CAROUSEL SECTION ON HOME PAGE
============================= */
.admissions-section {
    /*padding-top: 40px;
    padding-bottom: 70px;*/
    /*    background: #f8fafc;*/
    /*background: var(--primary-color);*/

    position: relative; /* CRITICAL */
    isolation: isolate; /* Prevents bleed to body */
    padding: 60px 0 50px;
    /*    background: linear-gradient( 180deg, #2F066E 0%, #3D0A91 24%, #EEE8FB 100% );*/
    /*    background: linear-gradient( 180deg, var(--primary-color) 0%, #3D0A91 24%, #f5effc 100% );*/
    /*    background: linear-gradient( 180deg, var(--primary-color) 0%, #3D0A91 24%, #fff 100% );*/
    background: linear-gradient( 180deg, var(--primary-color) 0%, var(--primary-color-light3) 24%, #fff 100% );
    overflow: hidden;
}

.admissions-inner {
    position: relative;
    z-index: 1; /* CONTENT ABOVE WAVES */
}

.admissions-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: -5%;
    width: 110%;
    height: 180px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 96C180 112 360 120 540 106C720 92 900 48 1080 52C1260 56 1380 88 1440 96V0H0Z' fill='%233D0A91' fill-opacity='0.45'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
}


.admissions-section::after {
    content: "";
    position: absolute;
    top: 40px;
    left: -5%;
    width: 110%;
    height: 220px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 120C200 140 400 150 600 130C800 110 1000 70 1200 80C1360 88 1440 110 1440 110V0H0Z' fill='%234A1FA0' fill-opacity='0.28'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
}





/* =============================
   SECTION HEADER
============================= */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color-light);
}

.admissions-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.admission-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 999px;
    background: linear-gradient( 135deg, #ffd700, #ffec99 );
    color: #3D0A91;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18), inset 0 0 0 1px rgba(255,255,255,0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top:-20px;
}

/* Hover */
.admission-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* Subtle attention pulse */
.admission-cta-btn {
animation: ctaGlow 3s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(0,0,0,0.18), 0 0 0 0 rgba(255,215,0,0.0);
    }

    50% {
        box-shadow: 0 6px 18px rgba(0,0,0,0.22), 0 0 0 6px rgba(255,215,0,0.25);
    }
}

/* Arrow micro-motion */
.cta-arrow {
    transition: transform 0.2s ease;
}

.admission-cta-btn:hover .cta-arrow {
    transform: translateX(3px);
}

/* Accessibility */
.admission-cta-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .admission-cta-btn {
        animation: none;
    }
}



/* =============================
   CAROUSEL
============================= */
.admissions-carousel {
    overflow: hidden;
    width: 100%;
}

.admissions-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* =============================
   CARD (ANCHOR)
============================= */
.admission-card {
    position: relative; /* REQUIRED FOR BADGE */
    flex: 0 0 320px;
    background: var(--primary-color-light2);
    border-radius: 12px;
    padding: 20px;
    border-left: 5px solid #0b3c6d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover & Focus */
.admission-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.admission-card:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

    /* =============================
   CARD VARIANTS
============================= */
.admission-card.open {
    /*    border-left-color: #4f46e5;*/
    border-left-color: var(--primary-color-light3);
}

.admission-card.ongoing {
/*    border-left-color: #4f46e5;*/
    border-left-color: var(--primary-color-light3);
}

.admission-card.upcoming {
/*    border-left-color: #d97706;*/
border-left-color: var(--primary-color-light3);
}

.admission-card.closed {
    background: var(--primary-color-light);
/*    border-left-color: #dc2626;*/
border-left-color: var(--primary-color-light3);
}

/* Disabled cards */
.admission-card[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.75;
}

    /* =============================
   CARD CONTENT
============================= */
.admission-card header {
    margin-bottom: 14px;
}

.admission-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-right: 95px; /* Space for badge */
}

.admission-card p {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 8px;
}

.admission-card .date {
    font-size: 0.85rem;
    color: #5b21b6;
}

/* =============================
   STATUS BADGE (FIXED POSITION)
============================= */
.status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    font-size: 0.72rem;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

/* Badge Colors */
.status-badge.success {
    background: #15803d;
}

.status-badge.info {
    background: #5F3BC0;
}

.status-badge.warning {
    background: #5F3BC0;
}

.status-badge.danger {
    background: #dc2626;
}

/* =============================
   INFO PILL
============================= */
.pill {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
}

.pill.info {
    background: #e0e7ff;
    color: #3730a3;
}

/* =============================
   CAROUSEL CONTROLS
============================= */
.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.carousel-btn:hover {
    background: #0b3c6d;
    color: #ffffff;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 768px) {
    .admission-card {
        flex: 0 0 85%;
    }

    .admission-card h3 {
        padding-right: 80px;
    }
}




/* Programmes List By Category*/
/* =============================
   PROGRAMME LIST SECTION
============================= */
/****************************************/

.programme-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =============================
   PROGRAMME ROW
============================= */
.programme-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    padding: 16px 20px;
    background: #fafafa;
/*    background: var(--primary-color-light);*/
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.programme-row:hover {
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* =============================
   LEFT (CODE)
============================= */
.programme-code2 {
    display: inline-block;
    min-width: 48px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-color);
    padding: 13px;
    border-radius: 50%;
    background: rgba(61,10,145,0.08);
}

/* =============================
   BODY
============================= */
.programme-body {
    padding-left: 16px;
}

.programme-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.programme-meta {
    font-size: 0.85rem;
    color: #6b7280;
}

/* =============================
   ACTION
============================= */
.programme-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.programme-link:hover {
    text-decoration: underline;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 768px) {
    .programme-row {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: flex-start;
    }

    .programme-body {
        padding-left: 0;
    }

    .programme-action {
        margin-top: 6px;
    }
}







/* Events Carousel on the home page*/
/* ===== HEADER ===== */
/* Header link */
:root {
    --event-accent: #0d6efd;
    --event-radius: 18px;
    --event-transition: 0.45s ease;
}

/* Header link */
.view-all-link {
    font-weight: 600;
    color: var(--event-accent);
    text-decoration: none;
    position: relative;
}

.view-all-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--event-accent);
    transition: width 0.2s ease;
}

.view-all-link:hover {
color: var(--event-accent);
}

.view-all-link:hover::after {
    width: 100%;
}

/* Carousel container */
.events-carousel {
    position: relative;
/*    background-color: #020712;*/
/*    border-radius: var(--event-radius);*/
    overflow: hidden;
}

/* Viewport */
.events-carousel-viewport {
    overflow: hidden;
}

/* Track: 4 visible slides, no gaps */
.events-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform var(--event-transition);
    will-change: transform;
}

/* Slide: each is 1/4 width (on large screens) */
.event-slide {
    flex: 0 0 calc(100% / 6);
    max-width: calc(100% / 6);
    position: relative;
}

/* Card */
.event-card {
    position: relative;
    height: 450px; /* taller so content is visible and images breathe */
    cursor: pointer;
    border-radius: 0;
    overflow: hidden;
    transform-origin: center center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Backgrounds */
.event-bg-1 {
    background-image: url("/app/images/events/it-workshop.jpeg");
    background-size: cover;
    background-position: center;
}

.event-bg-2 {
    background-image: url("/app/images/events/nep.jpg");
    background-size: cover;
    background-position: center;
}

.event-bg-3 {
    background-image: url("/app/images/events/vc.png");
    background-size: cover;
    background-position: center;
}

.event-bg-4 {
    background-image: url("/app/images/events/nep.jpg");
    background-size: cover;
    background-position: center;
}

.event-bg-5 {
    background-image: url("/app/images/events/vc.png");
    background-size: cover;
    background-position: center;
}

.event-bg-6 {
    background-image: url("/app/images/events/nep.jpg");
    background-size: cover;
    background-position: center;
}

/* Stronger gradient overlay for readability */
.event-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%; /* only bottom portion */
    background-image: linear-gradient( to top, rgba(2, 7, 18, 0.9) 0%, rgba(2, 7, 18, 0.65) 40%, rgba(2, 7, 18, 0.0) 100% );
/*    background-image: linear-gradient( to top, #3a167a 0%, rgba(2, 7, 18, 0.65) 20%, rgba(2, 7, 18, 0.0) 60% );*/
    pointer-events: none;
}


/* Content */
.event-content {
    position: absolute;
    inset-inline: 1rem;
    bottom: 1rem;
    color: #f8f9ff;
    z-index: 1;
/*    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);*/
}

.event-title {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: #f2f2f2;
    line-height: 1.4;
/*    font-family: var(--font-primary);*/
}

.event-meta {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.95;
    color: #f2f2f2;

}

/* Hover */
.event-card:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Controls */
.events-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
    color: #111827;
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    z-index: 5;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .events-control.prev {
        left: 10px;
    }

    .events-control.next {
        right: 10px;
    }

    .events-control:hover {
        background-color: #ffffff;
        transform: translateY(-50%) scale(1.08);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    }

    .events-control:focus-visible {
        outline: 3px solid var(--event-accent);
        outline-offset: 2px;
    }

/* Responsive: fewer visible slides on small screens, still no gaps */
@media (max-width: 992px) {
    .event-slide {
        flex: 0 0 calc(100% / 2);
        max-width: calc(100% / 2);
    }

    .event-card {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .event-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .event-card {
        height: 260px;
    }

    .event-title {
        font-size: 1rem;
    }

    .event-meta {
        font-size: 0.8rem;
    }

    .events-control {
        width: 34px;
        height: 34px;
        font-size: 1.5rem;
    }
}

/* Touch behavior */
.events-carousel {
    touch-action: pan-y;
}


/* Row alignment */
.achievements-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

    /* Title */
/*    .achievements-title-row h5 {
        margin: 0;
        font-weight: 400;
        color: var(--primary-color);
    }*/

    /* Glowing Icon */
    .achievements-title-row i {
        position: relative;
        top:-10px;
        font-size: 1.7rem;
        color: #ffc107;
        text-shadow: 0 0 5px rgba(255, 193, 7, 0.7), 0 0 10px rgba(255, 193, 7, 0.6), 0 0 20px rgba(255, 193, 7, 0.5);
    }

/* Arrow animation */
.scroll-down-indicator i {
    font-size: 22px;
    color: var(--primary-color);
    animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(8px);
    }

    60% {
        transform: translateY(4px);
    }
}



/* Admission Portal card of departmental home page*/
/* Card */
.dept-admission-card {
        background: linear-gradient(135deg, #5f2dbf, #7a3df0);
/*    background: var(--primary-color-light2);*/
    padding: 20px 24px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column; /* stack vertically */
    justify-content: center;
    gap: 12px;
    height: 100%; /* important for equal height inside columns */

    border: 1px dashed #7a3df0;
}

/* Title */
.dept-admission-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color-light);
    margin: 0;
}

/* Button */
.admission-btn {
    background-color: #ffd43b;
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.9rem;
    width: fit-content; /* prevents full width */
    white-space: nowrap;
    transition: 0.3s ease;
}

/* Hover */
.admission-btn:hover {
    background-color: #ffcc00;
    color: #000;
}

/* =========================
   Responsive Improvements
========================= */

/* Tablet */
@media (max-width: 992px) {
    .dept-admission-title {
        font-size: 1.3rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .dept-admission-card {
        padding: 16px;
        gap: 10px;
    }

    .dept-admission-title {
        font-size: 1.2rem;
    }

    .admission-btn {
        font-size: 0.85rem;
        padding: 7px 16px;
    }
}



/* Research widget on department home page*/

.research-widget {
/*    background: linear-gradient(90deg, #5e2ca5, #7b4ce0);*/
}

/* CARD */
.research-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 10px;
    padding: 30px 20px;
    color: #fff;
    transition: all .3s ease;
    background: linear-gradient(90deg, #5e2ca5, #7b4ce0);
}

/* Center content vertically */
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ICON */
.research-card i {
    font-size: 32px;
    margin-bottom: 15px;
}

/* TITLE */
.research-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--primary-color-light);
}

/* HOVER */
.research-card:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
    color: #fff;
}

.research-section2 {
/*    background-color: var(--primary-color-light2);*/
        background: linear-gradient(135deg, #5f2dbf, #7a3df0);
    /*    border-radius:8px;*/
}



/******************************/
/* Important Links section on department home page */
/*****************************/

.important-links-widget {
    background: var(--primary-color-light);
    border-radius: 8px;
}

/* Link Card */
.important-link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    height: 100%;
}

    /* Hover */
    .important-link-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        text-decoration: none;
    }

/* Icon Circle */
.icon-circle {
    width: 45px;
    height: 45px;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 18px;
}

/* Text */
.link-text {
    font-weight: 600;
    font-size: 15px;
}

/* Highlight Link (Admissions etc.) */
.highlight-link {
    background: var(--primary-color);
    color: #fff;
}

    .highlight-link .icon-circle {
        background: #fff;
        color: var(--primary-color);
    }

/* Mobile spacing tweak */
@media (max-width: 576px) {
    .important-link-item {
        padding: 12px;
    }
}

.admission-cta-btn2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-radius: 10px;
    background: linear-gradient( 135deg, #ffd700, #ffec99 );
    color: #3D0A91;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18), inset 0 0 0 1px rgba(255,255,255,0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.admission-cta-btn2 {
    animation: ctaGlow 3s ease-in-out infinite;
}



/****************************/
/* Department Programme Details Page*/

.programme-hero h1 {
    font-size: 2.5rem;
}

.programme-hero .hero .name {
    color: var(--primary-color-light);
    line-height: 1.3;
    padding-bottom:15px;
}

.info-box {
    transition: 0.3s ease;
}
.info-box h5{
    font-weight:600;
    color: var(--primary-color);
}

.info-box:hover {
    transform: translateY(-5px);
}

.btn-warning {
    background: #ffc107;
    border: none;
}


/********************************/
/* Department Faculty details page */
/*******************************/

.faculty-hero {
    background: linear-gradient( 135deg, var(--primary-color), #0d6efd );
    overflow: hidden;
}

.faculty-img {
    width: 220px;
    height: 220px;
    max-width: 100%;
    object-fit: cover;
    border: 5px solid rgba(255,255,255,0.3);
    display: inline-block;
}

.faculty-hero h1 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.3;
    color: var(--primary-color-light);
    margin-bottom: 8px !important;
    overflow-wrap: anywhere;
}

.faculty-hero h5 {
    font-size: 1.05rem;
    line-height: 1.5;
}

.faculty-contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}

    .faculty-contact-info span {
        overflow-wrap: anywhere;
    }

.faculty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dept-contents {
    border: 1px solid var(--border-color);
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: 1rem;
    background-color: #fff;
    box-shadow: 0 5px 22px rgba(23,59,103,.035);
    min-width: 0;
}

.faculty-card-body {
    min-width: 0;
    overflow-wrap: anywhere;
}

    .faculty-card-body ul {
        padding-left: 1.2rem;
        margin-bottom: 1rem;
    }

    .faculty-card-body li {
        margin-bottom: 10px;
    }

    .faculty-card-body a {
        overflow-wrap: anywhere;
    }

.faculty-social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

    .faculty-social-links a {
        font-size: 20px;
        text-decoration: none;
        transition: transform .2s ease, color .2s ease;
    }

        .faculty-social-links a:hover {
            transform: translateY(-3px);
        }

/* Prevent profile content from overflowing */
.faculty-description {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

    .faculty-description img {
        max-width: 100%;
        height: auto;
    }

    .faculty-description table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }

    .faculty-description iframe {
        max-width: 100%;
    }

/********************************/
/* Tablet and Mobile             */
/********************************/

@media (max-width: 991.98px) {

    .faculty-hero {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .faculty-img {
        width: 180px;
        height: 180px;
    }

    .faculty-hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .faculty-contact-info {
        justify-content: center;
        gap: 10px 18px;
    }

    .faculty-actions {
        justify-content: center;
    }

        .faculty-actions .btn {
            min-width: 135px;
        }

    .faculty-sidebar {
        position: static !important;
        top: auto !important;
    }
}

/* Mobile */
@media (max-width: 575.98px) {

    .faculty-hero {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .faculty-img {
        width: 150px;
        height: 150px;
        border-width: 4px;
    }

    .faculty-hero h1 {
        font-size: 1.5rem;
        margin-top: 5px;
    }

    .faculty-hero h5 {
        font-size: .95rem;
        margin-bottom: 1rem !important;
    }

    .faculty-contact-info {
        flex-direction: column;
        gap: 8px;
        font-size: 12px !important;
    }

    .faculty-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 1.25rem !important;
    }

        .faculty-actions .btn {
            width: 100%;
            margin: 0 !important;
        }

    .dept-contents {
        padding: 1rem;
        border-radius: .75rem;
    }

    .faculty-card-body {
        padding: 1.25rem;
    }
}

/**************************/
/* Menu Pages */
/**************************/
.dept-contents {
    border: 1px solid var(--border-color);
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1rem;
    background-color: #fff;
    box-shadow: 0 5px 22px rgba(23,59,103,.035);
}
