html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
/* Page ko poori screen ki height dena taake white space na bache */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.hover-warning:hover {
    color: #ffc107 !important; /* Bootstrap Warning Color */
    transition: 0.3s;
}
/* BISE Sargodha Blue Color */
.top-bar-custom {
    background-color: #002b55 !important; /* Wahi Purana Blue */
}

/* Links Style & Hover Fix */
.top-link {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

    .top-link:hover {
        color: #ffc107 !important; /* Hover par Yellow color */
        text-shadow: 0px 0px 5px rgba(255, 193, 7, 0.5);
    }

    /* Icons color fix */
    .top-link i {
        transition: transform 0.3s ease;
    }

    .top-link:hover i {
        transform: scale(1.2);
    }

body {
    display: flex;
    flex-direction: column;
}

/* Content area ko phelana taake footer niche rahe */
form, main, .main-wrapper {
    flex: 1 0 auto;
}

/* Footer ki settings */
footer {
    flex-shrink: 0;
    width: 100% !important;
    margin-bottom: 0 !important; /* Kisi bhi kism ka margin khatam karne k liye */
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}
/* Custom Branding Colors */
:root {
    --bise-blue: #002b55;
    --bise-gold: #ffc107;
}
/* Light Blue Theme Branding */
/*:root {
    primary-blue: #007bff;*/ /* Primary Blue */
    /*light-bg: #e3f2fd;*/ /* Light Blue Background */
    /*hover-blue: #0056b3;
}*/

body {
    font-family: 'Segoe UI', Arial;
    background-color: #f0f7ff; /* Very light blue tint for body */
}

/* Navbar Enhancements */
.navbar {
    border-bottom: 3px solid var(--primary-blue);
}
/* Service Box Hover Fix */
.service-box {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out !important;
    z-index: 1;
}

    /* Hover par background color change na ho (white hi rahe) */
    .service-box:hover {
        background-color: #ffffff !important;
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

    /* Text Fix: Hover par color ghaib na ho */
    .service-box h6 {
        color: #002b55 !important; /* Dark Blue hamesha rahega */
        transition: color 0.3s ease;
        position: relative;
        z-index: 5; /* Text ko sab se upar rakhne ke liye */
    }

    /* Hover par text ka color change karna chahen to (Optional) */
    .service-box:hover h6 {
        color: #e31e24 !important; /* Hover par text red ho jayega magar hide nahi hoga */
    }

/* Icon circle fix */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-box:hover .icon-circle {
    transform: scale(1.1);
}


/* Iconic Grid Boxes - Light Blue Version */
.service-box {
    background: #ffffff;
    border: 1px solid #cce5ff !important;
    border-radius: 15px;
    transition: all 0.4s ease;
}

    .service-box:hover {
        background: var(--light-bg); /* Change to light blue on hover */
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0, 123, 255, 0.2) !important;
        border-color: var(--primary-blue) !important;
    }

/* Icon Circles */
.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8fbff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* Icon Colors */
.text-primary {
    color: #007bff !important;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #fd7e14 !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* Announcement Ticker Styling */
.ticker-container {
    background: #ffffff;
    border-left: 5px solid var(--primary-blue);
}

.navbar-nav .nav-link {
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

    .navbar-nav .nav-link:hover {
        color: var(--bise-blue) !important;
        border-bottom: 2px solid var(--bise-gold);
    }

.navbar-brand img {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-brand span {
        font-size: 1rem !important;
    }
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    cursor: pointer;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 50%;
}

/* Service Box Styling */
.service-box {
    background: #ffffff;
    transition: all 0.3s ease-in-out;
    border-color: #eee !important;
    position: relative;
}

    .service-box:hover {
        background: #002b55;
        color: #fff !important;
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

        .service-box:hover h6 {
            color: #fff;
        }

/* Icon Circle Backgrounds */
.icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.bg-light-blue {
    background: #e7f1ff;
    color: #0d6efd;
}

.bg-light-green {
    background: #e8f5e9;
    color: #2e7d32;
}

.bg-light-yellow {
    background: #fffde7;
    color: #fbc02d;
}

.bg-light-red {
    background: #ffebee;
    color: #c62828;
}

.bg-light-purple {
    background: #f3e5f5;
    color: #7b1fa2;
}

.bg-light-cyan {
    background: #e0f7fa;
    color: #0097a7;
}

.bg-light-orange {
    background: #fff3e0;
    color: #ef6c00;
}

.bg-light-dark {
    background: #f5f5f5;
    color: #212121;
}

/* Font size adjustment for small screens */
@media (max-width: 576px) {
    .service-box h6 {
        font-size: 0.8rem;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
    }
}
/* Container styling */
.board-services {
    background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
}

/* Service Box Enhancements */
.service-box {
    background: #ffffff;
    border: none !important;
    border-top: 4px solid var(--bise-blue); /* Top accent line */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

    .service-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 51, 102, 0.15) !important;
        background: #003366;
        color: white !important;
    }

/* Icon Box Styling */
.icon-circle {
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    transition: all 0.3s;
    background: #f8f9fa; /* Light grey background for icons */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.service-box:hover .icon-circle {
    background: rgba(255, 255, 255, 0.2);
    color: #ffc107 !important; /* Gold icons on hover */
    transform: rotateY(360deg);
}

.service-box h6 {
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 700;
}

footer {
    width: 100%;
    position: relative;
    clear: both; /* Ye bohot zaroori he footer ko niche push karne k liye */
}

.footer-simple-links a:hover {
    opacity: 1 !important;
    text-decoration: underline !important;
}

.social-icons i {
    font-size: 1.1rem;
    transition: 0.3s;
}

    .social-icons i:hover {
        color: #ffc107;
    }

.card {
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: scale(1.01);
    }

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    border-color: #007bff;
}

/* Chairman Section Styling */
.chairman-section .card {
    transition: all 0.3s ease;
}

    .chairman-section .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 123, 255, 0.1) !important;
    }

.rounded-circle {
    transition: transform 0.4s ease;
}

.chairman-section .card:hover .rounded-circle {
    transform: scale(1.05);
}

/* Light Blue Accents */
.bg-light-blue {
    background-color: #f0f7ff !important;
}

/* Navbar Custom Styling */
.navbar-nav .nav-link {
    color: #444;
    padding: 10px 15px !important;
    transition: 0.3s;
}

    .navbar-nav .nav-link:hover {
        color: #007bff !important;
    }

/* Dropdown Animation */
.dropdown-menu {
    border-radius: 10px;
    padding: 10px;
}

.dropdown-item {
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: 0.2s;
}

    .dropdown-item:hover {
        background-color: #e3f2fd;
        color: #007bff;
        padding-left: 25px;
    }

/* For Mobile View */
@media (max-width: 991px) {
    .navbar-collapse {
        padding: 20px 0;
    }
}
/* Color Palette */
:root {
    --bise-blue: #002b55;
    --bise-accent: #007bff;
    --bise-light-blue: #eef7ff;
}

/* Navbar Links Styling */
/*.navbar-nav .nav-link {
    color: var(--bise-blue) !important;
    font-size: 0.9rem;
    padding: 10px 15px !important;
    position: relative;
    transition: 0.3s;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--bise-accent);
    left: 15px;
    bottom: 5px;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover:after {
    width: calc(100% - 30px);
}*/

