/* =========================================================
   MATSEPE HIGH SCHOOL MANAGEMENT SYSTEM
   UNIFIED STYLESHEET — CONSOLIDATED FROM ORIGINAL STYLE.CSS
   Original: 5,106 lines / 77 KB
   This version removes duplicate selector definitions while
   preserving the existing module/class names and responsive rules.
   ========================================================= */

@import url("/css/mobile-navigation.css");

body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
}

.welcome-container {
    text-align: center;
    margin-top: 100px;
}

.welcome-container h1 {
    font-size: 36px;
}

.welcome-container p {
    font-size: 20px;
}
.navbar {display: flex;justify-content: space-between;align-items: center;padding: 0 24px;background-color: #1f2937;color: white;position: relative;min-height: 78px;background: #c00000;overflow: hidden;box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.12);z-index: 1000;border-bottom: 3px solid #d4af37;height: 64px;width: 100%;}

.navbar-brand {font-size: 22px;font-weight: 800;position: relative;z-index: 5;display: flex;align-items: center;gap: 10px;color: var(--matsepe-white);letter-spacing: 0.3px;}

.navbar-links {display: flex;gap: 6px;position: relative;z-index: 5;align-items: center;}

.navbar-links a {color: var(--matsepe-white);text-decoration: none;display: inline-flex;align-items: center;gap: 6px;padding: 10px 15px;border-radius: 9px;font-size: 14px;font-weight: 600;transition: 0.2s ease;}

.navbar-links a:hover {text-decoration: underline;background: rgba(212, 175, 55, 0.18);color: var(--matsepe-gold);transform: translateY(-2px);}
/* =========================================================
   MAIN PAGE LAYOUT
   SIDEBAR + CONTENT
   ========================================================= */

.page-layout {display: flex !important;flex-direction: row !important;align-items: stretch !important;width: 100% !important;min-height: calc(100vh - 68px);margin: 0;padding: 0;box-sizing: border-box;display: flex;width: 100%;align-items: stretch;flex-wrap: nowrap !important;min-width: 0 !important;min-height: calc(100vh - 70px) !important;}


/* =========================================================
   SIDEBAR
   ========================================================= */

.page-layout > .sidebar {flex: 0 0 260px !important;width: 260px !important;min-width: 260px !important;max-width: 260px !important;box-sizing: border-box;display: flex !important;flex-direction: column !important;box-sizing: border-box !important;}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.page-layout > .main-content {flex: 1 1 auto !important;width: auto !important;min-width: 0 !important;box-sizing: border-box;padding: 30px !important;overflow-x: auto;display: block !important;max-width: none !important;box-sizing: border-box !important;}

/* ================================
   ADMIN DASHBOARD
================================ */

.dashboard-header {
    margin-bottom: 25px;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 28px;
}

.dashboard-header p {
    margin-top: 8px;
    color: #666;
}

/* Statistics Cards */

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 32px;
}

.card-info h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.card-info p {
    margin: 0;
    font-size: 25px;
    font-weight: bold;
}

/* Dashboard Panels */

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

