/* common */

.text-light-red {
    color: #990843;
}

.text-light-white {
    color: #fff;
}

.same-line-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.same-line-title span {
    display: inline-block;
    width: 50px;
    height: 50px;
}

.same-line-title h1 {
    margin: 0;
    line-height: 1;
    padding-top: 25px;
}

/* new style for colleges  */

.colleges-section {
    position: relative;
    background-image: url('../images/fu/collegeback.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.colleges-section .college-image-wrapper img {
    border-radius: 15px;
    width: 100%;
    border: 2px solid #990843;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.colleges-section .colleges-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(255, 255, 255, 0.9);  */
}

.colleges-section .colleges-section .container {
    position: relative;
    z-index: 1;
}

.colleges-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
}

.colleges-section .colleges-slider {
    position: relative;
}

.colleges-section .college-item {
    padding: 0 15px;
}

.colleges-section .college-title {
   position: relative;
    background-color: #fff;
    padding: 10px;
    border: solid 1px #990843;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    overflow: hidden;  /* important */
    cursor: pointer;
}

/* Shine effect */
.colleges-section .college-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.7s;
}
.colleges-section .college-title:hover {
    transform: translateY(-3px);
    transition: 0.3s ease;
}

/* Hover animation */
.colleges-section .college-title:hover::before {
    left: 150%;
}
.colleges-section .college-title a {
    color: #333;
    transition: color 0.3s ease;
}

.colleges-section .college-title a:hover {
    color: #007bff;
}

.colleges-section .college-title h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Slick Slider Arrow Styles */
.colleges-section .colleges-slider .slick-prev,
.colleges-section .colleges-slider .slick-next {
    width: 40px;
    height: 40px;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 0;
    border: none !important;
}

.colleges-section .colleges-slider .slick-prev {
    left: -30px;
}

.colleges-section .colleges-slider .slick-next {
    right: -30px;
}

.colleges-section .colleges-slider .slick-prev:before,
.colleges-section .colleges-slider .slick-next:before {
    content: '';
    display: none;
}

/* Custom arrow images */
.colleges-section .colleges-slider .slick-prev {
    background: url('../images/fu/leftarrow.png') no-repeat center;
    background-size: contain;
}

.colleges-section .colleges-slider .slick-next {
    background: url('../images/fu/rightarrow.png') no-repeat center;
    background-size: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .colleges-section .colleges-slider .slick-prev,
    .colleges-section .colleges-slider .slick-next {
        display: none !important;
    }
}


.studentlife-section {
    position: relative;
    background-image: url('../images/fu/back02.jpg');
    background-repeat: no-repeat;
    /* background-position: center center; */
    background-size: cover;
}

.studentlife-section .college-image-wrapper img {

    width: 100%;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.studentlife-section .studentlife-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(255, 255, 255, 0.9);  */
}

.studentlife-section .studentlife-section .container {
    position: relative;
    z-index: 1;
}

.studentlife-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
}

.studentlife-section .studentlife-slider {
    position: relative;
}

.studentlife-section .college-item {
    padding: 0 15px;
}

.studentlife-section .college-title {
      position: relative;
    background-color: #fff;
    padding: 10px;
    text-align: center;
    border: solid 1px #990843;
    border-radius: 15px;
    overflow: hidden;   /* important */
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Shine layer */
.studentlife-section .college-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.7s;
}

/* Hover animation */
.studentlife-section .college-title:hover::before {
    left: 150%;
}

/* Optional slight lift effect */
.studentlife-section .college-title:hover {
    transform: translateY(-3px);
}

.studentlife-section .college-title a {
    color: #333;
    transition: color 0.3s ease;
}



.studentlife-section .college-title h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Slick Slider Arrow Styles */
.studentlife-section .colleges-slider .slick-prev,
.studentlife-section .colleges-slider .slick-next {
    width: 30px;
    height: 30px;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 0;
    border: none !important;
}

.studentlife-section .colleges-slider .slick-prev {
    left: -30px;
}

.studentlife-section .colleges-slider .slick-next {
    right: -30px;
}

.studentlife-section .colleges-slider .slick-prev:before,
.studentlife-section .colleges-slider .slick-next:before {
    content: '';
    display: none;
}

/* Custom arrow images */
.studentlife-section .colleges-slider .slick-prev {
    background: url('../images/fu/leftwhitearrow.png') no-repeat center;
    background-size: contain;
}