/* Dropdown Professional Styling */
.dropdown-menu {
    border-radius: 12px;
    padding: 15px;
    min-width: 240px;
    margin-top: 10px !important;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 500;
    color: var(--bise-blue);
    transition: 0.2s all;
}

    .dropdown-item:hover {
        background-color: var(--bise-light-blue);
        color: var(--bise-accent);
        transform: translateX(5px);
    }

    .dropdown-item i {
        font-size: 1.1rem;
    }

/* Badge Styling */
.bg-primary-soft {
    background-color: #e3f2fd;
    padding: 2px 8px !important;
    border-radius: 4px;
}
/* Dropdown Item Styling */
.dropdown-item {
    font-size: 0.9rem;
    padding: 10px 18px;
    border-bottom: 1px solid #f1f4f8;
    display: flex;
    align-items: center;
}



    .dropdown-item i {
        font-size: 1.1rem; /* Icons ka size thora bara */
        width: 25px; /* Alignment barabar karne ke liye */
        display: inline-block;
    }

    /* Hover Effect */
    .dropdown-item:hover {
        background-color: #eef7ff !important;
        color: #007bff !important;
        padding-left: 22px; /* Smooth transition */
    }

/* Action Button Hover */
.btn-outline-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    color: white;
}


#biseSlider {
    margin-top: 2px; /* Thora sa gap taake shadow nazar aye */
}

/* 4. Dropdown ko wapas lane ke liye */
.dropdown-menu {
    display: none; /* Default hidden */
    margin-top: 0 !important;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block !important; /* Mouse lane par dropdown show hoga */
    border-top: 3px solid #e31e24 !important;
}
/* FORCE BUTTON STYLE ON HOVER */
#navbarNav .navbar-nav .nav-link {
    border: 2px solid transparent !important;
    border-radius: 50px !important;
    padding: 8px 18px !important;
    transition: all 0.3s ease !important;
    color: #002b55 !important; /* Default Dark Blue */
}

    /* Jab mouse upar jaye (HOME, ABOUT, etc.) */
    #navbarNav .navbar-nav .nav-link:hover {
        color: #007bff !important; /* Blue Text */
        background-color: #f0f8ff !important; /* Halka Blue Background */
        border: 2px solid #007bff !important; /* Blue Border like Track App */
        transform: translateY(-2px); /* Halki si movement */
    }

/* Track App Button (To keep it consistent) */
#navbarNav .btn-outline-primary {
    border: 2px solid #007bff !important;
}

    #navbarNav .btn-outline-primary:hover {
        background-color: #007bff !important;
        color: white !important;
    }

/* Dropdown menu items color on hover */
.dropdown-item:hover {
    background-color: #007bff !important;
    color: white !important;
}

    .dropdown-item:hover i {
        color: white !important;
    }


/* Desktop par slider ki height fix rakhen */
.carousel-item img {
    width: 100% !important;
    height: 500px !important;
    object-fit: cover !important; /* Desktop par cover theek lagta hai */
}

/* MOBILE VIEW (768px se niche) */
@media (max-width: 768px) {
    .carousel-item img {
        /* Height ko auto kar den taake image crop na ho */
        height: auto !important;
        min-height: 200px !important; /* Bohat zyada choti na ho jaye */
        /* Object-fit ko contain ya fill kar den */
        object-fit: contain !important;
        /* Background color black/grey rakhen taake agar image choti ho to side white na dikhen */
        background-color: #f8f9fa;
    }
}
/* Slider ki height aur look improve karne k liye */
#biseSlider {
    border-bottom: 4px solid #007bff; /* Slider k niche aik blue line */
}

.carousel-item img {
    filter: brightness(0.9); /* Thora dark taake agar text likhen to nazar aye */
    transition: transform 2s ease; /* Slow zoom effect */
}

.carousel-item.active img {
    transform: scale(1.05); /* Image halki si zoom hogi jab screen pr ayegi */
}

/* Arrows ka background circle banayein taake nazar ayein */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 86, 179, 0.5); /* BISE Blue color with transparency */
    border-radius: 50%;
    padding: 20px;
    background-size: 50% 50%;
}

    .carousel-control-prev-icon:hover,
    .carousel-control-next-icon:hover {
        background-color: rgba(0, 86, 179, 0.9); /* Hover par dark ho jayega */
    }

/* Card aur Section ke liye mazeed professional look */
.hover-bg-light:hover {
    background-color: #f8f9fa;
    transition: 0.3s;
    border-left: 4px solid #007bff; /* Hover par side line blue ho jayegi */
}

nav

.notice-list::-webkit-scrollbar {
    width: 6px;
}

.notice-list::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.5;
    }
}

.rounded-4 {
    border-radius: 15px !important;
}

/* Chairman ki picture ko circular aur clean rakhne ke liye */
.rounded-circle {
    object-fit: cover;
    background-color: #fff;
}

/* News Ticker Styling */
.news-ticker-container {
    background: #fff;
    overflow: hidden;
}

.news-title {
    min-width: 180px;
    z-index: 2;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Arrow shape behind the title */
.news-arrow {
    position: absolute;
    right: -20px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #dc3545; /* Red color matching bg-danger */
}

.news-marquee {
    font-size: 15px;
    cursor: pointer;
}

    .news-marquee a:hover {
        color: #002b55 !important;
    }

/* Responsive adjustment */
@media (max-width: 768px) {
    .news-title {
        font-size: 12px;
        min-width: 130px;
    }

    .news-marquee {
        font-size: 13px;
    }
}



/* 3. Red Line Underline - Sirf Hover par show hogi */
#main-nav .navbar-nav .nav-link::before {
    content: '' !important;
    position: absolute !important;
    left: 10px !important; /* Padding ke hisab se adjustment */
    right: 10px !important;
    bottom: 0 !important;
    height: 3px !important;
    background-color: #e31e24 !important;
    width: 0 !important; /* Default: 0 (Khatam) */
    transition: width 0.3s ease-in-out !important;
}

/* Mouse hover par ya Active page par line dikhayen */
#main-nav .navbar-nav .nav-link:hover::before,
#main-nav .navbar-nav .nav-link.active::before {
    width: calc(100% - 20px) !important; /* Sirf text ke niche line phelay ga */
}

/* Hover par text color change */
#main-nav .navbar-nav .nav-link:hover {
    color: #e31e24 !important;
}

/* 4. Faltu lines ko force-hide karne ke liye */
#main-nav .nav-item {
    border: none !important;
}


/* 2. Dropdown menu ka look professional banane ke liye */
.dropdown-menu {
    border-top: 3px solid #e31e24 !important; /* UOS style top red border */
    box-shadow: 0 8px 15px rgba(0,0,0,0.1) !important;
    border-radius: 0 0 8px 8px !important;
    padding: 10px 0 !important;
}

/* 3. Dropdown ke links ka style */
.dropdown-item {
    padding: 8px 20px !important;
    font-weight: 500 !important;
    color: #003060 !important;
}

    .dropdown-item:hover {
        background-color: #f8f9fa !important;
        color: #e31e24 !important;
    }

.top-bar {
    background-color: #002b55 !important; /* Footer wala dark blue color */
    color: #ffffff !important;
    padding: 10px 0 !important;
    border-bottom: 4px solid #f39c12 !important; /* Orange line */
    display: block !important;
    width: 100% !important;
}

    /* Links color in Top-Bar */
    .top-bar a, .top-bar span, .top-bar i {
        color: #ffffff !important;
        text-decoration: none !important;
        font-size: 14px !important;
    }

        .top-bar a:hover {
            color: #f39c12 !important; /* Orange hover effect */
        }