.dashboard-panel {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    min-height: 150px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dashboard-panel h2 {
    margin-top: 0;
    font-size: 19px;
}

.dashboard-panel p {
    color: #666;
}

/* Responsive Dashboard */

@media (max-width: 1000px) {

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

}

@media (max-width: 650px) {

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

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

}

/* ==============================
   ADMISSION STATUS BADGES
   ============================== */

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Pending */
.status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Approved */
.status-approved {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Rejected */
.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =========================================
   PUBLIC ADMISSION APPLICATION
========================================= */

.public-admission-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 25px 70px;
}


/* ================================
   PAGE HEADER
================================ */

.admission-header {
    text-align: center;
    margin-bottom: 35px;
}

.admission-header h1 {
    margin: 0;
    font-size: 36px;
    color: #1f2937;
}

.admission-header p {
    margin: 10px 0;
    color: #666;
    font-size: 17px;
}

.admission-header .admission-location {
    font-size: 14px;
    color: #777;
}


/* ================================
   APPLICATION FEE CARD
================================ */

.application-fee-card {
    display: flex;
    align-items: center;
    gap: 20px;

    background: #ffffff;

    border-left: 6px solid #dc3545;

    padding: 25px 30px;

    margin-bottom: 30px;

    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.fee-icon {
    font-size: 38px;
}

.fee-content h2 {
    margin: 0 0 5px;
    font-size: 20px;
    color: #1f2937;
}

.fee-content p {
    margin: 5px 0;
    color: #666;
}

.fee-content .fee-amount {
    font-size: 28px;
    font-weight: bold;
    color: #dc3545;
}


/* ================================
   FORM CONTAINER
================================ */

.public-admission-form {
    background: #ffffff;

    border-radius: 12px;

    padding: 40px;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}


/* ================================
   FORM SECTIONS
================================ */

.form-section {
    padding-bottom: 35px;

    margin-bottom: 35px;

    border-bottom: 1px solid #e5e7eb;
}

.section-heading {display: flex;align-items: center;gap: 15px;margin-bottom: 20px;}

.section-number {
    display: flex;

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

    width: 42px;
    height: 42px;

    background-color: #dc3545;

    color: white;

    border-radius: 50%;

    font-weight: bold;

    font-size: 18px;
}

.section-heading h2 {margin: 0;font-size: 22px;color: #1f2937;}

.section-heading p {margin: 5px 0 0;color: #6b7280;font-size: 14px;margin-top: 6px;}


/* ================================
   FORM GRID
================================ */

.form-grid {
    display: grid;

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

    gap: 22px;
}

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


/* ================================
   FORM GROUP
================================ */

.form-group {display: flex;flex-direction: column;margin-bottom: 20px;}

.form-group label {margin-bottom: 7px;font-weight: bold;color: #374151;font-size: 14px;display: block;}

.form-group label span {
    color: #dc3545;
}


/* ================================
   INPUTS
================================ */

.form-group input,
.form-group select,
.form-group textarea {width: 100%;box-sizing: border-box;padding: 11px 12px;border: 1px solid #d1d5db;border-radius: 6px;font-size: 15px;font-family: Arial, sans-serif;background-color: #ffffff;transition: border-color 0.2s,
                box-shadow 0.2s;}

.form-group textarea {
    resize: vertical;
}


/* Focus */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {outline: none;border-color: #dc3545;box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.12);}


/* ================================
   DECLARATION
================================ */

.application-declaration {

    background: #f8f9fa;

    border: 1px solid #dee2e6;

    border-radius: 8px;

    padding: 25px;

    margin-bottom: 30px;
}

.application-declaration h2 {

    margin-top: 0;

    font-size: 20px;

    color: #1f2937;
}

.application-declaration p {

    color: #555;

    line-height: 1.6;
}

.checkbox-label {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 15px;

    font-weight: 600;

    color: #374151;
}

.checkbox-label input {

    width: 18px;

    height: 18px;

    margin-top: 2px;

    accent-color: #dc3545;
}


/* ================================
   SUBMIT AREA
================================ */

.application-submit {

    text-align: center;

    padding-top: 10px;
}

.application-submit p {

    color: #666;

    font-size: 14px;

    margin-bottom: 20px;
}

.application-submit-button {

    border: none;

    background-color: #dc3545;

    color: white;

    padding: 14px 35px;

    border-radius: 6px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: background-color 0.2s,
                transform 0.1s;
}

.application-submit-button:hover {

    background-color: #bb2d3b;

    transform: translateY(-1px);
}

.application-submit-button:active {

    transform: translateY(0);
}


/* ================================
   MOBILE RESPONSIVENESS
================================ */

@media (max-width: 750px) {

    .public-admission-page {

        padding: 30px 15px 50px;
    }

    .admission-header h1 {

        font-size: 28px;
    }

    .application-fee-card {

        padding: 20px;
    }

    .public-admission-form {

        padding: 25px 20px;
    }

    .form-grid {

        grid-template-columns: 1fr;
    }

    .full-width {

        grid-column: auto;
    }

    .section-heading {

        align-items: flex-start;
    }

}


@media (max-width: 500px) {

    .application-fee-card {

        flex-direction: column;

        text-align: center;
    }

    .section-number {

        width: 36px;
        height: 36px;

        font-size: 16px;
    }

    .section-heading h2 {

        font-size: 18px;
    }

    .application-submit-button {

        width: 100%;
    }

}

/* =========================================
   ADMIN SIDEBAR NAVIGATION
========================================= */

.sidebar {width: 235px;min-height: 100%;background-color: #111827;color: white;padding: 20px 13px;box-sizing: border-box;position: relative;overflow: hidden;background: #dc3545;box-shadow:
        4px 0 15px rgba(0, 0, 0, 0.12);z-index: 900;min-width: 235px;width: 190px !important;min-width: 190px !important;max-width: 190px !important;padding: 18px 10px !important;border-right:
        3px solid var(--matsepe-gold);height: auto;display: flex;flex-direction: column;}

.sidebar-title {padding: 24px 20px 5px;font-size: 10px;font-weight: 800;color: #f9e8a8;margin: 0 8px 9px;letter-spacing: 1px;margin-left: 7px;margin-bottom: 7px;}

.sidebar-title span {
    margin-right: 6px;
}

.sidebar-subtitle {
    padding: 0 20px 20px;
    color: #9ca3af;
    font-size: 13px;
    border-bottom: 1px solid #374151;
}

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

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

.sidebar-link {display: flex;align-items: center;gap: 10px;padding: 10px 11px;border-radius: 8px;color: white;text-decoration: none;font-size: 13px;transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;position: relative;margin-bottom: 4px;font-weight: 600;width: 100%;}

.sidebar-link:hover {background-color: #374151;color: #c8102e;background: #d4af37;transform: translateX(3px);}

.sidebar-link .menu-icon {
    width: 24px;
    text-align: center;
    font-size: 17px;
}

.sidebar-link small {
    margin-left: auto;
    font-size: 9px;
    color: #9ca3af;
}

/* Disabled menu items */

.disabled-link {
    opacity: 0.55;
    cursor: not-allowed;
}

.disabled-link:hover {
    background-color: transparent;
    color: #d1d5db;
}

/* =========================================
   ADMIN QUICK ACCESS
========================================= */

.quick-access {
    margin-bottom: 35px;
}







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

.quick-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
    border-color: #dc3545;
}

.quick-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
    border-radius: 10px;
    font-size: 25px;
}

.quick-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.quick-card p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.quick-arrow {
    margin-left: auto;
    font-size: 22px;
    color: #dc3545;
    font-weight: bold;
}

.quick-card-disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.quick-card-disabled:hover {
    transform: none;
    border-color: #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.coming-soon {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f3f4f6;
    color: #6b7280;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: bold;
}


/* =========================================
   DASHBOARD SECTION
========================================= */

.dashboard-section {
    margin-top: 10px;
}


/* =========================================
   RESPONSIVE QUICK ACCESS
========================================= */

@media (max-width: 1100px) {

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

}

@media (max-width: 650px) {

    .quick-access-grid {
        grid-template-columns: 1fr;
    }

    .quick-card {
        padding: 16px;
    }

}

/* ================================
   SIDEBAR NAVIGATION
================================ */

.sidebar-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.sidebar-menu a:hover {
    background-color: #374151;
}

/* Disabled / Coming Soon links */

.sidebar-menu .disabled-link {
    opacity: 0.55;
    cursor: not-allowed;
}

.sidebar-menu .disabled-link:hover {
    background-color: transparent;
}

.sidebar-menu .disabled-link span {
    font-size: 10px;
    background-color: #4b5563;
    padding: 3px 6px;
    border-radius: 10px;
    white-space: nowrap;
}

/* ================================
   TEACHER FORM
================================ */

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









.admission-box h2 {
    margin-top: 25px;
    margin-bottom: 20px;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}

@media (max-width: 700px) {

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

}

/* ================================
   TEACHER MANAGEMENT TABLE
================================ */

.teacher-table-panel {
    padding: 0;
    overflow: hidden;
}

.table-header {display: flex;justify-content: space-between;align-items: center;padding: 20px 25px;border-bottom: 1px solid #e5e7eb;margin-bottom: 20px;}

.table-header h2 {margin: 0;}

.table-header span {
    color: #6b7280;
    font-size: 14px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.data-table {width: 100%;border-collapse: collapse;background-color: white;}

.data-table th {background-color: #1f2937;color: white;font-size: 13px;font-weight: bold;text-align: left;padding: 13px 10px;border-bottom: 2px solid #e5e7eb;white-space: nowrap;}

.data-table td {padding: 12px 10px;border-bottom: 1px solid #e5e7eb;color: #374151;font-size: 14px;vertical-align: middle;}

.data-table tbody tr:hover {background-color: #f8f9fa;}

.table-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.action-btn {display: inline-block;padding: 6px 9px;border-radius: 5px;text-decoration: none;font-size: 12px;font-weight: bold;white-space: nowrap;}

.view-btn {
    background-color: #e0f2fe;
    color: #0369a1;
}

.edit-btn {
    background-color: #fff3cd;
    color: #856404;
}

.deactivate-btn {
    background-color: #f8d7da;
    color: #721c24;
}

.activate-btn {
    background-color: #d4edda;
    color: #155724;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
}

.action-btn:hover {opacity: 0.8;}

.empty-table {
    text-align: center;
    padding: 60px 20px !important;
}

.empty-icon {font-size: 50px;margin-bottom: 10px;}

.empty-table h3 {
    margin: 10px 0;
    color: #374151;
}

.empty-table p {
    color: #6b7280;
    margin-bottom: 20px;
}

/* ================================
   TEACHER ADD BUTTONS
================================ */

.teacher-table-panel .btn {
    display: inline-block;
    background-color: #dc3545;
    color: white;
    padding: 11px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.teacher-table-panel .btn:hover {
    background-color: #bb2d3b;
    transform: translateY(-1px);
}

.empty-table .btn {
    margin-top: 10px;
}

/* ================================
   TEACHERS PAGE HEADER
================================ */

.teachers-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 25px 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #dc3545;
}

.teachers-header-text h1 {
    margin: 0;
    font-size: 28px;
    color: #1f2937;
}

.teachers-header-text p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 15px;
}

.teachers-header-action {
    display: flex;
    align-items: center;
}

.teacher-add-btn {display: inline-flex;align-items: center;gap: 7px;background-color: #dc3545;color: white;text-decoration: none;padding: 11px 18px;border-radius: 6px;font-size: 14px;font-weight: bold;transition: all 0.2s ease;box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);}

.teacher-add-btn:hover {background-color: #bb2d3b;transform: translateY(-1px);box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);color: white;}

.add-icon {
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
}

/* Responsive */

@media (max-width: 650px) {

    .teachers-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .teacher-add-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

}

/* ================================
   TEACHER DETAILS PAGE
================================ */

.teacher-details-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.teacher-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.teacher-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f8d7da;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
}

.teacher-profile-header h2 {
    margin: 0;
    font-size: 24px;
    color: #1f2937;
}

.teacher-profile-header p {
    margin: 6px 0 0;
    color: #6b7280;
}

.teacher-status-section {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.teacher-status-section .status-badge {
    margin-left: 10px;
}

.teacher-details-section {
    padding: 25px 0;
    border-bottom: 1px solid #e5e7eb;
}

.teacher-details-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 19px;
    color: #1f2937;
}

.teacher-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.teacher-detail-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.teacher-detail-item strong {
    display: block;
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.teacher-detail-item span {
    color: #1f2937;
    font-size: 15px;
}

.teacher-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 25px;
}

.teacher-detail-actions a {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.teacher-action-primary {
    background-color: #dc3545;
    color: white;
}

.teacher-action-primary:hover {
    background-color: #bb2d3b;
}

.teacher-action-warning {
    background-color: #fff3cd;
    color: #856404;
}

.teacher-action-success {
    background-color: #d4edda;
    color: #155724;
}

.teacher-action-secondary {
    background-color: #e5e7eb;
    color: #374151;
}

.teacher-detail-actions a:hover {
    opacity: 0.85;
}


/* Responsive */

@media (max-width: 800px) {

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

}

@media (max-width: 550px) {

    .teacher-details-card {
        padding: 20px;
    }

    .teacher-profile-header {
        align-items: flex-start;
    }

    .teacher-detail-grid {
        grid-template-columns: 1fr;
    }

    .teacher-detail-actions {
        flex-direction: column;
    }

    .teacher-detail-actions a {
        text-align: center;
    }

}

/* =================================
   TEACHERS MANAGEMENT
================================= */

.teacher-search-panel {
    margin-bottom: 25px;
}

.teacher-search-form {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 250px;
}

.search-field label {
    font-weight: bold;
    font-size: 14px;
}

.search-field input,
.search-field select {
    padding: 11px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: #dc3545;
}

.search-actions {
    display: flex;
    gap: 10px;
}

.btn-primary {
    background-color: #dc3545;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #bb2d3b;
}





.table-header p {
    margin: 6px 0 0;
    color: #666;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}









.action-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}



.action-view {
    background-color: #e7f1ff;
    color: #0d6efd;
}

.action-edit {
    background-color: #fff3cd;
    color: #856404;
}

.action-warning {
    background-color: #f8d7da;
    color: #842029;
}

.action-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.action-delete {
    background-color: #dc3545;
    color: white;
}



.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}



.empty-state h3 {
    color: #333;
    margin-bottom: 8px;
}

.empty-state p {
    margin-bottom: 20px;
}


/* Responsive Teachers Table */

@media (max-width: 900px) {

    .teacher-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-field {
        width: 100%;
    }

    .search-actions {
        margin-top: 5px;
    }

}

/* =================================
   PROFESSIONAL TEACHER BUTTONS
================================= */





.teacher-add-btn span {
    font-size: 18px;
}

/* =================================
   CLICKABLE TEACHER STATISTICS
================================= */

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

.teacher-stat-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.teacher-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.teacher-stat-card .card-link-text {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    color: #dc3545;
    font-weight: bold;
}

.teacher-stat-card:hover .card-link-text {
    text-decoration: underline;
}

/* =================================
   CLEAR FILTER BUTTON
================================= */

.clear-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.clear-filter-btn:hover {
    background-color: #5c636a;
    color: white;
}

/* =================================
   EMPTY TEACHER STATE
================================= */

.empty-state-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

@media (max-width: 700px) {

    .teacher-statistics {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .teacher-add-btn {
        width: auto;
    }

}
   
/* =================================
   PARENT MANAGEMENT ACTION BUTTONS
================================= */

.parent-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.parent-action-btn {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* View */
.parent-btn-view {
    background-color: #e7f1ff;
    color: #0d6efd;
}

.parent-btn-view:hover {
    background-color: #cfe2ff;
    color: #0a58ca;
}

/* Edit */
.parent-btn-edit {
    background-color: #fff3cd;
    color: #856404;
}

.parent-btn-edit:hover {
    background-color: #ffecb5;
    color: #664d03;
}

/* Activate */
.parent-btn-activate {
    background-color: #d1e7dd;
    color: #0f5132;
}

.parent-btn-activate:hover {
    background-color: #badbcc;
    color: #0a3622;
}

/* Deactivate */
.parent-btn-deactivate {
    background-color: #f8d7da;
    color: #842029;
}

.parent-btn-deactivate:hover {
    background-color: #f1aeb5;
    color: #58151c;
}

/* Delete */
.parent-btn-delete {
    background-color: #dc3545;
    color: white;
}

.parent-btn-delete:hover {
    background-color: #bb2d3b;
    color: white;
}

/* Parent actions table cell */
.parent-actions-cell {
    padding: 12px;
    white-space: nowrap;
}


/* =========================================================
   STUDENTS PAGE
   Professional Teacher-Style Design
========================================================= */


/* =========================================================
   STUDENTS HEADER
========================================================= */

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

.students-header-text h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.students-header-text p {
    margin-top: 6px;
    color: #666;
}


/* =========================================================
   STUDENT STATISTICS
========================================================= */

.students-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e8e8e8;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.students-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

.students-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.students-stat-info h3 {
    margin: 0 0 5px;
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.students-stat-info p {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
}


/* =========================================================
   STUDENT TABLE
========================================================= */

.student-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 10px;
}

.student-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.student-table thead tr {
    border-bottom: 2px solid #eee;
}

.student-table th {
    padding: 14px 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    white-space: nowrap;
}

.student-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.student-table tbody tr {
    transition: background 0.2s ease;
}

.student-table tbody tr:hover {
    background: #fafafa;
}


/* =========================================================
   STUDENT NAME
========================================================= */

.student-name {
    font-weight: 600;
    color: #222;
}

.student-email {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 12px;
}


/* =========================================================
   STUDENT NUMBER
========================================================= */

.student-number {
    font-weight: 600;
    font-size: 13px;
}


/* =========================================================
   PARENT COUNT
========================================================= */

.student-parent-count {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background: #f4f6f9;
    color: #555;
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   STUDENT ACTIONS
========================================================= */

.student-actions-cell {
    padding: 10px 12px !important;
    min-width: 280px;
}

.student-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.student-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}


/* View */

.student-btn-view {
    background: #f0f4f8;
    color: #34495e;
    border-color: #d9e1e8;
}

.student-btn-view:hover {
    background: #e2e8ee;
}


/* Edit */

.student-btn-edit {
    background: #fff7e6;
    color: #946200;
    border-color: #f0d99a;
}

.student-btn-edit:hover {
    background: #ffedc2;
}


/* Deactivate */

.student-btn-deactivate {
    background: #fff0f0;
    color: #b42318;
    border-color: #f0caca;
}

.student-btn-deactivate:hover {
    background: #ffe0e0;
}


/* Activate */

.student-btn-activate {
    background: #edf8f1;
    color: #18733b;
    border-color: #c9e7d3;
}

.student-btn-activate:hover {
    background: #dcf2e4;
}


/* Delete */

.student-btn-delete {
    background: #fdf0f0;
    color: #b42318;
    border-color: #eccaca;
}

.student-btn-delete:hover {
    background: #f9dddd;
}


/* =========================================================
   STUDENT STATUS
========================================================= */

.student-status-active {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #eaf7ee;
    color: #18733b;
    font-size: 12px;
    font-weight: 700;
}

.student-status-inactive {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #fcecec;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   STUDENT SEARCH
========================================================= */

.student-search-panel {
    margin-bottom: 20px;
}

.student-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.student-search-input {
    flex: 1;
    min-width: 250px;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.student-search-input:focus {
    border-color: #999;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.student-empty-state {
    padding: 50px 30px !important;
    text-align: center;
    color: #777;
}

.student-empty-icon {
    font-size: 45px;
    margin-bottom: 12px;
}

.student-empty-state strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: #444;
}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 768px) {

    .students-page-header {
        align-items: flex-start;
    }

    .students-header-text h1 {
        font-size: 25px;
    }

    .student-actions-cell {
        min-width: 230px;
    }

    .student-table th,
    .student-table td {
        padding: 10px 8px;
    }

}


/* =========================================================
   APPROVED ADMISSIONS PAGE
   Matsepe High School
========================================================= */

.approved-admissions-page {
    padding-bottom: 50px;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.approved-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 28px 32px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0b6b3a, #138a52);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
}


.approved-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}


.approved-header-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    font-size: 30px;
}


.approved-header-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.80;
    margin-bottom: 5px;
}


.approved-page-header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}


.approved-page-header p {
    margin: 7px 0 0;
    opacity: 0.88;
    font-size: 14px;
}


.approved-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    border-radius: 9px;
    background: white;
    color: #0b6b3a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
}


.approved-back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   SUMMARY CARDS
========================================================= */

.approved-summary {
    display: grid;
    grid-template-columns: 1.25fr repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}


.approved-summary-card,
.approved-grade-summary {
    min-height: 95px;
    border-radius: 15px;
    background: white;
    border: 1px solid #e8ece9;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}


.approved-summary-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
}


.approved-summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f5ed;
    font-size: 23px;
}


.approved-summary-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #7a847e;
}


.approved-summary-card strong {
    display: block;
    margin-top: 3px;
    font-size: 27px;
    color: #0b6b3a;
}


.approved-summary-card small {
    color: #8b938e;
    font-size: 11px;
}


/* Grade summary */

.approved-grade-summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    text-decoration: none;
    color: #202522;
    transition: all 0.2s ease;
}


.approved-grade-summary:hover {
    transform: translateY(-3px);
    border-color: #a9d7bd;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}


.grade-summary-number {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #f0f8f3;
    color: #0b6b3a;
    font-size: 14px;
    font-weight: 800;
}


.grade-summary-info {
    flex: 1;
}


.grade-summary-info strong {
    display: block;
    font-size: 14px;
}


.grade-summary-info span {
    display: block;
    margin-top: 4px;
    color: #7b847e;
    font-size: 11px;
}


.grade-summary-arrow {
    color: #0b6b3a;
    font-size: 18px;
    font-weight: bold;
}


/* =========================================================
   GRADE SECTION
========================================================= */

.approved-grade-section {
    margin-bottom: 30px;
    background: white;
    border: 1px solid #e5ebe7;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.055);
    scroll-margin-top: 25px;
}


.approved-grade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 23px 25px;
    border-bottom: 1px solid #e9eeeb;
    background: #fbfdfc;
}


.approved-grade-title {
    display: flex;
    align-items: center;
    gap: 15px;
}


.approved-grade-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #0b6b3a;
    color: white;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 5px 12px rgba(11, 107, 58, 0.20);
}


.approved-grade-title span {
    display: block;
    margin-bottom: 3px;
    color: #8a948e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}


.approved-grade-title h2 {
    margin: 0;
    color: #202622;
    font-size: 21px;
}


.approved-grade-title p {
    margin: 4px 0 0;
    color: #7c8580;
    font-size: 12px;
}


.approved-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 20px;
    background: #e9f7ef;
    color: #16713f;
    font-size: 12px;
    font-weight: 600;
}


.approved-count-badge strong {
    font-size: 14px;
}


.approved-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1ca45b;
}


/* =========================================================
   TABLE
========================================================= */

.approved-table-wrapper {
    width: 100%;
    overflow-x: auto;
}


.approved-admissions-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
}


.approved-admissions-table thead {
    background: #f4f7f5;
}


.approved-admissions-table th {
    padding: 14px 16px;
    text-align: left;
    color: #66706a;
    border-bottom: 1px solid #e2e8e4;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    white-space: nowrap;
}


.approved-admissions-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #edf0ee;
    color: #4e5752;
    font-size: 13px;
    vertical-align: middle;
}


.approved-admissions-table tbody tr {
    transition: background 0.15s ease;
}


.approved-admissions-table tbody tr:hover {
    background: #f8fbf9;
}


.approved-admissions-table tbody tr:last-child td {
    border-bottom: none;
}


/* =========================================================
   STUDENT
========================================================= */

.row-number {
    display: inline-flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f4f2;
    color: #6c756f;
    font-size: 11px;
    font-weight: 700;
}


.approved-student {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 180px;
}


.student-avatar {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b6b3a, #28a866);
    color: white;
    font-size: 11px;
    font-weight: 800;
}


.approved-student strong {
    display: block;
    color: #29312c;
    font-size: 13px;
}


.approved-student small {
    display: block;
    margin-top: 3px;
    color: #8b948e;
    font-size: 10px;
}


.table-text {
    color: #515b55;
}


.parent-info strong {
    display: block;
    color: #353d38;
    font-size: 12px;
}


.parent-info small {
    display: block;
    margin-top: 3px;
    color: #929a95;
    font-size: 10px;
}


.phone-link {
    color: #0b6b3a;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}


.phone-link:hover {
    text-decoration: underline;
}


.date-badge {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 7px;
    background: #f3f6f4;
    color: #68716c;
    font-size: 10px;
    white-space: nowrap;
}


/* =========================================================
   VIEW BUTTON
========================================================= */

.approved-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #0b6b3a;
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.2s ease;
    white-space: nowrap;
}


.approved-view-button:hover {
    background: #09572f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(11, 107, 58, 0.20);
}


.approved-view-button span {
    font-size: 14px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.approved-empty {
    padding: 45px 20px;
    text-align: center;
}


.approved-empty-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f5f2;
    font-size: 25px;
}


.approved-empty strong {
    display: block;
    color: #4b554f;
    font-size: 14px;
}


.approved-empty p {
    margin: 7px 0 0;
    color: #929a95;
    font-size: 12px;
}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 1100px) {

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

    .approved-total-card {
        grid-column: span 2;
    }

}