.studentlife-section .colleges-slider .slick-next {
    background: url('../images/fu/rightwhitearrow.png') no-repeat center;
    background-size: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .studentlife-section .colleges-slider .slick-prev,
    .studentlife-section .colleges-slider .slick-next {
        display: none !important;
    }
}



/* Featured / left news overlay */
.news-featured {
    position: relative;
    overflow: hidden;
    border-radius: 0px !important;
}

.news-featured img {
    width: 100%;
    display: block;
    border-radius: 0px !important;
}

.news-featured .news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(153, 8, 67, 0.85);
    /* red overlay */
    color: #fff;
    padding: 2px 15px !important;
    border-radius: 0 0 0px 0px;
}

/* Right-side small news items */
/* Right-side small news items - desktop */
.news-small {
    display: flex;
    width: 100%;
}

/* Image 40% */
.news-img-wrap {
    width: 50%;
}

/* Image 40%, no margin */
.news-img-wrap img.news-thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0px !important;
    /* optional rounded corners */
}


.news-content-wrap {
    width: 50%;
    color: #fff;
    padding: 0px 10px;
    border-radius: 0px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Content 60%, no spacing */
.news-small .flex-fill {
    width: 60%;
    padding: 15px;
    background: rgba(153, 8, 67, 0.85);
    /* red overlay */
    color: #fff;
    border-radius: 0px !important;
    /* optional */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    margin-top: 10px !important;
    color: #fff;
}

.news-desc {
    color: #fff;
}


.news-small .news-title-sm {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.news-small .news-desc-sm {
    font-size: 16px;
    margin-bottom: 0px;
    line-height: 14px;
    color: #000;
}

.news-date {
    color: #000;
}

.news-date i {
    margin-right: 0px;
    color: #000;
}

.read-more-btn,
.read-more-sm {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    background: #fff;
    color: #990843;
    font-size: 10px;
    border: none;
}

.news-date-1 {
    color: #fff;
}

.news-right-button-1 {
    background-color: #990843;
    color: #fff;
}

.news-right-button-1:hover {
    background-color: #990843 !important;
    color: #fff !important;
}

.more-news-btn {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border: none;
    border-bottom: 2px solid #990843;
    border-radius: 0px !important;
    color: #990843 !important;
}

.more-news-btn:hover {
    background: #990843 !important;
    color: #fff !important;
}

.more-news-btn img {
    width: 14px;
    height: 14px;
}

.read-more-btn,
.read-more-sm:hover {
    background: #fff !important;
    color: #990843 !important;
}

.read-more-btn img,
.read-more-sm img {
    width: 10px;
    height: 10px;
    margin-left: 6px;
}

/* === Responsive === */
@media (max-width: 576px) {

    /* Featured / left news: overlay moves below image */
    .news-featured .news-overlay {
        position: static;
        /* remove absolute */
        transform: none;
        width: 100%;
        border-radius: 0px !important;
        /* keep same border radius */
        margin-top: 0;
        background: #990843;
        /* solid red */
        padding: 15px;
    }

    /* Right-side small news: stack vertically */
    .news-small {
        flex-direction: column;
    }

    .news-img-wrap,
    .news-content-wrap {
        width: 100%;
    }

    .news-img-wrap img.news-thumb {
        margin-bottom: 10px;
        border-radius: 0px !important;
    }

    .news-content-wrap {
        border-radius: 0 !important;
    }

    .news-small .flex-fill {
        width: 100%;
        border-radius: 0 !important;
    }

    .news-small .read-more-sm,
    .news-small .news-date i {
        color: #fff;
        /* ensure white text */
    }
}

.stat-box {
    position: relative;
    min-height: 260px;
    padding: 30px;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-box::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.45); */
    /* optional overlay */
}

.stat-box * {
    position: relative;
    z-index: 2;
}

.stat-box h1 {
    font-size: 80px !important;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}

.stat-box p {
    color: #fff;
    font-size: 16px;
}

/* Flex container for icon + text */
.icon-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* space between icon and text */
}

.icon-text img {
    width: 40px;
    /* icon size */
    height: auto;
}

.icon-text h3 {
    font-size: 30px !important;
    font-weight: 800;
    margin: 0;
    /* remove default margin */
    color: #fff;
}

