:root {
    --primary-color: #0a4a7a;
    --secondary-color: #2e8540;
    --accent-color: #f8a51c;
    --light-color: #f5f9fc;
    --dark-color: #333;
    --gray-color: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


.navbar {
    background-color: var(--primary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.mobile-toggle {
    display: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 992px) {

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 80%;
        height: 100vh;
        transition: 0.3s;
        padding-top: 60px;
        z-index: 1001;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
        z-index: 1002;
    }

}

/* =========================================================
   HEADER TOP
========================================================= */

.header-top {
    background: linear-gradient(135deg, #0a4a7a, #1a6db5);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo i {
    color: var(--accent-color);
}

.header-links {
    display: flex;
    gap: 15px;
}

.header-links a {
    color: white;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    font-size: 13px;
}

.header-links a:hover {
    background: rgba(255,255,255,0.2);
    color: var(--accent-color);
}


/* =========================================================
   HEADER MAIN
========================================================= */

.header-main {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0a4a7a, #1a6db5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.logo i {
    font-size: 32px;
}

.logo-text {
    flex: 1;
}

.logo-text h1 {
    font-size: 20px;
    color: var(--primary-color);
    line-height: 1.3;
    font-weight: 600;
}

.logo-text p {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 500;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    background: linear-gradient(135deg, #0a4a7a, #1a6db5);
    position: relative;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: rgba(255,255,255,0.1);
    color: var(--accent-color);
}

.nav-link .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s;
}


/* =========================================================
   DROPDOWN - FIXED FOR BOOTSTRAP CONFLICT
========================================================= */

.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;

    display: block !important;

    min-width: 200px;

    margin: 0 !important;
    padding: 0;

    background: #ffffff;

    box-shadow: 0 5px 20px rgba(0,0,0,0.15);

    border: none !important;
    border-radius: 0 0 8px 8px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 10001 !important;

    pointer-events: none;
}

/* Desktop Hover */
@media (min-width: 993px) {

    .nav-item:hover > .dropdown-menu,
    .nav-item.open > .dropdown-menu {

        display: block !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: translateY(0) !important;

        pointer-events: auto !important;
    }
}

/* Dropdown Links */
.dropdown-menu a {
    display: block !important;

    padding: 12px 18px;

    color: #333 !important;

    background: #fff;

    text-decoration: none;

    border-bottom: 1px solid #eee;

    font-size: 14px;

    white-space: nowrap;

    transition: 0.2s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f5f9fc !important;
    color: var(--primary-color) !important;
    padding-left: 22px;
}

/* =========================================================
   MOBILE DROPDOWN
========================================================= */

@media (max-width: 992px) {

    .dropdown-menu {

        position: static !important;

        display: block !important;

        width: 100% !important;
        min-width: 100% !important;

        margin: 0 !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;

        box-shadow: none !important;

        border: none !important;

        border-radius: 0 !important;

        background: rgba(0,0,0,0.2) !important;

        max-height: 0;

        overflow: hidden;

        pointer-events: none;

        transition: max-height 0.3s ease;
    }

    .nav-item.open > .dropdown-menu {
        max-height: 500px !important;
        pointer-events: auto !important;
    }

    .dropdown-menu a {
        color: rgba(255,255,255,0.9) !important;
        background: transparent !important;

        padding: 12px 20px 12px 35px;

        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: white !important;
        padding-left: 40px;
    }

    /* Disable hover effect on mobile */
    .nav-item:hover > .dropdown-menu {
        max-height: 0;
    }

    .nav-item.open:hover > .dropdown-menu {
        max-height: 500px !important;
    }
}

/* =========================================================
   ACTIVE DROPDOWN
========================================================= */

.nav-item.open > .nav-link {
    background: rgba(255,255,255,0.1) !important;
    color: var(--accent-color) !important;
}

.nav-item.open > .nav-link .fa-chevron-down {
    transform: rotate(180deg);
}


/* =========================================================
   OVERLAY
========================================================= */

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.overlay.show {
    display: block;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    background: linear-gradient(
        135deg,
        rgba(10,74,122,0.95),
        rgba(26,109,181,0.9)
    );
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #f8a51c, #ffb94d);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(248,165,28,0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}


/* =========================================================
   SECTION
========================================================= */

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    color: #666;
    font-size: 15px;
}


/* =========================================================
   SUPERIORS
========================================================= */

.superiors {
    padding: 60px 0;
    background: #f8f9fa;
}

.superiors-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
    align-items: stretch;
    width: 100%;
}

.superior-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    width: 100%;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.superior-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}


/* =========================
   PHOTO
========================= */

.superior-photo {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a4a7a, #1a6db5);
    flex-shrink: 0;
}

