﻿:root {
    --orange: #F4640A;
    --orange-dark: #d9550a;
    --charcoal: #393939;
    --dark: #2a1a12;
    --peach: #fdece1;
    --gray-text: #5c5c5c;
    --white: #ffffff;
    --radius: 6px;
    --maxw: 1180px;
}

* {
    box-sizing: border-box;
}



body {
    margin: 0;
    color: var(--charcoal);
    line-height: 1.5;
    background: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Hero ---------- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--orange);
    align-items: stretch;
    overflow: hidden;
    margin-top: 129px;
    position:relative;
}

    .hero::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        background: linear-gradient(100deg, var(--orange) 53.5%, #09040812 53.6%);
        width: 100%;
        z-index: 1;
    }

.hero-text {
    padding: 70px 60px 70px 24px;
    max-width: 640px;
    margin-left: auto;
    color: #fff;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    opacity: .95;
    background: inherit;
}

    .breadcrumb a {
        opacity: .9;
    }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

.hero-text h1 {
    font-size: 42px;
    line-height: 1.18;
    margin: 0 0 20px;
    font-weight: 800;
    color: #fff;
}

.hero-text p {
    font-size: 16px;
    opacity: .95;
    max-width: 480px;
}

.hero-image {
    position: relative;
    min-height: 340px;
}

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ---------- Section heading ---------- */
.section-heading {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 46px;
}

    .section-heading h2 {
        color: var(--orange);
        font-size: 34px;
        font-weight: 800;
        margin: 0 0 18px;
    }

    .section-heading p {
        color: var(--gray-text);
        font-size: 15.5px;
        line-height: 1.7;
    }

/* ---------- Overview grid ---------- */
.overview {
    padding: 80px 0 70px;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}

.facility-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
    background: #fff;
    position:relative;
}
  


    .facility-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    }

    .facility-card .thumb {
        height: 150px;
        overflow: hidden;
    }

        .facility-card .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .4s;
        }
    .facility-card

    .facility-card:hover .thumb img {
        transform: scale(1.08);
    }

    .facility-card:hover .label {
        top:0;
        
    }

    .facility-card .label {
        background: var(--orange);
        color: #fff;
        text-align: center;
        font-weight: 700;
        letter-spacing: .5px;
        font-size: 14.5px;
        padding: 14px 10px;
        display: block;
        position: absolute;
        top: 107px;
        width: 100%;
        transition:0.4s all ease;
      
    }

/* ---------- Stats strip ---------- */
.stats {
    background: var(--peach);
    padding: 60px 0;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.dotted-design {
    position: absolute;
    left: 97px;
    top: 10px;
}

.dotted-design2 {
    position: absolute;
    right: 83px;
    top: 11px;
}

.second-dot, .fa-spinner-third {
    margin-top: 28px;
}

.hero::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(102deg, #fff 54.5%, #09040812 54.6%);
    width: 100%;
    z-index: 0;
}
.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.stat-icon {
    width: 68px;
    height: 68px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    color: var(--orange);
}

    .stat-icon svg {
        width: 30px;
        height: 30px;
    }

.stat-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14.5px;
    color: var(--charcoal);
}

/* ---------- Department overview ---------- */

.facility-card .label > p {
    word-break: break-all;
    white-space: normal;
    font-weight: 400;
    font-size: 16px;
    margin-top: 13px;
}

.departments {
    padding: 80px 0;
}

.dept-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 38px;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
}

    .dept-header h2 {
        color: var(--orange);
        font-size: 28px;
        font-weight: 800;
        margin: 0;
        white-space: nowrap;
    }

.dept-tabs {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
}

.dept-tab {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-text);
    cursor: pointer;
    padding: 6px 2px 14px;
    position: relative;
    transition: color .2s;
}

    .dept-tab::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background: var(--orange);
        transform: scaleX(0);
        transition: transform .25s;
    }

    .dept-tab.active {
        color: var(--orange);
    }

        .dept-tab.active::after {
            transform: scaleX(1);
        }