/* Unique Background Images For Each Column */
.bg-1 {
    background-image: url('../images/fu/G1.png');
}

.bg-2 {
    background-image: url('../images/fu/G2.png');
}

.bg-3 {
    background-image: url('../images/fu/G3.png');
}

.bg-4 {
    background-image: url('../images/fu/G4.png');
}

.bg-5 {
    background-image: url('../images/fu/G5.png');
}

.bg-6 {
    background-image: url('../images/fu/G6.png');
}




/* header-menu menu */
.header-menu {
    display: block;
    width: 100%;
    /* position: relative;
    z-index: 99; */
    padding: 0px;
    background-color: #990843;
}


.header-menu .menu .menu-main>li:hover {
    /* background: linear-gradient(to bottom, #f2f2f2, #cecece); */
    background: none;
}



.header-menu .menu .menu-main>li>a {
    position: relative;
    text-decoration: none;
}

.header-menu .menu .menu-main>li>a::before {
    content: "";
    position: absolute;
    top: -6px;
    /* controls distance from text */
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.25s ease;
}

.header-menu .menu .menu-main>li:hover>a::before {
    width: 100%;
}

.v-center {
    align-items: center !important;
}

.header-menu .item-left {
    flex: 0 0 17%;
}

.header-menu .logo a {
    font-size: 30px;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
}

.header-menu .item-center {
    flex: 0 0 58%;
}

.header-menu .item-right {
    flex: 0 0 17%;
    display: flex;
    justify-content: flex-end;
}

.header-menu .item-right a {
    text-decoration: none;
    font-size: 14px;
    color: #555555;
    display: inline-block;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.header-menu .menu>ul>li {
    display: inline-block;
    line-height: 30px;
    padding: 10px 20px;
    margin: 0;
    position: relative;
}

.header-menu .menu>ul>li>a {
    font-size: 15px;
    font-weight: 500;
    color: #fff !important;
    position: relative;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.header-menu .menu>ul>li .sub-menu {
    position: absolute;
    z-index: 500;
    background-color: #ffffff;
    box-shadow: -2px 2px 70px -25px rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    transition: all 0.5s ease;
    margin-top: 25px;
    opacity: 0;
    visibility: hidden;
}

.sub-menu ul {
    padding: 0px;
}

.menu,
ol,
ul {
    margin: 0px !important;
}


@media (min-width: 992px) {
    .header-menu .menu>ul>li.menu-item-has-children:hover .sub-menu {
        margin-top: 0;
        visibility: visible;
        opacity: 1;
    }


    .header-menu .row {
        display: flex;
        justify-content: center;
    }

    .header-menu .header-item {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .header-menu .menu {
        width: auto;
    }

    .header-menu .menu>ul.menu-main {
        display: flex;
        justify-content: center;
        align-items: center;
    }

}

.header-menu .menu>ul>li .sub-menu>ul>li {
    line-height: 1;
}

.header-menu .menu>ul>li .sub-menu>ul>li>a {
    display: inline-block;
    padding: 10px 0;
    font-size: 14px;
    color: #555555;
    transition: color 0.3s ease;
    text-decoration: none;
    text-transform: capitalize;
}

.header-menu .menu>ul>li .single-column-menu {
    min-width: 280px;
    max-width: 350px;
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    max-width: 800px;
    display: flex;
    flex-wrap: nowrap;
    padding: 20px 15px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    border-bottom: 2px solid #890C25;
}

.header-menu .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li {
    line-height: 1;
    display: block;
}

.header-menu .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
    padding: 10px 0;
    display: inline-block;
    font-size: 14px;
    color: #555555;
    transition: color 0.3s ease;
}

.header-menu .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-style: solid;
    text-decoration-color: #890C25;
}

.header-menu .menu>ul>li .sub-menu>ul>li>a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-style: solid;
    text-decoration-color: #890C25;
}

.header-menu .menu>ul>li .sub-menu.mega-menu {
    left: 50%;
    transform: translateX(-50%);
}

.header-menu .menu>ul>li .sub-menu.mega-menu-column-4 {
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    max-width: 800px;
    display: flex;
    flex-wrap: nowrap;
    padding: 20px 15px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    border-bottom: 2px solid #890C25;
}

