/* about.css */

/* =========================================
   HERO BANNER
   ========================================= */
.about-hero {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-color: var(--secondary); /* fallback if no image */
    transition: background-image 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,58,16,0.55), rgba(0,58,16,0.8));
}

.about-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 300px;
}

.about-hero-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.about-hero-title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin: 0;
}

/* Banner fade animation */
.about-hero.banner-fade {
    opacity: 0.4;
    transition: opacity 0.25s ease;
}



/* =========================================
   TAB NAVIGATION
   ========================================= */
.about-tabs-wrapper {
    background: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 100;
    /* box-shadow: 0 3px 10px rgba(0,0,0,0.25); */
    display: flex;
    align-items: flex-end;
}

.about-tabs-scroll {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;        /* Firefox */
    -webkit-overflow-scrolling: touch;
}

.about-tabs-scroll::-webkit-scrollbar {
    display: none;                /* Chrome/Safari */
}

.about-tabs {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: max-content;       /* prevents wrapping, enables horizontal scroll */
    padding: 0 8px;
}

.about-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 6px 6px 0 0;
    color: rgba(255,255,255,0.75);
    font-family: "Roboto", sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 6px 24px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    margin-top: 6px;
}

.tab-btn:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
    border-radius: 6px 6px 0 0;
}

.tab-btn.active {
    background: var(--bg);
    color: var(--secondary);
    font-weight: 700;
    border-radius: 6px 6px 0 0;
}

/* Remove the old underline bar — no longer needed */
.tab-btn::after {
    display: none;
}


/* =========================================
   PANELS
   ========================================= */
.about-panels {
    min-height: 60vh;
}

.tab-panel {
    display: none;
    animation: fadeInPanel 0.35s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* =========================================
   SHARED CONTENT WRAPPER
   ========================================= */
.about-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px 60px;
}

.content-section {
    padding-top: 50px;
}

.content-section.alt-bg {
    background: #f3faf3;
    margin: 40px -30px 0;
    padding: 50px 30px 60px;
}

.section-intro {
    text-align: center;
    font-size: 16px;
    color: var(--gray-100);
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Info blocks (CLSU tab) */
.info-block {
    margin-bottom: 30px;
}

.info-block h4,
.about-content-wrapper h4 {
    margin-top: 0;
    font-size: 17px;
    text-align: left;
    padding: 4px 12px;
    border-left: 3px solid var(--tertiary);
    margin-bottom: 12px;
    color: var(--secondary);
}

.about-content-wrapper p {
    font-size: 15.5px;
    line-height: 1.75;
    text-align: justify;
    color: var(--d-gray);
}

.about-content-wrapper ul {
    padding-left: 20px;
}

.about-content-wrapper li {
    margin-bottom: 8px;
    font-size: 15.5px;
    line-height: 1.7;
}


/* =========================================
   MVP CARDS (Philosophy / Vision / Mission)
   ========================================= */

.mvp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 10px;
}

.mvp-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 320px;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    background-color: var(--secondary); /* fallback if no image */
    cursor: default;
}


/* Background image zoom on hover */
.mvp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 0;
}

/* Dark base overlay (always on) */
.mvp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 58, 16, 0.65);
    transition: background 0.35s ease;
    z-index: 1;
}

/* Hover: overlay becomes light green transparent + image zooms */
.mvp-card:hover::before {
    transform: scale(1.07);
}

.mvp-card:hover .mvp-overlay {
    background: rgba(78, 171, 24, 0.45);
}

/* Card content sits above both overlays */
.mvp-card-content {
    position: relative;
    z-index: 2;
    padding: 28px 24px;
    text-align: center;
    width: 100%;
}

.mvp-icon {
    font-size: 28px;
    color: var(--tertiary);
    margin-bottom: 14px;
}

.mvp-card.featured .mvp-icon {
    color: var(--tertiary);
}

.mvp-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mvp-card-content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    margin: 0;
}

@media (max-width: 992px) {
    .mvp-grid {
        grid-template-columns: 1fr;
    }
    .mvp-card {
        min-height: 240px;
    }
}


/* =========================================
   QUALITY POLICY STATEMENT
   ========================================= */
.qps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.qps-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    border-bottom: 4px solid var(--primary);
    padding: 36px 24px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.qps-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.qps-icon {
    font-size: 52px;
    color: var(--primary);
    margin-bottom: 18px;
    line-height: 1;
}

.qps-divider {
    width: 40px;
    height: 3px;
    background: var(--tertiary);
    border-radius: 2px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.qps-card p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--d-gray);
    text-align: center;
    margin: 0;
}

