:root {
    --blue: #174A96;
    --navy: #082B5F;
    --red: #D71920;
    --light: #F5F7FA;
    --text: #0B1F3A;
    --white: #fff;
    --border: #E5EAF0
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: 'Cairo',Tahoma,sans-serif;
    color: var(--text);
    background: #fff;
    direction: rtl;
    text-align: right
}

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

.container {
    width: min(1180px,92%);
    margin: auto
}

.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 14px
}

.topbar-inner {
    display: flex;
    gap: 22px;
    align-items: center;
    min-height: 38px
}

.main-header {
    background: #fff;
    box-shadow: 0 8px 25px rgba(8,43,95,.08);
    position: sticky;
    top: 0;
    z-index: 20
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 82px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--navy);
    font-size: 22px
}
    .brand img {
        width: 224px;
        height: auto;
        max-height: 80px;
        object-fit: contain;
        display: block;
    }

 

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    font-size: 15px
}

    .nav a {
        padding: 8px 0;
        border-bottom: 3px solid transparent
    }

        .nav a:hover {
            color: var(--red);
            border-color: var(--red)
        }

.nav-actions {
    display: flex;
    gap: 8px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit
}

.btn-red {
    background: var(--red);
    color: #fff
}

.btn-blue {
    background: var(--blue);
    color: #fff
}

.btn-white {
    background: #fff;
    color: var(--navy)
}

.btn-outline-red {
    border: 1px solid var(--red);
    color: var(--red);
    background: #fff
}

.hero {
    min-height: 620px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff
}

.hero-content {
    max-width: 760px;
    margin-right: 8%
}

.badge {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    padding: 8px 18px;
    display: inline-block;
    margin-bottom: 14px
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin: 0 0 18px
}

.hero p {
    font-size: 22px;
    line-height: 1.9;
    max-width: 760px;
    margin: 0 0 28px
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

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

.overlap {
    margin-top: -65px;
    position: relative;
    z-index: 5
}

.feature-card, .stage-card, .news-card, .honor-card, .gallery-item, .value-box, .form-card, .portal-card {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 12px 35px rgba(8,43,95,.09);
    border-radius: 22px;
    padding: 24px;
    transition: .25s
}

    .feature-card:hover, .stage-card:hover, .news-card:hover, .honor-card:hover {
        transform: translateY(-5px)
    }

.feature-card {
    min-height: 178px
}

.feature-card {
    font-size: 34px
}

    .feature-card h3 {
        font-size: 20px;
        margin: 10px 0
    }

    .feature-card p {
        font-size: 14px;
        line-height: 1.8;
        color: #52606d
    }

.section {
    padding: 80px 0
}

.light {
    background: var(--light)
}

.two-col {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center
}

.section-kicker {
    color: var(--red);
    font-weight: 800;
    display: inline-block;
    margin-bottom: 10px
}

.section h2, .light h2 {
    font-size: 38px;
    line-height: 1.4;
    margin: 0 0 18px;
    color: var(--navy)
}

.section p {
    line-height: 2;
    color: #4b5b6b;
    font-size: 17px
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0
}

    .check-list li {
        margin: 10px 0;
        padding-right: 30px;
        position: relative
    }

        .check-list li:before {
            content: '✓';
            position: absolute;
            right: 0;
            top: 0;
            background: var(--red);
            color: #fff;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px
        }

.about-art img {
    width: 100%;
    max-height: 390px
}

.grid {
    display: grid;
    gap: 24px
}

.cards-4 {
    grid-template-columns: repeat(4,1fr)
}

.cards-3 {
    grid-template-columns: repeat(3,1fr)
}

.stage-card img, .news-card img, .gallery-item img, .honor-card img, .article img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 18px;
    background: var(--light)
}

.stage-card h3, .news-card h3, .honor-card h3 {
    color: var(--navy);
    font-size: 20px;
    margin: 14px 0 8px
}

.news-card {
    padding: 16px
}

    .news-card p {
        font-size: 14px
    }

    .news-card a {
        color: var(--red);
        font-weight: 800
    }

.stats {
    background: var(--navy);
    color: #fff;
    padding: 55px 0
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    text-align: center
}

.stats strong {
    display: block;
    font-size: 44px;
    color: #fff
}

.stats span {
    color: #cfe2ff
}

.honor-card {
    text-align: center
}

    .honor-card img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        margin: auto
    }

    .honor-card strong {
        color: var(--red)
    }

.cta {
    background: linear-gradient(135deg,var(--red),#9e1117);
    color: #fff;
    padding: 70px 0;
    text-align: center
}

    .cta h2 {
        font-size: 42px;
        margin: 0 0 12px
    }

.footer {
    background: #061e42;
    color: #dce6f3;
    padding-top: 60px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr;
    gap: 36px
}

.footer a {
    display: block;
    color: #dce6f3;
    margin: 9px 0
}

    .footer a:hover {
        color: #fff
    }

.footer-logo {
    width: 240px
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px;
    margin-top: 35px
}

.page-title {
    background: linear-gradient(135deg,var(--navy),var(--blue));
    color: #fff;
    padding: 85px 0
}

    .page-title h1 {
        font-size: 46px;
        margin: 0 0 10px
    }

    .page-title p {
        font-size: 18px
    }

.form-wrap {
    max-width: 850px
}

.form-card {
    display: grid;
    gap: 14px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

input, textarea, select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 15px;
    font-family: inherit;
    font-size: 15px;
    background: #fff
}

textarea {
    min-height: 130px
}

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 16px
}