.superior-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* =========================
   PLACEHOLDER
========================= */

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.photo-placeholder i {
    font-size: 40px;
    margin-bottom: 8px;
}

.photo-placeholder span {
    font-size: 13px;
}


/* =========================
   INFORMATION
========================= */

.superior-info {
    padding: 18px 12px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.superior-info h3 {
    font-size: 17px;
    line-height: 1.3;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 6px;
}

.superior-info .designation {
    font-size: 13px;
    line-height: 1.4;
    color: #ff6600;
    font-weight: 500;
    margin-bottom: 10px;
}

.superior-info p {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 8px;
}


/* =========================
   BUTTON
========================= */

.superior-info .know-more-btn {
    margin-top: auto;
    align-self: center;
}

.view-btn {
    border: none;
    background: transparent;
    color: #0a4a7a;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
}


/* =========================
   LARGE DESKTOP
   6 CARDS IN ONE ROW
========================= */

@media (min-width: 1201px) {

    .superiors-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .superior-photo {
        height: 230px;
    }

}


/* =========================
   LAPTOP
========================= */

@media (max-width: 1200px) {

    .superiors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================
   TABLET
========================= */

@media (max-width: 768px) {

    .superiors {
        padding: 45px 0;
    }

    .superiors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .superior-photo {
        height: 240px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {

    .superiors {
        padding: 40px 0;
    }

    .superiors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .superior-photo {
        height: 280px;
    }

    .superior-info {
        padding: 20px 15px;
    }

    .superior-info h3 {
        font-size: 18px;
    }

    .superior-info p {
        font-size: 14px;
    }

}

/* =========================================================
   BUTTON - KNOW MORE
========================================================= */

.know-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    margin-top: 10px;
    font-size: 14px;
    color: white;
    background: #ff6600;
    border: 2px solid #ff6600;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.know-more-btn:hover {
    background: #e65c00;
    border-color: #e65c00;
    color: white;
}


/* =========================================================
   ABOUT SECTION
========================================================= */

.about-section {
    padding: 70px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.about-card {
    background: #f5f9fc;
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid #0a4a7a;
    transition: 0.2s;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-card.vision {
    border-top-color: #f8a51c;
}

.about-card.mission {
    border-top-color: #2e8540;
}

.about-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a4a7a, #1a6db5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 18px;
}

.about-card.vision .about-icon {
    background: linear-gradient(135deg, #f8a51c, #ffb94d);
}

.about-card.mission .about-icon {
    background: linear-gradient(135deg, #2e8540, #3fa855);
}

.about-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.about-card.vision h3 {
    color: #d4850e;
}

.about-card.mission h3 {
    color: #2e8540;
}

.about-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}


/* =========================================================
   ABOUT / SUPERIOR DETAIL PAGE
========================================================= */

.superior-detail {
    padding: 60px 0;
    background-color: white;
    min-height: 70vh;
}

.superior-detail > .container > h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 32px;
}

.superior-detail-content {
    line-height: 1.8;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.superior-detail-content h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    font-size: 24px;
}

.superior-detail-content h3:first-child {
    margin-top: 0;
}

.superior-detail-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.superior-detail-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.superior-detail-content li {
    margin-bottom: 10px;
    font-size: 16px;
}


/* =========================================================
   SUPERIOR HEADER / PROFILE
========================================================= */

.superior-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.superior-header-photo {
    width: 250px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 30px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.superior-header-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.superior-header-photo i {
    font-size: 100px;
    color: var(--primary-color);
}

.superior-header-info h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 32px;
}

.superior-header-info .designation {
    color: var(--secondary-color);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.superior-header-info .contact-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 10px;
}


/* =========================================================
   CONTACT INFO BOX
========================================================= */

.contact-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-item h4 i {
    margin-right: 10px;
    color: var(--accent-color);
}


/* =========================================================
   SLIDER
========================================================= */

#mainSlider {
    border-bottom: 5px solid #0a4a7a;
    margin-bottom: 20px;
}

.carousel-inner {
    max-height: 500px;
}

.slider-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 34%;
}

.custom-caption {
    bottom: 20%;
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
}

.custom-caption h2 {
    font-size: 32px;
    font-weight: bold;
}

.custom-caption p {
    font-size: 18px;
}

.custom-caption .btn {
    margin-top: 10px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: linear-gradient(180deg, #1a2a3a, #0f1a24);
    color: white;
    padding: 50px 0 25px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-col h3 {
    color: var(--accent-color);
    font-size: 17px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    font-weight: 600;
}

.footer-col > p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-info i {
    color: var(--accent-color);
    width: 32px;
    height: 32px;
    background: rgba(248,165,28,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-info div p {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 2px;
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 13px;
}

.copyright a {
    color: var(--accent-color);
    text-decoration: none;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0a4a7a, #1a6db5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
}


/* =========================================================
   SUPERIOR GRID RESPONSIVE
========================================================= */

@media (min-width: 1200px) {
    .superiors-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1199px) {
    .superiors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =========================================================
   TABLET / MOBILE NAVIGATION
========================================================= */

@media (max-width: 992px) {

    .mobile-toggle {
        display: block;
        z-index: 1002;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: #0a4a7a;
        padding-top: 60px;
        z-index: 999;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.show {
        left: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-link {
        padding: 14px 20px;
        justify-content: space-between;
    }

    /* Mobile Dropdown */

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        border-radius: 0;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.open .dropdown-menu {
        max-height: 400px;
    }

    .nav-item.open .fa-chevron-down {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        color: rgba(255,255,255,0.9);
        padding: 12px 20px 12px 35px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.1);
        color: white;
        padding-left: 40px;
    }

    /* Disable hover on mobile */

    .nav-item:hover .dropdown-menu {
        max-height: 0;
    }

    .nav-item.open .dropdown-menu,
    .nav-item.open:hover .dropdown-menu {
        max-height: 400px;
    }

    .superiors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-text h1 {
        font-size: 22px;
    }

    .superior-header {
        flex-direction: column;
        text-align: center;
    }

    .superior-header-photo {
        margin-right: 0;
        margin-bottom: 20px;
    }
}


/* =========================================================
   MOBILE 768px
========================================================= */

@media (max-width: 768px) {

    .header-top {
        display: none;
    }

    .logo {
        width: 55px;
        height: 55px;
    }

    .logo i {
        font-size: 26px;
    }

    .logo-text h1 {
        font-size: 15px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h2 {
        font-size: 26px;
    }

    .hero p {
        font-size: 14px;
    }

    .slider-img {
        height: 300px;
    }

    .custom-caption h2 {
        font-size: 20px;
    }

    .custom-caption p {
        font-size: 14px;
    }

    .superiors-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 26px;
    }

    .superiors,
    .about-section {
        padding: 50px 0;
    }

    .superior-header-photo {
        width: 200px;
        height: 200px;
    }

    .superior-header-info h2 {
        font-size: 28px;
    }

    .superior-header-info .designation {
        font-size: 20px;
    }

    .superior-detail-content {
        padding: 25px;
    }

    .superior-detail-content h3 {
        font-size: 22px;
    }
}


/* =========================================================
   MOBILE 480px
========================================================= */

@media (max-width: 480px) {

    .container {
        padding: 0 15px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .about-card {
        padding: 25px 20px;
    }

    .superior-header-photo {
        width: 180px;
        height: 180px;
    }

    .superior-header-info h2 {
        font-size: 24px;
    }

    .superior-header-info .designation {
        font-size: 18px;
    }

    .superior-detail-content {
        padding: 20px;
    }

    .superior-detail-content h3 {
        font-size: 20px;
    }
}
/* =========================================================
   PRIVATE UNIVERSITIES - PREMIUM DESIGN
   ========================================================= */

:root {
    --uni-primary: #0b4f8a;
    --uni-primary-dark: #07365f;
    --uni-primary-light: #eaf4fc;

    --uni-secondary: #1d7a46;
    --uni-gold: #f2a900;
    --uni-gold-light: #fff4d6;

    --uni-text: #1f2937;
    --uni-muted: #6b7280;
    --uni-border: #e5e7eb;
    --uni-white: #ffffff;
    --uni-bg: #f5f8fc;

    --uni-shadow: 0 10px 30px rgba(15, 55, 90, 0.10);
    --uni-shadow-hover: 0 18px 45px rgba(15, 55, 90, 0.16);

    --uni-radius: 16px;
}


/* =========================================================
   MAIN SECTION
   ========================================================= */

.universities-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0 90px;
    background:
        radial-gradient(circle at 10% 10%, rgba(11, 79, 138, 0.06), transparent 30%),
        radial-gradient(circle at 90% 85%, rgba(242, 169, 0, 0.07), transparent 28%),
        var(--uni-bg);
    min-height: 100vh;
}

.universities-section .container {
    position: relative;
    z-index: 2;
    max-width: 1250px;
}


/* =========================================================
   FLOATING ICONS
   ========================================================= */

.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: rgba(11, 79, 138, 0.045);
    font-size: 70px;
    animation: uniFloat 7s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 8%;
    left: 3%;
}

.floating-icon:nth-child(2) {
    top: 25%;
    right: 4%;
    font-size: 85px;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    top: 55%;
    left: 1%;
    font-size: 65px;
    animation-delay: 2s;
}

.floating-icon:nth-child(4) {
    top: 70%;
    right: 3%;
    font-size: 75px;
    animation-delay: 3s;
}

.floating-icon:nth-child(5) {
    bottom: 5%;
    left: 15%;
    font-size: 55px;
    animation-delay: 4s;
}

.floating-icon:nth-child(6) {
    bottom: 12%;
    right: 15%;
    font-size: 65px;
    animation-delay: 5s;
}

@keyframes uniFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.page-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 55px;
}

.university-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    margin-bottom: 20px;

    background: var(--uni-gold-light);
    border: 1px solid rgba(242, 169, 0, 0.25);
    color: #8a5b00;

    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.university-badge i {
    color: var(--uni-gold);
    font-size: 15px;
}

.page-header-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background: linear-gradient(
        135deg,
        var(--uni-primary),
        #1a72b8
    );

    color: white;
    font-size: 35px;

    box-shadow: 0 15px 35px rgba(11, 79, 138, 0.22);
    transform: rotate(-2deg);
}

.page-title {
    margin: 0;

    color: var(--uni-primary-dark);

    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.page-title span {
    color: var(--uni-secondary);
}

.page-subtitle {
    max-width: 760px;
    margin: 18px auto 0;

    color: var(--uni-muted);

    font-size: 16px;
    line-height: 1.8;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 22px;
}

.title-decoration span {
    width: 70px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--uni-gold)
    );
}

.title-decoration span:last-child {
    background: linear-gradient(
        90deg,
        var(--uni-gold),
        transparent
    );
}

.title-decoration i {
    color: var(--uni-gold);
    font-size: 12px;
}

.title-decoration i:nth-of-type(2) {
    font-size: 15px;
}


/* =========================================================
   STATS
   ========================================================= */

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    gap: 16px;

    padding: 22px;

    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--uni-border);
    border-radius: var(--uni-radius);

    box-shadow: var(--uni-shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.stat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;

    background: linear-gradient(
        180deg,
        var(--uni-primary),
        var(--uni-secondary)
    );
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--uni-shadow-hover);
    border-color: rgba(11, 79, 138, 0.18);
}

.stat-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--uni-primary-light);
    color: var(--uni-primary);

    font-size: 21px;
}