.header-menu .menu>ul>li .sub-menu.mega-menu-column-4>.list-item {
    flex: 1 1 auto;
    min-width: 200px;
    /* Or adjust as needed */
    padding: 0 15px;
}

.header-menu .menu>ul>li .sub-menu.mega-menu-column-4>.list-item .title {
    font-size: 16px;
    color: #890C25;
    font-weight: 500;
    line-height: 1;
    padding: 10px 0;
}

.header-menu .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center .title {
    text-align: center;
}

.header-menu .menu>ul>li .sub-menu.mega-menu-column-4>.list-item img {
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    margin-top: 10px;
    height: 300px;
    object-fit: cover;
}

.header-menu .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a:hover,
.header-menu .menu>ul>li .sub-menu>ul>li>a:hover,
.header-menu .item-right a:hover,
.header-menu .menu>ul>li:hover>a {
    color: #890C25;
}

/* banner section */
.banner-section {
    background-image: url("../img/banner.jpg");
    background-size: cover;
    background-position: center;
    height: 700px;
    width: 100%;
    display: block;
}

.mobile-menu-head,
.mobile-menu-trigger {
    display: none;
}

/* Adjust mega menu for last two items */
.header-menu .menu>ul>li:last-child .sub-menu.mega-menu-column-4,
.header-menu .menu>ul>li:nth-last-child(2) .sub-menu.mega-menu-column-4 {
    left: auto;
    right: 0;
}


/* responsive */
@media (max-width: 991px) {
    

    /* Adjust mega menu for last two items */
    .header-menu .menu>ul>li:last-child .sub-menu.mega-menu-column-4,
    .header-menu .menu>ul>li:nth-last-child(2) .sub-menu.mega-menu-column-4 {
        left: auto;
        right: 0;
        transform: none;
    }

    /* Keep normal alignment for other items */
    .header-menu .menu>ul>li:not(:last-child):not(:nth-last-child(2)) .sub-menu.mega-menu-column-4 {
        left: 0;
        right: auto;
    }

    /* adjust last item */

    .header-menu .menu .menu-main>li:hover {
        background: none;
    }

    .header-menu .item-center {
        order: 3;
        flex: 0 0 100%;
    }


    .header-menu .item-right {
        margin-left: auto;   /* pushes it to right */
        display: flex;
        align-items: center;
    }

    .header-menu .item-left,
    .header-menu .item-right {
        flex: 0 0 auto !important;
    }

    .v-center {
        justify-content: space-between;
    }

    .header-menu .mobile-menu-trigger {
        display: flex;
        height: 30px;
        width: 30px;
        margin-left: 15px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }

    .header-menu .mobile-menu-trigger span {
        display: block;
        height: 2px;
        background-color: #fff;
        width: 24px;
        position: relative;
    }

    .header-menu .mobile-menu-trigger span:before,
    .header-menu .mobile-menu-trigger span:after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
    }

    .header-menu .mobile-menu-trigger span:before {
        top: -6px;
    }

    .header-menu .mobile-menu-trigger span:after {
        top: 6px;
    }

    .header-menu .item-right {
        align-items: center;
    }

    .header-menu .menu {
        position: fixed;
        width: 320px;
        background-color: #ffffff;
        left: 0;
        top: 0;
        height: 100%;
        overflow: hidden;
        transform: translate(-100%);
        transition: all 0.5s ease;
        z-index: 1099;
    }

    .header-menu .menu.active {
        transform: translate(0%);
    }

    .header-menu .menu>ul>li {
        line-height: 1;
        margin: 0;
        display: block;
    }

    .header-menu .menu>ul>li>a {
        line-height: 30px;
        height: 50px;
        padding: 0 50px 0 15px;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .header-menu .menu>ul>li>a i {
        position: absolute;
        height: 50px;
        width: 50px;
        top: 0;
        right: 0;
        text-align: center;
        line-height: 50px;
        transform: rotate(-90deg);
    }

    .header-menu .menu .mobile-menu-head {
        display: flex;
        height: 50px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 501;
        position: sticky;
        background-color: #ffffff;
        top: 0;
    }

    .header-menu .menu .mobile-menu-head .go-back {
        height: 50px;
        width: 50px;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        line-height: 50px;
        text-align: center;
        color: #000000;
        font-size: 16px;
        display: none;
    }

    .header-menu .menu .mobile-menu-head.active .go-back {
        display: block;
    }

    .header-menu .menu .mobile-menu-head .current-menu-title {
        font-size: 15px;
        font-weight: 500;
        color: #000000;
    }

    .header-menu .menu .mobile-menu-head .mobile-menu-close {
        height: 50px;
        width: 50px;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        line-height: 50px;
        text-align: center;
        color: #000000;
        font-size: 25px;
    }

    .header-menu .menu .menu-main {
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .header-menu .menu>ul>li .sub-menu,
    .header-menu .menu>ul>li .sub-menu.mega-menu {
        position: fixed;
        top: 25px;
        /* <-- adjust to match your mobile header height */
        left: 0;
        width: 100%;
        height: calc(100% - 25px);
        /* to prevent overflow below screen */
        background: #fff;
        z-index: 1100;
        overflow-y: auto;
        display: none;
        visibility: visible;
        opacity: 1;
        transform: translateX(0%);
        padding: 15px;
    }

    .header-menu .menu>ul>li .sub-menu.active {
        display: block;
    }

    @keyframes slideLeft {
        0% {
            opacity: 0;
            transform: translateX(100%);
        }

        100% {
            opacity: 1;
            transform: translateX(0%);
        }
    }

    @keyframes slideRight {
        0% {
            opacity: 1;
            transform: translateX(0%);
        }

        100% {
            opacity: 0;
            transform: translateX(100%);
        }
    }

    .header-menu .menu>ul>li .sub-menu.mega-menu-column-4>.list-item img {
        margin-top: 0;
    }

    .header-menu .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center .title {
        margin-bottom: 20px;
    }

    .header-menu .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center:last-child .title {
        margin-bottom: 0px;
    }

    .header-menu .menu>ul>li .sub-menu.mega-menu-column-4>.list-item {
        flex: 0 0 100%;
        padding: 0px;
    }

    .header-menu .menu>ul>li .sub-menu>ul>li>a,
    .header-menu .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
        display: block;
    }

    .header-menu .menu>ul>li .sub-menu.mega-menu>.list-item>ul {
        margin-bottom: 15px;
    }

    .menu-overlay {
        position: fixed;
        background-color: rgba(0, 0, 0, 0.5);
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1098;
        visibility: hidden;
        opacity: 0;
        transition: all 0.5s ease;
    }

    .menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }
}