/* 1. Navbar Link aur Circle remove karne ke liye */
body #main-nav .navbar-nav .nav-link {
    position: relative !important;
    color: #003060 !important;
    font-weight: 700 !important;
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
    /* Circle ya background khatam karne ke liye niche wali lines zaroori hain */
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

    /* 2. Red Line (Underline) Effect - No Circle */
    body #main-nav .navbar-nav .nav-link::before {
        content: '' !important;
        position: absolute !important;
        left: 15px !important;
        right: 15px !important;
        bottom: 0 !important;
        height: 4px !important;
        background-color: #e31e24 !important;
        width: 0 !important;
        transition: width 0.3s ease-in-out !important;
        z-index: 10 !important;
    }

    /* Hover par sirf line phelay gi, background change nahi hoga */
    body #main-nav .navbar-nav .nav-link:hover::before,
    body #main-nav .navbar-nav .nav-link.active::before {
        width: calc(100% - 30px) !important;
    }

    /* Hover par sirf text ka color change ho (agar aap chahte hain) */
    body #main-nav .navbar-nav .nav-link:hover {
        color: #e31e24 !important;
        background: transparent !important; /* Forcefully background circle khatam */
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        outline: none !important;
        box-shadow: none !important;
    }

/* 3. Dropdown Menu settings */
@media (min-width: 992px) {
    body #main-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        margin-top: 0 !important;
        border-top: 3px solid #e31e24 !important;
    }
}

/* Active link par red line dikhane ke liye */
body #main-nav .navbar-nav .nav-link.active::before {
    width: calc(100% - 30px) !important;
    background-color: #e31e24 !important;
}

body #main-nav .navbar-nav .nav-link.active {
    color: #e31e24 !important; /* Text bhi red ho jayega */
}


/* Result Page Specific Styles */
.card {
    transition: transform 0.3s ease;
}

.form-select-lg, .form-control-lg {
    font-size: 1rem !important;
    border-color: #dee2e6 !important;
}

    .form-select-lg:focus, .form-control-lg:focus {
        border-color: #002b55 !important;
        box-shadow: 0 0 0 0.25rem rgba(0, 43, 85, 0.1) !important;
    }

.btn-danger {
    background-color: #e31e24 !important;
    border: none !important;
}

    .btn-danger:hover {
        background-color: #c4191f !important;
        transform: translateY(-2px);
    }


/*result card print k lie*/
/* Sirf result card dikhayen, baqi sab hide kar den */
/* 1. Tamam non-essential cheezein hide karein */
@media print {
    /* 1. Browser ki Default Header/Footer (Email bar) ko hatane ke liye */
    @page {
        size: A4 portrait;
        margin: 0 !important; /* Browser ki bars ko khatam karta hai */
    }

    /* 2. Body ki extra padding khatam karke content ko top par lana */
    body {
        margin: 0 !important;
        padding: 0.5cm !important; /* Sirf page ke andar thori space */
        -webkit-print-color-adjust: exact;
    }

    /* 3. Search area aur Header bar ko sakhti se hide karein */
    header, footer, nav, .navbar, .no-print, .btn, .alert-info, hr .top-info-bar, [id*="header"] {
        display: none !important;
        height: 0 !important;
    }

    /* 4. Result Container ko Poore Page par phelayen */
    #resultContainer, .container, .card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* 5. Table ki width 100% aur font size thora bada karein */
    .table {
        width: 100% !important;
        font-size: 14px !important; /* Readability k liye */
    }

    /* 6. Page Break ko rokna */
    .card-body {
        page-break-inside: avoid !important;
    }
    /* Table ki rows ko mazeed compact karein */
    .custom-print-table th,
    .custom-print-table td {
        padding: 4px 10px !important; /* Spacing kam kar di */
        font-size: 13px !important; /* Font thora adjust kiya */
        line-height: 1.2 !important;
    }

    /* Result header aur candidate info ke darmiyan gap kam karein */
    .card-header {
        padding: 10px 0 !important;
    }

    .mb-4 {
        margin-bottom: 10px !important;
    }

    /* Agar footer note zyada jagah le raha ho */
    .bg-light.p-3 {
        padding: 10px !important;
        margin-top: 10px !important;
    }

    /* Sakhti se 1 page par rakhne k liye */
    #resultContainer {
        page-break-after: avoid;
        max-height: 28cm; /* A4 height se thora kam */
    }
}

/* Facebook Widget Full Width Force */
.fb-page,
.fb-page span,
.fb-page span iframe {
    width: 100% !important;
}

/* Service Box ki height ko Facebook widget k barabar rakhne k liye */
.service-box {
    min-height: 215px; /* Is se left aur right ki height balance rahegi */
}

/* Container ki extra margins khatam karne k liye */
.row.g-4 {
    margin-right: -15px;
    margin-left: -15px;
}


/* Premium Hover & Icon Styles */
.service-card-new {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 25px 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

    .service-card-new:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 43, 85, 0.12) !important;
        border-color: #ffc107;
    }

.icon-wrapper {
    width: 85px;
    height: 85px;
    border-radius: 22px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem; /* Pehle se bara icon */
    transition: all 0.4s ease;
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

.service-card-new:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    border-radius: 50%;
}

.service-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #002b55;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

/* Vibrant Gradient Backgrounds for Icons */
.bg-grad-results {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}
.bg-grad-services {
    background: linear-gradient(135deg, #FF0080 0%, #7928CA 100%) !important;
    color: white;
}
.bg-grad-slips {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.bg-grad-admin {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
    color: white;
}

.bg-grad-verify {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
}

.bg-grad-noc {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    color: white;
}

.bg-grad-affil {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: white;
}

.bg-grad-recheck {
    background: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%);
    color: white;
}

.bg-grad-reg {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
}

.bg-grad-down {
    background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
    color: white;
}


/* Fixed Height Container for 5 Items */
.news-scroll-box {
    max-height: 480px; /* 5 items ki takriban height */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #002b55 #f1f5f9;
}

    /* Custom Scrollbar for Chrome/Safari */
    .news-scroll-box::-webkit-scrollbar {
        width: 6px;
    }

    .news-scroll-box::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

    .news-scroll-box::-webkit-scrollbar-thumb {
        background-color: #002b55;
        border-radius: 10px;
    }

.news-portal-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 43, 85, 0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}

.portal-header {
    padding: 15px 20px;
    background: #002b55;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-item-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    transition: 0.2s;
}

    .news-item-link:hover {
        background-color: #f8faff;
        border-left: 4px solid #ffc107;
    }

.modern-date {
    background: #f0f4f8;
    border-radius: 10px;
    min-width: 50px;
    height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border: 1px solid #e2e8f0;
}