.dept-panel {
    display: none;
}

    .dept-panel.active {
        display: block;
        animation: fadeIn .4s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.dept-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
}

    .dept-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    }

    .dept-card .thumb {
        height: 210px;
        overflow: hidden;
    }

        .dept-card .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .4s;
        }

    .dept-card:hover .thumb img {
        transform: scale(1.08);
    }

    .dept-card .label {
        background: var(--orange);
        color: #fff;
        text-align: center;
        font-weight: 600;
        font-size: 15px;
        padding: 13px 10px;
        display:block;
    }

/* ---------- CTA banner ---------- */
.cta {
    margin: 20px 24px 80px;
    max-width: calc(var(--maxw) - 0px);
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(100deg, rgba(20,20,20,.88), rgba(20,20,20,.45)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1400&q=60') center/cover no-repeat;
    border-radius: 12px;
    padding: 70px 60px;
    display: flex;
    align-items: center;
    color: #fff;
    min-height: 280px;
}

.cta-content {
    max-width: 520px;
}

    .cta-content h2 {
        color: var(--orange);
        font-size: 32px;
        font-weight: 800;
        margin: 0 0 16px;
    }

    .cta-content p {
        font-size: 15px;
        opacity: .9;
        margin-bottom: 28px;
        max-width: 440px;
    }

.btn-outline {
    display: inline-block;
    border: 1.5px solid #fff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: background .2s, color .2s;
    background: transparent;
    cursor: pointer;
}

    .btn-outline:hover {
        background: #fff;
        color: var(--dark);
    }


/* ---------- Lightbox ---------- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,15,10,0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

    .lightbox.active {
        display: flex;
    }

    .lightbox img {
        max-width: 90vw;
        max-height: 80vh;
        border-radius: 6px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }

.lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-weight: 600;
    letter-spacing: .5px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
}

    .lightbox-close:hover {
        color: var(--orange);
    }





/* ---------- Responsive ---------- */

@media(max-width:1199px){
    .dotted-design, .dotted-design2 {
        max-width: 379px;
    }
}

@media(max-width:991.98px){
    .dotted-design, .dotted-design2 {
        max-width: 261px;
    }

    .dotted-design {
        left: 72px;
    }

    .second-dot, .fa-spinner-third {
        margin-top: 10px;
    }
}

@media (max-width:960px) {
    .facility-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .dotted-design, .dotted-design2{
        display:none;
    }
    .hero::before, .hero::after{
      display:none;
    }
    .second-dot, .fa-spinner-third{
        margin:0;
    }
    .dept-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-text {
        margin: 0;
        padding: 50px 24px;
        max-width: 100%;
    }



    .hero-image {
        min-height: 260px;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 30px;
    }

        .stats-row::before {
            display: none;
        }

    .stat-item {
        flex: 1 1 40%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:767.98px){
    .overview {
        padding: 30px 0 70px;
    }
}

@media (max-width:720px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

        .nav-links.open {
            max-height: 400px;
        }

        .nav-links a {
            padding: 14px 24px;
            width: 100%;
            border-bottom: 1px solid #f2f2f2;
        }

    .nav-toggle {
        display: flex;
    }

    .navbar .btn-apply {
        display: none;
    }

    .facility-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .dept-grid {
        grid-template-columns: 1fr;
    }

    .dept-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dept-tabs {
        gap: 20px;
        width: 100%;
        overflow-x: auto;
    }

    .cta {
        padding: 40px 26px;
        margin: 20px 16px 60px;
    }

    .cta-content h2 {
        font-size: 26px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .topbar-contacts {
        gap: 14px;
    }

        .topbar-contacts span {
            font-size: 12px;
        }
}

@media (max-width:720px) {
    .facility-grid {
        grid-template-columns: repeat(1,1fr);
    }
}