/* header-menu menu */

/* main header */
.main-header {
    padding: 15px 0;
}

/* UL base */
.main-header .top-header {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

/* LI styling */
.main-header .top-header li {
      position: relative;
    background-color: #e8e8e8;
    padding: 8px 14px;
    border-radius: 0px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #fff;
    overflow: hidden;          /* important */
    cursor: pointer;
    transition: background 0.3s ease;
}

.main-header .top-header li::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        #ffffff80 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    transition: 0.6s ease;
}

/* Hover animation */
.main-header .top-header li:hover::before {
    left: 150%;
}

/* Links */
.main-header .top-header a {
    color: #757575;
    text-decoration: none;
    font-size: 14px;

    display: flex;
    align-items: center;
    gap: 6px;
}

/* Icons */
.main-header .top-header img {
    width: 16px;
}

/* Logo */
.main-header .header-logo img {
    width: 300px;
}

/* Right-side white borders */
.main-header .right-menu .bordered {
    padding-left: 15px;
    padding: 8px 44px;
}

.contact-img img {
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}

@media (max-width: 991px) {
    .contact-img img {
        border-radius: 0 !important;
    }
}

.responsive-iframe {
    width: 100%;
    min-height: 670px;
}

/* Hover effect */
/* .main-header .top-header li:hover {
    background-color: #444444;
    transition: background-color 0.2s ease-in-out;
} */

/* Alignment */
.main-header .left-menu {
    justify-content: flex-start;
}

.main-header .right-menu {
    justify-content: flex-end;
}