@media (max-width: 768px) {

    .approved-page-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }


    .approved-page-header h1 {
        font-size: 24px;
    }


    .approved-back-button {
        width: 100%;
        justify-content: center;
    }


    .approved-summary {
        grid-template-columns: 1fr;
    }


    .approved-total-card {
        grid-column: span 1;
    }


    .approved-grade-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .approved-count-badge {
        align-self: flex-start;
    }


    .approved-grade-section {
        border-radius: 13px;
    }

}


@media (max-width: 480px) {

    .approved-header-content {
        align-items: flex-start;
    }


    .approved-header-icon {
        width: 50px;
        height: 50px;
        font-size: 23px;
    }


    .approved-page-header h1 {
        font-size: 21px;
    }


    .approved-grade-header {
        padding: 18px;
    }


    .approved-grade-title h2 {
        font-size: 18px;
    }

}

/* =========================================================
   MATSEPE HIGH SCHOOL - PROFESSIONAL NAVBAR
   ========================================================= */




/* =========================================================
   SCHOOL BRAND
   ========================================================= */




.school-logo {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #d4af37;

    color: #c8102e;

    font-size: 23px;

    font-weight: 900;

    border: 3px solid rgba(255,255,255,0.85);

    box-shadow:
        0 4px 12px rgba(0,0,0,0.18);
}