.success {
    background: #eaf8ef;
    color: #106b2e
}

.error {
    background: #ffeaea;
    color: #991111
}

.login-page {
    min-height: 80vh;
    display: grid;
    place-items: center;
    background: var(--light);
    padding: 60px 0
}

.login-card {
    width: min(430px,92%);
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(8,43,95,.12);
    padding: 34px;
    display: grid;
    gap: 14px
}

    .login-card h1 {
        margin: 0;
        color: var(--navy)
    }

.demo {
    background: var(--light);
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.8
}

.student-head {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 35px rgba(8,43,95,.08);
    margin-bottom: 25px
}

    .student-head img {
        width: 120px;
        height: 120px;
        border-radius: 50%
    }

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

.portal-card strong {
    display: block;
    color: var(--red);
    font-size: 36px
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(8,43,95,.07);
    margin: 18px 0 30px
}

    .data-table th {
        background: var(--navy);
        color: #fff;
        text-align: right
    }

    .data-table th, .data-table td {
        padding: 13px;
        border-bottom: 1px solid var(--border)
    }

.article {
    max-width: 900px
}

    .article img {
        height: 360px;
        margin-bottom: 25px
    }

.admin-body {
    background: #f4f6fa;
    display: flex;
    min-height: 100vh
}

.admin-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 270px;
    background: #061e42;
    color: #fff;
    padding: 24px;
    overflow: auto
}

    .admin-sidebar h2 {
        margin: 0 0 22px
    }

    .admin-sidebar a {
        display: block;
        color: #dce6f3;
        padding: 11px 12px;
        border-radius: 10px;
        margin: 3px 0
    }

        .admin-sidebar a:hover {
            background: rgba(255,255,255,.1);
            color: #fff
        }

.admin-content {
    margin-right: 270px;
    width: calc(100% - 270px);
    padding: 30px
}

.admin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: 0 8px 25px rgba(8,43,95,.06);
    margin-bottom: 24px
}

    .admin-top h1 {
        margin: 0;
        color: var(--navy)
    }

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

.dash-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(8,43,95,.08);
    border-right: 5px solid var(--red)
}

    .dash-card strong {
        display: block;
        font-size: 38px;
        color: var(--navy)
    }

.admin-form {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(8,43,95,.06);
    display: grid;
    gap: 12px;
    margin-bottom: 20px
}

    .admin-form.inline {
        grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
        align-items: end
    }

.link-danger {
    background: none;
    border: none;
    color: var(--red);
    font-family: inherit;
    font-weight: 800;
    cursor: pointer
}

.admin-panel {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 18px
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
    gap: 16px
}

    .mini-grid img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 12px
    }

@media(max-width:980px) {
    .nav {
        display: none
    }

    .features, .cards-4, .cards-3, .stats-grid, .two-col, .portal-grid, .footer-grid {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: 42px
    }

    .hero {
        min-height: 520px
    }

    .admin-sidebar {
        position: relative;
        width: 100%;
        height: auto
    }

    .admin-body {
        display: block
    }

    .admin-content {
        margin-right: 0;
        width: 100%
    }

    .dash-grid {
        grid-template-columns: 1fr
    }

    .form-grid {
        grid-template-columns: 1fr
    }
}


.admin-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    background: #fff;
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 8px 25px rgba(8,43,95,.06)
}

    .admin-page-title h2 {
        margin: 0;
        color: var(--navy);
        font-size: 28px
    }

    .admin-page-title p {
        margin: 6px 0 0;
        color: #667085
    }

.modern-table th, .modern-table td {
    vertical-align: middle
}

.banner-thumb {
    width: 135px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--light)
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px
}

    .status-pill.active {
        background: #e8f7ee;
        color: #15803d
    }

    .status-pill.inactive {
        background: #fee2e2;
        color: #b91c1c
    }

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

.btn-sm {
    border: 0;
    border-radius: 10px;
    padding: 9px 13px;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex
}

.btn-edit {
    background: #fff7e6;
    color: #b45309
}

.btn-delete {
    background: #fee2e2;
    color: #b91c1c
}

.empty-row {
    text-align: center;
    color: #667085;
    padding: 30px !important
}

.improved-form {
    display: grid;
    gap: 18px
}

    .improved-form label {
        font-weight: 800;
        color: var(--navy)
    }

    .improved-form small {
        display: block;
        margin-top: 7px;
        color: #667085
    }

    .improved-form .form-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 16px
    }

.image-preview-box {
    margin-top: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 14px;
    min-height: 120px
}

    .image-preview-box img {
        width: 100%;
        max-height: 340px;
        object-fit: cover;
        border-radius: 14px
    }

.check-line {
    display: flex !important;
    align-items: center;
    gap: 8px
}

    .check-line input {
        width: auto
    }

.form-actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.text-danger {
    color: #b91c1c
}

@media(max-width:760px) {
    .admin-page-title {
        align-items: flex-start;
        flex-direction: column
    }

    .improved-form .form-grid {
        grid-template-columns: 1fr
    }

    .row-actions {
        flex-direction: column;
        align-items: stretch
    }

    .banner-thumb {
        width: 95px;
        height: 55px
    }
}

