﻿ 
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

/* Columns */
[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
.icon-font{
    font-weight: 800;
    font-size: xx-small;
}

/* Small devices (sm >= 576px) */
@media (min-width: 576px) {
    .col-sm-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-sm-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-sm-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-sm-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-sm-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-sm-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-sm-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-sm-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-sm-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-sm-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Medium devices (md >= 768px) */
@media (min-width: 768px) {
    .col-md-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-md-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-md-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-md-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Large devices (lg >= 992px) */
@media (min-width: 992px) {
    .col-lg-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-lg-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-lg-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}  

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Mulish", sans-serif; /* Font family */
}
.font-base {
    font-family: Mulish !important;
}
.my-text {
    font-family: "Mulish", sans-serif; /* Font family */
    font-optical-sizing: auto; /* Adjusts optical size automatically */
    font-weight: 400; /* Replace 400 with 100, 200, 300, ..., 900 as needed */
    font-style: normal; /* Can be 'normal', 'italic', or 'oblique' */
}



.container-nav {
    width: 99%;
    margin: auto;
    display: flex;
}
.row {
    display: flex;
    
}

.space-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}
/* =============== GLOBAL FIX =============== */
.container {
    width: 88%;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.space-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

/* =============== TOP BAR =============== */
.topbar {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-size: 16px;
}

.topbar-left span {
    margin-right: 20px;
    color: #333;
}

.topbar i {
    font-size: larger;
    margin-right: 5px;
    color: #0a3a92;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    /*left: 195px;*/
}

.tag {
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

    .tag.yellow {
        background: #f4da2d;
    }

    .tag.green {
        background: #23b36a;
        color: #fff;
    }
/* ---------------- Mobile: 3 Row Layout ---------------- */
@media (max-width: 768px) {

    .topbar {
        padding: 10px 0;
        font-size: 14px;
        text-align: center;
    }

    /* ROW 1 – Left side */
    .topbar-left {
        width: 100%;
        display: block;
        margin-bottom: 10px;
    }

        .topbar-left span {
            display: block;
            margin: 4px 0;
        }

    /* ROW 2 – Tags Center */
    .topbar-right .tag {
        display: inline-block;
        margin: 5px 4px;
    }

    /* ROW 3 – Remaining Right Items */
    .topbar-right {
        width: 100%; 
        gap: 5px;
        margin-top: 10px;
    }
}

/* =============== HEADER =============== */
.header-main {
    padding: 1px 0;
}

.header-logo img {
    height: 75px;
    width: auto;
}

.header-links {
    display: flex;
    gap: 30px;
}

    .header-links a {
        text-decoration: none;
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        color: #000;
        font-weight: 400;
    }

        .header-links a:hover {
            color: #f7b205;
        }

.NEWlogo {
    width: 40px;
    height: 20px;
}

/* MOBILE BUTTON */
.mobile-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
}

/* --------------------------
   MOBILE RESPONSIVE MENU
--------------------------- */
@media (max-width: 768px) {

    /* Show toggle btn */
    .mobile-toggle {
        display: block;
    }

    /* Hide menu normally */
    .header-links {
        display: none;
        flex-direction: column;
        background: #fff;
        padding: 15px;
        gap: 15px;
        position: absolute;
        right: 20px;
        top: 80px;
        width: 200px;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.15);
        z-index: 999;
    }

        /* Show when active */
        .header-links.active {
            display: flex;
        }
}

/*-------
    ============================ MAIN NAV BACKGROUND ============================   
------------*/
.bottomnav {
    background: linear-gradient(97deg, rgba(19,54,172,1) 0%, rgba(4,50,146,1) 43%, rgb(255 108 135) 100%);
    padding: 0;
}

/* DESKTOP NAV */
.bottomnav-links {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    transition: 0.3s;
}

    .bottomnav-links > .dropdown > a {
        padding: 10px 6px;
        display: flex;
        align-items: center;
        color: #fff;
        gap: 1px;
        font-size: 15px;
        text-decoration: none;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }

        .bottomnav-links > .dropdown > a:hover {
            background: rgba(255,255,255,0.2);
        }

/* ---------- DROPDOWN ---------- */
.dropdown {
    position: relative;
}

/* Dropdown menu hidden by default */
.dropdown-menu {
    display: none; /* hidden initially */
    position: absolute;
    background: #fff;
    min-width: 220px;
    top: 100%;
    left: 0;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    border-radius: 4px;
    z-index: 999;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .dropdown-menu li a {
        display: block;
        padding: 10px 15px;
        color: #333;
        text-decoration: none;
    }

        .dropdown-menu li a:hover {
            background: #f5f5f5;
        }

/* Desktop hover */
@media (min-width: 768px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Mobile: open dropdown on click */
@media (max-width: 767px) {
    .dropdown-menu {
        position: relative;
        box-shadow: none;
        border-radius: 0;
    }

    /* Optional: toggle class for click */
    .dropdown.show .dropdown-menu {
        display: block;
    }
}

.has-sub {
    position: relative;
}

.right-icon {
    float: right;
    margin-top: 3px;
    font-size: 12px;
}

.sub-menu {
    position: absolute;
    top: 0;
    left: 145px; /* Right side open */
    background: #fff;
    width: 200px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    list-style: none;
    padding: 0;
    display: none;
    z-index: 9999;
}
.sub-R {
    right: 10px;
    position: absolute;
}
/* Show submenu on hover */
.has-sub:hover .sub-menu {
    display: block;
}

.sub-menu li a {
    padding: 10px 15px;
    color: #000;
}


/* HOVER SHOW — only desktop */
/*@media (min-width: 768px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}*/

/* MOBILE DESIGN */
.navbar-toggler {
    display: none; /* hide on desktop */
}

/* Show only on mobile */
@media (max-width: 767px) {
    .navbar-toggler {
        display: flex; /* or block */
        background: #fff;
        border: none;
        padding: 8px 10px;
        border-radius: 4px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }
    .sub-menu {
        position: relative;
        bottom: 2px;
        top: 0;
        left: 0px;
        background: #fff;
        width: auto;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        list-style: none;
        padding: 0;
        display: none;
        z-index: 9999;
    }
    .navbar-toggler-icon {
        background-image: url("https://cdn-icons-png.flaticon.com/512/56/56763.png");
        background-size: cover;
        width: 25px;
        height: 25px;
        display: inline-block;
    }

    /* Mobile menu items adjustments */
    #bottomNavMenu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .bottomnav-links > .dropdown > a {
        border-right: none;
        padding: 12px 15px;
        justify-content: space-between;
        width: 100%;
    }

    /* Dropdown inside mobile opens by click */
    .dropdown-menu {
        position: relative;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
    }
}

/* Optional: toggle active menu */
.show-menu {
    display: flex !important;
    flex-direction: column;
}


/* =========================    MAIN SLIDER WRAPPER   ========================= */
.digine-slider {
    position: relative;
    width: 100%;
    height: 70vh; /* Full responsive height */
    max-height: 650px;
    overflow: hidden;
}

/* SLIDES */
.digine-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover; /* Image auto-fill */
    background-position: center; /* Perfect Center */
    background-repeat: no-repeat; /* No repeat */
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

    .digine-slide.active {
        opacity: 1;
    }

/* LEFT CONTENT */
.digine-left { 
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 400px;
}

    .digine-left h1 {
        font-size: 30px;
        width: 400px;
        color: darkblue;
        font-weight: 800;
        margin-bottom: 5px;
    }

    .digine-left p {
        font-size: 16px;
        line-height: 1.6;
        max-width: 375px;
        margin-bottom: 20px;
    }

/* BUTTON */
.digine-btn {
    padding: 10px 22px;
    border: 2px solid #0b3392;
    color: #0b3392;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
}

/* RIGHT IMAGE */
.digine-right {
    width: 50%;
    position: relative;
    z-index: 1;
}

    .digine-right img {
        width: 100%;
        height: 420px;
        object-fit: cover;
    }

/* DIAGONAL SHAPE */
.digine-diagonal {
    position: absolute;
    right: 63%;
    width: 100%;
    height: 420px;
    background: rgb(224 235 242 / 81%);
    transform: skewX(-28deg);
    z-index: 1;
}

/* CONTROLS */
.digine-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 0 10px;
    transform: translateY(-50%);
}

    .digine-controls span {
        font-size: 35px;
        cursor: pointer;
        color: white;
        font-weight: 400;
        padding: 5px 10px;
         
        border-radius: 4px;
    }


/* =========================
   🔥 MOBILE FIX — SUPER CLEAN
========================= */
@media (max-width: 768px) {

    .digine-slide {
        flex-direction: column-reverse;
        padding: 0 15px;
        text-align: center;
    }

    .digine-left {
        background: rgb(224 235 242 / 81%);
        width: 100%;
        margin: 20px 0 0 0;
    }

        .digine-left h1 {
            font-size: 22px;
        }

        .digine-left p {
            font-size: 14px;
            max-width: 100%;
        }

    .digine-right {
        width: 100%;
        margin-top: 10px;
    }

        .digine-right img {
            height: 250px;
            width: 100%;
            object-fit: cover;
        }

    .digine-diagonal {
        display: none; /* Hide diagonal on small screens */
    }

    .digine-slider {
        height: 350px;
        padding-bottom: 20px;
    }

    .digine-controls span {
        font-size: 28px;
        margin-top: -60px;
        
    }
}

/* Extra small screens */
@media (max-width: 500px) {
    .digine-left h1 {
        font-size: 20px;
    }

    .digine-left p {
        font-size: 13px;
    }
}

    
    /*-------------------- stats-section --------------------------*/
    .stats-section {
        padding-top: 27px;
        margin-left: 91px;
        margin-bottom: 20px;
        padding-bottom: 40px;
    }

    /* GRID */
    .stats-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        height: 450px;
        width: 90%;
    }

    /* Large image left side */
    .stats-item.big {
        grid-row: span 2;
    }

    /* Every block */
    .stats-item {
        position: relative;
        overflow: hidden;
        border-radius: 6px;
        /*padding: 10px;*/ /* 🔥 andar ka content thoda chhota */
    }

        .stats-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            /*padding: 5px;*/ /* 🔥 image ko thoda chhota */
        }

    /* If you want only 2 images smaller (optional) */
    .category_1__img .category_2__img {
        width: 70%;
        height: 70%;
        object-fit: cover;
        display: block;
    }

    /* Text overlay */
    .stats-text {
        position: absolute;
        bottom: 20px;
        left: 20px;
        color: #fff;
        text-shadow: 0 0 7px rgba(0,0,0,0.6);
    }

        .stats-text h2 {
            position: absolute;
            font-size: 32px;
            bottom: 25px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            width: 100%;
        }

        .stats-text p {
            font-size: 25px; /* 🔥 smaller text */
            margin: 3px 0 0;
        }

    /* -------------------------------------
   📱 MOBILE RESPONSIVE (max 768px)
-------------------------------------- */
    @media (max-width: 768px) {
        .stats-grid {
            grid-template-columns: 1fr;
            grid-template-rows: auto;
        }

        .stats-item.big {
            grid-row: span 1;
        }

        .stats-item img {
            height: 250px; /* mobile height fix */
        }

        .stats-text h2 {
            font-size: 26px;
        }

        .stats-text p {
            font-size: 14px;
        }
    }

    /* -------------------------------------
   📱 SMALL DEVICES (max 500px)
-------------------------------------- */
    @media (max-width: 500px) {
        .stats-item img {
            height: 200px;
        }

        .stats-text {
            bottom: 10px;
            left: 10px;
        }

            .stats-text h2 {
                font-size: 22px;
            }

            .stats-text p {
                font-size: 13px;
            }
    }

    /*-------------------- About College Section --------------------------*/

    /* Section background */
    .about-bg {
        background-color: #043292;
        background-image: url('image/BG/about-bg.png');
        background-size: cover;
        background-position: center;
        padding: 25px 0;
        border-radius: 6px;
        margin-top: 30px;
        overflow: hidden;
    }

    /* Container for left + right */
    .itembox {
        display: flex;
        align-items: center; /* vertically center content */
        /*gap: 30px;*/ /* space between left and right */
        flex-wrap: wrap; /* allow wrapping on mobile */
    }

    /* Left image box */
    .LEFTbox {
        flex: 0 0 35%; /* 35% width on desktop */
    }

    /* Right content box */
    .RIGHTbox {
        flex: 0 0 65%; /* 65% width on desktop */
    }

    /* Center image */
    .img-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* About image */