.school-brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.2;
}


.school-brand-text strong {

    font-size: 20px;

    letter-spacing: 0.2px;
}


.school-brand-text span {

    margin-top: 3px;

    color: #f9e8a8;

    font-size: 11px;

    letter-spacing: 0.5px;
}


/* =========================================================
   NAVIGATION LINKS
   ========================================================= */










/* =========================================================
   CIRCULAR DECORATIVE SHAPES
   ========================================================= */

.navbar-circle {position: absolute;border-radius: 50%;pointer-events: none;z-index: 1;}


.navbar-circle-one {width: 105px;height: 105px;right: -45px;top: -70px;background: rgba(212, 175, 55, 0.12);border: 7px solid rgba(212, 175, 55, 0.75);}


.navbar-circle-two {width: 55px;height: 55px;right: 45px;bottom: -80px;background: rgba(255, 255, 255, 0.08);top: -28px;border: 3px solid rgba(212, 175, 55, 0.65);}


.navbar-circle-three {

    width: 70px;

    height: 70px;

    left: 38%;

    bottom: -42px;

    background: rgba(212, 175, 55, 0.10);
}


/* =========================================================
   RESPONSIVE NAVBAR
   ========================================================= */

@media (max-width: 800px) {

    .navbar {

        padding: 12px 20px;

        flex-wrap: wrap;

        gap: 12px;
    }


    .navbar-brand {

        width: 100%;
    }


    .school-brand-text strong {

        font-size: 18px;
    }


    .navbar-links {

        width: 100%;

        justify-content: flex-start;

        overflow-x: auto;

        padding-bottom: 3px;
    }


    .navbar-links a {

        white-space: nowrap;

        font-size: 13px;

        padding: 8px 11px;
    }
}


@media (max-width: 450px) {

    .school-logo {

        width: 42px;

        height: 42px;

        font-size: 20px;
    }


    .school-brand-text strong {

        font-size: 16px;
    }


    .school-brand-text span {

        font-size: 10px;
    }
}

/* =========================================================
   MATSEPE HIGH SCHOOL - PROFESSIONAL SIDEBAR
   ========================================================= */




/* =========================================================
   DECORATIVE CIRCLES
   ========================================================= */

.sidebar-circle {position: absolute;border-radius: 50%;pointer-events: none;opacity: 0.12;z-index: 0;}