/* Upload-enabled admin screens */
.admin-thumb {
    width: 110px;
    height: 70px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--light)
}

.student-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 6px 16px rgba(8,43,95,.14);
    background: var(--light)
}

.gallery-admin-panel h3 {
    margin: 0 0 6px;
    color: var(--navy)
}

.gallery-admin-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(8,43,95,.06)
}

    .gallery-admin-item p {
        margin: 8px 0;
        color: var(--navy);
        font-weight: 800
    }

.admin-form input[type=file] {
    padding: 10px;
    background: #fff;
    border: 1px dashed #b9c4d4;
    cursor: pointer
}

.image-preview-box img[src=''] {
    display: none
}

/* =========================
   Improved Admin Dashboard UI
   ========================= */
.admin-body {
    background: #eef3f9;
    display: flex;
    min-height: 100vh
}

.admin-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 290px;
    background: linear-gradient(180deg,#061e42,#082b5f);
    color: #fff;
    padding: 18px 18px 22px;
    overflow: auto;
    box-shadow: -8px 0 30px rgba(6,30,66,.18);
    z-index: 50
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px 20px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    margin-bottom: 12px
}

    .admin-brand img {
        width: 54px;
        height: 54px;
        background: #fff;
        border-radius: 16px;
        padding: 6px
    }

    .admin-brand strong {
        display: block;
        font-size: 18px;
        font-weight: 900
    }

    .admin-brand span {
        display: block;
        font-size: 12px;
        color: #bfd3ee
    }

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #dce6f3;
    padding: 11px 12px;
    border-radius: 13px;
    margin: 4px 0;
    font-weight: 700;
    transition: .2s
}

    .admin-menu a:hover {
        background: rgba(255,255,255,.12);
        color: #fff;
        transform: translateX(-3px)
    }

.admin-content {
    margin-right: 290px;
    width: calc(100% - 290px);
    padding: 24px
}

.admin-topbar {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr auto;
    gap: 18px;
    align-items: center;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 18px 20px;
    box-shadow: 0 14px 40px rgba(8,43,95,.08);
    margin-bottom: 24px
}

.admin-topbar-title h1 {
    margin: 0;
    color: var(--navy);
    font-size: 26px;
    font-weight: 900
}

.admin-topbar-title p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 13px
}

.admin-global-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f6f8fb;
    border: 1px solid #e5eaf0;
    border-radius: 16px;
    padding: 0 14px
}

    .admin-global-search input {
        border: 0;
        background: transparent;
        min-height: 46px;
        padding: 0;
        box-shadow: none
    }

        .admin-global-search input:focus {
            outline: 0;
            box-shadow: none
        }

.admin-user-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border-radius: 18px;
    padding: 8px 10px;
    border: 1px solid #e5eaf0
}

.admin-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: var(--red);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900
}

.admin-user-box strong {
    display: block;
    color: var(--navy);
    font-size: 14px
}

.admin-user-box small {
    display: block;
    color: #667085;
    font-size: 12px
}

.admin-logout {
    background: #fee2e2;
    color: #b91c1c;
    border-radius: 12px;
    padding: 9px 12px;
    font-weight: 900
}

.admin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg,var(--navy),var(--blue));
    color: #fff;
    border-radius: 26px;
    padding: 26px;
    margin-bottom: 22px;
    box-shadow: 0 18px 45px rgba(8,43,95,.18);
    position: relative;
    overflow: hidden
}

    .admin-hero:before {
        content: "";
        position: absolute;
        left: -90px;
        top: -90px;
        width: 230px;
        height: 230px;
        border-radius: 50%;
        background: rgba(215,25,32,.25)
    }

    .admin-hero:after {
        content: "";
        position: absolute;
        right: 35%;
        bottom: -120px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(255,255,255,.08)
    }

    .admin-hero > * {
        position: relative
    }

    .admin-hero h2 {
        margin: 0 0 8px;
        font-size: 28px;
        font-weight: 900;
        color: #fff
    }

    .admin-hero p {
        margin: 0;
        color: #dbeafe;
        line-height: 1.8
    }

.admin-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.admin-section {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 12px 34px rgba(8,43,95,.07);
    margin-bottom: 20px
}

.admin-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px
}

    .admin-section-head h3 {
        margin: 0;
        color: var(--navy);
        font-size: 20px;
        font-weight: 900
    }

    .admin-section-head p {
        margin: 4px 0 0;
        color: #667085
    }

.admin-tools {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap
}

    .admin-tools input, .admin-tools select {
        max-width: 260px
    }

.admin-table-wrap {
    overflow: auto
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px
}

    .admin-table th {
        background: #f6f8fb;
        color: #667085;
        font-size: 13px;
        font-weight: 900;
        padding: 13px 14px;
        text-align: right;
        white-space: nowrap
    }

    .admin-table td {
        background: #fff;
        padding: 14px;
        border-top: 1px solid #eef1f5;
        border-bottom: 1px solid #eef1f5;
        vertical-align: middle
    }

    .admin-table tbody tr {
        box-shadow: 0 8px 20px rgba(8,43,95,.055);
        border-radius: 16px
    }

        .admin-table tbody tr td:first-child {
            border-radius: 0 16px 16px 0;
            border-right: 1px solid #eef1f5
        }

        .admin-table tbody tr td:last-child {
            border-radius: 16px 0 0 16px;
            border-left: 1px solid #eef1f5
        }