.stat-number {
    color: var(--uni-primary-dark);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    margin-top: 6px;
    color: var(--uni-muted);
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   FILTER BAR
   ========================================================= */

.filter-bar {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) auto auto;
    gap: 15px;
    align-items: center;

    padding: 18px;

    background: #fff;
    border: 1px solid var(--uni-border);
    border-radius: var(--uni-radius);

    box-shadow: var(--uni-shadow);

    margin-bottom: 16px;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);

    color: var(--uni-primary);
}

.search-box input {
    width: 100%;
    height: 48px;

    padding: 0 18px 0 46px;

    border: 1px solid var(--uni-border);
    border-radius: 10px;

    background: #f9fbfd;

    color: var(--uni-text);
    font-size: 14px;

    outline: none;

    transition: all 0.25s ease;
}

.search-box input::placeholder {
    color: #9ca3af;
}

.search-box input:focus {
    background: white;
    border-color: var(--uni-primary);
    box-shadow: 0 0 0 4px rgba(11, 79, 138, 0.08);
}


/* =========================================================
   FILTER BUTTONS
   ========================================================= */

.filter-buttons {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.filter-btn {
    border: 1px solid var(--uni-border);
    background: #fff;

    color: var(--uni-muted);

    padding: 10px 14px;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;
}

.filter-btn i {
    margin-right: 4px;
}

.filter-btn:hover {
    color: var(--uni-primary);
    border-color: var(--uni-primary);
    background: var(--uni-primary-light);
}

.filter-btn.active {
    color: #fff;
    border-color: var(--uni-primary);

    background: linear-gradient(
        135deg,
        var(--uni-primary),
        #176baa
    );

    box-shadow: 0 5px 15px rgba(11, 79, 138, 0.20);
}


/* =========================================================
   VIEW TOGGLE
   ========================================================= */

.view-toggle {
    display: flex;
    gap: 5px;
    padding: 4px;

    background: #f1f5f9;
    border-radius: 10px;
}

.view-btn {
    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 7px;

    background: transparent;
    color: var(--uni-muted);

    cursor: pointer;

    transition: all 0.25s ease;
}

.view-btn:hover {
    color: var(--uni-primary);
}

.view-btn.active {
    background: #fff;
    color: var(--uni-primary);

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   RESULTS INFO
   ========================================================= */

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px 4px;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--uni-muted);

    font-size: 13px;
    font-weight: 600;
}