.badge-glow {
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 50px;
    background: #ef4444;
    color: white;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Badge Animation */
.badge.bg-success {
    animation: pulse-green 2s infinite;
}


/* Modal Box Styling */
.hover-lift-btn {
    transition: all 0.3s ease;
    border: 2px solid transparent !important;
}


.pulse-badge {
    animation: pulse-green 2s infinite;
}
/* Pulse effect for OPEN badge */
.pulse-green {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Hover effect for ACTIVE box */
.hover-lift-active {
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9 !important;
}

    .hover-lift-active:hover {
        transform: translateY(-5px);
        border-color: #002b55 !important;
        background-color: #f8fbff !important;
        box-shadow: 0 10px 20px rgba(0, 43, 85, 0.1) !important;
    }

.hover-verify-btn {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid #f1f5f9 !important;
}

    .hover-verify-btn:hover {
        transform: translateY(-8px);
        border-color: #0dcaf0 !important; /* Info Color */
        background-color: #f0fbff !important;
        box-shadow: 0 15px 30px rgba(13, 202, 240, 0.15) !important;
    }

    .hover-verify-btn i {
        transition: transform 0.3s ease;
    }

    .hover-verify-btn:hover i {
        transform: scale(1.2);
    }

/* Section darmiyan space ke liye */
.section-gap {
    margin-top: 60px !important; /* Dono sections ke darmiyan wazay space */
    margin-bottom: 60px !important;
}

/* Heading style ko behtar karne ke liye */
.section-title {
    color: #002b55;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 25px;
    position: relative;
}


/* --- Admin Login Styles --- */
.login-body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 15px;
}

.login-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 43, 85, 0.1);
    border-top: 5px solid #002b55;
    text-align: center;
}

.board-logo {
    width: 90px;
    height: auto;
    margin-bottom: 20px;
}

.login-card h4 {
    color: #002b55;
    font-weight: 700;
}

.login-form-group {
    text-align: left;
    margin-bottom: 15px;
}

    .login-form-group label {
        font-size: 13px;
        font-weight: 600;
        color: #555;
        margin-left: 5px;
        margin-bottom: 5px;
        display: block;
    }

.login-input {
    border-radius: 10px !important;
    padding: 12px 15px !important;
    border: 1px solid #e0e0e0 !important;
    width: 100%;
    transition: all 0.3s;
}

    .login-input:focus {
        border-color: #002b55 !important;
        box-shadow: 0 0 8px rgba(0, 43, 85, 0.1) !important;
        outline: none;
    }

.btn-login-submit {
    background: #002b55;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-top: 10px;
}

    .btn-login-submit:hover {
        background: #004a8d;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 43, 85, 0.2);
    }

.login-footer-text {
    margin-top: 25px;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}


/* --- Admin Sidebar Styles --- */
.admin-body {
    background-color: #f8f9fa;
}

.admin-sidebar {
    width: 260px;
    min-height: 100vh;
    background-color: #002b55;
    color: white;
    position: sticky;
    top: 0;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
}