.admin-form-card {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 12px 34px rgba(8,43,95,.07);
    margin-bottom: 20px
}

.admin-form-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px
}

    .admin-form-title h3 {
        margin: 0;
        color: var(--navy);
        font-weight: 900
    }

.form-row {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px
}

.form-field label {
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 7px;
    display: block
}

.form-field small {
    display: block;
    color: #667085;
    margin-top: 5px
}

.form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px
}

.btn-soft {
    background: #eef4ff;
    color: var(--blue)
}

.btn-green {
    background: #16a34a;
    color: #fff
}

.btn-gray {
    background: #eef1f5;
    color: #0b1f3a
}

.btn-red-light {
    background: #fee2e2;
    color: #b91c1c
}

.action-btn {
    border: 0;
    border-radius: 12px;
    padding: 9px 12px;
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: .2s
}

    .action-btn:hover {
        transform: translateY(-1px)
    }

.action-edit {
    background: #fff7e6;
    color: #b45309
}

.action-delete {
    background: #fee2e2;
    color: #b91c1c
}

.action-view {
    background: #eef4ff;
    color: #174a96
}

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

.admin-thumb {
    width: 116px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e5eaf0;
    background: #f5f7fa
}

.student-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 6px 18px rgba(8,43,95,.18)
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 7px 13px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px
}

    .status-pill.active {
        background: #dcfce7;
        color: #15803d
    }

    .status-pill.inactive {
        background: #fee2e2;
        color: #b91c1c
    }

    .status-pill.info {
        background: #dbeafe;
        color: #174a96
    }

.empty-state {
    text-align: center;
    color: #667085;
    padding: 32px !important
}

.image-preview-box {
    margin-top: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 14px;
    min-height: 120px
}

    .image-preview-box img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
        border-radius: 14px
    }

        .image-preview-box img[src=''] {
            display: none
        }

.dash-hero {
    background: linear-gradient(135deg,#082b5f,#174a96);
    border-radius: 28px;
    color: #fff;
    padding: 30px;
    margin-bottom: 22px;
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 20px;
    align-items: center;
    position: relative;
    overflow: hidden
}

    .dash-hero h2 {
        margin: 0 0 8px;
        font-size: 32px
    }

    .dash-hero p {
        margin: 0;
        color: #dbeafe;
        line-height: 1.8
    }

.dash-clock {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    padding: 18px;
    text-align: center
}

    .dash-clock strong {
        display: block;
        font-size: 30px
    }

.dash-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px
}

.dash-card {
    background: #fff;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 12px 34px rgba(8,43,95,.07);
    border: 1px solid #e5eaf0;
    border-right: 5px solid var(--red)
}

    .dash-card small {
        display: block;
        color: #667085;
        font-weight: 800
    }

    .dash-card strong {
        display: block;
        color: var(--navy);
        font-size: 34px;
        margin-top: 8px
    }

.dash-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 20px
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px
}

    .quick-actions a {
        background: #f6f8fb;
        border: 1px solid #e5eaf0;
        border-radius: 16px;
        padding: 14px;
        font-weight: 900;
        color: var(--navy)
    }

.mini-list {
    display: grid;
    gap: 10px
}

.mini-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    padding: 12px
}

    .mini-item strong {
        color: var(--navy)
    }

    .mini-item small {
        color: #667085
    }

.pill-date {
    background: #eef4ff;
    color: #174a96;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900
}

@media(max-width:1100px) {
    .admin-topbar {
        grid-template-columns: 1fr
    }

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

    .dash-hero, .dash-panels {
        grid-template-columns: 1fr
    }

    .form-row, .form-row-3 {
        grid-template-columns: 1fr
    }
}

@media(max-width:980px) {
    .admin-sidebar {
        position: relative;
        width: 100%;
        height: auto
    }

    .admin-body {
        display: block
    }

    .admin-content {
        margin-right: 0;
        width: 100%;
        padding: 16px
    }

    .admin-hero {
        flex-direction: column;
        align-items: flex-start
    }

    .dash-grid {
        grid-template-columns: 1fr
    }

    .quick-actions {
        grid-template-columns: 1fr
    }
}


/* =========================================================
   Public About Page - صفحة عن المدرسة للزائر
   يستخدم مع Views/About/Index.cshtml
   ========================================================= */

body {
    overflow-x: hidden;
}

main {
    width: 100%;
}

.public-about-page {
    direction: rtl;
    background: #F5F7FA;
    padding: 45px 0 70px;
    color: #082B5F;
}

    .public-about-page * {
        box-sizing: border-box;
    }

.public-about-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748B;
    font-size: 14px;
    margin-bottom: 18px;
}

    .about-breadcrumb a {
        color: #174A96;
        text-decoration: none;
        font-weight: 800;
    }

    .about-breadcrumb strong {
        color: #082B5F;
    }

.about-hero-card {
    background: #fff;
    border-radius: 30px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 35px;
    align-items: center;
    box-shadow: 0 18px 45px rgba(8, 43, 95, 0.08);
    border: 1px solid #E7ECF3;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: #EAF1FB;
    color: #174A96;
    padding: 8px 15px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 14px;
}

.about-hero-content h1 {
    color: #082B5F;
    font-size: 42px;
    font-weight: 900;
    margin: 0 0 16px;
    line-height: 1.25;
}