.about-img {
    margin-top: -50px;
    position: absolute;
    width: auto;
    height: 350px;
}



    /* Right content */
.card-body {
    margin-left: -90px;
}

        /* Headings */
        .card-body h3 {
            font-size: 32px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
        }

        .card-body h5 {
            font-size: 20px;
            color: #fff;
            line-height: 1.6;
            margin-bottom: 9px;
        }

        /* Paragraph */
        .card-body p {
            color: #fff;
            font-size: 14px;
            line-height: 1.8;
        }

    /* Button wrapper */
    .about-btn {
        margin-top: 20px;
        text-align: right; /* desktop: right aligned */
    }

    /* Button styling */
    .btn-slider {
        background: transparent;
        border: 1px solid #fff;
        padding: 10px 25px;
        color: #fff;
        border-radius: 4px;
        font-weight: 500;
        transition: 0.3s;
    }

        .btn-slider:hover {
            background: #fff;
            color: #0b4c93;
        }

    /* RESPONSIVE */
    @media (max-width: 992px) {
        .admission-section {
            flex-direction: column;
            text-align: center;
            padding: 40px 20px;
        }

        .left-box,
        .right-box {
            width: 100%;
        }
        /* About image */
        .about-img {
            display: none;
            margin-top: -100px;
            position: absolute;
            width: auto;
            height: 350px;
        } 
        

        .right-box h3 {
            font-size: 18px;
        }

        .right-box h1 {
            font-size: 24px;
        }

        .enquiry-form {
            width: 100%;
            max-width: 350px;
            margin: 0 auto;
        }

            .enquiry-form button {
                width: 100%;
                max-width: 200px;
                margin: 15px auto 0 auto;
            }
    }

    /* EXTRA SMALL MOBILE */
    @media (max-width: 480px) {
        .admission-section {
            padding: 30px 15px;
        }

        .doctor-img {
            max-width: 280px;
        }

        .right-box h1 {
            font-size: 22px;
        }

        .right-box h3 {
            font-size: 16px;
        }

        .enquiry-form input,
        .enquiry-form select {
            padding: 10px;
            font-size: 13px;
        }
    }





    /*----------------===== News & Events And University =====----------------*/
    /* Outer box */
    .news-section {
        padding: 40px 0 20px 0;
         
        margin-top: 20px;
    }