.results-count i {
    color: var(--uni-primary);
}

.results-count span {
    color: var(--uni-primary);
    font-weight: 800;
}


/* =========================================================
   TABLE
   ========================================================= */

.universities-table-container {
    overflow-x: auto;

    background: white;

    border: 1px solid var(--uni-border);
    border-radius: var(--uni-radius);

    box-shadow: var(--uni-shadow);
}

.universities-table {
    width: 100%;
    min-width: 1000px;

    border-collapse: collapse;
}

.universities-table thead {
    background: linear-gradient(
        135deg,
        var(--uni-primary-dark),
        var(--uni-primary)
    );
}

.universities-table th {
    padding: 18px 16px;

    color: white;

    font-size: 12px;
    font-weight: 700;

    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    white-space: nowrap;
}

.universities-table th i {
    margin-right: 6px;
    opacity: 0.8;
}

.universities-table td {
    padding: 17px 16px;

    border-bottom: 1px solid #edf0f3;

    color: var(--uni-text);

    font-size: 13px;

    vertical-align: middle;
}

.universities-table tbody tr {
    transition: background 0.2s ease;
}

.universities-table tbody tr:hover {
    background: #f8fbff;
}

.universities-table tbody tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   SERIAL NUMBER
   ========================================================= */

.university-serial {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--uni-primary-light);
    color: var(--uni-primary);

    border-radius: 9px;

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   UNIVERSITY INFO
   ========================================================= */