.menu-item {
    padding: 12px 25px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

    .menu-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .menu-item.active {
        background-color: #ffc107;
        color: #002b55;
        font-weight: bold;
    }

    .menu-item.text-danger:hover {
        background-color: rgba(220, 53, 69, 0.1);
    }

/* Desktop Sidebar */
.admin-sidebar {
    width: 260px;
    min-height: 100vh;
    background-color: #002b55;
    position: sticky;
    top: 0;
}

/* Content Area Adjustment */
.main-content-wrapper {
    min-width: 0; /* Bootstrap flexbox fix for table overflow */
}

/* Mobile Specific CSS */
@media (max-width: 991.98px) {
    .admin-sidebar {
        display: none;
    }

    .main-content-wrapper {
        width: 100%;
    }
    /* Table ke inputs mobile par chote karne ke liye */
    .form-control, .form-select {
        font-size: 14px;
    }
}

/* --- Modern & Colourful Modal --- */
.modal-content-custom {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Header ko behtareen blue gradient diya he */
.modal-header-grad {
    background: linear-gradient(45deg, #002b55, #0056b3);
    color: white !important;
    padding: 20px;
    border-bottom: 4px solid #ffc107; /* Yellow accent line */
}

    .modal-header-grad .modal-title {
        color: white !important;
        font-weight: 800;
    }

/* Cards ko colourful hover effects */
.admission-card {
    transition: all 0.3s ease;
    border: 2px solid #f1f1f1;
    background: #fff;
}

    .admission-card:hover {
        border-color: #002b55;
        background: #f0f7ff;
        transform: scale(1.02);
    }

/* Icons ke liye bright colors */
.icon-container {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 24px;
}

.icon-open {
    background: #e8f5e9;
    color: #2e7d32; /* Green icon for open */
}

.icon-closed {
    background: #ffebee;
    color: #c62828; /* Red icon for closed */
}

/* Status Badges */
.badge-open {
    background-color: #28a745;
    box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3);
}

.badge-closed {
    background-color: #dc3545;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
}

/* Jo card closed hai us par mouse le jane se 'not-allowed' icon aaye */
.card-disabled {
    cursor: not-allowed !important;
    pointer-events: none; /* Is se click bilkul disable ho jayega */
    opacity: 0.7;
    transition: none !important; /* Animantion bhi rok deni chahiye */
}



html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
/* Page ko poori screen ki height dena taake white space na bache */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.hover-warning:hover {
    color: #ffc107 !important; /* Bootstrap Warning Color */
    transition: 0.3s;
}
/* BISE Sargodha Blue Color */
.top-bar-custom {
    background-color: #002b55 !important; /* Wahi Purana Blue */
}

/* Links Style & Hover Fix */
.top-link {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

    .top-link:hover {
        color: #ffc107 !important; /* Hover par Yellow color */
        text-shadow: 0px 0px 5px rgba(255, 193, 7, 0.5);
    }

    /* Icons color fix */
    .top-link i {
        transition: transform 0.3s ease;
    }

    .top-link:hover i {
        transform: scale(1.2);
    }

body {
    display: flex;
    flex-direction: column;
}

/* Content area ko phelana taake footer niche rahe */
form, main, .main-wrapper {
    flex: 1 0 auto;
}

/* Footer ki settings */
footer {
    flex-shrink: 0;
    width: 100% !important;
    margin-bottom: 0 !important; /* Kisi bhi kism ka margin khatam karne k liye */
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}
/* Custom Branding Colors */
:root {
    --bise-blue: #002b55;
    --bise-gold: #ffc107;
}
/* Light Blue Theme Branding */
/*:root {
    primary-blue: #007bff;*/ /* Primary Blue */
    /*light-bg: #e3f2fd;*/ /* Light Blue Background */
    /*hover-blue: #0056b3;
}*/

body {
    font-family: 'Segoe UI', Arial;
    background-color: #f0f7ff; /* Very light blue tint for body */
}

/* Navbar Enhancements */
.navbar {
    border-bottom: 3px solid var(--primary-blue);
}
/* Service Box Hover Fix */
.service-box {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out !important;
    z-index: 1;
}

    /* Hover par background color change na ho (white hi rahe) */
    .service-box:hover {
        background-color: #ffffff !important;
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

    /* Text Fix: Hover par color ghaib na ho */
    .service-box h6 {
        color: #002b55 !important; /* Dark Blue hamesha rahega */
        transition: color 0.3s ease;
        position: relative;
        z-index: 5; /* Text ko sab se upar rakhne ke liye */
    }

    /* Hover par text ka color change karna chahen to (Optional) */
    .service-box:hover h6 {
        color: #e31e24 !important; /* Hover par text red ho jayega magar hide nahi hoga */
    }

/* Icon circle fix */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-box:hover .icon-circle {
    transform: scale(1.1);
}


/* Iconic Grid Boxes - Light Blue Version */
.service-box {
    background: #ffffff;
    border: 1px solid #cce5ff !important;
    border-radius: 15px;
    transition: all 0.4s ease;
}

    .service-box:hover {
        background: var(--light-bg); /* Change to light blue on hover */
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0, 123, 255, 0.2) !important;
        border-color: var(--primary-blue) !important;
    }

/* Icon Circles */
.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8fbff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* Icon Colors */
.text-primary {
    color: #007bff !important;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #fd7e14 !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* Announcement Ticker Styling */
.ticker-container {
    background: #ffffff;
    border-left: 5px solid var(--primary-blue);
}

.navbar-nav .nav-link {
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

    .navbar-nav .nav-link:hover {
        color: var(--bise-blue) !important;
        border-bottom: 2px solid var(--bise-gold);
    }

.navbar-brand img {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-brand span {
        font-size: 1rem !important;
    }
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    cursor: pointer;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 50%;
}

/* Service Box Styling */
.service-box {
    background: #ffffff;
    transition: all 0.3s ease-in-out;
    border-color: #eee !important;
    position: relative;
}

    .service-box:hover {
        background: #002b55;
        color: #fff !important;
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

        .service-box:hover h6 {
            color: #fff;
        }

/* Icon Circle Backgrounds */
.icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.bg-light-blue {
    background: #e7f1ff;
    color: #0d6efd;
}

.bg-light-green {
    background: #e8f5e9;
    color: #2e7d32;
}

.bg-light-yellow {
    background: #fffde7;
    color: #fbc02d;
}

.bg-light-red {
    background: #ffebee;
    color: #c62828;
}

.bg-light-purple {
    background: #f3e5f5;
    color: #7b1fa2;
}

.bg-light-cyan {
    background: #e0f7fa;
    color: #0097a7;
}

.bg-light-orange {
    background: #fff3e0;
    color: #ef6c00;
}

.bg-light-dark {
    background: #f5f5f5;
    color: #212121;
}

/* Font size adjustment for small screens */
@media (max-width: 576px) {
    .service-box h6 {
        font-size: 0.8rem;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
    }
}
/* Container styling */
.board-services {
    background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
}

/* Service Box Enhancements */
.service-box {
    background: #ffffff;
    border: none !important;
    border-top: 4px solid var(--bise-blue); /* Top accent line */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

    .service-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 51, 102, 0.15) !important;
        background: #003366;
        color: white !important;
    }

/* Icon Box Styling */
.icon-circle {
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    transition: all 0.3s;
    background: #f8f9fa; /* Light grey background for icons */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.service-box:hover .icon-circle {
    background: rgba(255, 255, 255, 0.2);
    color: #ffc107 !important; /* Gold icons on hover */
    transform: rotateY(360deg);
}

.service-box h6 {
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 700;
}

footer {
    width: 100%;
    position: relative;
    clear: both; /* Ye bohot zaroori he footer ko niche push karne k liye */
}

.footer-simple-links a:hover {
    opacity: 1 !important;
    text-decoration: underline !important;
}

.social-icons i {
    font-size: 1.1rem;
    transition: 0.3s;
}

    .social-icons i:hover {
        color: #ffc107;
    }

.card {
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: scale(1.01);
    }

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    border-color: #007bff;
}

/* Chairman Section Styling */
.chairman-section .card {
    transition: all 0.3s ease;
}

    .chairman-section .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 123, 255, 0.1) !important;
    }

.rounded-circle {
    transition: transform 0.4s ease;
}

.chairman-section .card:hover .rounded-circle {
    transform: scale(1.05);
}

/* Light Blue Accents */
.bg-light-blue {
    background-color: #f0f7ff !important;
}

/* Navbar Custom Styling */
.navbar-nav .nav-link {
    color: #444;
    padding: 10px 15px !important;
    transition: 0.3s;
}

    .navbar-nav .nav-link:hover {
        color: #007bff !important;
    }

/* Dropdown Animation */
.dropdown-menu {
    border-radius: 10px;
    padding: 10px;
}

.dropdown-item {
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: 0.2s;
}

    .dropdown-item:hover {
        background-color: #e3f2fd;
        color: #007bff;
        padding-left: 25px;
    }

/* For Mobile View */
@media (max-width: 991px) {
    .navbar-collapse {
        padding: 20px 0;
    }
}
/* Color Palette */
:root {
    --bise-blue: #002b55;
    --bise-accent: #007bff;
    --bise-light-blue: #eef7ff;
}

/* Navbar Links Styling */
/*.navbar-nav .nav-link {
    color: var(--bise-blue) !important;
    font-size: 0.9rem;
    padding: 10px 15px !important;
    position: relative;
    transition: 0.3s;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--bise-accent);
    left: 15px;
    bottom: 5px;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover:after {
    width: calc(100% - 30px);
}*/

/* Dropdown Professional Styling */
.dropdown-menu {
    border-radius: 12px;
    padding: 15px;
    min-width: 240px;
    margin-top: 10px !important;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 500;
    color: var(--bise-blue);
    transition: 0.2s all;
}

    .dropdown-item:hover {
        background-color: var(--bise-light-blue);
        color: var(--bise-accent);
        transform: translateX(5px);
    }

    .dropdown-item i {
        font-size: 1.1rem;
    }

/* Badge Styling */
.bg-primary-soft {
    background-color: #e3f2fd;
    padding: 2px 8px !important;
    border-radius: 4px;
}
/* Dropdown Item Styling */
.dropdown-item {
    font-size: 0.9rem;
    padding: 10px 18px;
    border-bottom: 1px solid #f1f4f8;
    display: flex;
    align-items: center;
}



    .dropdown-item i {
        font-size: 1.1rem; /* Icons ka size thora bara */
        width: 25px; /* Alignment barabar karne ke liye */
        display: inline-block;
    }

    /* Hover Effect */
    .dropdown-item:hover {
        background-color: #eef7ff !important;
        color: #007bff !important;
        padding-left: 22px; /* Smooth transition */
    }

/* Action Button Hover */
.btn-outline-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    color: white;
}


#biseSlider {
    margin-top: 2px; /* Thora sa gap taake shadow nazar aye */
}

/* 4. Dropdown ko wapas lane ke liye */
.dropdown-menu {
    display: none; /* Default hidden */
    margin-top: 0 !important;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block !important; /* Mouse lane par dropdown show hoga */
    border-top: 3px solid #e31e24 !important;
}
/* FORCE BUTTON STYLE ON HOVER */
#navbarNav .navbar-nav .nav-link {
    border: 2px solid transparent !important;
    border-radius: 50px !important;
    padding: 8px 18px !important;
    transition: all 0.3s ease !important;
    color: #002b55 !important; /* Default Dark Blue */
}

    /* Jab mouse upar jaye (HOME, ABOUT, etc.) */
    #navbarNav .navbar-nav .nav-link:hover {
        color: #007bff !important; /* Blue Text */
        background-color: #f0f8ff !important; /* Halka Blue Background */
        border: 2px solid #007bff !important; /* Blue Border like Track App */
        transform: translateY(-2px); /* Halki si movement */
    }

/* Track App Button (To keep it consistent) */
#navbarNav .btn-outline-primary {
    border: 2px solid #007bff !important;
}

    #navbarNav .btn-outline-primary:hover {
        background-color: #007bff !important;
        color: white !important;
    }

/* Dropdown menu items color on hover */
.dropdown-item:hover {
    background-color: #007bff !important;
    color: white !important;
}

    .dropdown-item:hover i {
        color: white !important;
    }