.news {
    -webkit-justify-content: inherit;
    justify-content: center;
}
.news-box {
    border: 1px solid #e3e3e3;
    padding: 25px;
    width: 550px;
    background: #fff;
}

    .lift_box {
        margin-left: 30px;
    }

    .right_box {
        margin-left: 30px;
    }


    /* Header */
    .news-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
    }

        .news-header h3,
        .ann-title {
            font-size: 28px;
            font-weight: 700;
            position: relative;
            padding-bottom: 6px;
        }

            .news-header h3::after,
            .ann-title::after {
                content: "";
                position: absolute;
                width: 120px;
                height: 3px;
                background: #0b4c93;
                bottom: 0;
                left: 0;
            }

    .view-all {
        color: #0b4c93;
        font-weight: 500;
        font-size: 14px;
    }

    /* News list */
    .news-list {
        list-style: none;
        padding: 0;
        margin: 0;
        height: 330px;
        overflow: hidden;
    }

        .news-list li {
            display: flex;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }




    /* Date box */
    .date-box {
        background: #0b4c93;
        color: #fff;
        text-align: center;
        width: 50px;
        padding: 8px 0;
        border-radius: 4px;
        margin-right: 15px;
    }

    .day {
        display: block;
        font-size: 18px;
        font-weight: 700;
    }

    .month {
        display: block;
        font-size: 12px;
        margin-top: -4px;
    }

    /* Text */
    .news-text h5 {
        font-size: 16px;
        margin: 0;
        font-weight: 600;
    }
     

    .news-text p {
        font-size: 13px;
        color: gray;
        margin: 3px 0 0 0;
    }

    .arrow {
        margin-left: auto;
        font-size: 22px;
        color: #0b4c93;
    }

    .ann-title {
        overflow: hidden;
        position: relative;
        z-index: 1;
    }


    .ann-item {
        border: 1px solid #ddd;
        padding: 15px;
        display: flex;
        align-items: center;
        margin-bottom: 5px;
        background: #fff;
    }

        .ann-item h5 {
            margin: 0;
            margin-left: 15px;
            flex: 1;
            font-size: 16px;
        }

    .right_box {
        position: relative;
    }

    /* Scroll container */
    .ann-box {
        height: 400px;
        margin-top: 30px;
        overflow: hidden; /* Data out of box becomes hidden */
        position: relative;
    }

        /* Fading mask at top */
        .ann-box::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 50px; /* Kitna fade chahiye */
            background: linear-gradient(to bottom, white, transparent);
            z-index: 5; /* Mask always on top */
        }

    /* Inner auto-scroll area */
    .ann-scroll {
        position: absolute;
        width: 100%;
        animation: moveUp 12s linear infinite; /* Auto-scroll speed */
    }

    /* Animation */
    @keyframes moveUp {
        0% {
            transform: translateY(0);
        }

        100% {
            transform: translateY(-100%);
        }
    }