.university-info {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 260px;
}

.university-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #eaf4fc,
        #dcecf9
    );

    color: var(--uni-primary);

    font-size: 18px;
}

.university-name {
    color: var(--uni-primary-dark);

    font-size: 14px;
    font-weight: 750;

    line-height: 1.4;
}

.university-established {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-top: 5px;

    padding: 4px 8px;

    border-radius: 6px;

    background: #f1f5f9;
    color: var(--uni-muted);

    font-size: 10px;
    font-weight: 600;
}


/* =========================================================
   LOCATION
   ========================================================= */

.location-cell {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--uni-text);
    white-space: nowrap;
}

.location-cell i {
    color: var(--uni-primary);
}


/* =========================================================
   WEBSITE BUTTON
   ========================================================= */

.website-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 13px;

    border-radius: 8px;

    background: var(--uni-primary-light);
    color: var(--uni-primary);

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: all 0.25s ease;
}

.website-btn:hover {
    color: white;

    background: linear-gradient(
        135deg,
        var(--uni-primary),
        #176baa
    );

    transform: translateY(-2px);
}


/* =========================================================
   EMAIL
   ========================================================= */

.email-cell {
    min-width: 220px;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--uni-primary);

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    overflow-wrap: anywhere;
}

.email-link:hover {
    text-decoration: underline;
}

.email-link i {
    flex-shrink: 0;
}

.email-secondary {
    margin-top: 5px;
    margin-left: 21px;

    color: #9ca3af;

    font-size: 10px;

    overflow-wrap: anywhere;
}


/* =========================================================
   STATUS
   ========================================================= */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    background: #ecfdf3;
    color: #16834a;

    border: 1px solid #c9f0da;

    border-radius: 50px;

    font-size: 11px;
    font-weight: 700;
}

.status-badge i {
    font-size: 7px;
}


/* =========================================================
   GRID VIEW
   ========================================================= */

.universities-grid {
    display: none;

    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.university-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: white;

    border: 1px solid var(--uni-border);
    border-radius: var(--uni-radius);

    box-shadow: var(--uni-shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.university-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--uni-shadow-hover);
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.university-card-header {
    position: relative;
    overflow: hidden;

    padding: 28px 22px 24px;

    background: linear-gradient(
        135deg,
        var(--uni-primary-dark),
        var(--uni-primary)
    );

    color: white;
}

.card-pattern {
    position: absolute;

    right: -10px;
    bottom: -20px;

    font-size: 110px;

    opacity: 0.08;

    transform: rotate(-10deg);
}

.card-number {
    position: absolute;
    top: 15px;
    right: 17px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.15);

    font-size: 11px;
    font-weight: 800;
}

.card-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 14px;

    background: rgba(255,255,255,0.14);

    font-size: 22px;
}

.university-card-header h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 13px;

    color: white;

    font-size: 18px;
    line-height: 1.4;
}

.card-established-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 10px;

    background: rgba(255,255,255,0.13);

    border: 1px solid rgba(255,255,255,0.18);

    border-radius: 7px;

    color: white;

    font-size: 10px;
    font-weight: 600;
}


/* =========================================================
   CARD BODY
   ========================================================= */

.university-card-body {
    flex: 1;
    padding: 22px;
}

.card-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 18px;
}