.sidebar-circle-one {width: 230px;height: 230px;background: #d4af37;top: -130px;right: -120px;border: 35px solid rgba(212, 175, 55, 0.12);}


.sidebar-circle-two {width: 180px;height: 180px;background: white;bottom: 80px;left: -120px;border: 28px solid rgba(255, 255, 255, 0.08);}


/* =========================================================
   SIDEBAR HEADER
   ========================================================= */

.sidebar-header {position: relative;display: flex;align-items: center;gap: 10px;padding-bottom: 16px;margin-bottom: 15px;border-bottom:
        1px solid rgba(255, 255, 255, 0.18);z-index: 2;padding: 4px 6px 15px;}


.sidebar-logo {width: 46px;height: 46px;display: flex;align-items: center;justify-content: center;border-radius: 50%;background: #d4af37;color: #c8102e;font-size: 15px;font-weight: 900;box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.20);min-width: 46px;}


.sidebar-header h2 {margin: 0;font-size: 16px;color: white;}


.sidebar-header span {display: block;margin-top: 2px;font-size: 11px;color: #f9e8a8;}


/* =========================================================
   SIDEBAR SECTION
   ========================================================= */

.sidebar-section {position: relative;margin-bottom: 20px;z-index: 2;}





/* =========================================================
   SIDEBAR LINKS
   ========================================================= */







.sidebar-link:hover .sidebar-icon {background: #d4af37;color: #c8102e;}


.sidebar-icon {width: 25px;height: 25px;display: flex;align-items: center;justify-content: center;border-radius: 50%;background:
        rgba(255, 255, 255, 0.08);font-size: 16px;transition: 0.2s ease;min-width: 25px;}


/* =========================================================
   SIDEBAR BOTTOM
   ========================================================= */

.sidebar-bottom {position: relative;left: 14px;right: 14px;bottom: 15px;z-index: 2;margin-top: auto;padding-top: 15px;border-top: 1px solid rgba(255, 255, 255, 0.20);}


.sidebar-school-info {padding: 0 7px 12px;margin-bottom: 9px;border-radius: 10px;background:
        rgba(255, 255, 255, 0.08);border:
        1px solid rgba(255, 255, 255, 0.10);display: flex;flex-direction: column;gap: 3px;}


.sidebar-school-info strong {display: block;font-size: 11px;color: white;font-weight: 800;}


.sidebar-school-info span {display: block;margin-top: 3px;font-size: 10px;color: #f9e8a8;}


/* =========================================================
   LOGOUT
   ========================================================= */

.sidebar-logout {width: 100%;border: 1px solid rgba(255, 255, 255, 0.30);padding: 10px 12px;border-radius: 8px;background: rgba(200, 16, 46, 0.35);color: white;font-size: 13px;font-weight: 700;cursor: pointer;transition: all 0.2s ease;display: flex;align-items: center;justify-content: center;gap: 8px;}


.sidebar-logout:hover {transform: translateY(-1px);box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.18);background: #d4af37;color: #c8102e;border-color: #d4af37;}


/* =========================================================
   MOBILE SIDEBAR
   ========================================================= */

@media (max-width: 900px) {

    .sidebar {
        min-height: auto;

        padding-bottom: 25px;
    }


    .sidebar-bottom {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        margin-top: 20px;
    }

}


/* =========================================================
   COMPACT SIDEBAR
   ========================================================= */




/* Smaller sidebar header */




/* =========================================================
   MATSEPE HIGH SCHOOL - NARROW SIDEBAR
   ========================================================= */




/* Brand */













/* Navigation */










/* Sections */




/* Bottom */
















/* Main content */




.main-content {flex: 1;min-width: 0;padding: 25px;background: #f7f7f7;}












/* Smaller navigation */







/* Smaller section spacing */







/* Smaller bottom section */
















/* =========================================================
   PAGE LAYOUT
   ========================================================= */




/* Main content uses remaining space */



/* =========================================================
   MATSEPE HIGH SCHOOL
   GLOBAL BRAND COLORS
   ========================================================= */

:root {

    --matsepe-red: #c8102e;

    --matsepe-red-light: #e31b3b;

    --matsepe-gold: #d4af37;

    --matsepe-gold-light: #f9e8a8;

    --matsepe-white: #ffffff;

    --matsepe-light: #fffdf5;
}


/* =========================================================
   GLOBAL NAVBAR
   ========================================================= */




/* Decorative circle */

.navbar::after {

    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    border:
        25px solid
        rgba(212,175,55,0.12);

    right: -80px;
    top: -100px;

    pointer-events: none;
}











/* =========================================================
   GLOBAL SIDEBAR
   ========================================================= */




/* Circular decoration */

.sidebar::before {

    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    border:
        35px solid
        rgba(212,175,55,0.10);

    bottom: -100px;
    left: -100px;

    pointer-events: none;
}


.sidebar a {

    color: rgba(255,255,255,0.92);

    text-decoration: none;

    transition: 0.2s ease;
}


.sidebar a:hover {

    color: var(--matsepe-gold);

    background:
        rgba(212,175,55,0.12);
}


/* Active menu */

.sidebar a.active,
.sidebar .active {

    background:
        rgba(212,175,55,0.18);

    color: var(--matsepe-gold);

    border-left:
        3px solid var(--matsepe-gold);
}


/* =========================================================
   GLOBAL FOOTER
   ========================================================= */

.footer {background: #c00000;color: white;border-top: 3px solid #d4af37;position: relative;overflow: hidden;min-height: 70px;display: flex;align-items: center;justify-content: center;text-align: center;padding: 18px 30px;}


/* Footer circle */

.footer::before {

    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    border-radius: 50%;

    border:
        28px solid
        rgba(212,175,55,0.10);

    right: -80px;
    bottom: -110px;

    pointer-events: none;
}


.footer strong {

    color: var(--matsepe-gold);
}


.footer a {

    color: white;

    text-decoration: none;
}


.footer a:hover {

    color: var(--matsepe-gold);
}


/* =========================================================
   GLOBAL HEADINGS
   ========================================================= */

.main-content h1,
.main-content h2 {

    color: var(--matsepe-red);
}


/* Gold accent */

.main-content h2 {

    border-left:
        4px solid var(--matsepe-gold);

    padding-left: 10px;
}


/* =========================================================
   GLOBAL BUTTONS
   ========================================================= */

.btn {

    background: var(--matsepe-red);

    color: white;

    border:
        1px solid var(--matsepe-red);

    transition: 0.2s ease;
}


.btn:hover {

    background: var(--matsepe-red-light);

    border-color: var(--matsepe-gold);

    transform:
        translateY(-1px);
}


/* Gold button */

.btn-gold {

    background: var(--matsepe-gold);

    color: var(--matsepe-red);

    border:
        1px solid var(--matsepe-gold);

    font-weight: 700;
}


.btn-gold:hover {

    background: #e2c158;
}


/* =========================================================
   GLOBAL CARDS
   ========================================================= */

.card,
.admission-box,
.dashboard-card {

    border:
        1px solid #eee4c2;
}


.card-header {

    background: var(--matsepe-red);

    color: white;

    border-bottom:
        3px solid var(--matsepe-gold);
}



/* =====================================================
   MATSEPE HIGH SCHOOL NAVBAR
   Red • White • Gold
   ===================================================== */




/* =====================================================
   BRAND
   ===================================================== */




/* =====================================================
   SCHOOL ICON
   ===================================================== */

.navbar-school-icon {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: #d4af37;

    color: #c00000;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    font-weight: 900;

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.18);

}


/* =====================================================
   SCHOOL TEXT
   ===================================================== */

.navbar-school-text {

    display: flex;

    flex-direction: column;

    line-height: 1.15;

}


.navbar-school-name {

    color: white;

    font-size: 15px;

    font-weight: 800;

}


.navbar-school-system {

    color: #f9e8a8;

    font-size: 9px;

    margin-top: 3px;

    letter-spacing: 0.3px;

}


/* =====================================================
   NAVIGATION LINKS
   ===================================================== */




.navbar-link {

    display: flex;

    align-items: center;

    gap: 6px;

    padding: 8px 11px;

    border-radius: 7px;

    color: white;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    transition: all 0.2s ease;

}


.navbar-link:hover {

    background: rgba(212, 175, 55, 0.18);

    color: #f9e8a8;

    transform: translateY(-1px);

}


.navbar-link-icon {

    font-size: 14px;

}


/* =====================================================
   DECORATIVE CIRCLES
   ===================================================== */




/* Large gold circle — top right */




/* Smaller overlapping circle */




/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 700px) {

    .navbar {

        height: 60px;

        padding: 0 15px;

    }


    .navbar-school-name {

        font-size: 13px;

    }


    .navbar-links {

        gap: 2px;

    }


    .navbar-link {

        padding: 7px;

    }


    .navbar-link span:last-child {

        display: none;

    }

}


@media (max-width: 450px) {

    .navbar-school-system {

        display: none;

    }


    .navbar-school-name {

        font-size: 12px;

    }


    .navbar-school-icon {

        width: 35px;

        height: 35px;

        font-size: 10px;

    }


    .navbar-links {

        display: none;

    }

}



/* =========================================================
   MATSEPE HIGH SCHOOL
   GLOBAL SIDEBAR
   RED - WHITE - GOLD
   ========================================================= */




/* =========================================================
   DECORATIVE CIRCLES
   ========================================================= */










.sidebar-circle-three {

    width: 110px;

    height: 110px;

    border: 18px solid rgba(212, 175, 55, 0.08);

    bottom: -60px;

    right: -50px;
}


/* =========================================================
   SCHOOL HEADER
   ========================================================= */







.sidebar-brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.1;
}


.sidebar-brand-text h2 {

    margin: 0;

    color: white;

    font-size: 19px;

    font-weight: 800;
}


.sidebar-brand-text span {

    margin-top: 4px;

    color: #f9e8a8;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.3px;
}


/* =========================================================
   GOLD DIVIDER
   ========================================================= */

.sidebar-divider {

    height: 2px;

    background: #d4af37;

    opacity: 0.65;

    margin: 0 6px 18px;

    position: relative;

    z-index: 2;
}


/* =========================================================
   NAVIGATION SECTION
   ========================================================= */







/* =========================================================
   SIDEBAR LINKS
   ========================================================= */













/* =========================================================
   ACTIVE LINK
   ========================================================= */

.sidebar-link.active {

    background: #d4af37;

    color: #c8102e;

    font-weight: 800;

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   ACCOUNT / BOTTOM AREA
   ========================================================= */













/* =========================================================
   LOGOUT
   ========================================================= */







/* =========================================================
   PAGE LAYOUT COMPATIBILITY
   ========================================================= */







/* =========================================================
   RESPONSIVE SIDEBAR
   ========================================================= */

@media (max-width: 800px) {

    .sidebar {

        width: 205px;

        min-width: 205px;
    }


    .sidebar-brand-text h2 {

        font-size: 16px;
    }


    .sidebar-link {

        font-size: 12px;

        padding: 9px;
    }
}


@media (max-width: 650px) {

    .sidebar {

        width: 65px;

        min-width: 65px;

        padding: 15px 8px;
    }


    .sidebar-header {

        justify-content: center;

        padding-left: 0;

        padding-right: 0;
    }


    .sidebar-brand-text,

    .sidebar-title,

    .sidebar-link span:not(.sidebar-icon),

    .sidebar-school-info {

        display: none;
    }


    .sidebar-divider {

        margin-left: 2px;

        margin-right: 2px;
    }


    .sidebar-link {

        justify-content: center;

        padding: 11px 5px;
    }


    .sidebar-icon {

        font-size: 18px;
    }


    .sidebar-logout {

        padding: 10px 5px;

        font-size: 17px;
    }
}

/* =====================================================
   MATSEPE HIGH SCHOOL FOOTER
   Red • White • Gold
   ===================================================== */




/* =====================================================
   COPYRIGHT
   ===================================================== */

.footer p {

    margin: 0;

    position: relative;

    z-index: 5;

    font-size: 13px;

    font-weight: 600;

    color: white;

}


/* =====================================================
   DECORATIVE GOLD CIRCLES
   ===================================================== */

.footer-circle {

    position: absolute;

    border-radius: 50%;

    border: 3px solid rgba(212, 175, 55, 0.75);

    pointer-events: none;

}


/* Bottom-left large circle */

.footer-circle-one {

    width: 110px;

    height: 110px;

    left: -55px;

    bottom: -70px;

}


/* Bottom-right large circle */

.footer-circle-two {

    width: 145px;

    height: 145px;

    right: -65px;

    bottom: -95px;

    border-width: 8px;

}


/* Small overlapping circle */

.footer-circle-three {

    width: 55px;

    height: 55px;

    right: 45px;

    bottom: -25px;

    border-width: 2px;

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .footer {

        min-height: 65px;

        padding: 16px 20px;

    }

    .footer p {

        font-size: 12px;

    }

}

/* =====================================================
   RESPONSIVE PAGE LAYOUT
===================================================== */

@media (max-width: 900px) {

    .page-layout {
        flex-direction: column;
    }

    .page-layout .sidebar {
        width: 100%;
        min-width: 100%;
        flex: none;
    }

    .page-layout .main-content {
        width: 100%;
        padding: 20px;
    }

}

/* =====================================================
   FORCE SIDEBAR + MAIN CONTENT HORIZONTAL LAYOUT
   TEMPORARY / OVERRIDE
===================================================== */




/* SIDEBAR */




/* MAIN CONTENT */




/* IMPORTANT:
   Do not let the sidebar itself force
   the main content underneath it.
*/

.page-layout > .sidebar + .main-content {margin-left: 0 !important;}


/* MOBILE */

@media (max-width: 900px) {

    .page-layout {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }

    .page-layout > .sidebar {
        flex: none !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .page-layout > .main-content {
        width: 100% !important;
        padding: 20px !important;
    }
}

/* =========================================================
   TEACHER MODULE PAGE LAYOUT
   MATSEPE HIGH SCHOOL
   ========================================================= */



/* SIDEBAR */



/* MAIN CONTENT */



/* Prevent sidebar from pushing content underneath */





/* =========================================================
   AUTHORITATIVE LAYOUT FOUNDATION
   ========================================================= */
:root {
    --matsepe-red: #c8102e;
    --matsepe-red-light: #e31b3b;
    --matsepe-red-dark: #a50f25;
    --matsepe-gold: #d4af37;
    --matsepe-gold-light: #f9e8a8;
    --matsepe-white: #ffffff;
    --matsepe-background: #f7f7f7;
    --matsepe-text: #1f2937;
    --matsepe-muted: #6b7280;
    --matsepe-border: #e5e7eb;
    --sidebar-width: 260px;
    --navbar-height: 70px;
}

html, body {
    min-height: 100%;
}

body {
    margin: 0;
    background: var(--matsepe-background);
    color: var(--matsepe-text);
    font-family: Arial, Helvetica, sans-serif;
}

.page-layout {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: calc(100vh - var(--navbar-height)) !important;
    margin: 0;
    padding: 0;
}

.page-layout > .sidebar,
.sidebar {
    box-sizing: border-box;
}

.page-layout > .sidebar {
    flex: 0 0 var(--sidebar-width) !important;
    width: var(--sidebar-width) !important;
    min-width: var(--sidebar-width) !important;
    max-width: var(--sidebar-width) !important;
}

.page-layout > .main-content {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box;
    padding: 30px !important;
    overflow-x: auto;
}

.sidebar {
    width: var(--sidebar-width) !important;
    min-width: var(--sidebar-width) !important;
    max-width: var(--sidebar-width) !important;
}

.navbar {
    min-height: var(--navbar-height);
    background: var(--matsepe-red);
    color: var(--matsepe-white);
    border-bottom: 3px solid var(--matsepe-gold);
}

.navbar-links a:hover {
    color: var(--matsepe-gold);
    text-decoration: none;
}

@media (max-width: 900px) {
    .page-layout {
        flex-direction: column !important;
    }

    .page-layout > .sidebar,
    .sidebar {
        flex: none !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        min-height: auto;
    }

    .page-layout > .main-content {
        width: 100% !important;
        padding: 20px !important;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-layout > .main-content {
        padding: 15px !important;
    }
}

/* =========================================================
   MATSEPE HIGH SCHOOL
   GLOBAL LOGO FIX
   RED - WHITE - GOLD
   ========================================================= */

/* ---------------------------------------------------------
   NAVBAR LOGO
   --------------------------------------------------------- */

.navbar-school-icon {

    width: 54px !important;
    height: 54px !important;

    padding: 5px !important;

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

    flex-shrink: 0 !important;

    background: #ffffff !important;

    border: 3px solid #d4af37 !important;

    border-radius: 50% !important;

    overflow: hidden !important;

    box-sizing: border-box !important;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.20) !important;
}


.navbar-school-icon img {

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;

    object-position: center !important;

    margin: 0 !important;

    padding: 0 !important;

    border-radius: 50% !important;
}


/* ---------------------------------------------------------
   SIDEBAR LOGO
   --------------------------------------------------------- */

.sidebar-logo {

    width: 56px !important;
    height: 56px !important;

    padding: 5px !important;

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

    flex-shrink: 0 !important;

    background: #ffffff !important;

    border: 3px solid #d4af37 !important;

    border-radius: 50% !important;

    overflow: hidden !important;

    box-sizing: border-box !important;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.20) !important;
}


.sidebar-logo img {

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;

    object-position: center !important;

    margin: 0 !important;

    padding: 0 !important;

    border-radius: 50% !important;
}


/* ---------------------------------------------------------
   OTHER SCHOOL LOGO INSTANCES
   --------------------------------------------------------- */

.school-logo {

    width: 70px !important;
    height: 70px !important;

    padding: 6px !important;

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

    flex-shrink: 0 !important;

    background: #ffffff !important;

    border: 3px solid #d4af37 !important;

    border-radius: 50% !important;

    overflow: hidden !important;

    box-sizing: border-box !important;
}


.school-logo img {

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;

    object-position: center !important;

    margin: 0 !important;

    padding: 0 !important;

    border-radius: 50% !important;
}


/* ---------------------------------------------------------
   FOOTER LOGO
   --------------------------------------------------------- */

.footer-school-logo {

    width: 64px !important;
    height: 64px !important;

    padding: 5px !important;

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

    flex-shrink: 0 !important;

    background: #ffffff !important;

    border: 3px solid #d4af37 !important;

    border-radius: 50% !important;

    overflow: hidden !important;

    box-sizing: border-box !important;
}


.footer-school-logo img {

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;

    object-position: center !important;

    margin: 0 !important;

    padding: 0 !important;

    border-radius: 50% !important;
}


/* ---------------------------------------------------------
   MOBILE LOGO
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .navbar-school-icon {

        width: 50px !important;
        height: 50px !important;

        padding: 4px !important;
    }

    .sidebar-logo {

        width: 54px !important;
        height: 54px !important;

        padding: 4px !important;
    }

    .school-logo {

        width: 64px !important;
        height: 64px !important;

        padding: 5px !important;
    }

}


@media (max-width: 480px) {

    .navbar-school-icon {

        width: 46px !important;
        height: 46px !important;

        padding: 4px !important;
    }

    .sidebar-logo {

        width: 50px !important;
        height: 50px !important;

        padding: 4px !important;
    }

}
/* =========================================================
   MATSEPE HIGH SCHOOL PUBLIC GALLERY HERO
   Step 5 - Cinematic School Gallery
   ========================================================= */

.school-gallery-hero {
    position: relative;
    min-height: 780px;
    height: min(88vh, 900px);
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    background: #111;
    color: #fff;
}

.school-gallery-background,
.school-gallery-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.school-gallery-slides {
    z-index: 0;
}

.school-gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.4s ease, visibility 1.4s ease;
}

.school-gallery-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.school-gallery-slide img {
    position: absolute;
    inset: -3%;
    width: 106%;
    height: 106%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.04);
    transition: transform 30s cubic-bezier(.2,.65,.2,1);
    will-change: transform;
}

.school-gallery-slide.active img {
    transform: scale(1.14);
}

.school-gallery-slide:nth-child(3n + 1) img {
    object-position: center center;
}

.school-gallery-slide:nth-child(3n + 2) img {
    object-position: center 42%;
}

.school-gallery-slide:nth-child(3n) img {
    object-position: center 48%;
}

.school-gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.62) 27%,
            rgba(0,0,0,.28) 58%,
            rgba(0,0,0,.45) 100%),
        linear-gradient(180deg,
            rgba(0,0,0,.45) 0%,
            transparent 30%,
            rgba(0,0,0,.25) 70%,
            rgba(0,0,0,.76) 100%);
}