/* Desktop par slider ki height fix rakhen */
/*.carousel-item img {
    width: 100% !important;
    height: 500px !important;
    object-fit: cover !important;*/ /* Desktop par cover theek lagta hai */
/*}*/
.carousel-item img {
    width: 100%;
    height: 500px; /* Jo bhi aapka slider height hai */
    object-fit: cover; /* Ye image ko crop kar lega magar khenchega (stretch) nahi */
    object-position: center;
}

/* MOBILE VIEW (768px se niche) */
@media (max-width: 768px) {
    .carousel-item img {
        /* Height ko auto kar den taake image crop na ho */
        height: auto !important;
        min-height: 200px !important; /* Bohat zyada choti na ho jaye */
        /* Object-fit ko contain ya fill kar den */
        object-fit: contain !important;
        /* Background color black/grey rakhen taake agar image choti ho to side white na dikhen */
        background-color: #f8f9fa;
    }
}
/* Slider ki height aur look improve karne k liye */
#biseSlider {
    border-bottom: 4px solid #007bff; /* Slider k niche aik blue line */
}

.carousel-item img {
    filter: brightness(0.9); /* Thora dark taake agar text likhen to nazar aye */
    transition: transform 2s ease; /* Slow zoom effect */
}

.carousel-item.active img {
    transform: scale(1.05); /* Image halki si zoom hogi jab screen pr ayegi */
}

/* Arrows ka background circle banayein taake nazar ayein */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 86, 179, 0.5); /* BISE Blue color with transparency */
    border-radius: 50%;
    padding: 20px;
    background-size: 50% 50%;
}

    .carousel-control-prev-icon:hover,
    .carousel-control-next-icon:hover {
        background-color: rgba(0, 86, 179, 0.9); /* Hover par dark ho jayega */
    }

/* Card aur Section ke liye mazeed professional look */
.hover-bg-light:hover {
    background-color: #f8f9fa;
    transition: 0.3s;
    border-left: 4px solid #007bff; /* Hover par side line blue ho jayegi */
}

nav

.notice-list::-webkit-scrollbar {
    width: 6px;
}

.notice-list::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.5;
    }
}

.rounded-4 {
    border-radius: 15px !important;
}

/* Chairman ki picture ko circular aur clean rakhne ke liye */
.rounded-circle {
    object-fit: cover;
    background-color: #fff;
}

/* News Ticker Styling */
.news-ticker-container {
    background: #fff;
    overflow: hidden;
}

.news-title {
    min-width: 180px;
    z-index: 2;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Arrow shape behind the title */
.news-arrow {
    position: absolute;
    right: -20px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #dc3545; /* Red color matching bg-danger */
}

.news-marquee {
    font-size: 15px;
    cursor: pointer;
}

    .news-marquee a:hover {
        color: #002b55 !important;
    }

/* Responsive adjustment */
@media (max-width: 768px) {
    .news-title {
        font-size: 12px;
        min-width: 130px;
    }

    .news-marquee {
        font-size: 13px;
    }
}



/* 3. Red Line Underline - Sirf Hover par show hogi */
#main-nav .navbar-nav .nav-link::before {
    content: '' !important;
    position: absolute !important;
    left: 10px !important; /* Padding ke hisab se adjustment */
    right: 10px !important;
    bottom: 0 !important;
    height: 3px !important;
    background-color: #e31e24 !important;
    width: 0 !important; /* Default: 0 (Khatam) */
    transition: width 0.3s ease-in-out !important;
}

/* Mouse hover par ya Active page par line dikhayen */
#main-nav .navbar-nav .nav-link:hover::before,
#main-nav .navbar-nav .nav-link.active::before {
    width: calc(100% - 20px) !important; /* Sirf text ke niche line phelay ga */
}

/* Hover par text color change */
#main-nav .navbar-nav .nav-link:hover {
    color: #e31e24 !important;
}

/* 4. Faltu lines ko force-hide karne ke liye */
#main-nav .nav-item {
    border: none !important;
}


/* 2. Dropdown menu ka look professional banane ke liye */
.dropdown-menu {
    border-top: 3px solid #e31e24 !important; /* UOS style top red border */
    box-shadow: 0 8px 15px rgba(0,0,0,0.1) !important;
    border-radius: 0 0 8px 8px !important;
    padding: 10px 0 !important;
}

/* 3. Dropdown ke links ka style */
.dropdown-item {
    padding: 8px 20px !important;
    font-weight: 500 !important;
    color: #003060 !important;
}

    .dropdown-item:hover {
        background-color: #f8f9fa !important;
        color: #e31e24 !important;
    }

.top-bar {
    background-color: #002b55 !important; /* Footer wala dark blue color */
    color: #ffffff !important;
    padding: 10px 0 !important;
    border-bottom: 4px solid #f39c12 !important; /* Orange line */
    display: block !important;
    width: 100% !important;
}

    /* Links color in Top-Bar */
    .top-bar a, .top-bar span, .top-bar i {
        color: #ffffff !important;
        text-decoration: none !important;
        font-size: 14px !important;
    }

        .top-bar a:hover {
            color: #f39c12 !important; /* Orange hover effect */
        }

/* 1. Navbar Link aur Circle remove karne ke liye */
body #main-nav .navbar-nav .nav-link {
    position: relative !important;
    color: #003060 !important;
    font-weight: 700 !important;
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
    /* Circle ya background khatam karne ke liye niche wali lines zaroori hain */
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

    /* 2. Red Line (Underline) Effect - No Circle */
    body #main-nav .navbar-nav .nav-link::before {
        content: '' !important;
        position: absolute !important;
        left: 15px !important;
        right: 15px !important;
        bottom: 0 !important;
        height: 4px !important;
        background-color: #e31e24 !important;
        width: 0 !important;
        transition: width 0.3s ease-in-out !important;
        z-index: 10 !important;
    }

    /* Hover par sirf line phelay gi, background change nahi hoga */
    body #main-nav .navbar-nav .nav-link:hover::before,
    body #main-nav .navbar-nav .nav-link.active::before {
        width: calc(100% - 30px) !important;
    }

    /* Hover par sirf text ka color change ho (agar aap chahte hain) */
    body #main-nav .navbar-nav .nav-link:hover {
        color: #e31e24 !important;
        background: transparent !important; /* Forcefully background circle khatam */
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        outline: none !important;
        box-shadow: none !important;
    }

/* 3. Dropdown Menu settings */
@media (min-width: 992px) {
    body #main-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        margin-top: 0 !important;
        border-top: 3px solid #e31e24 !important;
    }
}

/* Active link par red line dikhane ke liye */
body #main-nav .navbar-nav .nav-link.active::before {
    width: calc(100% - 30px) !important;
    background-color: #e31e24 !important;
}

body #main-nav .navbar-nav .nav-link.active {
    color: #e31e24 !important; /* Text bhi red ho jayega */
}


/* Result Page Specific Styles */
.card {
    transition: transform 0.3s ease;
}

.form-select-lg, .form-control-lg {
    font-size: 1rem !important;
    border-color: #dee2e6 !important;
}

    .form-select-lg:focus, .form-control-lg:focus {
        border-color: #002b55 !important;
        box-shadow: 0 0 0 0.25rem rgba(0, 43, 85, 0.1) !important;
    }

.btn-danger {
    background-color: #e31e24 !important;
    border: none !important;
}

    .btn-danger:hover {
        background-color: #c4191f !important;
        transform: translateY(-2px);
    }