.about-hero-content p {
    color: #475569;
    font-size: 17px;
    line-height: 2;
    margin: 0;
}

.about-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.about-primary-btn,
.about-secondary-btn {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.about-primary-btn {
    background: #D71920;
    color: #fff;
}

    .about-primary-btn:hover {
        background: #bd1118;
        color: #fff;
    }

.about-secondary-btn {
    background: #EEF3FA;
    color: #082B5F;
}

    .about-secondary-btn:hover {
        background: #E1EAF6;
        color: #082B5F;
    }

.about-hero-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    background: #EEF3FA;
    border: 1px solid #E5EAF0;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.about-stat-card {
    background: #fff;
    border-radius: 22px;
    padding: 22px 14px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
}

    .about-stat-card strong {
        display: block;
        color: #174A96;
        font-size: 30px;
        font-weight: 900;
        margin-bottom: 6px;
    }

    .about-stat-card span {
        color: #64748B;
        font-weight: 800;
        font-size: 14px;
    }

.about-main-section {
    background: #fff;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
    margin-bottom: 24px;
}

.about-section-title {
    margin-bottom: 16px;
}

    .about-section-title span,
    .about-block-heading span,
    .principal-content span {
        color: #D71920;
        font-weight: 900;
        font-size: 14px;
    }

    .about-section-title h2,
    .about-block-heading h2,
    .principal-content h2 {
        color: #082B5F;
        font-size: 28px;
        font-weight: 900;
        margin: 8px 0 0;
    }

.about-main-section p {
    color: #475569;
    font-size: 16px;
    line-height: 2.1;
    margin: 0;
}

.about-vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.about-vmv-card,
.about-feature-card {
    background: #fff;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
}

.about-icon,
.feature-icon,
.facility-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #EAF1FB;
    color: #174A96;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.about-vmv-card h3,
.about-feature-card h3,
.facility-card h3,
.timeline-item h3 {
    color: #082B5F;
    font-size: 21px;
    font-weight: 900;
    margin: 0 0 10px;
}

.about-vmv-card p,
.about-feature-card p,
.facility-card p,
.timeline-item p {
    color: #475569;
    line-height: 2;
    margin: 0;
}

.principal-section {
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: center;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
    margin-bottom: 28px;
}

.principal-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 22px;
    background: #EEF3FA;
}

.principal-content p {
    color: #475569;
    line-height: 2.1;
    margin: 16px 0;
}

.principal-name strong {
    display: block;
    color: #082B5F;
    font-size: 18px;
    font-weight: 900;
}

.principal-name small {
    display: block;
    color: #64748B;
    margin-top: 4px;
}

.about-block-heading {
    margin: 35px 0 18px;
}

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

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

.facility-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
}

    .facility-card > img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        background: #EEF3FA;
        display: block;
    }

.facility-content {
    padding: 22px;
}

.school-timeline {
    background: #fff;
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
}

.timeline-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    position: relative;
    padding: 0 0 26px;
}

    .timeline-item:not(:last-child) {
        border-bottom: 1px solid #EEF2F7;
        margin-bottom: 24px;
    }

    .timeline-item strong {
        background: #D71920;
        color: #fff;
        width: 90px;
        height: 44px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
    }