.school-gallery-gradient {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
}

.school-gallery-content {
    position: absolute;
    z-index: 8;
    left: clamp(30px, 7vw, 110px);
    top: 50%;
    transform: translateY(-50%);
    width: min(720px, 58vw);
}

.school-gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 9px 16px;
    border-left: 4px solid #d4af37;
    background: rgba(180, 0, 0, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

.school-gallery-content h1 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(48px, 6vw, 86px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -2.5px;
    text-shadow: 0 5px 24px rgba(0,0,0,.48);
}

.school-gallery-content p {
    max-width: 650px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.94);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.school-gallery-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.school-gallery-actions .hero-primary-button,
.school-gallery-actions .hero-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.school-gallery-actions .hero-primary-button {
    gap: 14px;
    background: #c40000;
    color: #fff;
    border: 1px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

.school-gallery-actions .hero-primary-button span {
    color: #d4af37;
    font-size: 21px;
    transition: transform .25s ease;
}

.school-gallery-actions .hero-secondary-button {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.65);
    backdrop-filter: blur(8px);
}

.school-gallery-actions .hero-primary-button:hover,
.school-gallery-actions .hero-secondary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0,0,0,.36);
}

.school-gallery-actions .hero-primary-button:hover span {
    transform: translateX(4px);
}

.school-gallery-actions .hero-primary-button:hover {
    background: #e00000;
}

.school-gallery-actions .hero-secondary-button:hover {
    background: rgba(255,255,255,.18);
}

.school-gallery-info {
    position: absolute;
    z-index: 9;
    right: clamp(25px, 5vw, 80px);
    bottom: 86px;
    display: grid;
    grid-template-columns: repeat(3, minmax(145px, 1fr));
    width: min(600px, 43vw);
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(15,15,15,.48);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 50px rgba(0,0,0,.3);
}

.gallery-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 16px 15px;
    border-right: 1px solid rgba(255,255,255,.15);
}

.gallery-info-item:last-child {
    border-right: 0;
}

.gallery-info-icon {
    flex: 0 0 auto;
    font-size: 22px;
}

.gallery-info-item strong,
.gallery-info-item small {
    display: block;
}

.gallery-info-item strong {
    color: #fff;
    font-size: 12px;
    line-height: 1.25;
}

.gallery-info-item small {
    margin-top: 4px;
    color: rgba(255,255,255,.68);
    font-size: 10px;
    line-height: 1.3;
}

.school-gallery-controls {
    position: absolute;
    z-index: 10;
    right: clamp(25px, 5vw, 80px);
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(0,0,0,.35);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: all .25s ease;
    backdrop-filter: blur(8px);
}

.gallery-control:hover,
.gallery-control:focus-visible {
    background: #c40000;
    border-color: #d4af37;
    transform: scale(1.08);
    outline: none;
}

.gallery-indicators {
    display: flex;
    align-items: center;
    gap: 7px;
    max-width: 310px;
    overflow: hidden;
}

.gallery-indicator {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.48);
    cursor: pointer;
    transition: width .3s ease, background .3s ease, transform .3s ease;
}

.gallery-indicator.active {
    width: 28px;
    border-radius: 6px;
    background: #d4af37;
}

.gallery-indicator:hover {
    transform: scale(1.3);
    background: #fff;
}