/* ---------------- Mobile Fixes ---------------- */
@media (max-width: 768px) {

    .news-section {
        padding: 20px 0 10px 0;
        background-size: cover;
        background-position: center;
    }

    .lift_box,
    .right_box {
        margin-left: 0 !important;
        margin-top: 20px;
    }

    .news-box {
        margin-bottom: 25px;
        width: 100% !important;
        padding: 20px !important;
    }

    .news-header h3,
    .ann-title {
        font-size: 20px !important;
        padding-bottom: 4px;
    }

    .news-list {
        height: auto !important;
        overflow: visible !important; /* FIXED */
    }

    .ann-box {
        height: 260px !important; /* perfect for mobile */
        overflow: hidden;
    }

    .date-box {
        width: 40px !important;
        padding: 4px 0 !important;
    }

    .news-text h5 {
        font-size: 14px !important;
    }

    .ann-item h5 {
        font-size: 14px !important;
    }

    /* Auto-scroll fix for mobile */
    .ann-scroll {
        position: relative !important;
        animation: moveUp 14s linear infinite !important;
        padding-bottom: 30px;
    }
}


    /*-------------------- Behind Sai College (The Leadership) --------------------------*/
    /* Background dotted pattern */

    /* Section Background */
    .team-section {
        padding: 5px 0 20px 0;
        background: #ffffff;
    }

    /* Heading */
    .team-title {
        font-size: 25px;
        font-weight: 500;
        margin-bottom: 25px;
        text-align: center;
    }

    .masked {
        background-color: transparent;
        background-repeat: no-repeat;
        background-position: left top 1.3em;
        padding-bottom: 0.5rem;
    }

    /* Each Card */
    .team-card {
        margin: 0 40px;
    }

    /* Inner card */
    .team-inner {
        text-align: center;
        padding: 25px 10px;
    }

    /* Profile Image */
    .team-img {
        width: 170px;
        height: 170px;
        border-radius: 50%;
        object-fit: cover;
        background: #fff;
        border: 2px solid #ececec;
        margin-bottom: 18px;
    }

    /* Name */
    .team-name {
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 4px;
        color: #212529;
        text-align: justify;
    }

    /* Role */
    .team-role {
        font-size: 14px;
        font-weight: 500;
        color: #666;
        margin-bottom: 14px;
        text-align: justify;
    }

    /* LinkedIn Icon */
    .ln-icon {
        width: 105px;
        transition: 0.3s;
    }

        .ln-icon:hover {
            transform: scale(1.07);
        }

    /* Give equal spacing between columns */
    .row.gap-row {
        row-gap: 40px !important;
        column-gap: 20px !important;
    }

    /* ==================== 
    MOBILE VIEW FIX (2 columns)
   ==================== */
    @media (max-width: 767px) {

        .team-section {
            padding: 20px 0;
        }

        /* Row spacing */
        .row.gap-row {
            row-gap: 25px !important;
        }

        /* ★ MAIN FIX — 2 columns in one row on mobile */
        .team-card {
            width: 50% !important; /* half width = 2 per row */
            margin: 0 0 20px 0 !important;
            padding: 0 10px; /* small left-right gap */
            display: block;
        }

        .team-inner {
            padding: 15px 5px;
        }

        .team-img {
            width: 120px;
            height: 120px;
            margin-left: 25px;
        }

        .team-name,
        .team-role {
            text-align: center;
        }

        .team-name {
            font-size: 16px;
            margin-bottom: 6px;
        }

        .team-role {
            font-size: 13px;
            margin-bottom: 10px;
        }

        .ln-icon {
            width: 85px;
        }
    }


    /* ============================  admission-section   ============================ */


    .admission-section {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 50px 5%;
        background: #f8f9fb;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    /* LEFT IMAGE */
    .left-box {
        width: 50%;
    }

    .doctor-img {
        width: 100%;
        object-fit: cover;
    }

    /* RIGHT FORM BOX */
    .right-box {
        width: 35%;
    }

        .right-box h3 {
            font-size: 20px;
            color: #444;
            margin-bottom: 2px;
        }

        .right-box h1 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 30px;
        }

    .enquiry-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-left: 50px;
    }

        .enquiry-form input,
        .enquiry-form select {
            width: 79%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 14px;
            outline: none;
            transition: 0.3s;
        }

            .enquiry-form input:focus,
            .enquiry-form select:focus {
                border-color: #007bff;
            }

        .enquiry-form button {
            padding: 8px;
            border: none;
            width: 150px;
            background: #0052e6;
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: 0.3s;
        }

            .enquiry-form button:hover {
                background: #003bb5;
            }

    /* RESPONSIVE */
    @media (max-width: 992px) {
        .admission-section {
            flex-direction: column;
            text-align: center;
        }

        .left-box,
        .right-box {
            width: 100%;
        }

        .doctor-img {
            max-width: 400px;
            margin: auto;
        }
    }



    /* ============================   FOOTER MAIN WRAPPER   ============================ */
    .main-footer {
        width: 100%;
        background: #043292;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: #fff;
        padding: 40px 0 30px;
        font-family: 'Poppins', sans-serif;
    }

    /* Parallex background overlay */
    .footer-parallex {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    /* ============================
   FOOTER GRID LAYOUT
============================ */
    .footer-container {
        width: 90%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 5px;
    }

    .footer-col {
        flex: 1 1 220px;
    }

        .footer-col.large {
            flex: 1 1 350px;
        }

    /* ============================
   LOGO + ABOUT
============================ */
    .footer-logo {
        width: 230px;
        height: 88px;
    }

    .mm {
        margin-top: 35px;
    }

    .footer-desc {
        font-size: 14px;
        width: 344px;
        line-height: 1.8;
        margin-bottom: 18px;
        opacity: .95;
    }

    /* ============================
   HEADING
============================ */
    .ft-h4 {
        font-size: 18px;
        margin-bottom: 18px;
        font-weight: 600;
        color: #f7b205;
    }

    /* ============================
   LIST LINKS
============================ */
    .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer-col ul li {
            margin-bottom: 10px;
        }

            /* Link style */
            .footer-col ul li a {
                color: #fff;
                text-decoration: none;
                font-size: 14px;
                display: flex;
                align-items: center;
                gap: 10px;
                transition: 0.3s;
            }

                .footer-col ul li a i {
                    font-size: 16px;
                    color: #f7b205;
                    transition: 0.3s;
                }

                .footer-col ul li a:hover {
                    color: #f7b205;
                    padding-left: 6px;
                }

                    .footer-col ul li a:hover i {
                        color: #fff;
                    }

    /* ============================
   SOCIAL ICONS
============================ */
    .footer-social {
        display: flex;
        gap: 12px;
        margin-top: 12px;
    }

        .footer-social a {
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            font-size: 18px;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            transition: 0.3s ease-in-out;
        }

            .footer-social a:nth-child(1) {
                background: #1877F2;
            }
            /* Facebook */
            .footer-social a:nth-child(2) {
                background: #0077B5;
            }
            /* LinkedIn */
            .footer-social a:nth-child(3) {
                background:  #f30d0d;
            }
            /* Instagram */
            .footer-social a:nth-child(4) {
                background: #ef319c;
            }
            /* Instagram */
            .ooter-social a:nth-child(5) {
                background: linear-gradient(45deg, #2e2e2e, #6b6b6b);
            }
            /* Lock Icon / Security */
            .footer-social a:hover {
                transform: translateY(-4px) scale(1.07);
                box-shadow: 0 6px 15px rgba(0,0,0,0.25);
                opacity: 0.95;
            }

    /* ============================
   GOOGLE MAP RESPONSIVE
============================ */
    .footer-col iframe {
        width: 100%;
        max-width: 350px;
        height: 250px;
        border-radius: 8px;
    }

    /* ============================
   BOTTOM BAR
============================ */
    .footer-bottom {
        width: 90%;
        margin: 25px auto 0;
        display: flex;
        justify-content: space-between;
        font-size: 14px;
    }

        .footer-bottom a {
            color: #f7b205;
            text-decoration: none;
        }

            .footer-bottom a:hover {
                text-decoration: underline;
            }

    /* Separator Line */
    .main-footer hr {
        border-color: rgba(255,255,255,0.2);
        margin-top: 40px;
    }

    /* ============================
   RESPONSIVE FOOTER
============================ */
    @media (max-width: 850px) {
        .footer-container {
            flex-direction: column;
            text-align: center;
            gap: 40px;
        }

        .footer-col ul li a {
            justify-content: center;
        }

        .footer-social {
            justify-content: center;
        }

        .footer-col iframe {
            margin: auto;
        }

        .footer-bottom {
            flex-direction: column;
            text-align: center;
            gap: 10px;
        }
    }

    @media (max-width: 480px) {
        .footer-logo {
            width: 220px;
        }

        .footer-social a {
            width: 34px;
            height: 34px;
            font-size: 15px;
        }

        .footer-col iframe {
            height: 200px;
        }
    }
/* Scroll-to-top button */
.scrollToTop {
    position: fixed;
    right: 30px;
    bottom: 70px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b76b4, #143b84);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(11, 55, 116, 0.25);
    text-decoration: none;
    z-index: 9999;
    transform: translateY(20px) scale(0.98);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    font-size: 20px; /* icon size */
}

    /* Visible state (add .show on scroll) */
    .scrollToTop.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    /* Hover/focus states */
    .scrollToTop:focus,
    .scrollToTop:hover {
        transform: translateY(-4px) scale(1.03);
        box-shadow: 0 12px 30px rgba(11, 55, 116, 0.35);
        outline: none;
    }

/* Slightly larger clickable area on mobile */
@media (max-width: 600px) {
    .scrollToTop {
        right: 18px;
        bottom: 18px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* Optional: change icon color smoothly if you use <i> color rules */
.scrollToTop i {
    display: inline-block;
    line-height: 1;
    transition: transform 200ms ease;
}