/*result card print k lie*/
/* Sirf result card dikhayen, baqi sab hide kar den */
/* 1. Tamam non-essential cheezein hide karein */
@media print {
    /* 1. Browser ki Default Header/Footer (Email bar) ko hatane ke liye */
    @page {
        size: A4 portrait;
        margin: 0 !important; /* Browser ki bars ko khatam karta hai */
    }

    /* 2. Body ki extra padding khatam karke content ko top par lana */
    body {
        margin: 0 !important;
        padding: 0.5cm !important; /* Sirf page ke andar thori space */
        -webkit-print-color-adjust: exact;
    }

    /* 3. Search area aur Header bar ko sakhti se hide karein */
    header, footer, nav, .navbar, .no-print, .btn, .alert-info, hr .top-info-bar, [id*="header"] {
        display: none !important;
        height: 0 !important;
    }

    /* 4. Result Container ko Poore Page par phelayen */
    #resultContainer, .container, .card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* 5. Table ki width 100% aur font size thora bada karein */
    .table {
        width: 100% !important;
        font-size: 14px !important; /* Readability k liye */
    }

    /* 6. Page Break ko rokna */
    .card-body {
        page-break-inside: avoid !important;
    }
    /* Table ki rows ko mazeed compact karein */
    .custom-print-table th,
    .custom-print-table td {
        padding: 4px 10px !important; /* Spacing kam kar di */
        font-size: 13px !important; /* Font thora adjust kiya */
        line-height: 1.2 !important;
    }

    /* Result header aur candidate info ke darmiyan gap kam karein */
    .card-header {
        padding: 10px 0 !important;
    }

    .mb-4 {
        margin-bottom: 10px !important;
    }

    /* Agar footer note zyada jagah le raha ho */
    .bg-light.p-3 {
        padding: 10px !important;
        margin-top: 10px !important;
    }

    /* Sakhti se 1 page par rakhne k liye */
    #resultContainer {
        page-break-after: avoid;
        max-height: 28cm; /* A4 height se thora kam */
    }
}

/* Facebook Widget Full Width Force */
.fb-page,
.fb-page span,
.fb-page span iframe {
    width: 100% !important;
}

/* Service Box ki height ko Facebook widget k barabar rakhne k liye */
.service-box {
    min-height: 215px; /* Is se left aur right ki height balance rahegi */
}

/* Container ki extra margins khatam karne k liye */
.row.g-4 {
    margin-right: -15px;
    margin-left: -15px;
}


/* Premium Hover & Icon Styles */
.service-card-new {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 25px 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

    .service-card-new:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 43, 85, 0.12) !important;
        border-color: #ffc107;
    }

.icon-wrapper {
    width: 85px;
    height: 85px;
    border-radius: 22px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem; /* Pehle se bara icon */
    transition: all 0.4s ease;
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

.service-card-new:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    border-radius: 50%;
}

.service-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #002b55;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

/* Vibrant Gradient Backgrounds for Icons */
.bg-grad-results {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.bg-grad-slips {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.bg-grad-admin {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
    color: white;
}

.bg-grad-verify {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
}

.bg-grad-noc {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    color: white;
}

.bg-grad-affil {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: white;
}

.bg-grad-recheck {
    background: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%);
    color: white;
}

.bg-grad-reg {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
}

.bg-grad-down {
    background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
    color: white;
}


/* Fixed Height Container for 5 Items */
.news-scroll-box {
    max-height: 480px; /* 5 items ki takriban height */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #002b55 #f1f5f9;
}

    /* Custom Scrollbar for Chrome/Safari */
    .news-scroll-box::-webkit-scrollbar {
        width: 6px;
    }

    .news-scroll-box::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

    .news-scroll-box::-webkit-scrollbar-thumb {
        background-color: #002b55;
        border-radius: 10px;
    }

.news-portal-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 43, 85, 0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}

.portal-header {
    padding: 15px 20px;
    background: #002b55;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-item-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    transition: 0.2s;
}

    .news-item-link:hover {
        background-color: #f8faff;
        border-left: 4px solid #ffc107;
    }

.modern-date {
    background: #f0f4f8;
    border-radius: 10px;
    min-width: 50px;
    height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border: 1px solid #e2e8f0;
}

.badge-glow {
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 50px;
    background: #ef4444;
    color: white;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Badge Animation */
.badge.bg-success {
    animation: pulse-green 2s infinite;
}


/* Modal Box Styling */
.hover-lift-btn {
    transition: all 0.3s ease;
    border: 2px solid transparent !important;
}


.pulse-badge {
    animation: pulse-green 2s infinite;
}
/* Pulse effect for OPEN badge */
.pulse-green {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Hover effect for ACTIVE box */
.hover-lift-active {
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9 !important;
}

    .hover-lift-active:hover {
        transform: translateY(-5px);
        border-color: #002b55 !important;
        background-color: #f8fbff !important;
        box-shadow: 0 10px 20px rgba(0, 43, 85, 0.1) !important;
    }

.hover-verify-btn {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid #f1f5f9 !important;
}

    .hover-verify-btn:hover {
        transform: translateY(-8px);
        border-color: #0dcaf0 !important; /* Info Color */
        background-color: #f0fbff !important;
        box-shadow: 0 15px 30px rgba(13, 202, 240, 0.15) !important;
    }

    .hover-verify-btn i {
        transition: transform 0.3s ease;
    }

    .hover-verify-btn:hover i {
        transform: scale(1.2);
    }

/* Section darmiyan space ke liye */
.section-gap {
    margin-top: 60px !important; /* Dono sections ke darmiyan wazay space */
    margin-bottom: 60px !important;
}

/* Heading style ko behtar karne ke liye */
.section-title {
    color: #002b55;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 25px;
    position: relative;
}


/* --- Admin Login Styles --- */
.login-body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 15px;
}

.login-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 43, 85, 0.1);
    border-top: 5px solid #002b55;
    text-align: center;
}

.board-logo {
    width: 90px;
    height: auto;
    margin-bottom: 20px;
}

.login-card h4 {
    color: #002b55;
    font-weight: 700;
}

.login-form-group {
    text-align: left;
    margin-bottom: 15px;
}

    .login-form-group label {
        font-size: 13px;
        font-weight: 600;
        color: #555;
        margin-left: 5px;
        margin-bottom: 5px;
        display: block;
    }

.login-input {
    border-radius: 10px !important;
    padding: 12px 15px !important;
    border: 1px solid #e0e0e0 !important;
    width: 100%;
    transition: all 0.3s;
}

    .login-input:focus {
        border-color: #002b55 !important;
        box-shadow: 0 0 8px rgba(0, 43, 85, 0.1) !important;
        outline: none;
    }

.btn-login-submit {
    background: #002b55;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-top: 10px;
}

    .btn-login-submit:hover {
        background: #004a8d;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 43, 85, 0.2);
    }

.login-footer-text {
    margin-top: 25px;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}


/* --- Admin Sidebar Styles --- */
.admin-body {
    background-color: #f8f9fa;
}

.admin-sidebar {
    width: 260px;
    min-height: 100vh;
    background-color: #002b55;
    color: white;
    position: sticky;
    top: 0;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
}