.school-gallery-counter {
    position: absolute;
    z-index: 10;
    left: clamp(30px, 7vw, 110px);
    bottom: 37px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.gallery-counter-line {
    width: 48px;
    height: 1px;
    background: #d4af37;
}

.gallery-scroll-indicator {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    transform: translateX(-50%);
    transition: color .25s ease;
}

.gallery-scroll-indicator:hover {
    color: #d4af37;
}

.scroll-arrow {
    font-size: 19px;
    animation: galleryScrollBounce 1.8s ease-in-out infinite;
}

@keyframes galleryScrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.school-gallery-slide .gallery-slide-caption {
    position: absolute;
    z-index: 2;
    right: 5vw;
    top: 22%;
    max-width: 300px;
    padding: 15px 18px;
    border-left: 3px solid #d4af37;
    background: rgba(0,0,0,.38);
    color: #fff;
    opacity: 0;
    transform: translateX(25px);
    transition: opacity .9s ease .3s, transform .9s ease .3s;
    backdrop-filter: blur(7px);
}

.school-gallery-slide.active .gallery-slide-caption {
    opacity: 1;
    transform: translateX(0);
}

/* Tablet */
@media (max-width: 1100px) {

    .school-gallery-hero {
        height: 820px;
    }

    .school-gallery-content {
        width: min(680px, 72vw);
    }

    .school-gallery-info {
        right: 30px;
        width: min(580px, 55vw);
    }

    .gallery-scroll-indicator {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .school-gallery-hero {
        min-height: 760px;
        height: 92vh;
    }

    .school-gallery-overlay {
        background:
            linear-gradient(180deg,
                rgba(0,0,0,.58) 0%,
                rgba(0,0,0,.42) 35%,
                rgba(0,0,0,.72) 100%),
            linear-gradient(90deg,
                rgba(0,0,0,.28),
                rgba(0,0,0,.22));
    }

    .school-gallery-content {
        left: 24px;
        right: 24px;
        top: 43%;
        width: auto;
        transform: translateY(-50%);
    }

    .school-gallery-badge {
        margin-bottom: 18px;
        padding: 8px 12px;
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .school-gallery-content h1 {
        margin-bottom: 17px;
        font-size: clamp(42px, 12vw, 64px);
        letter-spacing: -1.7px;
    }

    .school-gallery-content p {
        margin-bottom: 22px;
        font-size: 15px;
        line-height: 1.55;
    }

    .school-gallery-actions {
        gap: 10px;
    }

    .school-gallery-actions .hero-primary-button,
    .school-gallery-actions .hero-secondary-button {
        min-height: 47px;
        padding: 0 16px;
        font-size: 13px;
    }

    .school-gallery-info {
        right: 20px;
        left: 20px;
        bottom: 105px;
        width: auto;
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-info-item {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 11px 7px;
        text-align: center;
    }

    .gallery-info-icon {
        font-size: 18px;
    }

    .gallery-info-item strong {
        font-size: 9px;
    }

    .gallery-info-item small {
        display: none;
    }

    .school-gallery-controls {
        right: 20px;
        bottom: 27px;
    }

    .gallery-control {
        width: 38px;
        height: 38px;
    }

    .gallery-indicators {
        max-width: 145px;
        gap: 5px;
    }

    .gallery-indicator {
        width: 5px;
        height: 5px;
    }

    .gallery-indicator.active {
        width: 20px;
    }

    .school-gallery-counter {
        left: 20px;
        bottom: 38px;
        font-size: 11px;
    }

    .gallery-counter-line {
        width: 28px;
    }

    .school-gallery-slide .gallery-slide-caption {
        display: none;
    }
}

/* Small phones */
@media (max-width: 480px) {

    .school-gallery-hero {
        min-height: 700px;
        height: 90vh;
    }

    .school-gallery-content {
        left: 18px;
        right: 18px;
        top: 39%;
    }

    .school-gallery-content h1 {
        font-size: 40px;
    }

    .school-gallery-content p {
        font-size: 14px;
    }

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

    .school-gallery-actions .hero-primary-button,
    .school-gallery-actions .hero-secondary-button {
        width: 100%;
    }

    .school-gallery-info {
        right: 14px;
        left: 14px;
        bottom: 102px;
    }

    .gallery-info-item {
        padding: 9px 3px;
    }

    .school-gallery-controls {
        right: 14px;
        bottom: 22px;
    }

    .school-gallery-counter {
        left: 14px;
        bottom: 32px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .school-gallery-slide,
    .school-gallery-slide img,
    .gallery-slide-caption,
    .gallery-control,
    .gallery-indicator,
    .school-gallery-actions .hero-primary-button,
    .school-gallery-actions .hero-secondary-button {
        transition: none !important;
    }

    .school-gallery-slide.active img {
        transform: scale(1.04);
    }

    .scroll-arrow {
        animation: none;
    }
}


/* =========================================================
   MATSEPE HIGH SCHOOL - PUBLIC WEBSITE STYLES
   =========================================================
   These rules are intentionally scoped to .public-site so
   they do not disturb the staff/admin/teacher interface.
   Matsepe colours: Red + Gold + White.
   ========================================================= */


/* =========================================================
   PUBLIC SITE BASE
   ========================================================= */

.public-site {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #202020;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.public-site *,
.public-site *::before,
.public-site *::after {
    box-sizing: border-box;
}

.public-site img {
    max-width: 100%;
}

.public-site a {
    color: inherit;
}

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


/* =========================================================
   PUBLIC NAVBAR
   ========================================================= */

.public-site .public-navbar {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.public-site .public-navbar-inner {
    width: min(1280px, calc(100% - 48px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.public-site .public-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    color: #222222;
    text-decoration: none;
}

.public-site .public-brand-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.public-site .public-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.public-site .public-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.public-site .public-brand-text strong {
    color: #c40000;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .6px;
}

.public-site .public-brand-text span {
    margin-top: 5px;
    color: #777777;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .7px;
}

.public-site .public-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.public-site .public-nav-link,
.public-site .public-login-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.public-site .public-nav-link {
    color: #333333;
}

.public-site .public-nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    height: 2px;
    background: #d4af37;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.public-site .public-nav-link:hover {
    color: #c40000;
}

.public-site .public-nav-link:hover::after,
.public-site .public-nav-link.active::after {
    transform: scaleX(1);
}

.public-site .public-nav-link.active {
    color: #c40000;
}

.public-site .public-login-link {
    margin-left: 8px;
    padding-left: 20px;
    padding-right: 20px;
    background: #c40000;
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(196, 0, 0, .18);
}

.public-site .public-login-link:hover {
    background: #a90000;
    color: #ffffff;
    transform: translateY(-1px);
}


/* =========================================================
   PUBLIC GALLERY - NAVBAR / HERO CONNECTION
   ========================================================= */

.public-site .school-gallery-hero {
    width: 100%;
    margin: 0;
    overflow: hidden;
}


/* =========================================================
   HERO TEXT TRANSITIONS
   ========================================================= */

.public-site .gallery-text-changing {
    opacity: .2;
    transform: translateY(7px);
}

.public-site #galleryTitle,
.public-site #galleryDescription {
    transition:
        opacity .3s ease,
        transform .3s ease;
}


/* =========================================================
   QUICK LINKS
   ========================================================= */

.public-site .public-quick-links {
    position: relative;
    padding: 88px 0 92px;
    background: #ffffff;
}

.public-site .public-section-heading {
    margin-bottom: 42px;
}

.public-site .public-section-heading.centered {
    text-align: center;
}

.public-site .public-section-heading > span,
.public-site .section-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #c40000;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.public-site .public-section-heading h2,
.public-site .about-content h2,
.public-site .contact-grid h2 {
    margin: 0 0 14px;
    color: #222222;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1px;
}

.public-site .public-section-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: #6d6d6d;
    font-size: 16px;
}

.public-site .public-link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.public-site .public-link-card {
    position: relative;
    min-height: 245px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 25px;
    overflow: hidden;
    border: 1px solid #e9e9e9;
    border-top: 4px solid transparent;
    border-radius: 8px;
    background: #ffffff;
    color: #222222;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .055);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.public-site .public-link-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .08);
    transition: transform .3s ease;
}

.public-site .public-link-card:hover {
    transform: translateY(-7px);
    border-top-color: #d4af37;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .11);
}

.public-site .public-link-card:hover::after {
    transform: scale(1.35);
}

.public-site .public-link-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8eeee;
    color: #c40000;
    font-size: 25px;
}

.public-site .public-link-card h3 {
    margin: 0 0 8px;
    color: #222222;
    font-size: 20px;
    font-weight: 850;
}

.public-site .public-link-card p {
    margin: 0 0 14px;
    color: #707070;
    font-size: 14px;
    line-height: 1.65;
}

.public-site .public-link-card div:last-child span {
    color: #c40000;
    font-size: 12px;
    font-weight: 850;
}

.public-site .public-link-card.admission-card {
    border-top-color: #c40000;
}


/* =========================================================
   ABOUT
   ========================================================= */

.public-site .public-about-section {
    position: relative;
    padding: 105px 0;
    background: #f7f7f7;
}

.public-site .about-grid {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 85px;
}

.public-site .about-visual {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-site .about-logo-circle {
    position: relative;
    z-index: 2;
    width: min(360px, 75%);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 10px solid #ffffff;
    border-radius: 50%;
    background: #ffffff;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .13),
        0 0 0 2px rgba(212, 175, 55, .5);
}

.public-site .about-logo-circle img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.public-site .about-red-shape {
    position: absolute;
    right: 3%;
    bottom: 6%;
    width: 185px;
    height: 185px;
    border-radius: 50%;
    background: #c40000;
    box-shadow: 0 18px 35px rgba(196, 0, 0, .18);
}

.public-site .about-content h2 {
    margin-bottom: 22px;
}

.public-site .about-content > p {
    margin: 0 0 17px;
    color: #646464;
    font-size: 16px;
    line-height: 1.8;
}

.public-site .about-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 25px;
    margin-top: 30px;
}

.public-site .about-points > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.public-site .about-points > div > span {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #c40000;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.public-site .about-points strong {
    color: #333333;
    font-size: 13px;
}


/* =========================================================
   ACADEMICS
   ========================================================= */

.public-site .academics-section {
    padding: 105px 0;
    background: #ffffff;
}

.public-site .academic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.public-site .academic-card {
    position: relative;
    padding: 34px 28px;
    min-height: 275px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .045);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.public-site .academic-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d4af37;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.public-site .academic-card:hover {
    transform: translateY(-7px);
    border-color: #dedede;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
}

.public-site .academic-card:hover::before {
    transform: scaleX(1);
}

.public-site .academic-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f9eeee;
    font-size: 27px;
}

.public-site .academic-card h3 {
    margin: 0 0 12px;
    color: #252525;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 850;
}

.public-site .academic-card p {
    margin: 0;
    color: #707070;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   ADMISSIONS BANNER
   ========================================================= */

.public-site .admission-banner {
    position: relative;
    overflow: hidden;
    padding: 65px 0;
    background:
        linear-gradient(110deg, #b90000 0%, #d60000 52%, #b40000 100%);
    color: #ffffff;
}

.public-site .admission-banner::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -170px;
    top: -210px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(255,255,255,.035),
        0 0 0 90px rgba(255,255,255,.025);
}

.public-site .admission-banner-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.public-site .admission-banner span {
    display: block;
    margin-bottom: 8px;
    color: #f2d878;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.public-site .admission-banner h2 {
    max-width: 720px;
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.12;
    font-weight: 900;
}

.public-site .admission-banner p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 15px;
}

.public-site .admission-banner-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.public-site .gold-button,
.public-site .white-outline-button {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease;
}

.public-site .gold-button {
    background: #d4af37;
    color: #1e1e1e;
}

.public-site .gold-button:hover {
    background: #e4c34e;
    transform: translateY(-2px);
}

.public-site .white-outline-button {
    border: 1px solid rgba(255,255,255,.75);
    color: #ffffff;
}

.public-site .white-outline-button:hover {
    background: #ffffff;
    color: #b90000;
    transform: translateY(-2px);
}


/* =========================================================
   ANNOUNCEMENTS
   ========================================================= */

.public-site .public-announcements-section {
    padding: 105px 0;
    background: #f7f7f7;
}

.public-site .announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.public-site .public-announcement-card {
    position: relative;
    padding: 30px;
    border: 1px solid #e7e7e7;
    border-left: 4px solid #c40000;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .055);
}

.public-site .announcement-date {
    margin-bottom: 13px;
    color: #c40000;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.public-site .public-announcement-card h3 {
    margin: 0 0 12px;
    color: #262626;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 850;
}

.public-site .public-announcement-card p {
    margin: 0;
    color: #707070;
    font-size: 14px;
    line-height: 1.75;
}

.public-site .no-announcements {
    padding: 50px 25px;
    text-align: center;
    border: 1px dashed #d9d9d9;
    border-radius: 8px;
    background: #ffffff;
}

.public-site .no-announcements > div {
    margin-bottom: 10px;
    font-size: 35px;
}

.public-site .no-announcements h3 {
    margin: 0 0 7px;
    color: #333333;
}

.public-site .no-announcements p {
    margin: 0;
    color: #777777;
}


/* =========================================================
   CONTACT
   ========================================================= */

.public-site .contact-section {
    padding: 105px 0;
    background: #ffffff;
}

.public-site .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.public-site .contact-grid > div:first-child {
    padding-top: 10px;
}

.public-site .contact-grid h2 {
    margin-bottom: 20px;
}

.public-site .contact-grid > div:first-child > p {
    max-width: 580px;
    margin: 0;
    color: #6d6d6d;
    font-size: 16px;
    line-height: 1.8;
}

.public-site .contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.public-site .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 20px;
    border: 1px solid #e9e9e9;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,.045);
}

.public-site .contact-item > span {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f9eeee;
    font-size: 21px;
}

.public-site .contact-item strong {
    display: block;
    margin-bottom: 3px;
    color: #292929;
    font-size: 14px;
}

.public-site .contact-item p {
    margin: 0;
    color: #707070;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   FOOTER
   ========================================================= */

.public-site .public-footer {
    background: #171717;
    color: #ffffff;
}

.public-site .public-footer-inner {
    width: min(1180px, calc(100% - 48px));
    min-height: 120px;
    margin: 0 auto;
    padding: 28px 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
    gap: 30px;
}

.public-site .footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.public-site .footer-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.public-site .footer-brand strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
}

.public-site .footer-brand span {
    display: block;
    margin-top: 3px;
    color: #aaaaaa;
    font-size: 10px;
}

.public-site .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.public-site .footer-links a {
    color: #dddddd;
    text-decoration: none;
    font-size: 12px;
    font-weight: 650;
    transition: color .2s ease;
}

.public-site .footer-links a:hover {
    color: #d4af37;
}

.public-site .footer-copy {
    color: #999999;
    font-size: 11px;
    text-align: right;
}


/* =========================================================
   GALLERY CAPTION CREATED BY JAVASCRIPT
   ========================================================= */

.public-site .gallery-slide-caption {
    position: absolute;
    left: 45px;
    bottom: 130px;
    z-index: 6;
    max-width: 430px;
    padding: 15px 18px;
    border-left: 3px solid #d4af37;
    background: rgba(0,0,0,.38);
    color: #ffffff;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity .6s ease, transform .6s ease;
    pointer-events: none;
}

.public-site .school-gallery-slide.active .gallery-slide-caption {
    opacity: 1;
    transform: translateX(0);
}

.public-site .gallery-slide-caption strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
}

.public-site .gallery-slide-caption span {
    display: block;
    color: rgba(255,255,255,.85);
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   RESPONSIVE PUBLIC WEBSITE
   ========================================================= */

@media (max-width: 1050px) {

    .public-site .public-navbar-inner {
        width: min(100% - 32px, 980px);
    }

    .public-site .public-nav-links {
        gap: 0;
    }

    .public-site .public-nav-link,
    .public-site .public-login-link {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px;
    }

    .public-site .public-link-grid,
    .public-site .academic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-site .about-grid {
        gap: 50px;
    }

    .public-site .admission-banner-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-site .public-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .public-site .footer-copy {
        grid-column: 1 / -1;
        text-align: center;
    }
}


@media (max-width: 768px) {

    .public-site .public-section-container {
        width: min(100% - 32px, 620px);
    }

    .public-site .public-navbar-inner {
        min-height: 74px;
        width: calc(100% - 28px);
        gap: 12px;
    }

    .public-site .public-brand-logo {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .public-site .public-brand-text strong {
        font-size: 13px;
    }

    .public-site .public-brand-text span {
        font-size: 8px;
        letter-spacing: .35px;
    }

    .public-site .public-nav-links {
        gap: 2px;
    }

    .public-site .public-nav-link {
        display: none;
    }

    .public-site .public-nav-link.active {
        display: none;
    }

    .public-site .public-login-link {
        margin-left: 0;
        min-height: 38px;
        padding: 0 13px;
        font-size: 11px;
    }

    .public-site .public-quick-links,
    .public-site .public-about-section,
    .public-site .academics-section,
    .public-site .public-announcements-section,
    .public-site .contact-section {
        padding: 70px 0;
    }

    .public-site .public-section-heading {
        margin-bottom: 30px;
    }

    .public-site .public-section-heading h2,
    .public-site .about-content h2,
    .public-site .contact-grid h2 {
        font-size: 31px;
    }

    .public-site .public-link-grid,
    .public-site .academic-grid {
        grid-template-columns: 1fr;
    }

    .public-site .public-link-card {
        min-height: auto;
    }

    .public-site .about-grid,
    .public-site .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .public-site .about-visual {
        min-height: 330px;
    }

    .public-site .about-logo-circle {
        width: 270px;
    }

    .public-site .about-red-shape {
        width: 125px;
        height: 125px;
        right: 9%;
        bottom: 2%;
    }

    .public-site .about-points {
        grid-template-columns: 1fr;
    }

    .public-site .announcement-grid {
        grid-template-columns: 1fr;
    }

    .public-site .admission-banner {
        padding: 55px 0;
    }

    .public-site .admission-banner-content {
        width: min(100% - 32px, 620px);
    }

    .public-site .admission-banner-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .public-site .gold-button,
    .public-site .white-outline-button {
        width: 100%;
    }

    .public-site .public-footer-inner {
        width: min(100% - 32px, 620px);
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .public-site .footer-brand {
        justify-content: center;
    }

    .public-site .footer-copy {
        grid-column: auto;
        text-align: center;
    }

    .public-site .gallery-slide-caption {
        display: none !important;
    }
}


@media (max-width: 480px) {

    .public-site .public-brand-text span {
        display: none;
    }

    .public-site .public-brand-text strong {
        font-size: 12px;
    }

    .public-site .public-link-card,
    .public-site .academic-card,
    .public-site .public-announcement-card {
        padding: 24px 21px;
    }

    .public-site .contact-item {
        padding: 17px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .public-site *,
    .public-site *::before,
    .public-site *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

}
