:root {
            --primary-color: #006a4e; /* Deep Green */
            --primary-hover: #004d38;
            --secondary-color: #f4f7f6;
            --accent-color: #d9534f;
            --text-color: #333333;
            --border-color: #e0e0e0;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'SolaimanLipi', 'Roboto', sans-serif;
            color: var(--text-color);
            background-color: #f9f9f9;
            line-height: 1.6;
        }

        /* Top Bar */
        .gov-top-bar {
            background-color: #f1f1f1;
            font-size: 13px;
            padding: 6px 10%;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .gov-top-bar a {
            color: #555;
            text-decoration: none;
            margin-left: 15px;
            transition: color 0.2s;
        }

        .gov-top-bar a:hover {
            color: var(--primary-color);
        }

        /* Header / Banner Section */
        header {
            background: #ffffff;
            border-bottom: 3px solid var(--primary-color);
            padding: 15px 10%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .school-logo {
            width: 65px;
            height: 65px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }

        .site-title h1 {
            font-size: 22px;
            color: var(--primary-color);
            font-weight: 700;
        }

        .site-title p {
            font-size: 13px;
            color: #666;
        }

        .header-right {
            display: flex;
            align-items: center;
        }

        /* Navigation Bar & Multi-Level Dropdown Styling */
        nav {
            background-color: var(--primary-color);
            padding: 0 10%;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: relative;
            z-index: 1000;
        }

        nav ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            margin: 0;
            padding: 0;
        }

        nav ul li {
            position: relative;
        }

        nav ul li a {
            display: block;
            color: #ffffff;
            padding: 12px 16px;
            text-decoration: none;
            font-size: 15px;
            transition: background 0.3s;
            white-space: nowrap;
        }

        nav ul li a:hover, nav ul li a.active {
            background-color: var(--primary-hover);
        }

        /* First Level Dropdown Menu */
        nav ul li .dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #ffffff;
            min-width: 210px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
            border-top: 3px solid var(--accent-color);
            list-style: none;
            padding: 0;
            z-index: 1001;
        }

        nav ul li:hover > .dropdown {
            display: block;
        }

        nav ul li .dropdown li {
            width: 100%;
            border-bottom: 1px solid var(--border-color);
            position: relative;
        }

        nav ul li .dropdown li:last-child {
            border-bottom: none;
        }

        nav ul li .dropdown li a {
            color: #333333;
            padding: 10px 16px;
            font-size: 14px;
            background-color: #ffffff;
            transition: background 0.2s, color 0.2s, padding-left 0.2s;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        nav ul li .dropdown li a:hover {
            background-color: #f4f7f6;
            color: var(--primary-color);
            padding-left: 20px;
        }

        /* Second Level Sub-Dropdown Menu (Flyout to Right) */
        nav ul li .dropdown li .sub-dropdown {
            display: none;
            position: absolute;
            top: 0;
            left: 100%;
            background-color: #ffffff;
            min-width: 200px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
            border-left: 3px solid var(--primary-color);
            list-style: none;
            padding: 0;
            z-index: 1002;
        }

        nav ul li .dropdown li:hover > .sub-dropdown {
            display: block;
        }

        nav ul li .dropdown li .sub-dropdown li a {
            padding: 10px 16px;
            font-size: 13px;
        }

        /* Latest notices ticker */
        .announcement-bar {
            max-width: 1200px;
            min-height: 44px;
            margin: 16px auto 0;
            padding: 0 15px;
            display: flex;
            align-items: stretch;
            border: 1px solid var(--border-color);
            border-left: 4px solid var(--accent-color);
            background: #ffffff;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .announcement-label {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
            padding: 8px 16px 8px 4px;
            color: var(--accent-color);
            font-weight: bold;
            white-space: nowrap;
        }

        .announcement-window {
            min-width: 0;
            flex: 1;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        .announcement-track {
            display: flex;
            width: max-content;
            animation: announcement-scroll 35s linear infinite;
        }

        .announcement-track:hover,
        .announcement-track:focus-within {
            animation-play-state: paused;
        }

        .announcement-item {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-right: 48px;
            color: #0056b3;
            font-size: 14px;
            text-decoration: none;
            white-space: nowrap;
        }

        .announcement-item:hover,
        .announcement-item:focus-visible {
            color: var(--primary-color);
            text-decoration: underline;
        }

        .announcement-item time {
            color: #777;
            font-size: 12px;
        }

        .announcement-empty {
            color: #777;
            font-size: 14px;
        }

        @keyframes announcement-scroll {
            from { transform: translateX(100%); }
            to { transform: translateX(-100%); }
        }

        @media (prefers-reduced-motion: reduce) {
            .announcement-track { animation: none; }
        }

        .dropdown-icon {
            font-size: 12px;
            margin-left: 5px;
        }

        .sub-dropdown-icon {
            font-size: 10px;
            margin-left: 8px;
        }

        /* Main Container Layout */
        .container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 0 15px;
            display: grid;
            grid-template-columns: 260px 1fr 260px;
            gap: 20px;
        }

        /* Sidebar Styling */
        .sidebar {
            background: #e7f7ef;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .sidebar-title {
            background-color: var(--primary-color);
            color: white;
            padding: 10px 15px;
            font-size: 16px;
            font-weight: bold;
        }

        .sidebar-content {
            padding: 10px;
        }

        .sidebar-menu {
            list-style: none;
        }

        .sidebar-menu li {
            border-bottom: 1px dashed var(--border-color);
        }

        .sidebar-menu li:last-child {
            border-bottom: none;
        }

        .sidebar-menu li a {
            display: block;
            padding: 8px 10px;
            color: #010101;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.2s;
        }

        .sidebar-menu li a:hover {
            color: var(--primary-color);
            padding-left: 14px;
            background-color: #cce0f5;
        }

        /* Main Content Area */
        .main-content {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .hero-banner {
            width: 100%;
            max-width: 1000px;
            aspect-ratio: 1000 / 400;
            background: #e9ecef;
            border-radius: 4px;
            margin-bottom: 20px;
            overflow: hidden;
            position: relative;
        }

        .hero-slides {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .hero-slide {
            position: absolute;
            inset: 0;
            width: 100%;
            opacity: 0;
            transition: opacity 0.6s ease;
        }

        .hero-slide.active {
            position: relative;
            opacity: 1;
        }

        .hero-slide img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
        }

        .hero-control {
            position: absolute;
            top: 50%;
            z-index: 2;
            width: 36px;
            height: 36px;
            border: 0;
            border-radius: 50%;
            color: #fff;
            background: rgba(0, 0, 0, 0.45);
            cursor: pointer;
            transform: translateY(-50%);
        }

        .hero-control:hover,
        .hero-control:focus-visible {
            background: var(--primary-color);
        }

        .hero-prev {
            left: 12px;
        }

        .hero-next {
            right: 12px;
        }

        .hero-dots {
            position: absolute;
            bottom: 12px;
            left: 50%;
            z-index: 2;
            display: flex;
            gap: 8px;
            transform: translateX(-50%);
        }

        .hero-dot {
            width: 10px;
            height: 10px;
            padding: 0;
            border: 1px solid #fff;
            border-radius: 50%;
            background: transparent;
            cursor: pointer;
        }

        .hero-dot.active {
            background: #fff;
        }

        .section-heading {
            font-size: 18px;
            color: var(--primary-color);
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 5px;
            margin-bottom: 15px;
            margin-top: 15px;
        }

        .welcome-text p {
            margin-bottom: 12px;
            font-size: 15px;
            text-align: justify;
        }

        .speech-less {
            display: none;
        }

        details[open] .speech-more {
            display: none;
        }

        details[open] .speech-less {
            display: inline;
        }

        /* Notice Board Styling */
        .notice-list {
            list-style: none;
        }

        .notice-item {
            padding: 10px 0;
            border-bottom: 1px solid var(--border-color);
            font-size: 14px;
        }

        .notice-item:last-child {
            border-bottom: none;
        }

        .notice-item a {
            color: #0056b3;
            text-decoration: none;
            line-height: 1.4;
            display: block;
        }

        .notice-item a:hover {
            text-decoration: underline;
        }

        .notice-date {
            font-size: 12px;
            color: #777;
            display: block;
            margin-top: 4px;
        }

        /* Footer */
        footer {
            background-color: #2c3e50;
            color: #ecf0f1;
            padding: 40px 10% 20px 10%;
            margin-top: 40px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-col h3 {
            font-size: 16px;
            border-bottom: 1px solid #4f6f8f;
            padding-bottom: 8px;
            margin-bottom: 15px;
            color: #ffffff;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 8px;
        }

        .footer-col ul li a {
            color: #bdc3c7;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.2s;
        }

        .footer-col ul li a:hover {
            color: #ffffff;
        }

        .footer-bottom {
            text-align: center;
            border-top: 1px solid #34495e;
            padding-top: 15px;
            font-size: 13px;
            color: #95a5a6;
        }

        @media (max-width: 992px) {
            .container {
                grid-template-columns: 1fr;
            }
            .gov-top-bar, header, nav, footer {
                padding-left: 5%;
                padding-right: 5%;
            }
        }

        @media (max-width: 600px) {
            .announcement-bar {
                margin: 12px 15px 0;
                padding-left: 8px;
            }

            .announcement-label {
                padding-right: 10px;
            }

            header {
                flex-direction: column;
                align-items: flex-start;
            }
            nav ul {
                flex-direction: column;
            }
            nav ul li {
                width: 100%;
            }
            nav ul li .dropdown {
                position: relative;
                top: 0;
                box-shadow: none;
                border-top: none;
                background-color: #004d38;
            }
            nav ul li .dropdown li .sub-dropdown {
                position: relative;
                left: 0;
                box-shadow: none;
                border-left: none;
                background-color: #003627;
            }
            nav ul li .dropdown li a {
                color: #ffffff;
                background-color: transparent;
                padding-left: 30px;
            }
            nav ul li .dropdown li .sub-dropdown li a {
                padding-left: 45px;
            }
            nav ul li a {
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }
        }

	    body, input, button, table {
    	    font-family: 'Noto Sans Bengali', 'SolaimanLipi', 'Kalpurush', Vrinda, Arial, sans-serif !important;
	}