/* LEFT MENU – edge spacing + rounded ends */
.main-header .left-menu li:first-child {
    padding-left: 22px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.main-header .left-menu li:last-child {
    padding-right: 22px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Ensure middle items stay normal */
.main-header .left-menu li:not(:first-child):not(:last-child) {
    border-radius: 0;
}

/* Right Menu – edge spacing + rounded ends */
.main-header .right-menu li:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.main-header .right-menu li:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Ensure Middle Items Stay Normal */
.main-header .right-menu li:not(:first-child):not(:last-child) {
    border-radius: 0;
}

/* main header end */
.secondary_menu_top {
    padding: 5px 0 5px 58px !important;
}

@media (max-width: 991px) {

    /* Reorder columns */
    .main-header .col-lg-4:nth-child(1) {
        order: 2;
        /* left menu */
    }

    .main-header .col-lg-4:nth-child(2) {
        order: 1;
        /* logo */
    }

    .main-header .col-lg-4:nth-child(3) {
        order: 3;
        /* right menu */
    }

    /* Center everything */
    .main-header .row {
        text-align: center;
    }

    .main-header .left-menu,
    .main-header .right-menu {
        justify-content: center;
        margin: 8px auto;
    }

    .main-header .right-menu {
        margin-top: 12px !important;
    }

    /* Remove right alignment */
    .main-header .text-end {
        text-align: center !important;
    }

    /* Logo spacing */
    .main-header .header-logo {
        display: block;
        margin-bottom: 12px;
    }

    .secondary_menu_top {
        padding: 5px !important;
    }


    .header-menu .menu>ul>li>a::before {
        display: none !important;
        content: none !important;
    }

    .header-menu .menu>ul>li>a {
        color: #990843 !important;
        text-decoration: none;
    }
}


/* footer link */

/* University Footer Styles */
.university-footer {
    background: linear-gradient(135deg, #8B1538 0%, #6B0F2C 100%);
    color: #ffffff;
    padding: 60px 0 0;
    position: relative;
}

/* Footer Headings */
.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
    text-transform: capitalize;
    margin-top: 40px;
}

/* Logo Section */
.footer-logo img {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* .social-icon:hover {
    background: #ffffff;
    color: #8B1538;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
} */

/* App Download Buttons */
.app-downloads {
    margin-top: 30px;
}

.app-btn {
    display: block;
    transition: transform 0.3s ease;
}

/* .app-btn:hover {
    transform: scale(1.05);
} */

.app-btn img {
    border-radius: 8px;
    /* box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); */
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a:hover {
    color: #e8e8e8;
    padding-left: 5px;
}

.footer-links li a i {
    font-size: 12px;
}

/* Contact Info */
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-info li i {
    font-size: 18px;
    margin-top: 3px;
    color: #FFD700;
}

.contact-info li span {
    flex: 1;
    font-size: 15px;
}

/* Newsletter Section - Bottom Right */
.newsletter-bottom {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: 0;
}

.newsletter-form-bottom {
    margin-top: 20px;
}

.newsletter-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
}

.newsletter-wrapper .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 30px;
    padding: 15px 25px;
    font-size: 15px;
    color: #333;
    flex: 1;
    max-width: 500px;
}

.newsletter-wrapper .form-control::placeholder {
    color: #999;
}

.newsletter-wrapper .form-control:focus {
    background: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.3);
    outline: none;
}

.newsletter-wrapper .btn-submit {
    background: #ffffff;
    color: #8B1538;
    border: none;
    border-radius: 30px;
    padding: 8px 45px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-wrapper .btn-submit:hover {
    background: #e8e8e8;
    color: #8B1538;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 50px;
}

.copyright-text {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Chat Icon */
.chat-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-icon i {
    font-size: 28px;
    color: #8B1538;
}

.chat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .university-footer {
        padding: 40px 0 0;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .newsletter-bottom {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .newsletter-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-wrapper .form-control {
        max-width: 100%;
    }

    .newsletter-wrapper .btn-submit {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .social-icons {
        justify-content: center;
    }

    .footer-logo {
        text-align: center;
    }

    .app-downloads {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .app-btn {
        max-width: 200px;
    }

    .newsletter-bottom {
        padding: 20px;
    }

    .chat-icon {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .chat-icon i {
        font-size: 24px;
    }
}

/* Slider */
.media-gallery {
    width: 100%;
}

.media-slide {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay + Center Play Button */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    /* Important */
}

.play-btn {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #c51c48;
    font-size: 28px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    padding-left: 8px;
    /* Offset play icon to center visually */
}

/* Outer ring */
.play-btn::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Hover effects */
.play-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.play-btn:hover::before {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.8);
    border-width: 4px;
}

.play-btn:hover i {
    transform: translateX(3px);
    color: #a01638;
}

.play-btn i {
    transition: all 0.3s ease;
}

/* Pulse animation on hover */
@keyframes pulse-ring {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

.play-btn:hover::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: pulse-ring 1.5s ease-out infinite;
}

/* Active/Click state */
.play-btn:active {
    transform: scale(0.95);
}

/* External Arrows */
.media-prev,
.media-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.media-prev:hover,
.media-next:hover {
    background: none;
    transform: translateY(-50%) scale(1.1);
}

.media-prev {
    left: 20px;
}

.media-next {
    right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .media-slide {
        height: 50vh;
    }

    .play-btn {
        width: 80px;
        height: 80px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .media-slide {
        height: 40vh;
    }

    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

/* YouTube Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.video-content {
    position: relative;
    width: 80%;
    height: 70%;
    margin: 5% auto;
    background: #000;
}

@media (max-width: 768px) {
    .video-content {
        height: 25%; /* smaller height for mobile */
    }
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-video:hover {
    transform: scale(1.2);
}

/* virtual tour start */

.vtour-wrapper {
    background: url('../images/fu/virtualcampustour.png') center center no-repeat;
    background-size: cover;
    height: 500px;
    /* adjust if needed */
    position: relative;
}

.vtour-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* optional overlay */
}

.vtour-trigger {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.vtour-play-icon {
    width: 75px;
    /* adjust size */
    transition: 0.3s ease;
}

.vtour-play-icon:hover {
    transform: scale(1.1);
}

/* virtual tour end */

/* ==============================
   Testimonial Section Styles
   ============================== */

.testimonial-section {
    background: #990843;
    padding: 80px 0;
    min-height: 600px;
    position: relative;
}

/* Left Side - Header */
.testimonial-left {
    color: #ffffff;
    padding: 30px 5px;
}

.header-icon {
    margin-bottom: 20px;
}

.quote-icon {
    width: 50px;
    height: 50px;
}

.testimonial-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.title-light {
    font-weight: 300;
}

.testimonial-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 400;
    color: #fff;
}

.testimonial-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
    color: #fff;
}

/* Navigation Arrows */
.testimonial-nav {
    display: flex;
    gap: 15px;
}

.slick-prev-custom,
.slick-next-custom {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slick-prev-custom:hover,
.slick-next-custom:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.slick-prev-custom img,
.slick-next-custom img {
    width: 24px;
    height: 24px;
}

/* Testimonial Slider */
.testimonial-slider {
    padding: 20px 0px 20px 100px;
}

.testimonial-slider .slick-slide {
    overflow: visible !important;
}


.testimonial-author-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quote-mark img {
    width: 40px;
    /* adjust size */
}

.testimonial-item {
    padding: 0 15px;
    outline: none;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px 15px;
    position: relative;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Student Image */
.testimonial-image {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 50;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-slider .slick-slide {
    overflow: visible !important;
}

/* Stars Rating */
.testimonial-stars {
    margin-bottom: 25px;
    padding-top: 10px;
}

.testimonial-stars i {
    font-size: 24px;
    margin-right: 3px;
    font-style: normal;
}

.star-filled {
    color: #C93B66;
}

.star-empty {
    color: #E0E0E0;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 30px;
    min-height: 100px;
    margin-top: 70px;
}

/* Author Info */
.testimonial-author {
    margin-bottom: 20px;
}

.author-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333333;
    margin-bottom: 8px;
}

.author-college {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

/* Large Quote Mark */
.quote-mark {
    /* position: absolute; */
    bottom: 15px;
    right: 15px;
}

.quote-mark img {
    width: 50px;
    height: 50px;
}

/* Slick Slider Customization */
/* No pagination dots needed */

/* ==============================
   Responsive Styles
   ============================== */

@media (max-width: 991px) {
    .testimonial-left {
        padding: 40px 30px;
        text-align: center;
        margin-bottom: 30px;
    }

    .testimonial-title {
        font-size: 36px;
    }

    .testimonial-nav {
        justify-content: center;
    }

    .testimonial-slider {
        padding: 20px 20px;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-left {
        padding: 30px 20px;
    }

    .testimonial-title {
        font-size: 32px;
    }

    .testimonial-subtitle {
        font-size: 16px;
    }

    .testimonial-description {
        font-size: 14px;
    }

    .testimonial-card {
        padding: 35px 25px;
        min-height: 380px;
    }

    .testimonial-image {
        width: 100px;
        height: 100px;
        top: 8px;
        right: 10px;
    }

    .testimonial-stars i {
        font-size: 20px;
    }

    .testimonial-text {
        font-size: 14px;
        min-height: 80px;
    }

    .author-name {
        font-size: 16px;
    }

    .quote-mark img {
        width: 60px;
        height: 60px;
    }

    .slick-prev-custom,
    .slick-next-custom {
        width: 50px;
        height: 50px;
    }

    .slick-prev-custom img,
    .slick-next-custom img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .testimonial-title {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 30px 20px;
        min-height: 350px;
    }

    .testimonial-image {
        width: 80px;
        height: 80px;
        top: 10px;
        right: 10px;
    }

    .testimonial-item {
        padding: 0 5px;
    }

    .quote-mark img {
        width: 50px;
        height: 50px;
    }
}

.slider-wrapper {
    position: relative; /* required for absolute positioning inside */
}

/* Desktop: overlapping slider */
.portalsBoxMainCustom {
    position: absolute;
    bottom: -0px;            /* overlap slider slightly */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.portalsBoxCustom {
    position: relative;
    flex: 1 1 150px;
    min-width: 120px;
    max-width: 300px;
    text-align: center;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    background: #f0f0f0;
    color: #fff;
    box-sizing: border-box;
    overflow: hidden;      /* important */
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Shine effect */
.portalsBoxCustom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.7s;
}

/* Hover animation */
.portalsBoxCustom:hover::before {
    left: 150%;
}

/* Optional lift effect */
/* .portalsBoxCustom:hover {
    transform: translateY(-4px);
} */

/* Tablet: 2 items per row under slider */
@media (max-width: 992px) {
    .portalsBoxMainCustom {
        position: relative !important;   /* place under slider */
        margin-top: 5px;
        justify-content: space-between !important;
        gap: 15px;
    }

    .portalsBoxCustom {
        flex: 0 0 48%;      /* 2 items per row */
        max-width: 48%;
        margin-bottom: 0px;
        border-radius: 0px !important;
    }
}

/* Mobile: 1 item per row */
@media (max-width: 576px) {
    .portalsBoxCustom {
        flex: 0 0 100%;      /* full width */
        max-width: 100%;
    }
}

.video-slider {
    position: relative;
    overflow: hidden;
}

/* Video */
.slider-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text over video */
.slider-content {
    position: absolute;
    top: 48%;
    left: 32%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    text-align: left;
}

.slider-content h1{
    color: #fff;
    font-size: 75px !important;
    font-weight: 300;
    letter-spacing: 4px;
}

.slider-content p{
    color: #fff;
    font-size: 35px;
    font-weight: 300;
}

/* Optional dark overlay */
.video-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

@media (max-width: 1399px) {
    .slider-content {
        left: 30%;
    }
      .slider-content h1{
    color: #fff;
    font-size: 45px !important;
    font-weight: 300;
    letter-spacing: 1px;
}

.slider-content p{
    color: #fff;
    font-size: 20px;
    font-weight: 300;
}
}


@media (max-width: 992px) {
    .slider-content {
        left: 40%;
        text-align: center;
    }
    .slider-content h1{
    color: #fff;
    font-size: 25px !important;
    font-weight: 300;
    letter-spacing: 1px;
}

.slider-content p{
    color: #fff;
    font-size: 15px;
    font-weight: 300;
}

}

@media (max-width: 576px) {
    .slider-content {
        left: 50%;
        width: 90%;
        padding: 0 15px;
        text-align: center;
    }
    .slider-content h1{
    color: #fff;
    font-size: 25px !important;
    font-weight: 300;
    letter-spacing: 1px;
}

.slider-content p{
    color: #fff;
    font-size: 15px;
    font-weight: 300;
}
}

.slider-sub-text {
    display: flex;
    align-items: center;   /* vertically align */
    gap: 10px;             /* space between image and text */
    color: #fff;
}

.slider-sub-text img {
    width: 45px;   /* adjust size */
    height: auto;
}

@media (max-width: 992px) {
    .slider-sub-text img {
        display: none !important;
    }
    .slider-sub-text{
    justify-content: center; /* center text when image is hidden */
    }
}

@media (max-width: 576px) {
    .slider-sub-text img {
        display: none !important;
    }
}