.about-cta {
    background: linear-gradient(135deg, #082B5F, #174A96);
    border-radius: 30px;
    padding: 36px;
    text-align: center;
    margin-top: 35px;
    color: #fff;
}

    .about-cta h2 {
        font-size: 30px;
        font-weight: 900;
        margin: 0 0 10px;
        color: #fff;
    }

    .about-cta p {
        margin: 0 0 22px;
        color: rgba(255,255,255,0.82);
    }

    .about-cta div {
        display: flex;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .about-cta a {
        min-height: 48px;
        padding: 0 24px;
        border-radius: 14px;
        background: #fff;
        color: #082B5F;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        text-decoration: none;
    }

        .about-cta a:first-child {
            background: #D71920;
            color: #fff;
        }

@media (max-width: 1100px) {
    .about-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 992px) {
    .about-hero-card,
    .principal-section {
        grid-template-columns: 1fr;
    }

    .about-vmv-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-content h1 {
        font-size: 32px;
    }

    .principal-photo img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .public-about-page {
        padding: 28px 0 50px;
    }

    .public-about-container {
        width: min(100% - 22px, 1180px);
    }

    .about-hero-card {
        padding: 22px;
        border-radius: 22px;
    }

    .about-hero-image img {
        height: 230px;
    }

    .about-stats-grid,
    .about-feature-grid,
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .about-primary-btn,
    .about-secondary-btn {
        width: 100%;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }
}
public-about-page {
    direction: rtl;
    background: #F5F7FA;
    padding: 45px 0 70px;
    color: #082B5F;
}

.public-about-page * {
    box-sizing: border-box;
}

.public-about-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748B;
    font-size: 14px;
    margin-bottom: 18px;
}

    .about-breadcrumb a {
        color: #174A96;
        text-decoration: none;
        font-weight: 800;
    }

    .about-breadcrumb strong {
        color: #082B5F;
    }

.about-hero-card {
    background: #fff;
    border-radius: 30px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 35px;
    align-items: center;
    box-shadow: 0 18px 45px rgba(8, 43, 95, 0.08);
    border: 1px solid #E7ECF3;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: #EAF1FB;
    color: #174A96;
    padding: 8px 15px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 14px;
}

.about-hero-content h1 {
    color: #082B5F;
    font-size: 42px;
    font-weight: 900;
    margin: 0 0 16px;
    line-height: 1.25;
}

.about-hero-content p {
    color: #475569;
    font-size: 17px;
    line-height: 2;
    margin: 0;
}

.about-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.about-primary-btn,
.about-secondary-btn {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.about-primary-btn {
    background: #D71920;
    color: #fff;
}

    .about-primary-btn:hover {
        background: #bd1118;
        color: #fff;
    }

.about-secondary-btn {
    background: #EEF3FA;
    color: #082B5F;
}

    .about-secondary-btn:hover {
        background: #E1EAF6;
        color: #082B5F;
    }

.about-hero-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    background: #EEF3FA;
    border: 1px solid #E5EAF0;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.about-stat-card {
    background: #fff;
    border-radius: 22px;
    padding: 22px 14px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
}

    .about-stat-card strong {
        display: block;
        color: #174A96;
        font-size: 30px;
        font-weight: 900;
        margin-bottom: 6px;
    }

    .about-stat-card span {
        color: #64748B;
        font-weight: 800;
        font-size: 14px;
    }

.about-main-section {
    background: #fff;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
    margin-bottom: 24px;
}

.about-section-title {
    margin-bottom: 16px;
}

    .about-section-title span,
    .about-block-heading span,
    .principal-content span {
        color: #D71920;
        font-weight: 900;
        font-size: 14px;
    }

    .about-section-title h2,
    .about-block-heading h2,
    .principal-content h2 {
        color: #082B5F;
        font-size: 28px;
        font-weight: 900;
        margin: 8px 0 0;
    }

.about-main-section p {
    color: #475569;
    font-size: 16px;
    line-height: 2.1;
    margin: 0;
}

.about-vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.about-vmv-card,
.about-feature-card {
    background: #fff;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
}

.about-icon,
.feature-icon,
.facility-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #EAF1FB;
    color: #174A96;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.about-vmv-card h3,
.about-feature-card h3,
.facility-card h3,
.timeline-item h3 {
    color: #082B5F;
    font-size: 21px;
    font-weight: 900;
    margin: 0 0 10px;
}

.about-vmv-card p,
.about-feature-card p,
.facility-card p,
.timeline-item p {
    color: #475569;
    line-height: 2;
    margin: 0;
}

.principal-section {
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: center;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
    margin-bottom: 28px;
}

.principal-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 22px;
    background: #EEF3FA;
}

.principal-content p {
    color: #475569;
    line-height: 2.1;
    margin: 16px 0;
}

.principal-name strong {
    display: block;
    color: #082B5F;
    font-size: 18px;
    font-weight: 900;
}

.principal-name small {
    display: block;
    color: #64748B;
    margin-top: 4px;
}

.about-block-heading {
    margin: 35px 0 18px;
}

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

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

.facility-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
}

    .facility-card > img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        background: #EEF3FA;
        display: block;
    }

.facility-content {
    padding: 22px;
}

.school-timeline {
    background: #fff;
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(8, 43, 95, 0.06);
    border: 1px solid #E7ECF3;
}

.timeline-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    position: relative;
    padding: 0 0 26px;
}

    .timeline-item:not(:last-child) {
        border-bottom: 1px solid #EEF2F7;
        margin-bottom: 24px;
    }

    .timeline-item strong {
        background: #D71920;
        color: #fff;
        width: 90px;
        height: 44px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
    }

.about-cta {
    background: linear-gradient(135deg, #082B5F, #174A96);
    border-radius: 30px;
    padding: 36px;
    text-align: center;
    margin-top: 35px;
    color: #fff;
}

    .about-cta h2 {
        font-size: 30px;
        font-weight: 900;
        margin: 0 0 10px;
        color: #fff;
    }

    .about-cta p {
        margin: 0 0 22px;
        color: rgba(255,255,255,0.82);
    }

    .about-cta div {
        display: flex;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .about-cta a {
        min-height: 48px;
        padding: 0 24px;
        border-radius: 14px;
        background: #fff;
        color: #082B5F;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        text-decoration: none;
    }

        .about-cta a:first-child {
            background: #D71920;
            color: #fff;
        }

@media (max-width: 1100px) {
    .about-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 992px) {
    .about-hero-card,
    .principal-section {
        grid-template-columns: 1fr;
    }

    .about-vmv-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-content h1 {
        font-size: 32px;
    }

    .principal-photo img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .public-about-page {
        padding: 28px 0 50px;
    }

    .public-about-container {
        width: min(100% - 22px, 1180px);
    }

    .about-hero-card {
        padding: 22px;
        border-radius: 22px;
    }

    .about-hero-image img {
        height: 230px;
    }

    .about-stats-grid,
    .about-feature-grid,
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .about-primary-btn,
    .about-secondary-btn {
        width: 100%;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }
}
/* =========================
   Fix Home Hero Slider Stacking
   ========================= */

.home-hero-slider {
    position: relative;
    overflow: hidden;
    background: #082B5F;
}

    .home-hero-slider .hero-slider {
        position: relative !important;
        height: 620px !important;
        min-height: 620px !important;
        overflow: hidden !important;
    }

    .home-hero-slider .hero-slides {
        position: relative !important;
        height: 620px !important;
        min-height: 620px !important;
        overflow: hidden !important;
    }

    .home-hero-slider .hero-slide {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 620px !important;
        min-height: 620px !important;
        background-size: cover !important;
        background-position: center !important;
        display: flex !important;
        align-items: center !important;
        opacity: 0;
        visibility: hidden;
        z-index: 1;
        transform: scale(1.03);
        transition: opacity .7s ease, visibility .7s ease, transform 1.2s ease;
    }

        .home-hero-slider .hero-slide.active {
            opacity: 1 !important;
            visibility: visible !important;
            z-index: 2 !important;
            transform: scale(1);
        }

    .home-hero-slider .hero-content {
        position: relative;
        z-index: 3;
        max-width: 760px;
        margin-right: 8%;
        color: #fff;
    }

        .home-hero-slider .hero-content h1 {
            color: #fff;
            font-size: 64px;
            font-weight: 900;
            line-height: 1.1;
            margin: 0 0 18px;
        }

        .home-hero-slider .hero-content p {
            color: #fff;
            font-size: 22px;
            line-height: 1.9;
            margin: 0 0 28px;
        }

    .home-hero-slider .hero-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 34px;
    cursor: pointer;
}

.hero-prev {
    right: 24px;
}

.hero-next {
    left: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,.45);
    cursor: pointer;
}

    .hero-dot.active {
        width: 30px;
        background: #D71920;
    }