.menu-item {
    padding: 12px 25px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

    .menu-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .menu-item.active {
        background-color: #ffc107;
        color: #002b55;
        font-weight: bold;
    }

    .menu-item.text-danger:hover {
        background-color: rgba(220, 53, 69, 0.1);
    }

/* Desktop Sidebar */
.admin-sidebar {
    width: 260px;
    min-height: 100vh;
    background-color: #002b55;
    position: sticky;
    top: 0;
}

/* Content Area Adjustment */
.main-content-wrapper {
    min-width: 0; /* Bootstrap flexbox fix for table overflow */
}

/* Mobile Specific CSS */
@media (max-width: 991.98px) {
    .admin-sidebar {
        display: none;
    }

    .main-content-wrapper {
        width: 100%;
    }
    /* Table ke inputs mobile par chote karne ke liye */
    .form-control, .form-select {
        font-size: 14px;
    }
}

/* --- Modern & Colourful Modal --- */
.modal-content-custom {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Header ko behtareen blue gradient diya he */
.modal-header-grad {
    background: linear-gradient(45deg, #002b55, #0056b3);
    color: white !important;
    padding: 20px;
    border-bottom: 4px solid #ffc107; /* Yellow accent line */
}

    .modal-header-grad .modal-title {
        color: white !important;
        font-weight: 800;
    }

/* Cards ko colourful hover effects */
.admission-card {
    transition: all 0.3s ease;
    border: 2px solid #f1f1f1;
    background: #fff;
}

    .admission-card:hover {
        border-color: #002b55;
        background: #f0f7ff;
        transform: scale(1.02);
    }

/* Icons ke liye bright colors */
.icon-container {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 24px;
}

.icon-open {
    background: #e8f5e9;
    color: #2e7d32; /* Green icon for open */
}

.icon-closed {
    background: #ffebee;
    color: #c62828; /* Red icon for closed */
}

/* Status Badges */
.badge-open {
    background-color: #28a745;
    box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3);
}

.badge-closed {
    background-color: #dc3545;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
}

/* Jo card closed hai us par mouse le jane se 'not-allowed' icon aaye */
.card-disabled {
    cursor: not-allowed !important;
    pointer-events: none; /* Is se click bilkul disable ho jayega */
    opacity: 0.7;
    transition: none !important; /* Animantion bhi rok deni chahiye */
}


/* --- Admin Specific Styles --- */
/* Sirf us page par apply hoga jahan main div par 'admin-page' class hogi */

.admin-page {
    background-color: #f4f7f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .admin-page .sidebar {
        min-height: 100vh;
        background: #1a1d20;
        color: #ffffff;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }

    .admin-page .nav-link {
        color: #adb5bd;
        padding: 12px 20px;
        border-radius: 8px;
        margin-bottom: 5px;
    }

        .admin-page .nav-link.active {
            color: #ffffff !important;
            background: #0d6efd !important;
        }

    /* Responsive Table for Mobile */
    .admin-page .table-responsive {
        border-radius: 12px;
        background: white;
    }

@media (max-width: 768px) {
    .admin-page .sidebar {
        min-height: auto;
    }
}


.notice-item:hover {
    background-color: #f8f9fa;
    transition: 0.3s;
}

.marquee-container {
    height: 45px;
    font-size: 0.95rem;
}

.notice-list::-webkit-scrollbar {
    width: 5px;
}

.notice-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Main container ki height aur padding kam kar di */
.notice-row-compact {
    display: flex;
    align-items: center;
    padding: 5px 12px; /* Pehle 15px thi, ab kam kar di */
    text-decoration: none !important;
    border-bottom: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

/* Date Box ka size thora chota kiya height kam karne k liye */
.date-box-compact {
    background-color: #f0f4f8;
    border-radius: 8px;
    min-width: 50px; /* Width kam ki */
    height: 50px; /* Height kam ki */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.date-day-small {
    font-size: 1.1rem; /* Font size adjust kiya */
    font-weight: 800;
    color: #0d6efd;
    line-height: 1;
}

.date-month-small {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #4a5568;
}

/* Badges ko title k bilkul sath rakha */
.inline-badge {
    font-size: 8px;
    padding: 1px 5px;
    font-weight: 700;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
}

.notice-title-compact {
    color: #1a202c;
    font-weight: 600;
    font-size: 0.95rem; /* Text size thora realistic rakha */
    margin-bottom: 0;
    line-height: 1.2;
}

.view-doc-text {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 2px;
}

/* Hover effect */
.notice-row-compact:hover {
    background-color: #f8fbff;
    padding-left: 15px; /* Halka sa slide effect */
}



.btn-fixed-size {
    height: 32px !important; /* Button ki height fix kar di */
    display: inline-flex !important;
    align-items: center; /* Icon aur text ko center mein rakhne k liye */
    justify-content: center;
    white-space: nowrap; /* Text ko wrap hone se rokne k liye */
    align-self: center; /* Flex container mein stretch hone se rokta hai */
    line-height: 1 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* Chairman Message Styling */
.chairman-box {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-left: 5px solid #0d6efd;
    border-radius: 8px;
}

    .chairman-box:hover {
        transform: translateY(-3px);
    }



/* Date Box */
.date-box-compact {
    min-width: 55px;
    background: #f0f4f8;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.date-day-small {
    font-weight: 800;
    color: #0d6efd;
    font-size: 1.1rem;
    line-height: 1;
}

.date-month-small {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #4a5568;
}

/* Title & Badges */
.notice-title-compact {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-right: 8px;
}

.inline-badge {
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 3px;
    vertical-align: middle;
}

/* Fixed Size PDF Button */
.btn-fixed-size {
    height: 32px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: center;
    font-size: 12px;
    font-weight: 600;
}

.educational-links-scroll {
    scrollbar-width: thin;
    scrollbar-color: #343a40 #f1f1f1;
}

    .educational-links-scroll::-webkit-scrollbar {
        width: 5px;
    }

    .educational-links-scroll::-webkit-scrollbar-thumb {
        background: #343a40;
        border-radius: 10px;
    }

    .educational-links-scroll .list-group-item {
        border-left: 3px solid transparent;
        transition: all 0.2s;
        font-size: 0.85rem;
    }

        .educational-links-scroll .list-group-item:hover {
            border-left: 3px solid #198754; /* Success color matching FB header */
            background-color: #f8f9fa;
            padding-left: 20px;
            color: #198754;
        }




.mobile-track-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffc107; /* Warning yellow */
    color: #000;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #fff;
    transition: transform 0.3s ease;
}

.mobile-track-btn:hover {
    color: #000;
    transform: scale(1.05);
}

/* Desktop par chhupane ke liye logic */
@@media (min-width: 768px) {
    .mobile-track-btn {
        display: none !important;
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Gallery Home Section Styles */
.gallery-home-card {
    transition: all 0.3s ease;
    border-radius: 10px !important;
}

    .gallery-home-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

    .gallery-home-card img {
        transition: transform 0.5s ease;
    }

    .gallery-home-card:hover img {
        transform: scale(1.05);
    }

.gallery-date-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 102, 51, 0.9);
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.border-success {
    border-color: #006633 !important; /* IBCC Green Theme */
}


/* Mobile view (768px se kam screen) */
@media (max-width: 767px) {
    .biseSlider {
        display: none !important;
    }
    .mobile-track-btn {
        display: block !important;
    }
}

/* Laptop view (768px se zyada screen) */
@media (min-width: 768px) {
    .biseSlider {
        display: block !important;
    }
    .mobile-track-btn {
        display: none !important;
    }
}
.navbar-toggler {
    position: relative;
    z-index: 9999 !important; /* Is se button hamesha sab se upar rahega */
}