        :root {
            --primary-color: #5B4FA3;
            --secondary-color: #00C853;
            --dark-blue: #1E3A8A;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden;
        }

        /* Top Header */
        .top-header {
            background: var(--primary-color);
            color: white;
            padding: 10px 0;
        }

        .top-header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .College-branding {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .College-logo {
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        }

        .College-logo img {
            width: 50px;
            height: 50px;
            object-fit: contain;
        }

        .College-name h1 {
            font-size: 22px;
            margin: 0;
            font-weight: 600;
        }

        .College-name p {
            font-size: 14px;
            margin: 0;
        }

        .top-links a {
            color: white;
            text-decoration: none;
            margin-left: 20px;
            font-size: 14px;
        }

        .top-links a:hover {
            text-decoration: underline;
        }

        /* Navigation */
        .navbar {
            background: #f8f9fa;
            padding: 15px 0;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .navbar .container {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .navbar-brand {
            display: none;
        }

        .navbar-collapse {
            flex-grow: 0;
        }

        .navbar-nav {
            display: flex;
            justify-content: center;
        }

        .navbar-nav .nav-item {
            position: relative;
        }

        .navbar-nav .nav-link {
            color: #333;
            font-weight: 500;
            padding: 8px 15px;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .navbar-nav .nav-link:hover {
            color: var(--primary-color);
        }

        .navbar-nav .nav-link i {
            font-size: 10px;
            transition: transform 0.3s;
        }

        /* Dropdown Menu */
        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 220px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            border: none;
            padding: 10px 0;
            margin-top: 0;
            /* remove gap so hover to dropdown doesn't lose focus */
            z-index: 1000;
            pointer-events: auto;
        }

        .nav-item:hover .dropdown-menu,
        .nav-item:focus-within .dropdown-menu,
        .nav-item.open .dropdown-menu {
            display: block;
            animation: slideDown 0.3s ease forwards;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

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

        .dropdown-menu::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 20px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid white;
        }

        .dropdown-item {
            padding: 10px 20px;
            color: #333;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }

        .dropdown-item:hover {
            background: linear-gradient(to right, #f0f0f0, white);
            color: var(--primary-color);
            border-left-color: var(--primary-color);
            padding-left: 25px;
        }

        .dropdown-item i {
            color: var(--primary-color);
            font-size: 14px;
        }

        .nav-item:hover .nav-link i.fa-chevron-down {
            transform: rotate(180deg);
        }

        /* Mega Menu for larger dropdowns */
        .mega-menu {
            min-width: 600px;
            padding: 20px;
        }

        .mega-menu-content {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .mega-menu-column h6 {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-color);
        }

        /* Hero Section */
        .hero-section {
            position: relative;
            height: 600px;
            /* Increased height */
            overflow: hidden;
        }

        .carousel-item {
            height: 600px;
            position: relative;
        }

        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            animation: zoomEffect 20s ease-in-out infinite alternate;
        }

        @keyframes zoomEffect {
            0% {
                transform: scale(1);
            }

            100% {
                transform: scale(1.15);
            }
        }



        .carousel-caption {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            bottom: auto;
            /* Reset default bootstrap */
            text-align: center;
            z-index: 2;
        }

        .carousel-caption h2 {
            font-size: 3.5rem;
            font-weight: 800;
            color: white;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
            margin-bottom: 1rem;
            animation: slideUp 1s ease-out;
        }

        .carousel-caption p {
            font-size: 1.5rem;
            font-weight: 300;
            color: #f0f0f0;
            text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
            margin-bottom: 2rem;
            animation: slideUp 1s ease-out 0.3s backwards;
        }

        .btn-hero {
            padding: 12px 35px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 50px;
            background: var(--secondary-color);
            color: white;
            border: none;
            text-decoration: none;
            transition: all 0.3s;
            display: inline-block;
            animation: slideUp 1s ease-out 0.6s backwards;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .btn-hero:hover {
            background: white;
            color: var(--secondary-color);
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

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

        .carousel-control-prev,
        .carousel-control-next {
            z-index: 3;
            width: 5%;
        }

        .carousel-indicators {
            z-index: 3;
        }


        /* Notice Update Bar */
        .notice-update {
            background: #1E3A8A;
            color: white;
            padding: 10px 0;
            overflow: hidden;
        }

        .notice-scroll {
            display: flex;
            align-items: center;
            white-space: nowrap;
            animation: scroll 20s linear infinite;
        }

        .notice-scroll:hover {
            animation-play-state: paused;
        }

        @keyframes scroll {
            0% {
                transform: translateX(100%);
            }

            100% {
                transform: translateX(-100%);
            }
        }

        /* Quick Links */
        .quick-links {
            padding: 40px 0;
            background: #f8f9fa;
        }

        .quick-link-card {
            background: var(--dark-blue);
            color: white;
            padding: 20px;
            border-radius: 50px;
            text-align: center;
            margin: 10px;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .quick-link-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .quick-link-card i {
            font-size: 24px;
        }

        /* Messages Section */
        .messages-section {
            padding: 50px 0;
        }

        .message-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            margin-bottom: 20px;
            transition: transform 0.3s;
        }

        .message-card:hover {
            transform: translateY(-5px);
        }

        .message-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin: 0 auto 15px;
            border: 5px solid var(--primary-color);
            overflow: hidden;
        }

        .message-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .message-title {
            background: var(--primary-color);
            color: white;
            padding: 10px;
            border-radius: 25px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .message-content {
            background: var(--secondary-color);
            color: white;
            padding: 20px;
            border-radius: 10px;
            min-height: 150px;
            transition: max-height 0.4s ease;
        }

        /* Collapsed preview for long messages */
        .message-content.collapsed {
            max-height: 120px;
            overflow: hidden;
            position: relative;
        }

        .message-content.collapsed::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 48px;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.25));
            pointer-events: none;
            border-radius: 0 0 10px 10px;
        }

        .read-more-btn {
            display: inline-block;
            margin-top: 10px;
            background: #ffffff;
            /* high contrast button */
            color: var(--primary-color);
            border: none;
            padding: 8px 14px;
            border-radius: 20px;
            cursor: pointer;
            font-weight: 700;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
            transition: transform 0.12s ease, box-shadow 0.12s ease;
        }

        .read-more-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
        }

        /* Video Gallery */
        .video-card {
            background: var(--primary-color);
            color: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .video-thumbnail {
            position: relative;
            background: #000;
            border-radius: 10px;
            overflow: hidden;
            padding-top: 56.25%;
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: red;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .play-button:hover {
            transform: translate(-50%, -50%) scale(1.1);
        }

        /* Info Cards Grid */
        .info-cards {
            padding: 50px 0;
        }

        .info-card {
            background: white;
            border-radius: 15px;
            padding: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            min-height: 250px;
            transition: transform 0.3s;
            border-left: 3px solid #5b4fa3;
        }

        .info-card:hover {
            transform: translateY(-5px);
        }

        .info-card-icon {
            width: 60px;
            height: 60px;
            /*margin: 0 auto 15px;*/
        }

        .info-card h4 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-weight: bold;
            font-size: 20px;
        }

        .info-card ul {
            list-style: none;
            padding: 0;
        }

        .info-card ul li {
            padding: 5px 0;
            color: #666;
        }

        .info-card ul li a {
            text-decoration: none;
        }

        .info-card ul li:before {
            content: "▸ ";
            color: var(--secondary-color);
            font-weight: bold;
        }

        /* right sidebar */
        .sidebar-item {
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            margin-bottom: 20px;
            transition: transform 0.3s;
        }

        .sidebar-item:hover {
            transform: translateY(-5px);
        }

        .sidebar-item h5 {
            color: #5b4fa3;
            border-bottom: 2px solid #0d6efd;
            padding-bottom: 8px;
            margin-bottom: 14px;
            text-align: left;
        }

        .sidebar-item a {

            text-align: left;
        }

        /* Teachers Section */
        .teachers-section {
            padding: 50px 0;
            background: #f8f9fa;
        }

        .section-title {
            background: var(--primary-color);
            color: white;
            padding: 15px;
            text-align: center;
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 30px;
        }

        .teacher-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            transition: transform 0.3s;
        }

        .teacher-card:hover {
            transform: translateY(-5px);
        }

        .teacher-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 15px;
            border: 5px solid var(--primary-color);
            overflow: hidden;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .teacher-name {
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
        }

        .teacher-dept {
            background: var(--secondary-color);
            color: white;
            padding: 8px;
            border-radius: 20px;
            font-size: 14px;
        }

        .teacher-slider-wrap {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .teacher-slider {
            overflow: hidden;
            flex: 1;
        }

        .teacher-track {
            display: flex;
            transition: transform .5s ease;
        }

        .teacher-slide {
            flex: 0 0 33.3333%;
            /* একসাথে ৩টা দেখানোর জন্য */
            max-width: 33.3333%;
            padding: 0 12px;
            box-sizing: border-box;
        }

        .slider-btn {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1px solid #ccc;
            background: #fff;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slider-btn:hover {
            background: #4CAF50;
            color: #fff;
            border-color: #4CAF50;
        }
        
        /* youtube video */
        .youtube-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.youtube-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
        
        /* map */
       .map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

        /* মোবাইলে ২টা / ছোট স্ক্রিনে ১টা দেখাতে চাইলে */
        @media (max-width: 991.98px) {
            .teacher-slide {
                flex: 0 0 50%;
                max-width: 50%;
            }
 
        }

        @media (max-width: 575.98px) {
            .teacher-slide {
                flex: 0 0 100%;
                max-width: 100%;
            }
            .map-container {
        height: 300px;
    }
        }

        /* Notice Board */
        .notice-board {
            padding: 50px 0 0;
        }

        .notice-filters {
            margin-bottom: 30px;
            text-align: center;
        }

        .notice-filter-btn {
            background: #6c757d;
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 20px;
            margin: 5px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .notice-filter-btn:hover,
        .notice-filter-btn.active {
            background: var(--primary-color);
        }

        .notice-item {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            display: flex;
            gap: 20px;
            transition: transform 0.3s;
        }

        .notice-item:hover {
            transform: translateX(5px);
        }

        .notice-date {
            background: var(--dark-blue);
            color: white;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            min-width: 80px;
        }

        .notice-date .day {
            font-size: 28px;
            font-weight: bold;
            display: block;
        }

        .notice-date .month {
            font-size: 14px;
        }

        .notice-content {
            flex: 1;
        }

        .notice-badge {
            background: var(--secondary-color);
            color: white;
            padding: 3px 10px;
            border-radius: 15px;
            font-size: 12px;
            margin-top: 10px;
            display: inline-block;
        }

        /* Campus Gallery */
        .campus-gallery {
            padding: 50px 0;
            background: #f8f9fa;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .gallery-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            height: 200px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            transition: transform 0.3s;
        }

        .gallery-item:hover {
            transform: scale(1.05);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: white;
            padding: 15px;
            transform: translateY(100%);
            transition: transform 0.3s;
        }

        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }

        /* Modal/Popup for Gallery */
        .gallery-modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            overflow: auto;
        }

        .gallery-modal-content {
            position: relative;
            margin: 50px auto;
            max-width: 90%;
            max-height: 90vh;
            animation: zoomIn 0.3s ease;
        }

        @keyframes zoomIn {
            from {
                transform: scale(0.5);
                opacity: 0;
            }

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

        .gallery-modal-content img {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 40px;
            color: white;
            font-size: 50px;
            font-weight: bold;
            cursor: pointer;
            z-index: 10000;
            transition: color 0.3s;
        }

        .modal-close:hover {
            color: #ff0000;
        }

        .modal-prev,
        .modal-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            padding: 20px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            transition: background 0.3s;
            z-index: 10000;
        }

        .modal-prev {
            left: 20px;
        }

        .modal-next {
            right: 20px;
        }

        .modal-prev:hover,
        .modal-next:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .modal-caption {
            text-align: center;
            color: white;
            padding: 20px;
            font-size: 18px;
        }

        /* Contact Section */
        .contact-section {
            padding: 50px 0;
        }

        .contact-info {
            background: var(--secondary-color);
            color: white;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
            transition: transform 0.3s;
        }

        .contact-info:hover {
            transform: translateX(5px);
        }

        .contact-info i {
            font-size: 24px;
        }

        .map-container {
            border-radius: 15px;
            overflow: hidden;
            height: 400px;
            background: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Footer */
        .footer {
            background: var(--dark-blue);
            color: white;
            padding: 30px 0;
            text-align: center;
        }

        .footer-logo {
            width: 80px;
            height: 80px;
            margin: 0 auto 15px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-section {
                height: 300px;
            }

            .carousel-item {
                height: 300px;
            }

            .carousel-caption h2 {
                font-size: 24px;
            }

            .carousel-caption p {
                font-size: 14px;
            }

            .building-windows {
                grid-template-columns: repeat(4, 1fr);
            }

            .quick-link-card {
                margin: 5px;
            }

            .gallery-grid {
                grid-template-columns: 1fr;
            }

            .modal-prev,
            .modal-next {
                font-size: 30px;
                padding: 10px;
            }

            .modal-close {
                font-size: 40px;
                right: 20px;
                top: 10px;
            }

            .College-branding {
                gap: 10px;
            }

            .College-logo {
                width: 50px;
                height: 50px;
            }

            .College-logo img {
                width: 40px;
                height: 40px;
            }

            .College-name h1 {
                font-size: 16px;
            }

            .College-name p {
                font-size: 12px;
            }

            .top-links a {
                margin-left: 10px;
                font-size: 12px;
            }

            .navbar-toggler {
                margin: 0 auto;
            }

            /* Mobile Dropdown */
            .navbar-collapse .dropdown-menu {
                position: static;
                box-shadow: none;
                border-left: 3px solid var(--primary-color);
                margin-left: 15px;
                margin-top: 5px;
            }

            .navbar-collapse .nav-item:hover .dropdown-menu {
                animation: none;
            }

            .mega-menu {
                min-width: 100%;
            }

            .mega-menu-content {
                grid-template-columns: 1fr;
            }
        }

        /* Scroll to top button */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--primary-color);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s;
            z-index: 1000;
        }

        .scroll-top:hover {
            transform: translateY(-5px);
        }

        .scroll-top.show {
            display: flex;
        }

       
/* ---- clone additions (demo features, original palette) ---- */
.demo-badge { background:#d32f2f; color:#fff; padding:2px 8px; border-radius:12px; font-size:11px; font-weight:700; white-space:nowrap; }
/* info-card icon: the original never loads Bootstrap Icons, so the
   <i class="bi ..."> inside the 60px icon box is inert; clip any stray
   inline content so nothing can spill onto the card title. */
.info-card-icon { overflow:hidden; }
.mono-avatar { border-radius:50%; background:linear-gradient(135deg,#667eea 0%,#764ba2 100%); color:#fff; font-weight:700; font-size:36px; display:flex; align-items:center; justify-content:center; margin:0 auto; }
.message-avatar-fallback { width:100%; height:100%; border-radius:50%; background:linear-gradient(135deg,#667eea 0%,#764ba2 100%); color:#fff; font-weight:700; font-size:36px; display:flex; align-items:center; justify-content:center; }
.notice-modal { position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.6); display:flex; align-items:center; justify-content:center; padding:20px; }
.notice-modal[hidden] { display:none; }
.notice-modal-card { background:#fff; border-radius:12px; max-width:640px; width:100%; max-height:85vh; overflow:auto; padding:24px; position:relative; }
.notice-modal-close { position:absolute; top:10px; right:12px; border:none; background:none; font-size:20px; cursor:pointer; }
.steps { list-style:none; display:flex; gap:8px; padding:0; margin:0 0 20px; flex-wrap:wrap; }
.steps li { flex:1; min-width:120px; text-align:center; padding:10px 6px; border:1px solid #ddd; border-radius:8px; color:#666; background:#f8f9fa; }
.steps li.active { border-color:#5B4FA3; color:#5B4FA3; font-weight:700; background:#fff; }
.steps li.done { background:#e8f5e9; border-color:#00C853; color:#2e7d32; }
.steps li span { display:inline-block; width:26px; height:26px; line-height:26px; border-radius:50%; background:#5B4FA3; color:#fff; margin-right:6px; }
.step-panel { display:none; }
.step-panel.active { display:block; }
.success-panel { text-align:center; padding:24px; }
.success-icon { width:64px; height:64px; line-height:64px; border-radius:50%; background:#00C853; color:#fff; font-size:32px; margin:0 auto 12px; }
.app-id { font-size:20px; font-weight:700; color:#5B4FA3; }
.photo-preview img { max-width:160px; border-radius:8px; margin-top:10px; }
.routine-table tr.today { background:#e8f5e9; }
#topLoginState { color:#fff; font-weight:600; }
#topLogoutLink { color:#fff; }

/* ================================================================
   DESIGN UPGRADE — 2026-11-23 (user order: visible redesign)
   Layered on top of the original style.css + clone additions.
   Same identity: purple #5B4FA3, dark blue #1E3A8A, green #00C853.
   ================================================================ */
:root {
  --gsh-ink: #23203a;
  --gsh-muted: #6b6880;
  --gsh-bg: #f6f5fb;
  --gsh-line: #ece8f8;
  --gsh-shadow: 0 10px 30px rgba(35, 32, 58, .10);
  --gsh-shadow-lg: 0 18px 44px rgba(35, 32, 58, .16);
}
body {
  font-family: 'Hind Siliguri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--gsh-bg);
  color: var(--gsh-ink);
}
a { color: #5B4FA3; }

/* ---- header: purple gradient, pill top links ---- */
.top-header {
  background: linear-gradient(120deg, #5B4FA3 0%, #463d84 55%, #1E3A8A 100%);
  padding: 16px 0;
  box-shadow: 0 2px 14px rgba(30, 58, 138, .28);
}
.College-logo { width: 72px; height: 72px; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); flex-shrink: 0; }
.College-logo img { width: 60px; height: 60px; }
.College-name h1 { font-size: clamp(20px, 3vw, 30px); font-weight: 700; letter-spacing: .2px; }
.College-name p { font-size: 15px; opacity: .93; }
.top-links a {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .4);
  padding: 8px 16px;
  border-radius: 999px;
  margin-left: 10px;
  font-weight: 600;
  transition: all .25s ease;
}
.top-links a:hover { background: #fff; color: #5B4FA3; text-decoration: none; }
#topLoginState {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .4);
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-block;
}

/* ---- nav: clean white, purple hover underline, soft shadow ---- */
.navbar { background: #fff; padding: 0; box-shadow: 0 4px 18px rgba(35, 32, 58, .10); }
.navbar-nav .nav-link {
  color: #2b2842;
  font-weight: 600;
  padding: 16px 14px;
  border-bottom: 3px solid transparent;
  border-radius: 0;
}
.navbar-nav .nav-link:hover, .nav-item.open > .nav-link {
  color: #5B4FA3;
  border-bottom-color: #5B4FA3;
  background: linear-gradient(180deg, transparent, #f3f1fb);
}
.dropdown-menu {
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(35, 32, 58, .16);
  border: 1px solid #eeeafc;
  padding: 8px;
  min-width: 240px;
}
.dropdown-item { border-radius: 8px; padding: 10px 14px; font-weight: 500; }
.dropdown-item:hover {
  background: #f3f1fb;
  color: #5B4FA3;
  border-left-color: transparent;
  padding-left: 14px;
}

/* ---- hero: gate photo + purple overlay + CTAs ---- */
.hero-new {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1E3A8A;
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(43, 32, 92, .93) 0%, rgba(91, 79, 163, .82) 48%, rgba(30, 58, 138, .55) 100%);
}
.hero-inner { position: relative; z-index: 2; color: #fff; padding: 76px 15px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(0, 200, 83, .92);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  margin-bottom: 16px;
  animation: heroUp .8s ease both;
}
.hero-title {
  font-size: clamp(30px, 5.2vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
  animation: heroUp .8s ease both;
}
.hero-tagline {
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 500;
  opacity: .97;
  margin-top: 10px;
  animation: heroUp .8s .15s ease both;
}
.hero-codes { opacity: .88; font-size: 15px; margin-top: 14px; animation: heroUp .8s .3s ease both; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; /* no entrance animation: the buttons must be visible immediately, not fade in after ~1s */ }
.hero-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s ease;
  font-size: 16px;
}
.hero-btn-primary { background: #00C853; color: #fff; box-shadow: 0 8px 20px rgba(0, 200, 83, .45); }
.hero-btn-primary:hover { background: #fff; color: #008f3d; transform: translateY(-2px); text-decoration: none; }
.hero-btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .75); }
.hero-btn-ghost:hover { background: #fff; color: #5B4FA3; transform: translateY(-2px); text-decoration: none; }
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---- stats strip: floating white card under the hero ---- */
.stats-strip { position: relative; z-index: 5; margin-top: -52px; }
.stats-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(35, 32, 58, .16);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: #eeeafc;
  border: 1px solid #eeeafc;
  overflow: hidden;
}
.stat { padding: 22px 10px; text-align: center; background: #fff; }
.stat b { display: block; font-size: clamp(20px, 2.4vw, 30px); color: #5B4FA3; font-weight: 700; line-height: 1.2; }
.stat span { font-size: 13px; color: var(--gsh-muted); font-weight: 500; }

/* ---- ticker: dark blue band, red pill label ---- */
.notice-update { background: linear-gradient(90deg, #1E3A8A, #2743a8); padding: 12px 0; }
.notice-scroll strong {
  background: #d32f2f;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .5px;
  margin-right: 6px;
}
/* ticker pill fixed at the left; the text scrolls beside it */
.ticker-bar { display: flex; align-items: center; gap: 12px; overflow: hidden; }
.ticker-pill {
  background: #d32f2f;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  flex: none;
  white-space: nowrap;
}
.ticker-bar .notice-scroll { flex: 1 1 auto; min-width: 0; }

/* ---- section titles: modern heading, gradient underline ---- */
.section-title {
  background: transparent;
  color: #2b2842;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  text-align: left;
  padding: 0 0 12px;
  margin-bottom: 26px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #5B4FA3, #00C853);
  margin-top: 10px;
}

/* ---- notice board: cards with date badges, pill filters ---- */
.notice-board { padding: 56px 0 8px; }
.notice-filters { text-align: left; margin-bottom: 22px; }
.notice-filter-btn {
  background: #fff;
  color: #5B4FA3;
  border: 1.5px solid #ddd6f3;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(35, 32, 58, .06);
}
.notice-filter-btn:hover, .notice-filter-btn.active {
  background: linear-gradient(135deg, #5B4FA3, #463d84);
  color: #fff;
  border-color: transparent;
}
#noticeSearch {
  border-radius: 999px;
  padding: 11px 18px;
  border: 1.5px solid #ddd6f3;
  box-shadow: 0 2px 8px rgba(35, 32, 58, .05);
}
#noticeSearch:focus { border-color: #5B4FA3; box-shadow: 0 0 0 4px rgba(91, 79, 163, .15); outline: none; }
.notice-list .notice-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(35, 32, 58, .08);
  border: 1px solid #f0edfa;
  border-left: 4px solid #5B4FA3;
  padding: 18px;
  align-items: center;
}
.notice-list .notice-item:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(35, 32, 58, .14); }
.notice-list .notice-item .notice-date {
  background: linear-gradient(135deg, #5B4FA3, #1E3A8A);
  border-radius: 12px;
  min-width: 76px;
  padding: 12px 10px;
  box-shadow: 0 6px 14px rgba(91, 79, 163, .35);
}
.notice-content h5 a { color: #23203a; font-weight: 600; text-decoration: none; }
.notice-content h5 a:hover { color: #5B4FA3; }
.notice-badge { background: #e6f9ee; color: #008f3d; font-weight: 700; }
main .notice-item { border-left: 4px solid #5B4FA3; transition: transform .25s ease, box-shadow .25s ease; }
main .notice-item:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(35, 32, 58, .14); }

/* ---- info cards: top accent, purple icon disc, hover lift ---- */
.info-cards { padding: 56px 0; }
.info-card {
  border-radius: 18px;
  border: none;
  border-top: 4px solid #5B4FA3;
  box-shadow: 0 8px 24px rgba(35, 32, 58, .08);
  padding: 22px;
  min-height: 230px;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.info-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(35, 32, 58, .16); }
.info-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5B4FA3, #1E3A8A);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(91, 79, 163, .35);
  margin-bottom: 14px;
}
.info-card-icon svg { width: 64px; height: 64px; }
.info-card-icon svg circle { fill: #5B4FA3; }
.info-card-icon svg rect[fill="#4CAF50"] { fill: #00C853; }
.info-card h4 { font-size: 19px; }
.info-card ul li a { color: #5B4FA3; font-weight: 500; }
.info-card ul li a:hover { color: #1E3A8A; text-decoration: underline; }

/* ---- message cards (Principal / VP): soft card, readable text ---- */
.message-card { border-radius: 20px; box-shadow: var(--gsh-shadow); border: 1px solid #f0edfa; padding: 26px 20px; }
.message-avatar {
  width: 120px; height: 120px;
  border: 4px solid #5B4FA3;
  box-shadow: 0 8px 18px rgba(91, 79, 163, .30);
}
.message-title { background: linear-gradient(135deg, #5B4FA3, #1E3A8A); border-radius: 999px; }
.message-content { background: #f6f4fc; color: #2b2842; border: 1px solid #e9e5f7; text-align: left; }
.message-content.collapsed::after { background: linear-gradient(transparent, rgba(246, 244, 252, .95)); }

/* ---- sidebar: clean cards, gradient heading rule ---- */
.sidebar-item {
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(35, 32, 58, .08);
  border: 1px solid #f0edfa;
  text-align: left;
  padding: 22px;
}
.sidebar-item h5 { color: #2b2842; border-bottom: none; padding-bottom: 0; position: relative; margin-bottom: 18px; font-weight: 700; }
.sidebar-item h5::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #5B4FA3, #00C853);
  margin-top: 8px;
}
.sidebar-item a { color: #2b2842; }
.sidebar-item a:hover { color: #5B4FA3; }
.sidebar-item .text-primary a { color: #5B4FA3; font-weight: 700; }
.col-md-4 .container-fluid {
  background: linear-gradient(135deg, #5B4FA3, #1E3A8A) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 26px rgba(35, 32, 58, .16);
}

/* ---- teachers: ringed avatars, green dept pills, purple arrows ---- */
.teachers-section { padding: 56px 0; background: #fff; }
.teacher-card { border-radius: 20px; box-shadow: 0 10px 26px rgba(35, 32, 58, .09); border: 1px solid #f0edfa; padding: 26px 18px; }
.teacher-avatar {
  width: 132px; height: 132px;
  border: 5px solid #fff;
  box-shadow: 0 0 0 3px #5B4FA3, 0 10px 20px rgba(91, 79, 163, .30);
}
.teacher-name { font-size: 17px; }
.teacher-dept { background: linear-gradient(135deg, #00C853, #00a844); box-shadow: 0 6px 14px rgba(0, 200, 83, .35); }
.slider-btn { border: 1.5px solid #ddd6f3; color: #5B4FA3; box-shadow: 0 4px 12px rgba(35, 32, 58, .10); transition: all .25s ease; }
.slider-btn:hover { background: #5B4FA3; color: #fff; border-color: #5B4FA3; }

/* ---- gallery + video: rounded tiles, hover zoom ---- */
.campus-gallery { padding: 56px 0; }
.gallery-item { border-radius: 18px; box-shadow: 0 10px 26px rgba(35, 32, 58, .12); height: 220px; }
.gallery-item:hover { transform: scale(1.03); }
.gallery-overlay { padding: 18px; }

/* ---- contact: white cards with purple accent, rounded map ---- */
.contact-section { padding: 56px 0; }
.contact-info {
  background: #fff;
  color: #23203a;
  border: 1px solid #f0edfa;
  border-left: 4px solid #5B4FA3;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(35, 32, 58, .08);
}
.contact-info i { color: #5B4FA3; }
.contact-info a { color: #5B4FA3 !important; }
.map-container { border-radius: 18px; box-shadow: 0 12px 30px rgba(35, 32, 58, .12); }

/* ---- footer: dark purple, 3 columns, original copyright below ---- */
.site-footer { background: linear-gradient(135deg, #241f4d 0%, #1E3A8A 100%); color: #e8e6f7; padding: 52px 0 0; }
.site-footer h5 { color: #fff; font-weight: 700; margin-bottom: 16px; }
.site-footer a { color: #c9c4ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img {
  width: 64px; height: 64px;
  background: #fff; border-radius: 50%;
  padding: 4px; object-fit: contain; flex-shrink: 0;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-links li:last-child { border-bottom: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 36px; padding: 18px 0; text-align: center; color: #c9c4ef; font-size: 14px; }
.footer-bottom a { color: #4ade80; }

/* ---- subpage social row: purple circle buttons ---- */
.social-links { padding-top: 8px; }
.social-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #5B4FA3, #1E3A8A);
  color: #fff !important;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; text-decoration: none !important;
  box-shadow: 0 6px 14px rgba(91, 79, 163, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.social-icon:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(91, 79, 163, .45); color: #fff !important; }

/* ---- demo pages: cards, buttons, forms, tables ---- */
.card { border: 1px solid #f0edfa; border-radius: 16px; box-shadow: 0 8px 22px rgba(35, 32, 58, .07); }
.btn-primary {
  background: linear-gradient(135deg, #5B4FA3, #463d84);
  border: none;
  box-shadow: 0 6px 16px rgba(91, 79, 163, .35);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
}
.btn-primary:hover { background: linear-gradient(135deg, #463d84, #1E3A8A); transform: translateY(-1px); }
.btn-success { background: linear-gradient(135deg, #00C853, #00a844); border: none; border-radius: 999px; }
.btn-outline-secondary { border-radius: 999px; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid #ddd6f3; padding: 10px 14px; }
.form-control:focus, .form-select:focus { border-color: #5B4FA3; box-shadow: 0 0 0 4px rgba(91, 79, 163, .15); }
.routine-table tr:first-child th, .results-table tr:first-child th { background: #5B4FA3; color: #fff; }
.steps li { box-shadow: 0 2px 8px rgba(35, 32, 58, .06); }
.steps li.active { box-shadow: 0 6px 16px rgba(91, 79, 163, .25); }
.notice-modal-card { border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.notice-modal-card h2 { color: #2b2842; font-size: 22px; margin-top: 10px; }

/* ---- load animation (CSS only) + hover motion ---- */
@keyframes gshFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.notice-list .notice-item, .info-card, .teacher-slide, .gallery-item, .message-card, .sidebar-item {
  animation: gshFadeUp .55s ease both;
}
.info-card:nth-child(2), .teacher-slide:nth-child(2), .gallery-item:nth-child(2) { animation-delay: .06s; }
.info-card:nth-child(3), .teacher-slide:nth-child(3), .gallery-item:nth-child(3) { animation-delay: .12s; }

/* ---- gallery lightbox: keep image + caption in view ---- */
/* The original's modal img is width:100% with no height cap, so a
   wide photo pushes #modalCaption below the fold. Constrain the
   image and lay the content out as a column, so the caption is
   visible immediately on opening, on /gallery and the homepage. */
.gallery-modal-content { display: flex; flex-direction: column; align-items: center; max-height: 92vh; margin: 4vh auto; }
.gallery-modal-content img { width: auto; max-width: 100%; max-height: 76vh; height: auto; object-fit: contain; }
.modal-caption { flex: none; padding: 14px 20px; }

/* ---- responsive ---- */
@media (max-width: 991.98px) {
  .top-header .container { flex-wrap: wrap; gap: 10px; justify-content: center; text-align: center; }
  .College-branding { justify-content: center; }
  .top-links { margin: 0 auto; }
  .navbar-nav { flex-direction: column; width: 100%; }
  .navbar-nav .nav-item { width: 100%; }
  .navbar-nav .nav-link { padding: 12px 10px; border-bottom: 1px solid #f0edfa; justify-content: space-between; }
  .dropdown-menu { position: static; box-shadow: none; border-left: 3px solid #5B4FA3; border-radius: 0 12px 12px 0; margin: 4px 0 8px 12px; }
  .notice-list .notice-item { flex-wrap: wrap; gap: 12px; }
  .notice-list .notice-item .notice-date { min-width: 64px; }
  .hero-new { min-height: 440px; }
  .hero-inner { padding: 56px 15px; }
  .teacher-slide { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 575.98px) {
  .hero-cta .hero-btn { width: 100%; text-align: center; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { margin-top: -36px; }
  .message-content { min-height: 0; }
  .teacher-slide { flex: 0 0 100%; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .notice-scroll { animation: none; }
}

/* ================================================================
   SUBPAGE UPGRADE — 2026-11-23 (user order: all other pages to the
   same premium standard as the upgraded homepage). Styles the
   generic body elements the verbatim + demo subpages use: about
   cards, tables, detail pages, gallery heading, alerts, lists.
   ================================================================ */
/* ---- about / single-* cards: modern heading + readable text ---- */
.about-section .about-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: #2b2842;
}
.about-section .about-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #5B4FA3, #00C853);
  margin: 12px auto 0;
}
.about-section .about-image img {
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(35, 32, 58, .14);
}
.about-section .about-description {
  color: #3c3854;
  font-size: 16px;
  line-height: 1.8;
}
.about-section .about-description p { margin-bottom: 12px; }

/* ---- gallery: permanent caption under each photo ---- */
.gallery-figure { margin: 0; }
.gallery-caption {
  padding: 10px 6px 0;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  color: #2b2842;
}

/* ---- at-a-glance: stat cards + mission/vision ---- */
.glance-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.glance-stats .stat {
  background: #f7f5fd;
  border: 1px solid #e9e4fa;
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
}
.glance-stats .stat b { display: block; font-size: 24px; color: #5B4FA3; font-weight: 700; line-height: 1.2; }
.glance-stats .stat span { font-size: 13px; color: #5f5a72; font-weight: 500; }
.glance-mission { text-align: left; margin-top: 8px; }
.glance-mission h4 { color: #5B4FA3; font-size: 18px; font-weight: 700; margin: 18px 0 6px; }
.glance-mission p { color: #3a3648; }
.about-text { text-align: justify; color: #3a3648; }

/* ---- tables everywhere: purple header, hover rows, card wrap ---- */
.table { --bs-table-border-color: #e9e5f7; }
.table > thead > tr > th,
.table:not(.info-table) > tbody > tr:first-child > th {
  background: linear-gradient(135deg, #5B4FA3, #463d84);
  color: #fff;
  font-weight: 600;
  border-color: #5B4FA3;
  white-space: nowrap;
}
.table > tbody > tr:hover { background: #f6f4fc; }
.table-responsive,
.table-wrap {
  background: #fff;
  border: 1px solid #f0edfa;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(35, 32, 58, .07);
  padding: 6px;
}
.table-responsive .table,
.table-wrap .table { margin-bottom: 0; }
.info-table th { background: #f6f4fc; color: #5B4FA3; white-space: nowrap; }

/* ---- teacher/staff detail pages: card sections, pill buttons ---- */
main.container-xxl > section.bg-white,
main.container-xxl > div.row > div > section.bg-white {
  border-radius: 18px !important;
  box-shadow: 0 10px 26px rgba(35, 32, 58, .08);
  border: 1px solid #f0edfa !important;
}
main.container-xxl h1.fs-2 { color: #2b2842; font-weight: 700; }
main.container-xxl h2.fs-6 { color: #5B4FA3; }
.btn-dark, .btn-outline-dark { border-radius: 999px !important; padding: 10px 22px; font-weight: 600; }
.btn-dark:hover { background: #5B4FA3; border-color: #5B4FA3; }
.btn-outline-dark:hover { background: #5B4FA3; border-color: #5B4FA3; color: #fff; }

/* ---- gallery heading: purple badge, dark title ---- */
.badge.bg-primary { background: linear-gradient(135deg, #5B4FA3, #1E3A8A) !important; }
.display-5 { color: #2b2842; }
section.py-5.text-center .display-5::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #5B4FA3, #00C853);
  margin: 14px auto 0;
}

/* ---- demo notes + alerts in the upgrade palette ---- */
.alert-info {
  background: #f3f1fb;
  border: 1px solid #ddd6f3;
  border-left: 4px solid #5B4FA3;
  color: #2b2842;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(35, 32, 58, .05);
}
.alert-light {
  background: #fff;
  border: 1px solid #eeeafc !important;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(35, 32, 58, .05);
}

/* ---- lists (citizen charter, career, calendar): modern items ---- */
.list-group { border-radius: 14px; overflow: hidden; box-shadow: 0 8px 22px rgba(35, 32, 58, .07); }
.list-group-item { border-color: #f0edfa; padding: 14px 18px; font-weight: 500; }
.list-group-item:hover { background: #f6f4fc; color: #5B4FA3; }

/* ---- small shared pieces ---- */
.lead { color: #3c3854; }
h2.h5 { color: #2b2842; font-weight: 700; }
code { background: #f3f1fb; color: #5B4FA3; padding: 2px 8px; border-radius: 8px; font-weight: 600; }
.ratio iframe { border-radius: 16px; }
main.bg-body-tertiary { background: transparent !important; }
#resultSearch { border-radius: 999px; padding: 11px 18px; border: 1.5px solid #ddd6f3; box-shadow: 0 2px 8px rgba(35, 32, 58, .05); }
#resultSearch:focus { border-color: #5B4FA3; box-shadow: 0 0 0 4px rgba(91, 79, 163, .15); outline: none; }
.form-check {
  background: #fff;
  border: 1.5px solid #e9e5f7;
  border-radius: 12px;
  padding: 10px 14px;
  transition: border-color .2s ease;
}
.form-check:hover { border-color: #5B4FA3; }
.form-check .form-check-input { margin-left: 0; margin-right: 8px; float: none; vertical-align: middle; }

/* ---- notice badges + all-notice PDF column ---- */
.notice-badges { display: inline-flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.notice-date { white-space: nowrap; }
.notice-list .notice-item .notice-pdf { margin-left: auto; flex-shrink: 0; }
.notice-pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5B4FA3, #1E3A8A);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(91, 79, 163, .35);
  transition: transform .25s ease;
  text-decoration: none;
}
.notice-pdf-link:hover { transform: translateY(-2px); color: #fff; text-decoration: none; }
.notice-pdf-none { color: #b9b3d0; font-size: 18px; }
