* {
margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body {
background: #f8fafc;
    color: #1e293b;
}

.sidebar {
position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;

    background: #ffffff;
    border-right: 1px solid #e5e7eb;

    padding: 20px 15px;
    box-sizing: border-box;

    overflow-y: auto;
    overflow-x: hidden;

    z-index: 1000;
}

.sidebar-header {
display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 8px 20px;
    margin-bottom: 10px;

    border-bottom: 1px solid #e5e7eb;
}

.sidebar-menu {
list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
margin-bottom: 6px;
}

.sidebar-menu a {
display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    padding: 12px 14px;

    box-sizing: border-box;

    color: #374151;
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    border-radius: 10px;

    transition: all 0.2s ease;
}

.sidebar-menu a:hover {
background: #f0fdf4;
    color: #15803d;
}

.sidebar-menu a.active {
background: #dcfce7;
    color: #15803d;
    font-weight: 600;
}

.sidebar-menu .icon {
width: 22px;
    min-width: 22px;
    text-align: center;
    font-size: 18px;
}

.main-content {
margin-left: 250px;
    min-height: 100vh;
    box-sizing: border-box;
}

@media (max-width: 768px) {
.sidebar {
        width: 220px;
    }

    .main-content {
        margin-left: 220px;
    }
}

@media (max-width: 600px) {
.sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .main-content {
        margin-left: 0;
    }
}

.main {
margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
background: #fff;
    height: 70px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-bottom: 1px solid #e2e8f0;
}

.content {
padding: 30px;
    flex: 1;
}

.card-container {
display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.card {
flex: 1;
    min-width: 220px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
}

.card h2 {
color: #2563eb;
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 600;
}

.card p {
color: #0f172a;
    font-size: 24px;
    font-weight: 700;
}

table {
width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
}

table th {
background:#2563eb;
    color:#fff;

    padding:16px;

    font-size:13px;
    font-weight:600;

    text-transform:uppercase;
    letter-spacing:.5px;
}

table td {
padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 14px;
    text-align: left;
}

table tr:last-child td {
border-bottom: none;
}

table tr:hover {
background: #f8fafc;
}

.btn {
display: inline-block;
    padding: 8px 16px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn:hover {
background: #1d4ed8;
}

.btn-red {
background: #ef4444;
}

.btn-red:hover {
background: #dc2626;
}

input[type=text], select {
padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: #1e293b;
    transition: border-color 0.2s;
}

input[type=text]:focus, select:focus {
border-color: #2563eb;
}

button {
padding: 10px 18px;
    border-radius: 8px;
    border: none;
    background: #2563eb;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
background: #1d4ed8;
}

.form-row {
display:flex;
    gap:20px;
    margin-bottom:20px;
}

.form-group {
flex:1;
}

.form-group label {
display:block;
    margin-bottom:8px;
    font-weight:bold;
}

.form-group input,
.form-group select,
.form-group textarea {
width:100%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:6px;
}

.form-group textarea {
height:100px;
}

.page-header {
display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.form-grid {
background:#fff;
    padding:25px;
    border-radius:12px;
    border:1px solid #e2e8f0;
    box-shadow:0 2px 5px rgba(0,0,0,.05);
}

input[type=email],
input[type=date],
input[type=file],
textarea {
width:100%;
    padding:10px 14px;
    border:1px solid #cbd5e1;
    border-radius:8px;
    font-size:14px;
    outline:none;
    background:#fff;
}

input[type=email]:focus,
input[type=date]:focus,
textarea:focus {
border-color:#2563eb;
}

.alert-success {
background:#dcfce7;
    color:#166534;
    border:1px solid #86efac;
    padding:12px;
    border-radius:8px;
    margin-bottom:20px;
}

.form-grid {
display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    background:#fff;
    padding:25px;
    border-radius:12px;
    border:1px solid #e2e8f0;
}

.full-width {
grid-column:1 / 3;
}

form {
background:#ffffff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(15,23,42,.08);
    border:1px solid #e2e8f0;
}

.page-header h2 {
font-size:28px;
    color:#0f172a;
    font-weight:700;
}

.form-group label {
display:block;
    font-size:14px;
    font-weight:600;
    color:#334155;
    margin-bottom:8px;
}

.form-group input,
.form-group select,
.form-group textarea {
width:100%;
    padding:12px 15px;
    border:1px solid #d1d5db;
    border-radius:10px;
    font-size:14px;
    transition:.3s;
    background:#fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
    outline:none;
}

.form-group textarea {
height:120px;
    resize:vertical;
}

.alert-success {
background:#dcfce7;
    color:#166534;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
    border:1px solid #86efac;
}

button.btn {
padding:12px 28px;
    border-radius:10px;
    font-size:15px;
}

.btn-red {
background:#64748b;
}

.btn-red:hover {
background:#475569;
}

.form-card {
max-width:1100px;
    margin:25px auto;
    background:#fff;
    border-radius:18px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border:1px solid #e5e7eb;
}

.form-card h3 {
font-size:26px;
    color:#0f172a;
    margin-bottom:8px;
    font-weight:700;
}

.form-subtitle {
color:#64748b;
    font-size:14px;
    margin-bottom:30px;
}

.page-header h1 {
font-size:32px;
    color:#0f172a;
    margin-bottom:5px;
}

.page-header p {
color:#64748b;
    font-size:15px;
}

.form-row {
display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
    margin-bottom:22px;
}

.form-group label {
display:block;
    margin-bottom:8px;
    color:#334155;
    font-size:14px;
    font-weight:600;
}

.form-group input,
.form-group select,
.form-group textarea {
width:100%;
    padding:14px 16px;
    border:1px solid #dbe3ef;
    border-radius:12px;
    background:#f8fafc;
    transition:.3s;
    font-size:15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline:none;
    border-color:#2563eb;
    background:#ffffff;
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

.form-group textarea {
min-height:140px;
    resize:vertical;
}

.btn {
padding:13px 24px;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
}

.alert-success {
border-radius:12px;
    padding:16px;
    font-size:15px;
    margin-bottom:20px;
}

.page-header {
max-width:1100px;
    margin:0 auto 25px;
}

.content {
padding:40px;
}

.upload-box {
border:2px dashed #cbd5e1;
    background:#f8fafc;
    border-radius:12px;
    padding:18px;
    text-align:center;
    transition:.3s;
}

.upload-box:hover {
border-color:#2563eb;
    background:#eff6ff;
}

.upload-box input[type=file] {
width:100%;
    border:none;
    background:transparent;
    cursor:pointer;
}

.upload-box small {
display:block;
    margin-top:10px;
    color:#64748b;
    font-size:13px;
}

.form-group input,
.form-group select,
.form-group textarea {
font-size:15px;
}

.form-group input,
.form-group select {
height:50px;
}

label {
font-size:14px;
    font-weight:600;
    color:#334155;
}

.btn {
padding:14px 28px;
    font-size:15px;
    border-radius:10px;
}

.btn-save {
background:#16a34a;
}

.btn-save:hover {
background:#15803d;
}

.btn-cancel {
background:#64748b;
}

.btn-cancel:hover {
background:#475569;
}

.student-header {
display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:30px;
}

.student-avatar {
width:70px;
    height:70px;
    border-radius:50%;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:32px;
    color:#fff;

    box-shadow:0 10px 25px rgba(37,99,235,.30);
}

.table-card {
background:#fff;
    border-radius:18px;
    padding:25px;
    margin-top:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border:1px solid #e5e7eb;
}

.table-top {
display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.table-top {
display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.table-top input {
width:420px;
    height:48px;
    padding:0 18px;
    border:1px solid #dbe3f1;
    border-radius:12px;
    background:#f8fafc;
    font-size:14px;
    transition:.3s;
}

.table-top input:focus {
background:#fff;
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

.table-top input:focus {
outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

.action-btn {
display:inline-flex;
    align-items:center;
    justify-content:center;

    width:36px;
    height:36px;

    border-radius:8px;
    text-decoration:none;

    margin-right:6px;

    transition:.3s;
}

.view-btn {
background:#dbeafe;
}

.edit-btn {
background:#fef3c7;
}

.delete-btn {
background:#fee2e2;
}

.view-btn:hover {
background:#2563eb;
}

.edit-btn:hover {
background:#f59e0b;
}

.delete-btn:hover {
background:#ef4444;
}

.student-photo {
width:50px;
    height:50px;

    border-radius:50%;
    object-fit:cover;

    border:3px solid #2563eb;
}

.student-avatar-small {
width:50px;
    height:50px;

    border-radius:50%;

    background:#2563eb;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
    font-weight:bold;
}

table td {
vertical-align:middle;
}

table tbody tr {
transition:.25s;
}

table tbody tr:hover {
background:#f8fbff;
}

.profile-card {
max-width:1100px;
    margin:30px auto;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    display:flex;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.profile-left {
width:320px;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    text-align:center;
    padding:40px 25px;
}

.profile-photo {
width:160px;
    height:160px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid rgba(255,255,255,.25);
    margin-bottom:20px;
}

.profile-avatar {
width:160px;
    height:160px;
    border-radius:50%;
    background:#fff;
    color:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:70px;
    margin:0 auto 20px;
}

.profile-left h2 {
margin-bottom:8px;
    color:#fff;
}

.profile-left p {
opacity:.9;
}

.profile-right {
flex:1;
    padding:35px;
}

.profile-table {
width:100%;
    border-collapse:collapse;
}

.profile-table th {
width:220px;
    background:#f8fafc;
    color:#475569;
    padding:16px;
    text-align:left;
}

.profile-table td {
padding:16px;
    border-bottom:1px solid #e5e7eb;
}

.profile-table tr:last-child td,
.profile-table tr:last-child th {
border-bottom:none;
}

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

html {
scroll-behavior: smooth;
}

body {
font-family: "Noto Sans Bengali", "SolaimanLipi", "Segoe UI", Arial, sans-serif;
    background: #f5f8fc;
    color: #172033;
    line-height: 1.6;
}

a {
color: inherit;
    text-decoration: none;
}

button {
font-family: inherit;
}

img {
max-width: 100%;
    display: block;
}

.page-container,
.header-container,
.nav-container {
width: min(1380px, calc(100% - 40px));
    margin: auto;
}

.site-header {
background: #ffffff;
    border-top: 3px solid #1769e0;
}

.header-container {
max-width: 1100px;
    margin: 0 auto;
    min-height: 105px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 20px;
}

.school-brand {
display: flex;
    align-items: center;
    gap: 18px;
}

.school-logo-link {
width: 78px;
    height: 78px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}

.school-logo {
width: 78px;
    height: 78px;

    object-fit: contain;

    border-radius: 50%;
}

.logo-fallback {
width: 78px;
    height: 78px;

    border-radius: 50%;

    background: #1769e0;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    font-weight: 700;
}

.school-information {
display: flex;
    flex-direction: column;
    justify-content: center;
}

.school-information h1 {
margin: 0 0 5px 0;

    font-size: 32px;
    line-height: 1.2;

    font-weight: 700;

    color: #111827;

    white-space: nowrap;
}

.school-meta {
display: flex;
    align-items: center;
    gap: 10px;

    font-size: 14px;
    color: #64748b;
}

.meta-divider {
color: #cbd5e1;
}

.admin-login {
margin-left: auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 12px 20px;

    background: #1769e0;
    color: #ffffff;

    border-radius: 7px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;

    transition: 0.2s ease;
}

.admin-login:hover {
background: #1257bd;
    transform: translateY(-1px);
}

.main-navigation {
background: #1769e0;
    position: relative;
    z-index: 1000;
}

.nav-container {
min-height: 54px;
}

.nav-menu {
min-height: 54px;
    display: flex;
    align-items: center;
}

.nav-link,
.nav-dropdown-button {
height: 54px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown:hover .nav-dropdown-button {
background: rgba(0, 0, 0, .14);
}

.nav-dropdown {
position: relative;
}

.nav-dropdown-button {
gap: 7px;
}

.nav-dropdown-menu {
position: absolute;
    top: 54px;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
    padding: 7px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
display: block;
    padding: 9px 12px;
    border-radius: 6px;
    color: #334155;
    font-size: 13px;
}

.nav-dropdown-menu a:hover {
background: #eef5ff;
    color: #1769e0;
}

.mobile-menu-button {
display: none;
}

.main-content-section {
padding: 34px 0;
}

.top-content-grid {
display: grid;
    grid-template-columns: 245px minmax(0, 1fr) 285px;
    gap: 22px;
    align-items: stretch;
}

.school-sidebar,
.notice-board,
.leadership-panel,
.media-panel,
.calendar-wrapper {
background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
}

.school-sidebar,
.notice-board,
.leadership-panel {
overflow: hidden;
}

.panel-heading {
min-height: 66px;
    padding: 15px 17px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid #edf1f5;
}

.panel-heading h2 {
font-size: 18px;
    color: #182235;
    font-weight: 800;
}

.panel-icon {
width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eef5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sidebar-list {
padding: 8px;
}

.sidebar-item {
min-height: 45px;
    padding: 8px 9px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 7px;
    color: #475569;
    font-size: 13px;
    transition: .2s ease;
}

.sidebar-item:hover {
background: #eef5ff;
    color: #1769e0;
    transform: translateX(3px);
}

.sidebar-bullet {
width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #edf4ff;
    color: #1769e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.sidebar-arrow {
margin-left: auto;
    color: #94a3b8;
}

.notice-heading {
justify-content: space-between;
}

.heading-title {
display: flex;
    align-items: center;
    gap: 11px;
}

.heading-title h2 {
line-height: 1.25;
}

.heading-title p {
color: #94a3b8;
    font-size: 11px;
    margin-top: 2px;
}

.view-all {
color: #1769e0;
    font-size: 12px;
    font-weight: 700;
}

.notice-list {
padding: 4px 16px 12px;
}

.notice-item {
display: grid;
    grid-template-columns: 105px minmax(0, 1fr) 25px;
    gap: 14px;
    align-items: center;
    padding: 13px 7px;
    border-bottom: 1px solid #edf1f5;
    transition: .2s ease;
}

.notice-item:last-child {
border-bottom: 0;
}

.notice-item:hover {
background: #f8fbff;
}

.notice-date {
color: #1769e0;
    font-size: 11px;
    font-weight: 700;
}

.notice-content h3 {
color: #273449;
    font-size: 13px;
    margin-bottom: 2px;
}

.notice-content p {
color: #7a8798;
    font-size: 11px;
    line-height: 1.5;
}

.notice-view {
width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #eef5ff;
    color: #1769e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.notice-view:hover {
background: #1769e0;
    color: #fff;
}

.leader-list {
padding: 9px 12px 13px;
}

.leader-card {
display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 5px;
    border-bottom: 1px solid #edf1f5;
}

.leader-card:last-child {
border-bottom: 0;
}

.leader-photo {
width: 66px;
    height: 72px;
    border-radius: 9px;
    background: #f1f5f9;
    border: 1px solid #e4eaf1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    overflow: hidden;
    flex-shrink: 0;
}

.leader-photo img {
width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info h3 {
font-size: 13px;
    color: #263246;
    line-height: 1.4;
}

.leader-info p {
margin-top: 2px;
    font-size: 11px;
    color: #1769e0;
}

.information-section {
padding: 16px 0 42px;
}

.section-title {
text-align: center;
    margin-bottom: 23px;
}

.section-title > span {
display: inline-block;
    color: #1769e0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    margin-bottom: 3px;
}

.section-title h2 {
font-size: 25px;
    color: #172033;
}

.section-title strong {
color: #1769e0;
}

.information-grid {
display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.information-card {
background: #fff;
    border: 1px solid #e1e6ed;
    border-radius: 9px;
    padding: 22px 22px 19px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .05);
    transition: .25s ease;
}

.information-card:hover {
transform: translateY(-4px);
    border-color: #cdddf6;
    box-shadow: 0 12px 28px rgba(23, 105, 224, .10);
}

.information-card-header {
display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 17px;
}

.information-icon {
width: 51px;
    height: 51px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #edf0f4;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.information-card h3 {
font-size: 18px;
    color: #1d2738;
}

.information-card ul {
list-style: none;
}

.information-card li {
margin: 5px 0;
}

.information-link {
display: flex;
    align-items: center;
    gap: 8px;
    color: #536174;
    font-size: 12px;
    padding: 3px 0;
    transition: .2s ease;
}

.information-link:hover {
color: #1769e0;
    padding-left: 4px;
}

.card-bullet {
color: #667085;
    font-size: 8px;
}

.card-arrow {
margin-left: auto;
    color: #a5afbd;
    font-size: 16px;
}

.media-section {
padding: 4px 0 45px;
}

.media-grid {
display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.media-panel {
padding: 17px;
}

.media-panel-heading {
min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf1f5;
    margin-bottom: 14px;
    padding-bottom: 11px;
}

.media-panel-heading > div {
display: flex;
    align-items: center;
    gap: 9px;
}

.media-icon {
font-size: 20px;
}

.media-panel-heading h2 {
font-size: 17px;
    color: #1d2939;
}

.media-panel-heading a {
color: #1769e0;
    font-size: 11px;
    font-weight: 700;
}

.image-gallery {
height: 250px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 7px;
}

.gallery-image {
background: linear-gradient(135deg, #e9f2ff, #f4f7fb);
    border-radius: 7px;
    border: 1px solid #e1e8f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    overflow: hidden;
    transition: .25s ease;
}

.gallery-image:hover {
transform: scale(1.02);
    filter: brightness(.96);
}

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

.gallery-large {
grid-row: 1 / 3;
}

.video-preview {
height: 250px;
    border-radius: 8px;
    background: linear-gradient(135deg, #172033, #263d61);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-preview:hover .video-play {
transform: scale(1.1);
    background: #1769e0;
}

.video-play {
width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #fff;
    color: #1769e0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    font-size: 23px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
    transition: .25s ease;
}

.video-caption {
position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
    padding-top: 40px;
}

.video-caption strong,
.video-caption span {
display: block;
}

.video-caption strong {
font-size: 13px;
}

.video-caption span {
font-size: 10px;
    opacity: .75;
}

.important-links {
display: flex;
    flex-direction: column;
    gap: 8px;
}

.important-link {
min-height: 43px;
    padding: 8px 10px;
    border-radius: 7px;
    border: 1px solid #edf1f5;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #475569;
    font-size: 11px;
    transition: .2s ease;
}

.important-link:hover {
border-color: #cbdcf6;
    background: #f6faff;
    color: #1769e0;
}

.link-icon {
width: 27px;
    height: 27px;
    border-radius: 6px;
    background: #eef5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.important-link > span:nth-child(2) {
flex: 1;
}

.calendar-section {
padding: 0 0 48px;
}

.calendar-wrapper {
display: grid;
    grid-template-columns: 1fr 1.15fr;
    overflow: hidden;
}

.calendar-intro {
padding: 35px;
    background: #1769e0;
    color: #fff;
}

.calendar-small-title {
font-size: 12px;
    opacity: .75;
}

.calendar-intro h2 {
margin-top: 4px;
    font-size: 28px;
}

.calendar-intro h2 strong {
display: block;
    color: #fff;
}

.calendar-intro > p {
margin-top: 10px;
    max-width: 470px;
    font-size: 13px;
    line-height: 1.8;
    opacity: .82;
}

.calendar-events {
margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.calendar-event {
display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 7px;
    background: rgba(255,255,255,.08);
}

.calendar-event > span {
font-size: 19px;
}

.calendar-event strong,
.calendar-event small {
display: block;
}

.calendar-event strong {
font-size: 12px;
}

.calendar-event small {
font-size: 10px;
    opacity: .7;
}

.calendar-box {
padding: 27px;
    background: #fff;
}

.calendar-header {
display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-header h3 {
font-size: 18px;
    color: #172033;
}

.calendar-header button {
width: 34px;
    height: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #fff;
    color: #1769e0;
    font-size: 22px;
    cursor: pointer;
    transition: .2s ease;
}

.calendar-header button:hover {
background: #1769e0;
    color: #fff;
}

.calendar-weekdays,
.calendar-days {
display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.calendar-weekdays {
margin-bottom: 7px;
}

.calendar-weekdays span {
font-size: 10px;
    font-weight: 800;
    color: #64748b;
}

.calendar-days {
gap: 5px;
}

.calendar-day {
min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #475569;
    font-size: 12px;
    transition: .15s ease;
}

.calendar-day:hover {
background: #eef5ff;
    color: #1769e0;
}

.calendar-day.today {
background: #1769e0;
    color: #fff;
    font-weight: 800;
}

.calendar-day.empty {
pointer-events: none;
}

.calendar-days {
display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 5px !important;
    width: 100%;
}

.calendar-day {
min-height: 38px;
    display: flex !important;
    align-items: center;
    justify-content: center;

    color: #475569 !important;
    background: transparent;

    font-size: 12px;
    font-weight: 500;

    border-radius: 7px;
}

.calendar-day:hover {
background: #eef5ff;
    color: #1769e0 !important;
}

.calendar-day.today {
background: #1769e0 !important;
    color: #ffffff !important;
    font-weight: 800;
}

.calendar-day.empty {
visibility: hidden;
}

.site-footer {
background: #0f172a;
    color: #ffffff;
    padding-top: 40px;
    width: 100%;
}

.footer-top {
width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 35px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    box-sizing: border-box;
}

.footer-brand {
display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 10px;
}

.footer-logo {
width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #1769e0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.footer-brand strong,
.footer-brand span {
display: block;
}

.footer-brand strong {
color: #fff;
    font-size: 15px;
}

.footer-brand span {
color: #cbd5e1;
    font-size: 11px;
}

.footer-school > p {
margin: 6px 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.7;
}

.footer-social {
display: flex;
    gap: 7px;
    margin-top: 15px;
}

.footer-social a {
width: 31px;
    height: 31px;
    border-radius: 7px;
    border: 1px solid #2a374b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #cbd5e1;
    text-decoration: none;
    transition: .2s ease;
}

.footer-social a:hover {
background: #1769e0;
    border-color: #1769e0;
    color: #fff;
    transform: translateX(3px);
}

.footer-column {
display: flex;
    flex-direction: column;
}

.footer-column h3 {
margin: 0 0 13px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.footer-column > a {
display: block;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    margin: 8px 0;
    transition: .2s ease;
}

.footer-column > a:hover {
color: #fff;
    transform: translateX(3px);
}

.footer-column p {
margin: 6px 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.7;
}

.footer-login {
margin-top: 8px;
    display: inline-flex !important;
    width: max-content;
    padding: 8px 14px;
    background: #1769e0;
    border-radius: 5px;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    transition: .2s ease;
}

.footer-login:hover {
transform: translateX(3px);
}

.footer-bottom {
border-top: 1px solid rgba(255,255,255,.10);
    width: 100%;
}

.footer-bottom-inner {
width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 52px;
    padding: 17px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.footer-bottom p {
margin: 0;
    font-size: 12px;
    color: #94a3b8;
}

@media (max-width: 1100px) {
.top-content-grid {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .leadership-panel {
        grid-column: 1 / -1;
    }

    .leader-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .leader-card {
        padding: 10px;
        border-bottom: 0;
        border-right: 1px solid #edf1f5;
    }

    .leader-card:last-child {
        border-right: 0;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .media-panel:last-child {
        grid-column: 1 / -1;
    }

    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-school {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
.page-container,
    .header-container,
    .nav-container {
        width: min(100% - 24px, 1380px);
    }

    .header-container {
        min-height: auto;
        padding: 15px 0;
        flex-direction: column;
        align-items: stretch;
    }

    .school-brand {
        gap: 11px;
    }

    .school-logo-link {
        width: 58px;
        height: 58px;
    }

    .school-logo {
        width: 49px;
        height: 49px;
    }

    .school-information h1 {
        font-size: 19px;
    }

    .school-meta {
        font-size: 10px;
        gap: 5px;
        flex-wrap: wrap;
    }

    .admin-login {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-button {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 7px;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-link,
    .nav-dropdown-button {
        width: 100%;
        height: 44px;
        justify-content: flex-start;
        padding: 0 14px;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0 8px;
        background: rgba(0,0,0,.08);
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        color: #fff;
    }

    .nav-dropdown-menu a:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

    .main-content-section {
        padding: 18px 0;
    }

    .top-content-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .notice-item {
        grid-template-columns: 1fr 25px;
        gap: 5px;
    }

    .notice-date {
        grid-column: 1 / -1;
    }

    .leadership-panel {
        grid-column: auto;
    }

    .leader-list {
        display: block;
    }

    .leader-card {
        border-right: 0;
        border-bottom: 1px solid #edf1f5;
    }

    .leader-card:last-child {
        border-bottom: 0;
    }

    .information-section {
        padding-bottom: 25px;
    }

    .information-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .information-card {
        padding: 17px;
    }

    .section-title h2 {
        font-size: 21px;
    }

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

    .media-panel:last-child {
        grid-column: auto;
    }

    .calendar-wrapper {
        grid-template-columns: 1fr;
    }

    .calendar-intro {
        padding: 25px;
    }

    .calendar-box {
        padding: 18px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 18px;
    }

    .footer-school {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
}

@media (max-width: 480px) {
.school-information h1 {
        font-size: 17px;
    }

    .school-meta {
        font-size: 9px;
    }

    .panel-heading h2 {
        font-size: 16px;
    }

    .notice-content h3 {
        font-size: 12px;
    }

    .notice-content p {
        font-size: 10px;
    }

    .image-gallery {
        height: 210px;
    }

    .video-preview {
        height: 210px;
    }

    .calendar-intro h2 {
        font-size: 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-school {
        grid-column: auto;
    }
}

.leadership-panel {
background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.leadership-panel .panel-heading {
padding: 15px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.heading-title .panel-icon {
width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.heading-title h2 {
margin: 0;
    font-size: 18px;
    color: #172033;
    font-weight: 700;
}

.heading-title p {
margin: 3px 0 0;
    font-size: 11px;
    color: #94a3b8;
}

.leader-list {
padding: 5px 14px;
}

.leader-card {
display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #e5e7eb;
}

.leader-card:last-child {
border-bottom: none;
}

.leader-photo {
width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #dbe3ef;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    flex-shrink: 0;
}

.leader-photo-fallback {
display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 24px;
}

.leader-info {
min-width: 0;
}

.leader-info h3 {
margin: 0 0 3px;
    font-size: 13px;
    line-height: 1.35;
    color: #1e293b;
    font-weight: 700;
}

.leader-info p {
margin: 0;
    font-size: 11px;
    color: #2563eb;
}

@media (max-width: 768px) {
.leader-card {
        padding: 12px 0;
    }

    .leader-photo {
        width: 48px;
        height: 48px;
    }
}

.information-section {
position: relative;
    display: block;
    width: 100%;
    clear: both;
}

.information-section .page-container {
width: 100%;
    display: block;
}

.information-grid {
display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
    margin-top: 24px;
}

.information-card {
position: relative;
    width: 100%;
    min-height: 230px;
    box-sizing: border-box;
}

.media-section {
position: relative;
    display: block;
    clear: both;
    width: 100%;
    margin-top: 30px;
}

.media-section .page-container {
width: 100%;
    display: block;
}

.media-grid {
display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 18px;

    width: 100%;

    align-items: stretch;
}

.media-panel {
position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.image-gallery {
display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 90px;
    gap: 6px;
    width: 100%;
}

.gallery-image {
min-width: 0;
    min-height: 90px;
    overflow: hidden;
    position: relative;
}

.gallery-large {
grid-column: span 1;
    grid-row: span 2;
}

.video-preview {
display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 230px;
    box-sizing: border-box;
}

.important-links {
display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.important-link {
width: 100%;
    box-sizing: border-box;
}

.calendar-section {
padding: 0 0 50px;
    clear: both;
}

.calendar-wrapper {
display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 420px;

    background: #ffffff;

    border: 1px solid #e1e7ef;
    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 6px 22px rgba(15, 23, 42, .06);
}

.calendar-intro {
padding: 38px;
    background: #1769e0;
    color: #ffffff;
}

.calendar-small-title {
display: block;

    font-size: 12px;
    font-weight: 600;

    color: rgba(255,255,255,.75);
}

.calendar-intro h2 {
margin-top: 6px;

    font-size: 30px;
    line-height: 1.3;

    font-weight: 700;
}

.calendar-intro h2 strong {
display: block;
    color: #ffffff;
}

.calendar-intro > p {
max-width: 460px;

    margin-top: 14px;

    color: rgba(255,255,255,.82);

    font-size: 13px;
    line-height: 1.8;
}

.calendar-events {
display: flex;
    flex-direction: column;

    gap: 10px;

    margin-top: 28px;
}

.calendar-event {
display: flex;
    align-items: center;

    gap: 12px;

    padding: 11px 13px;

    border: 1px solid rgba(255,255,255,.18);

    border-radius: 8px;

    background: rgba(255,255,255,.08);
}

.calendar-event > span {
width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 8px;

    background: rgba(255,255,255,.12);

    font-size: 18px;
}

.calendar-event strong {
display: block;

    color: #ffffff;

    font-size: 13px;
}

.calendar-event small {
display: block;

    margin-top: 2px;

    color: rgba(255,255,255,.65);

    font-size: 10px;
}

.calendar-box {
padding: 32px;

    background: #ffffff;
}

.calendar-header {
display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 24px;
}

.calendar-header h3 {
margin: 0;

    color: #172033;

    font-size: 20px;
    font-weight: 700;

    text-align: center;
}

.calendar-header button {
width: 38px;
    height: 38px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dbe3ef;
    border-radius: 8px;

    background: #ffffff;
    color: #1769e0;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition: .2s ease;
}

.calendar-header button:hover {
background: #1769e0;
    color: #ffffff;
    border-color: #1769e0;
}

.calendar-weekdays {
display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 6px;

    margin-bottom: 8px;

    text-align: center;
}

.calendar-weekdays span {
padding: 8px 2px;

    color: #64748b;

    font-size: 11px;
    font-weight: 700;
}

.calendar-days {
display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 6px;
}

.calendar-day {
min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    color: #475569;

    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition: .15s ease;
}

.calendar-day.today {
background: #1769e0;
    color: #ffffff;

    font-weight: 800;

    box-shadow: 0 4px 10px rgba(23,105,224,.25);
}

.calendar-day.empty {
visibility: hidden;
    pointer-events: none;
}

@media (max-width: 1000px) {
.calendar-wrapper {
        grid-template-columns: 1fr;
    }

    .calendar-intro {
        padding: 30px;
    }

    .calendar-box {
        padding: 25px;
    }
}

@media (max-width: 600px) {
.calendar-intro {
        padding: 24px;
    }

    .calendar-intro h2 {
        font-size: 25px;
    }

    .calendar-box {
        padding: 18px;
    }

    .calendar-header h3 {
        font-size: 17px;
    }

    .calendar-day {
        min-height: 36px;
        font-size: 12px;
    }

    .calendar-weekdays span {
        font-size: 9px;
    }
}

.information-section *,
.media-section *,
.calendar-section * {
box-sizing: border-box;
}

@media (max-width: 1000px) {
.information-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
.information-grid {
        grid-template-columns: 1fr;
    }

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

    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
.leader-card {
        padding: 12px 0;
    }

    .leader-photo {
        width: 48px;
        height: 48px;
    }
}

.calendar-box {
padding: 27px;
    background: #ffffff;
}

.calendar-header h3 {
margin: 0;
    font-size: 18px;
    color: #172033;
    font-weight: 700;
}

.calendar-header button {
width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #ffffff;
    color: #1769e0;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-header button:hover {
background: #1769e0;
    color: #ffffff;
}

.calendar-weekdays {
display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100%;
    margin-bottom: 8px;
}

.calendar-weekdays span {
display: flex !important;
    align-items: center;
    justify-content: center;

    height: 32px;

    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.calendar-days {
display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;

    width: 100%;
    gap: 5px;

    text-align: center;
}

.calendar-days .calendar-day {
width: 100%;
    height: 38px;
    min-height: 38px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    color: #475569 !important;
    background: transparent;

    font-size: 13px;
    font-weight: 500;

    border-radius: 7px;

    cursor: pointer;
    transition: all .15s ease;
}

.calendar-days .calendar-day:not(.empty):hover {
background: #eef5ff;
    color: #1769e0 !important;
}

.calendar-days .calendar-day.today {
background: #1769e0 !important;
    color: #ffffff !important;

    font-weight: 800;

    box-shadow: 0 4px 10px rgba(23,105,224,.20);
}

.calendar-days .calendar-day.empty {
visibility: hidden;
    pointer-events: none;
    background: transparent !important;
}

@media (max-width: 768px) {
.calendar-box {
        padding: 18px;
    }

    .calendar-days {
        gap: 4px;
    }

    .calendar-days .calendar-day {
        height: 36px;
        min-height: 36px;
        font-size: 12px;
    }
}

.notice-actions {
display: flex;
    gap: 8px;
    align-items: center;
}

.notice-download {
width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #16a34a;
    color: #fff;

    border-radius: 50%;

    text-decoration: none;

    font-size: 18px;
}

.notice-download:hover {
background: #15803d;
}

.video-gallery-list {
display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.website-video-item {
overflow: hidden;
}

.website-video-frame {
position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.website-video-frame iframe {
width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.website-video-item h3 {
margin: 10px 2px 0;
    font-size: 14px;
    line-height: 1.5;
}

@media (min-width: 900px) {
.video-gallery-list {
        grid-template-columns: 1fr 1fr;
    }
}

.calendar-days {
display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 8px;
    margin-top: 15px;
    text-align: center;
}

.calendar-day {
display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #222222;
    background-color: #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover {
background-color: #e2e8f0;
}

.calendar-day.empty {
background-color: transparent !important;
    cursor: default;
}

.calendar-day.today {
background-color: #2563eb !important;
    color: #ffffff !important;
    font-weight: bold;
}

.calendar-event-list {
margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.public-calendar-event {
display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    background: #ffffff;
}

.public-event-date {
min-width: 62px;
    text-align: center;
    padding: 8px 6px;
    border-radius: 8px;
    background: #eef4ff;
    color: #1769e0;
    font-size: 11px;
    font-weight: 700;
}

.public-event-info {
display: flex;
    flex-direction: column;
    gap: 3px;
}

.public-event-info strong {
font-size: 13px;
    color: #172033;
}

.public-event-info span {
font-size: 11px;
    color: #1769e0;
}

.public-event-info small {
font-size: 11px;
    color: #718096;
}

.public-calendar-empty {
padding: 15px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

.calendar-event .event-list {
margin-top: 4px;
}

.calendar-event .event-list small {
display: block;
    color: #ffffff;
    font-size: 13px;
    opacity: 0.9;
}

.calendar-day.event-exam {
background-color: #ef4444 !important; 
    color: #ffffff !important;
    font-weight: bold;
}

.calendar-day.event-program {
background-color: #f59e0b !important; 
    color: #ffffff !important;
    font-weight: bold;
}

.calendar-day.event-holiday {
background-color: #10b981 !important; 
    color: #ffffff !important;
    font-weight: bold;
}

.calendar-day.today {
border: 2px solid #2563eb !important;
}

.calendar-day.event-holiday {
background-color: #ef4444 !important;
    color: #ffffff !important;
    font-weight: bold;
}

.calendar-day.event-exam {
background-color: #10b981 !important;
    color: #ffffff !important;
    font-weight: bold;
}

.calendar-day.event-program {
background-color: #fb923c !important;
    color: #ffffff !important;
    font-weight: bold;
}

.calendar-days .calendar-day.event-holiday {
background-color: #ef4444 !important;
    color: #ffffff !important;
    font-weight: bold !important;
}

.calendar-days .calendar-day.event-program {
background-color: #fb923c !important;
    color: #ffffff !important;
    font-weight: bold !important;
}

.calendar-days .calendar-day.event-exam {
background-color: #10b981 !important;
    color: #ffffff !important;
    font-weight: bold !important;
}

.calendar-legend {
display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 25px !important;
    padding-top: 15px !important;
    border-top: 1px solid #e2e8f0 !important;
    width: 100% !important;
}

.legend-item {
display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

.legend-color {
width: 14px !important;
    height: 14px !important;
    border-radius: 4px !important;
    display: inline-block !important;
}

.legend-exam {
background-color: #10b981 !important;
}

.legend-program {
background-color: #fb923c !important;
}

.legend-holiday {
background-color: #ef4444 !important;
}

.navbar-nav, 
.nav-menu, 
ul.menu {
display: flex !important;
    justify-content: space-between !important; 
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 15px !important;
}

.navbar-nav > li, 
.nav-menu > li, 
ul.menu > li {
flex-grow: 1 !important;
    text-align: center !important;
}

.navbar-nav > li > a, 
.nav-menu > li > a, 
ul.menu > li > a {
display: block !important;
    padding: 12px 10px !important;
    white-space: nowrap !important;
}

.navbar-nav, 
.nav-menu, 
.main-menu,
header nav ul {
display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 10px !important;
    list-style: none !important;
}

.navbar-nav > li, 
.nav-menu > li, 
.main-menu > li,
header nav ul > li {
flex: 1 1 auto !important;
    text-align: center !important;
}

.navbar-nav > li > a, 
.nav-menu > li > a, 
.main-menu > li > a,
header nav ul > li > a {
display: block !important;
    padding: 14px 10px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.info-card, 
.school-info-card, 
.info-box {
display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.info-list, 
.info-card ul, 
.school-info-card ul {
display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important; 
    flex-grow: 1 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    list-style: none !important;
}

.info-list li, 
.info-card ul li, 
.school-info-card ul li,
.info-list a,
.info-card ul li a {
flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    padding: 12px 15px !important;
}

.section-cards .card,
.feature-card {
background: url("../images/bg-wave.jpg") no-repeat center center / cover !important;
    border-radius: 16px !important;
    padding: 20px !important;
    border: 1px solid #bbf7d0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.section-cards .card h2,
.section-cards .card h3,
.feature-card h2,
.feature-card h3 {
color: #064e3b !important;
    font-weight: 700 !important;
}

.section-cards .card ul li a,
.feature-card ul li a {
color: #0f5132 !important;
    font-weight: 600 !important;
}

.information-card-header h3 {
color: #064e3b !important; 
    font-size: 20px !important; 
    font-weight: 800 !important; 
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

.information-link {
color: #042f2e !important; 
    font-size: 16px !important; 
    font-weight: 700 !important; 
    text-decoration: none !important;
}

.card-bullet {
color: #059669 !important;
    font-size: 14px !important;
}

.card-arrow {
color: #042f2e !important;
    font-weight: bold !important;
    font-size: 18px !important;
}

.information-link:hover {
color: #000000 !important;
}

.navbar-nav, .nav-menu {
display: flex;
    justify-content: center; 
    gap: 25px;
}

.nav-dropdown:hover .nav-dropdown-menu {
display: block !important;
}

.nav-dropdown-menu {
display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 160px;
    z-index: 999;
}

.nav-dropdown-menu a {
display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
background: #f1f5f9;
    color: #2563eb;
}

@media (min-width: 769px) {
.calendar-wrapper {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 42% 58% !important;
        min-height: 500px !important;
    }
}

.footer-school {
padding-left: 25px;
}

.footer-bottom-inner {
padding-left: 25px;
}

.footer-bottom-inner {
display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-inner p:last-child {
text-align: right;
}

.footer-bottom-inner {
display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-inner p:first-child {
margin: 0;
}

.footer-bottom-inner p:last-child {
margin: 0;
    padding-right: 20px;
}

.footer-bottom-inner p:last-child {
margin: 0;
    padding-right: 20px;
    margin-top: -7px;
}

.css-dropdown {
position: relative;
    display: inline-block;
}

.css-dropdown-menu {
display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 8px 0;
    z-index: 9999;
}

.css-dropdown-menu a {
color: #333333 !important;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.css-dropdown-menu a:hover {
background-color: #f1f5f9;
    color: #2563eb !important;
}

.css-dropdown:hover .css-dropdown-menu {
display: block !important;
}

body {
background-color: #f4f6f9;
    font-family: "SolaimanLipi", Arial, sans-serif;
    color: #333333;
    line-height: 1.8;
    padding: 20px;
}

.about-container {
max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.about-container p {
font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.header-buttons {
display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    transform: translateX(40px);
}

.management-btn {
display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 13px 20px;

    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;

    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 5px 18px rgba(37, 99, 235, 0.35);

    transition: all 0.3s ease;
}

.management-btn:hover {
background: linear-gradient(135deg, #1d4ed8, #1e40af);

    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(37, 99, 235, 0.5);
}

.site-footer {
width: 100% !important;
    background-color: #0b132b; 
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.site-footer .page-container {
max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer-bottom {
width: 100%;
    background-color: #070b19; 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.footer-bottom-inner {
max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

html, body {
margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
}

.site-footer {
width: 100% !important;
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #1a1d24 !important;
}

.site-footer .page-container {
width: 100% !important;
    max-width: 100% !important;
    padding: 40px 50px !important;
    box-sizing: border-box;
}

.footer-bottom {
width: 100% !important;
    background-color: #14161b !important;
    padding: 15px 50px !important;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

html {
zoom: 85%;
}

.calendar-section, 
.your-bottom-row-class {
margin-top: 25px;
}

.page-container, .nav-container, .header-container {
max-width: 100% !important;
    width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box;
}
@media (max-width: 1200px) {

    .header-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .school-name-bn {
        font-size: 32px;
    }

    .school-name-en {
        font-size: 18px;
    }

    .header-buttons {
        gap: 8px;
        margin-left: 10px;
    }
}
@media (max-width: 900px) {

    .header-container {
        flex-wrap: wrap;
        min-height: auto;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .school-title {
        order: 2;
        width: 100%;
        flex-basis: 100%;
        margin-top: 8px;
    }

    .header-buttons {
        margin-left: auto;
    }

    .school-name-bn {
        font-size: 28px;
    }
}
.visitor-counter-line {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 35px !important;
    width: 100% !important;
    white-space: nowrap !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    font-size: 16px;
    color: #ffffff;
}

.visitor-counter-line span {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.visitor-counter-line strong {
    margin-left: 4px !important;
    font-weight: 700;
    color: #ffffff;
}

@media (max-width: 600px) {
    .visitor-counter-line {
        gap: 15px;
        flex-wrap: wrap;
        font-size: 14px;
    }
}
/* ================================
   ACCOUNT MANAGEMENT MENU
================================ */

.menu-group {
    width: 100%;
}

.menu-parent,
.submenu-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    cursor: pointer;
}

.menu-parent .arrow,
.submenu-parent .arrow {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.submenu {
    display: none;
    margin-left: 12px;
    padding-left: 8px;
    border-left: 2px solid rgba(255,255,255,0.15);
}

.sub-submenu {
    display: none;
    margin-left: 12px;
    padding-left: 8px;
    border-left: 2px solid rgba(255,255,255,0.10);
}

.submenu a,
.sub-submenu a {
    display: block;
    padding: 9px 12px;
    margin: 2px 0;
    text-decoration: none;
    font-size: 14px;
}

.submenu-parent {
    padding: 9px 12px;
}

.sub-submenu a {
    padding-left: 18px;
}

.menu-parent.active .arrow,
.submenu-parent.active .arrow {
    transform: rotate(180deg);
}
