/* ===== STATE EXCELLENCE: MODERN INNER PAGES (v5.0) ===== */

/* 1. Global Page Layout Overhaul */
body {
    background-color: #f8fafc !important;
    /* Soft academic gray background */
    color: #334e68 !important;
    line-height: 1.6;
}

.row-align-top {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

/* 2. Premium Panel & Card Styling */
.panel-default {
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    overflow: hidden;
    background: #fff !important;
}

.panel-body {
    padding: 35px !important;
}

/* 3. Typography & Page Titles */
.about-label {
    color: #003366 !important;
    /* Institutional Navy */
    font-family: 'Times New Roman', serif !important;
    /* Classic Academic Font */
    font-size: 32px !important;
    font-weight: 800 !important;
    text-align: left !important;
    margin-bottom: 15px !important;
    letter-spacing: -0.5px;
}

.page-horizontal {
    display: none !important;
}

h4,
h5 {
    color: #102a43;
    font-weight: 700;
    margin-top: 25px;
}

/* 4. PDF & Resource Lists (Blockquotes) */
blockquote {
    background: #f1f5f9 !important;
    border-left: 5px solid #003366 !important;
    border-radius: 6px;
    margin: 15px 0 !important;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    box-shadow: none !important;
}

blockquote:hover {
    background: #e2e8f0 !important;
    transform: translateX(5px);
}

blockquote a {
    color: #003366 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
}

blockquote img {
    height: 30px !important;
    margin-right: 15px;
}

.btn-info.btn-sm {
    background: #003366 !important;
    border: none !important;
    font-weight: 700;
    padding: 6px 15px !important;
    text-transform: uppercase;
    font-size: 11px !important;
    letter-spacing: 0.5px;
}

/* 5. Institutional Table Overhaul */
.table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin-bottom: 25px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.table thead th {
    background-color: #003366 !important;
    /* Navy Header */
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    padding: 15px !important;
    border: none !important;
}

.table tbody tr td {
    padding: 12px 15px !important;
    font-size: 14px !important;
    vertical-align: middle !important;
    color: #334e68 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.table tbody tr:hover {
    background-color: #f8fafc !important;
}

.table tbody tr:last-child td {
    border-bottom: none !important;
}

/* 6. Sidebar & Vertical Navigation */
.sidebar-container,
.sidemenu {
    background: #fff !important;
    border-radius: 8px !important;
    padding: 20px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.sidemenu li a {
    color: #486581 !important;
    font-weight: 600 !important;
    padding: 10px 15px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: block;
    transition: all 0.2s ease;
}

.sidemenu li a:hover,
.sidemenu li.active a {
    background: #003366 !important;
    color: #fff !important;
    padding-left: 20px !important;
    border-radius: 4px;
}

/* 7. Department/About Us Specific Elements */
.dept-about-text {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #334e68 !important;
    text-align: justify !important;
}

.boxholder {
    border: 4px solid #fff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    margin-bottom: 25px !important;
    max-width: 100%;
    height: auto !important;
}

/* 8. Alert Modernization */
.alert {
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.alert-success {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
}

.alert-warning {
    background-color: #fef3c7 !important;
    color: #92400e !important;
}

.alert-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}

/* 9. Utility Classes */
.text-navy {
    color: #003366 !important;
}

.text-gold {
    color: #b38f00 !important;
}

.bg-navy {
    background-color: #003366 !important;
}

.bg-gold {
    background-color: #b38f00 !important;
}

/* Member Photos in Tables */
.table img {
    border: 2px solid #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    border-radius: 4px !important;
    object-fit: cover;
}

.table td {
    vertical-align: middle !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .panel-body {
        padding: 20px !important;
    }

    .about-label {
        font-size: 24px !important;
    }
}