@media(max-width:980px) {
    .home-hero-slider .hero-slider,
    .home-hero-slider .hero-slides,
    .home-hero-slider .hero-slide {
        height: 520px !important;
        min-height: 520px !important;
    }

    .home-hero-slider .hero-content {
        margin-right: 5%;
        margin-left: 5%;
    }

        .home-hero-slider .hero-content h1 {
            font-size: 42px;
        }

        .home-hero-slider .hero-content p {
            font-size: 18px;
        }
}

@media(max-width:576px) {
    .home-hero-slider .hero-slider,
    .home-hero-slider .hero-slides,
    .home-hero-slider .hero-slide {
        height: 460px !important;
        min-height: 460px !important;
    }

    .home-hero-slider .hero-content {
        text-align: center;
        margin: 0 auto;
        padding: 0 18px;
    }

        .home-hero-slider .hero-content h1 {
            font-size: 34px;
        }

        .home-hero-slider .hero-content p {
            font-size: 16px;
        }

    .home-hero-slider .hero-actions {
        justify-content: center;
    }

    .hero-arrow {
        display: none;
    }
    .brand img {
        width: 224px;
        height: auto;
        max-height: 80px;
        object-fit: contain;
        display: block;
    }
}
/* Fix login button size in header */
.nav-actions .btn,
.main-header .btn {
    min-width: auto;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav-wrap {
        min-height: 72px;
        gap: 8px;
    }

    .brand img {
        width: 180px;
        height: auto;
        max-height: 58px;
        object-fit: contain;
    }

    .nav-actions .btn,
    .main-header .btn {
        padding: 8px 12px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 800;
    }
}

@media (max-width: 480px) {
    .brand img {
        width: 155px;
        max-height: 52px;
    }

    .nav-actions .btn,
    .main-header .btn {
        padding: 7px 10px;
        font-size: 12px;
        border-radius: 9px;
    }
}
/* =========================
   Mobile Topbar Fix
   ========================= */

@media (max-width: 768px) {
    .topbar {
        font-size: 12px;
    }

    .topbar-inner {
        min-height: auto;
        padding: 7px 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        text-align: center;
        line-height: 1.4;
    }

        .topbar-inner span,
        .topbar-inner a {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            white-space: nowrap;
        }

            .topbar-inner span:first-child {
                display: none;
            }
}

@media (max-width: 480px) {
    .topbar-inner {
        gap: 8px;
        padding: 6px 8px;
    }

        .topbar-inner span,
        .topbar-inner a {
            font-size: 11px;
        }
}
/* =========================
   Honor Board Cards Improve
   ========================= */

.honor-card {
    position: relative;
    text-align: center;
    padding: 26px 18px 22px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid #e5eaf0;
    box-shadow: 0 14px 35px rgba(8, 43, 95, .07);
    overflow: hidden;
    transition: .25s ease;
}

    .honor-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 7px;
        background: linear-gradient(90deg, #D71920, #174A96);
    }

    .honor-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(8, 43, 95, .12);
    }

    .honor-card img {
        width: 118px;
        height: 118px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto 16px;
        display: block;
        padding: 4px;
        background: #fff;
        border: 3px solid #eef3fa;
        box-shadow: 0 10px 25px rgba(8, 43, 95, .12);
    }

    .honor-card h3 {
        color: #082B5F;
        font-size: 21px;
        font-weight: 900;
        margin: 8px 0 8px;
    }

    .honor-card p {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 5px 16px;
        border-radius: 999px;
        background: #EEF4FF;
        color: #174A96;
        font-size: 14px;
        font-weight: 900;
        margin: 0 0 16px;
    }

    .honor-card strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 8px 18px;
        border-radius: 14px;
        background: #D71920;
        color: #fff;
        font-size: 17px;
        font-weight: 900;
        line-height: 1.4;
        box-shadow: 0 8px 18px rgba(215, 25, 32, .22);
    }