.card-info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--uni-primary-light);
    color: var(--uni-primary);

    font-size: 14px;
}

.info-label {
    margin-bottom: 4px;

    color: #9ca3af;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.info-value {
    color: var(--uni-text);

    font-size: 12px;
    line-height: 1.5;

    overflow-wrap: anywhere;
}

.info-value a {
    color: var(--uni-primary);
    text-decoration: none;
    font-weight: 600;
}

.info-value a:hover {
    text-decoration: underline;
}

.info-value-secondary {
    margin-top: 3px;

    color: #9ca3af;

    font-size: 10px;

    overflow-wrap: anywhere;
}


/* =========================================================
   CARD FOOTER
   ========================================================= */

.university-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 15px 20px;

    border-top: 1px solid #edf0f3;

    background: #fafcff;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #16834a;

    font-size: 11px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;

    display: inline-block;

    border-radius: 50%;

    background: #20a05a;

    box-shadow: 0 0 0 4px rgba(32,160,90,0.10);
}

.card-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 13px;

    border-radius: 8px;

    background: linear-gradient(
        135deg,
        var(--uni-primary),
        #176baa
    );

    color: white;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    transition: all 0.25s ease;
}

.card-visit-btn:hover {
    color: white;
    transform: translateX(3px);
    box-shadow: 0 6px 15px rgba(11,79,138,0.20);
}


/* =========================================================
   NO RESULTS
   ========================================================= */

.no-results {
    display: none;

    padding: 70px 20px;

    text-align: center;

    background: white;

    border: 1px solid var(--uni-border);
    border-radius: var(--uni-radius);

    box-shadow: var(--uni-shadow);
}

.no-results i {
    display: block;

    margin-bottom: 18px;

    color: #cbd5e1;

    font-size: 55px;
}

.no-results h3 {
    margin: 0 0 8px;

    color: var(--uni-primary-dark);

    font-size: 21px;
}

.no-results p {
    margin: 0;

    color: var(--uni-muted);

    font-size: 13px;
}


/* =========================================================
   SCROLL TOP
   ========================================================= */

.scroll-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        var(--uni-primary),
        #176baa
    );

    color: white;

    box-shadow: 0 8px 20px rgba(11,79,138,0.25);

    cursor: pointer;

    z-index: 999;

    transition: all 0.25s ease;
}

.scroll-top:hover {
    transform: translateY(-4px);
}


/* =========================================================
   TABLE -> GRID CONTROL
   ========================================================= */

.universities-section.grid-active
    .universities-table-container {
    display: none;
}

.universities-section.grid-active
    .universities-grid {
    display: grid;
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .universities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        justify-content: flex-start;
    }

    .view-toggle {
        width: fit-content;
    }
}


@media (max-width: 768px) {

    .universities-section {
        padding: 55px 0 65px;
    }

    .page-header {
        margin-bottom: 38px;
    }

    .page-header-icon {
        width: 68px;
        height: 68px;
        border-radius: 18px;
        font-size: 28px;
    }

    .page-title {
        font-size: 34px;
    }

    .page-subtitle {
        padding: 0 10px;
        font-size: 14px;
        line-height: 1.7;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
        gap: 11px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 17px;
    }

    .stat-number {
        font-size: 23px;
    }

    .filter-bar {
        padding: 13px;
    }

    .filter-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-btn {
        width: 100%;
        padding: 10px 8px;
    }

    .view-toggle {
        width: 100%;
    }

    .view-btn {
        flex: 1;
    }

    .universities-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .university-card-header {
        padding: 23px 18px;
    }

    .university-card-body {
        padding: 18px;
    }

    .university-card-footer {
        padding: 13px 16px;
    }

    .scroll-top {
        right: 15px;
        bottom: 15px;

        width: 40px;
        height: 40px;
    }
}


@media (max-width: 480px) {

    .universities-section {
        padding-top: 40px;
    }

    .university-badge {
        padding: 7px 12px;
        font-size: 11px;
    }

    .page-title {
        font-size: 29px;
    }

    .page-subtitle {
        font-size: 13px;
    }

    .title-decoration span {
        width: 40px;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        display: block;
        text-align: center;
        padding: 16px 8px;
    }

    .stat-icon {
        margin: 0 auto 10px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 10px;
    }

    .filter-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .search-box input {
        height: 45px;
        font-size: 12px;
    }

    .university-card-header h3 {
        font-size: 16px;
    }

    .card-visit-btn {
        padding: 8px 10px;
        font-size: 10px;
    }
}


/* =========================================================
   APPEIRC INSPECTION PAGE
   Modern responsive design
========================================================= */

