
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #071f36;
    --blue: #0867dc;
    --cyan: #00b9ec;
    --light-blue: #eaf5ff;
    --border: #b8d9fa;
    --text: #122b49;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: #fff;
}

html {
    scroll-behavior: smooth;
}

/* HEADER */

.header {
    width: 100%;
    min-height: 84px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4.5%;
    gap: 25px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    text-decoration: none;
    color: #ffc629;
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-weight: 800;
    flex-shrink: 0;
}

.logo-main {
    font-size: 34px;
    letter-spacing: -2px;
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 3px;
    color: #fff;
    text-align: right;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--cyan);
}

.navbar a.active {
    position: relative;
}

.navbar a.active::after {
    content: "";
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--cyan);
    bottom: -17px;
    left: 0;
    border-radius: 5px;
}

.navbar .contact-btn {
    background: #0789f5;
    padding: 15px 22px;
    border-radius: 7px;
}

/* MAIN */

.main-container {
    max-width: 1550px;
    margin: auto;
    padding: 25px 3.2% 65px;
}

/* BREADCRUMB */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--text);
    text-decoration: none;
}

.breadcrumb span:last-child {
    color: #66798c;
}

/* PAGE HEADING */

.page-heading {
    margin-bottom: 32px;
    position: relative;
}

.page-heading h1 {
    font-size: clamp(32px, 4vw, 49px);
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--navy);
}

.page-heading h1 span {
    color: var(--blue);
}

.page-heading p {
    font-size: 17px;
    margin-top: 8px;
    line-height: 1.7;
}

.heading-line {
    width: 105px;
    height: 6px;
    background: var(--blue);
    border-radius: 10px;
    margin-top: 17px;
}

/* OVERVIEW CARDS */

.overview-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 45px;
}

.overview-card {
    min-height: 110px;
    background: linear-gradient(120deg, #f2f9ff, #e4f2ff);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    transition: .3s;
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,80,150,.09);
}

.overview-icon {
    color: #07529a;
    font-size: 43px;
}

.overview-card p {
    color: #172b40;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
}

.overview-card h2 {
    font-size: 20px;
    color: var(--blue);
    font-weight: 800;
    white-space: nowrap;
}

.overview-card h2 small {
    font-size: 12px;
}

/* TABS */

.facility-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 28px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #edf6ff;
}

.tab-button {
    min-height: 72px;
    border: none;
    border-right: 1px solid var(--border);
    background: transparent;
    color: var(--navy);
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: .3s;
    padding: 10px;
}

.tab-button:last-child {
    border-right: none;
}

.tab-button:hover {
    background: #dceeff;
}

.tab-button.active {
    background: linear-gradient(120deg, #0799f4, #0754d8);
    color: white;
}

.tab-icon {
    font-size: 30px;
}

/* TAB CONTENT */

.tab-content {
    display: none;
    animation: fadeIn .4s ease;
}

.tab-content.active {
    display: block;
}

.details-panel {
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 25px 30px 30px;
    background: linear-gradient(120deg, #f7fbff, #ffffff);
}

.panel-heading {
    margin-bottom: 25px;
}

.panel-heading h2 {
    color: var(--navy);
    font-size: 27px;
    font-weight: 800;
}

.panel-heading p {
    color: #657b91;
    font-size: 13px;
    margin-top: 12px;
    line-height: 1.7;
}

.details-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 35px;
    align-items: center;
}

/* TABLE */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 9px;
    border: 1px solid var(--border);
}

th {
    background: #06477f;
    color: white;
    font-size: 14px;
    padding: 15px;
    text-align: center;
}

td {
    padding: 13px 15px;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 13px;
    color: #152b43;
}

td:last-child {
    border-right: none;
    text-align: center;
    font-weight: 700;
}

td:first-child {
    text-align: center;
}

tr:nth-child(even) {
    background: #edf6ff;
}

tr:hover {
    background: #e0f0ff;
}

.table-note {
    font-size: 10px;
    color: #718196;
    margin-top: 10px;
    line-height: 1.6;
}

/* SUMMARY CARD */

.area-summary {
    background: linear-gradient(140deg, #e5f3ff, #d7edff);
    border-radius: 13px;
    padding: 30px 20px;
    text-align: center;
}

.summary-icon {
    font-size: 53px;
    color: #07549b;
    margin-bottom: 10px;
}

.area-summary h3 {
    color: var(--navy);
    font-size: 16px;
    margin-bottom: 7px;
}

.area-summary h2 {
    color: var(--blue);
    font-size: 29px;
    font-weight: 800;
}

.summary-divider {
    height: 1px;
    background: #8bbff1;
    margin: 20px 0;
}

/* EQUIPMENT GRID */

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.equipment-card {
    background: #f0f7ff;
    border: 1px solid #d3e7fa;
    border-radius: 10px;
    padding: 24px;
    position: relative;
    min-height: 180px;
    transition: .3s;
}

.equipment-card:hover {
    border-color: var(--blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,70,130,.08);
}

.equipment-card > span {
    position: absolute;
    top: 15px;
    right: 18px;
    color: #9dbfdf;
    font-size: 18px;
    font-weight: 800;
}

.equipment-icon {
    color: var(--blue);
    font-size: 30px;
    margin-bottom: 12px;
}

.equipment-card h3 {
    font-size: 16px;
    color: var(--navy);
    margin-bottom: 9px;
}

.equipment-card p,
.equipment-card small {
    color: #657b91;
    font-size: 12px;
    line-height: 1.8;
}

/* FOOTER */

.footer {
    background: var(--navy);
    color: white;
    padding: 35px 5% 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h2 {
    color: #ffc629;
    font-size: 21px;
}

.footer-brand p {
    color: #c2d2df;
    font-size: 11px;
    margin-top: 7px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e2edf7;
    text-decoration: none;
    font-size: 11px;
}

.footer-links a:hover {
    color: var(--cyan);
}

.copyright {
    width: 100%;
    border-top: 1px solid #294257;
    padding-top: 18px;
    color: #aebdca;
    font-size: 10px;
    text-align: center;
}

/* ANIMATION */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */

@media(max-width: 1100px) {

    .header {
        flex-wrap: wrap;
        padding: 18px 4%;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .overview-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-button {
        font-size: 12px;
        gap: 8px;
    }

    .details-layout {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 700px) {

    .header {
        align-items: flex-start;
        flex-direction: column;
    }

    .navbar {
        width: 100%;
        gap: 13px;
    }

    .navbar a {
        font-size: 11px;
    }

    .main-container {
        padding: 20px 4%;
    }

    .page-heading h1 {
        font-size: 34px;
    }

    .page-heading p {
        font-size: 13px;
    }

    .overview-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .facility-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-button {
        border-bottom: 1px solid var(--border);
        min-height: 65px;
    }

    .details-panel {
        padding: 18px 12px;
    }

    .panel-heading h2 {
        font-size: 22px;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .area-summary h2 {
        font-size: 24px;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* Fix content hidden behind fixed navbar */
:root {
    --navbar-height: 90px;
}

.site-header {
    height: var(--navbar-height);
    z-index: 1000;
}

/* Facilities page top spacing */
.facilities-page {
    padding-top: 45px;
}

/* If the navbar is fixed, move page content below it */
body {
    padding-top: var(--navbar-height);
}

/* Facilities heading */
.facilities-page h1 {
    margin-top: 0;
    padding-top: 10px;
    line-height: 1.2;
}

/* Responsive spacing */
@media (max-width: 768px) {
    body {
        padding-top: 75px;
    }

    .facilities-page {
        padding: 25px 18px;
    }
}