@media (max-width: 768px) {
    .honor-card {
        padding: 22px 14px 18px;
    }

        .honor-card img {
            width: 100px;
            height: 100px;
        }

        .honor-card h3 {
            font-size: 18px;
        }

        .honor-card strong {
            font-size: 15px;
        }
}
/* =========================
   Clean Home Section Blocks
   ========================= */

.home-stats-section {
    background: #082B5F;
    padding: 58px 0;
    margin: 0;
}

    .home-stats-section .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }

        .home-stats-section .stats-grid div {
            text-align: center;
            color: #fff;
        }

    .home-stats-section strong {
        display: block;
        color: #fff;
        font-size: 42px;
        font-weight: 900;
        margin-bottom: 10px;
    }

    .home-stats-section span {
        color: rgba(255,255,255,.85);
        font-size: 16px;
        font-weight: 700;
    }

/* Facilities */
.home-facilities-section {
    background: #F5F8FC;
    padding: 75px 0 80px;
}

.home-section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

    .home-section-head h2 {
        color: #082B5F;
        font-size: 40px;
        font-weight: 900;
        margin: 8px 0 12px;
    }

    .home-section-head p {
        color: #5B677A;
        font-size: 17px;
        line-height: 1.9;
        margin: 0;
    }

.facility-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.facility-home-card {
    background: #fff;
    border: 1px solid #E2EAF3;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(8, 43, 95, .08);
    transition: .25s ease;
}

    .facility-home-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 24px 55px rgba(8, 43, 95, .14);
    }

.facility-home-img {
    height: 220px;
    background: #EAF1F9;
    overflow: hidden;
    position: relative;
}

    .facility-home-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        background: #EAF1F9;
    }

.facility-home-content {
    position: relative;
    padding: 36px 24px 26px;
    text-align: right;
}

.facility-home-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #EAF1FB;
    color: #174A96;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: absolute;
    top: -28px;
    right: 24px;
    border: 4px solid #fff;
    box-shadow: 0 10px 22px rgba(8,43,95,.10);
}

.facility-home-content h3 {
    color: #082B5F;
    font-size: 23px;
    font-weight: 900;
    margin: 0 0 12px;
}

.facility-home-content p {
    color: #5B677A;
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
}

.section-more-action {
    margin-top: 32px;
    text-align: center;
}

    .section-more-action .btn {
        min-width: 210px;
        min-height: 52px;
        border-radius: 16px;
        font-weight: 900;
    }

/* Activities separated with white background */
.home-activities-section {
    background: #fff;
    padding: 75px 0;
}

/* Better visual change between sections */
.home-stages-section {
    background: #F5F8FC;
    padding-top: 75px;
    padding-bottom: 80px;
}

.home-news-section {
    background: #F5F8FC;
    padding-top: 75px;
    padding-bottom: 80px;
}

/* Mobile */
@media (max-width: 992px) {
    .home-stats-section .stats-grid,
    .facility-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-section-head h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .home-stats-section {
        padding: 42px 0;
    }

        .home-stats-section .stats-grid,
        .facility-home-grid {
            grid-template-columns: 1fr;
        }

        .home-stats-section strong {
            font-size: 34px;
        }

    .home-facilities-section,
    .home-activities-section,
    .home-stages-section,
    .home-news-section {
        padding-top: 50px;
        padding-bottom: 55px;
    }

    .home-section-head {
        text-align: center;
        margin-inline: auto;
    }

        .home-section-head h2 {
            font-size: 28px;
        }

        .home-section-head p {
            font-size: 15px;
        }

    .facility-home-img {
        height: 200px;
    }
}
/* =========================
   Fix Home About Section
   ========================= */

.home-about-section {
    background: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.home-about-text {
    text-align: right;
    max-width: 560px;
}

    .home-about-text h2 {
        color: #082B5F;
        font-size: 42px;
        font-weight: 900;
        line-height: 1.35;
        margin: 10px 0 18px;
    }

    .home-about-text p {
        color: #526173;
        font-size: 17px;
        line-height: 2;
        margin-bottom: 22px;
    }

    .home-about-text .check-list {
        margin: 0 0 28px;
        padding: 0;
        list-style: none;
    }

        .home-about-text .check-list li {
            position: relative;
            color: #082B5F;
            font-size: 17px;
            font-weight: 800;
            margin-bottom: 13px;
            padding-right: 34px;
        }

            .home-about-text .check-list li::before {
                content: "✓";
                position: absolute;
                right: 0;
                top: 0;
                width: 23px;
                height: 23px;
                border-radius: 50%;
                background: #D71920;
                color: #fff;
                font-size: 13px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }

.home-about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 22px 55px rgba(8, 43, 95, .16);
}

    .home-about-image img {
        width: 100%;
        height: 100%;
        min-height: 420px;
        object-fit: cover;
        display: block;
    }

    .home-about-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(8,43,95,.02), rgba(8,43,95,.18));
        pointer-events: none;
    }

@media (max-width: 992px) {
    .home-about-grid {
        grid-template-columns: 1fr;
    }

    .home-about-text {
        max-width: 100%;
    }

    .home-about-image,
    .home-about-image img {
        min-height: 330px;
    }
}

@media (max-width: 576px) {
    .home-about-section {
        padding: 50px 0;
    }

    .home-about-text h2 {
        font-size: 30px;
    }

    .home-about-text p {
        font-size: 15px;
    }

    .home-about-image,
    .home-about-image img {
        min-height: 240px;
    }
}