.inspection-page {
    background: #f5f8fc;
    color: #172033;
    min-height: 100vh;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.inspection-hero {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(9, 56, 102, .96), rgba(18, 111, 166, .88)),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.16), transparent 32%);
}

.inspection-hero::before,
.inspection-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
}

.inspection-hero::before {
    width: 430px;
    height: 430px;
    right: -150px;
    top: -230px;
}

.inspection-hero::after {
    width: 260px;
    height: 260px;
    left: -130px;
    bottom: -170px;
}

.inspection-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.16), transparent 70%);
}

.inspection-hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    color: #fff;
    padding: 70px 0;
}

.inspection-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.inspection-eyebrow::before,
.section-kicker::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.inspection-hero h1 {
    max-width: 820px;
    margin: 14px 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 800;
}

.inspection-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 17px;
    line-height: 1.75;
}

.inspection-intro {
    padding: 75px 0 90px;
}

.inspection-container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-kicker {
    color: #116da5;
}

.section-heading h2 {
    margin: 10px 0 10px;
    color: #102d4c;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
}

.section-heading p {
    max-width: 700px;
    margin: auto;
    color: #68778a;
    line-height: 1.7;
}

.inspection-grid {
    display: grid;
    gap: 28px;
}

.inspection-card {
    background: #fff;
    border: 1px solid #e5ebf2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(20, 50, 80, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.inspection-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(20, 50, 80, .12);
}

.inspection-card-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 30px 18px;
}

.inspection-number {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eaf4fb;
    color: #10699e;
    font-size: 14px;
    font-weight: 800;
}

.inspection-card h2 {
    margin: 0;
    color: #173958;
    font-size: clamp(19px, 2.1vw, 27px);
    line-height: 1.35;
    font-weight: 750;
}

.inspection-body {
    padding: 0 30px 20px;
}

.inspection-body p {
    margin: 0 0 12px;
    color: #536477;
    font-size: 15px;
    line-height: 1.85;
}

.inspection-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 30px 30px;
}

.inspection-photo {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    background: #e9eef3;
}

.inspection-photo::after {
    content: "View photo";
    position: absolute;
    inset: auto 10px 10px auto;
    padding: 6px 10px;
    border-radius: 7px;
    background: rgba(0,0,0,.58);
    color: #fff;
    font-size: 11px;
    opacity: 0;
    transform: translateY(5px);
    transition: .25s ease;
}

.inspection-photo:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.inspection-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.inspection-photo:hover img {
    transform: scale(1.045);
}

/* Tablet */
@media (max-width: 768px) {

    .inspection-hero {
        min-height: 300px;
    }

    .inspection-hero-content {
        width: min(100% - 30px, 1180px);
        padding: 55px 0;
    }

    .inspection-hero p {
        font-size: 15px;
    }

    .inspection-intro {
        padding: 55px 0 65px;
    }

    .inspection-container {
        width: min(100% - 30px, 1180px);
    }

    .inspection-card-head {
        padding: 22px 20px 14px;
        gap: 12px;
    }

    .inspection-number {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .inspection-body {
        padding: 0 20px 16px;
    }

    .inspection-gallery {
        padding: 0 20px 20px;
        gap: 10px;
    }
}

/* Mobile */
@media (max-width: 560px) {

    .inspection-hero h1 {
        font-size: 31px;
    }

    .inspection-hero p {
        font-size: 14px;
        line-height: 1.65;
    }

    .inspection-intro {
        padding: 45px 0 55px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .inspection-card {
        border-radius: 14px;
    }

    .inspection-card-head {
        padding: 18px 16px 12px;
    }

    .inspection-card h2 {
        font-size: 18px;
    }

    .inspection-body {
        padding: 0 16px 14px;
    }

    .inspection-body p {
        font-size: 14px;
        line-height: 1.7;
    }

    .inspection-gallery {
        grid-template-columns: 1fr;
        padding: 0 16px 16px;
    }

    .inspection-photo {
        aspect-ratio: 16 / 10;
    }
}

/* =========================================
   DATE & TIME BAR
========================================= */

.datetime-bar {
    width: auto;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.datetime-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;

    /* Remove underline / bottom line */
    text-decoration: none;
    border: none;
    box-shadow: none;
}

.datetime-content span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    border: none;
}

/* Calendar & Clock icons */
.datetime-content .fa-calendar-alt {
    color: #ffd21f !important;
}

.datetime-content .fa-clock {
    color: #ffffff !important;
}

/* Separator */
.datetime-separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 3px;
    border: none;
    text-decoration: none;
}

/* Make sure no underline appears */
.datetime-content,
.datetime-content span,
.datetime-content i {
    border-bottom: none !important;
    text-decoration: none !important;
}