@media (max-width: 992px) {
    .qps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .qps-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   CORE VALUES LIST (CLSU tab)
   ========================================= */
.values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.value-item {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 20px;
    /* border-left: 4px solid var(--primary); */
    transition: box-shadow 0.2s;
}

.value-item:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.value-label {
    font-weight: 700;
    font-size: 15px;
    color: var(--secondary);
    margin-bottom: 8px;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.value-item p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}


/* =========================================
   TIMELINE (History tab)
   ========================================= */
.timeline {
    position: relative;
    padding-left: 60px;
    margin-top: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--yellow-green));
}

.timeline-item {
    position: relative;
    margin-bottom: 42px;
}

.timeline-marker {
    position: absolute;
    left: -46px;
    top: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.timeline-year {
    background: var(--secondary);
    color: var(--tertiary);
    font-weight: 700;
    font-size: 12px;
    padding: 4px 8px;
    height: 19px;
    width: 15px;
    border-radius: 50%;
    white-space: nowrap;
    font-family: "Roboto", sans-serif;
    letter-spacing: 0.5px;
    border: 2px solid var(--tertiary);
}

.timeline-body {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 22px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}

.timeline-body:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.timeline-body h4 {
    border-left: 3px solid var(--tertiary);
    color: var(--secondary) !important;
    padding: 2px 10px;
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-body p {
    font-size: 14.5px;
    margin: 0;
}


/* =========================================
   OBJECTIVES GRID
   ========================================= */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.objective-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.objective-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.objective-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 36px;
    font-weight: 900;
    color: rgba(3,131,3,0.08);
    font-family: "Roboto Condensed", sans-serif;
    line-height: 1;
}

.objective-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 14px;
}

.objective-card h4 {
    font-size: 17px;
    color: var(--secondary);
    border-left: 3px solid var(--tertiary);
    padding: 2px 10px;
    margin-bottom: 12px;
}

.objective-card p {
    font-size: 14.5px;
    line-height: 1.7;
    text-align: left;
}


/* =========================================
   ADMINISTRATION ORG CHART
   ========================================= */
.admin-org-chart {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.admin-org-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}

/* Responsive scaling */
@media (max-width: 768px) {
    .admin-org-image {
        max-width: 100%;
    }
}


/* =========================================
   DEPARTMENTS GRID
   ========================================= */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 16px;
    margin-top: 30px;
}

/* Make the 3rd card (last row) centered as a single column */
.dept-card:nth-child(5),
.dept-card:nth-child(6) {
    grid-column: auto;
}

/* If you have exactly 3 cards, center the last one */
.dept-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
}

.dept-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 300px;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    background-color: var(--secondary);
    cursor: default;
}

/* Background zoom layer */
.dept-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 0;
}

.dept-card:hover::before {
    transform: scale(1.07);
}

/* Dark base overlay */
.dept-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 58, 16, 0.60);
    transition: background 0.35s ease;
    z-index: 1;
}

/* Light green on hover */
.dept-card:hover .dept-overlay {
    background: rgba(78, 171, 24, 0.45);
}

/* Content */
.dept-card-content {
    position: relative;
    z-index: 2;
    padding: 28px 28px 28px;
    width: 100%;
}

.dept-card-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    border: none !important;
    padding: 0 !important;
    text-align: center;
}

.dept-card-content p {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    text-align: justify;
    margin: 0;
}

@media (max-width: 768px) {
    .dept-grid {
        grid-template-columns: 1fr;
    }

    .dept-card:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: 100%;
    }

    .dept-card {
        min-height: 250px;
    }
}


/* =========================================
   MEMBERSHIP GRID
   ========================================= */
.membership-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
    justify-content: center;
}

.membership-card {
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: default;
}

.membership-logo-wrap {
    width: 280px;
    height: 280px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.membership-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.membership-card:hover .membership-logo-wrap {
    background: rgba(78, 171, 24, 0.15);
    box-shadow: 0 6px 20px rgba(78, 171, 24, 0.2);
    border-color: var(--primary);
}

.membership-card:hover .membership-logo-wrap img {
    transform: scale(1.1);
}

.membership-title {
    margin-top: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--d-gray);
    text-align: center;
    font-family: "Roboto", sans-serif;
}

@media (max-width: 576px) {
    .membership-card {
        width: 140px;
    }
    .membership-logo-wrap {
        width: 140px;
        height: 140px;
    }
}


/* =========================================
   ALUMNI
   ========================================= */
.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.alumni-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}

.alumni-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.alumni-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary);
}

.alumni-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alumni-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    border: none !important;
    padding: 0 !important;
    margin-bottom: 4px;
}

.alumni-program {
    font-size: 12.5px;
    color: var(--primary);
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.alumni-info p {
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.alumni-cta {
    margin-top: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 10px;
    overflow: hidden;
}

.alumni-cta-inner {
    padding: 50px 40px;
    text-align: center;
    color: var(--white);
}

.alumni-cta-inner h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.alumni-cta-inner p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 24px;
    text-align: center;
}

.alumni-cta-inner .btn-success {
    background: var(--tertiary);
    color: var(--secondary);
    font-weight: 700;
    border: none;
    padding: 12px 30px;
}

.alumni-cta-inner .btn-success:hover {
    background: var(--white);
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .mvp-grid {
        grid-template-columns: 1fr;
    }
    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .objectives-grid {
        grid-template-columns: 1fr;
    }
    .values-list {
        grid-template-columns: 1fr;
    }
    .accred-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 200px;
    }
    .about-hero-title {
        font-size: 28px;
    }
    .about-hero-logo {
        height: 50px;
    }
    .tab-btn {
        font-size: 12px;
        padding: 13px 15px;
    }
    .about-content-wrapper {
        padding: 0 16px 50px;
    }
    .content-section.alt-bg {
        margin: 40px -16px 0;
        padding: 40px 16px 50px;
    }
    .dept-grid {
        grid-template-columns: 1fr;
    }
    .accred-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .accred-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
    .timeline {
        padding-left: 50px;
    }
    .alumni-cta-inner {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .admin-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* =========================================
   CONTACT TAB
   ========================================= */
.contact-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-top: 30px;
}

/* MAP */
.contact-map {
    flex: 1.2;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    min-height: 360px;
}

.contact-map iframe {
    width: 100%;
    height: 360px;
    display: block;
    border: 0;
}

/* RIGHT SIDE */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 10px;
}

.contact-find-us {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    margin: 0;
}

.contact-find-bar {
    display: inline-block;
    width: 4px;
    height: 24px;
    background: var(--tertiary);
    border-radius: 2px;
    flex-shrink: 0;
}

/* Email & Phone row */
.contact-details-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.contact-detail-icon {
    width: 54px;
    height: 54px;
    border: 1.5px solid var(--border-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.contact-detail-item:hover .contact-detail-icon {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.contact-detail-item span {
    font-size: 14px;
    color: var(--d-gray);
    font-family: "Roboto", sans-serif;
    line-height: 1.4;
}

/* Socials row */
.contact-socials-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    text-decoration: none !important;
}

.contact-social-icon {
    width: 54px;
    height: 54px;
    border: 1.5px solid var(--border-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.contact-social-item:hover .contact-social-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.contact-social-item span {
    font-size: 14px;
    color: var(--d-gray);
    font-family: "Roboto", sans-serif;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
        gap: 30px;
    }

    .contact-map,
    .contact-map iframe {
        height: 260px;
    }

    .contact-details-grid,
    .contact-socials-grid {
        gap: 24px;
    }
}



/* =========================================
   FACILITIES TAB
   ========================================= */
.facility-group {
    margin-bottom: 40px;
}

.facility-label-bar {
    display: inline-block;
    width: 28px;
    height: 3px;
    background: var(--tertiary);
    border-radius: 2px;
    flex-shrink: 0;
}

.facility-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.facility-photo {
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--border-gray);
    aspect-ratio: 4 / 3;
    background: var(--light-gray);
}

.facility-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.facility-photo:hover img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

/* Lightbox-ready cursor */
.facility-photo img {
    cursor: zoom-in;
}

@media (max-width: 768px) {
    .facility-photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .facility-photos-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   FACILITY LIGHTBOX
   ========================================= */
.facility-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.facility-lightbox.active {
    display: flex;
}

.facility-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.facility-lightbox-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 40px 80px;
    box-sizing: border-box;
}

#lightboxImg {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    transition: opacity 0.15s ease;
    opacity: 1;
}

.facility-lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-family: "Roboto", sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Close button */
.facility-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.12);
    border: none;
    color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 3;
}

.facility-lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

/* Prev / Next buttons */
.facility-lightbox-prev,
.facility-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 3;
}

.facility-lightbox-prev { left: 20px; }
.facility-lightbox-next { right: 20px; }

.facility-lightbox-prev:hover,
.facility-lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}

@media (max-width: 768px) {
    .facility-lightbox-content {
        padding: 60px 16px 40px;
    }

    .facility-lightbox-prev { left: 8px; }
    .facility-lightbox-next { right: 8px; }
}