/* Mobile */
@media (max-width: 768px) {

    .datetime-content {
        font-size: 11px;
        gap: 5px;
    }

    .datetime-separator {
        margin: 0 2px;
    }
}

/* =========================================
   FIXED / STICKY NAVIGATION
========================================= */

#mainNavbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
}

/* =========================================
   FIX COMPLETE HEADER ON SCROLL
========================================= */

.site-fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
}

.site-fixed-header .header-top,
.site-fixed-header .header-main,
.site-fixed-header .navbar {
    position: relative;
    width: 100%;
}

/* Space for fixed header */
body {
    padding-top: 205px;
}



/* =========================================
   ATTRACTIVE INSPECTION PAGINATION
   ========================================= */

.inspection-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px auto 20px;
    padding: 18px 20px;
    max-width: 850px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Page number container */
#pageNumbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* All pagination buttons */
.inspection-pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 40px;

    padding: 0 13px;

    border: 1px solid #d9dee7;
    border-radius: 8px;

    background: #ffffff;
    color: #333;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;
}

/* Hover */
.inspection-pagination button:hover:not(:disabled) {
    background: #8b0000;
    color: #ffffff;
    border-color: #8b0000;

    transform: translateY(-2px);

    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.20);
}

/* Active page */
.inspection-pagination button.active {
    background: #8b0000;
    color: #ffffff;

    border-color: #8b0000;

    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.25);
}

/* Previous / Next buttons */
#prevPage,
#nextPage {
    min-width: 90px;
    padding: 0 16px;

    background: #f7f8fa;
    color: #333;

    font-weight: 600;
}

/* Disabled Previous / Next */
.inspection-pagination button:disabled {
    background: #f1f1f1;
    color: #aaa;
    border-color: #e5e5e5;

    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Page information */
.inspection-pagination .page-info {
    width: 100%;

    text-align: center;

    margin-top: 8px;

    font-size: 14px;
    font-weight: 500;

    color: #666;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 576px) {

    .inspection-pagination {
        margin: 25px 10px 15px;
        padding: 15px 10px;
        gap: 6px;
        border-radius: 10px;
    }

    #pageNumbers {
        gap: 4px;
    }

    .inspection-pagination button {
        min-width: 36px;
        height: 36px;

        padding: 0 9px;

        font-size: 13px;
        border-radius: 7px;
    }

    #prevPage,
    #nextPage {
        min-width: 75px;
        padding: 0 10px;
    }

    .inspection-pagination .page-info {
        font-size: 13px;
        margin-top: 6px;
    }
}

.header-main {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
}

.header-main .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main header row */
.logo-section {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
}

/* =========================================
   LEFT LOGO
   ========================================= */

.logo {
    width: 65px;
    height: 65px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #8b0000;
    color: #ffffff;

    border-radius: 50%;

    font-size: 30px;

    box-shadow: 0 3px 10px rgba(139, 0, 0, 0.20);
}

/* =========================================
   CENTER TEXT
   ========================================= */

.logo-text {
    flex: 1;
    min-width: 0;
}

.logo-text h1 {
    margin: 0 0 6px 0;

    color: #8b0000;

    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.logo-text p {
    margin: 0;

    color: #555555;

    font-size: 13px;
    line-height: 1.5;
}

/* =========================================
   RIGHT LOGO
   ========================================= */

.right-logo {
    width: 80px;
    height: 80px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.right-logo img {
    width: 75px;
    height: 75px;

    object-fit: contain;

    display: block;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .logo-text h1 {
        font-size: 21px;
    }

    .logo-text p {
        font-size: 12px;
    }

    .logo {
        width: 58px;
        height: 58px;
        font-size: 26px;
    }

    .right-logo {
        width: 65px;
        height: 65px;
    }

    .right-logo img {
        width: 62px;
        height: 62px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .header-main {
        padding: 10px 0;
    }

    .header-main .container {
        padding: 0 12px;
    }

    .logo-section {
        gap: 10px;
    }

    /* Left logo */
    .logo {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    /* Center text */
    .logo-text h1 {
        font-size: 15px;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .logo-text p {
        font-size: 9px;
        line-height: 1.3;
    }

    /* Right logo */
    .right-logo {
        width: 48px;
        height: 48px;
    }

    .right-logo img {
        width: 46px;
        height: 46px;
    }
}


/* =========================================
   VERY SMALL MOBILE
   ========================================= */

@media (max-width: 400px) {

    .logo-section {
        gap: 7px;
    }

    .logo {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .logo-text h1 {
        font-size: 13px;
    }

    .logo-text p {
        font-size: 8px;
    }

    .right-logo {
        width: 42px;
        height: 42px;
    }

    .right-logo img {
        width: 40px;
        height: 40px;
    }
}