/* ===============================
   HERO SECTION
=================================*/
.facility-hero {
    position: relative;
    min-height: 100vh;

    display: flex;
    align-items: flex-start;
    color: #fff;
    /* margin-bottom: 3rem; */
    overflow: hidden;
}

/* Image as Background */
.facility-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: -2;
    background-repeat: no-repeat;
}



.facility-hero-content {
    max-width: 750px;
}

.facility-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 5px solid var(--primary);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.facility-hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.facility-hero-description {
    /* background: rgba(255, 255, 255, 0.05); */
    padding: 1rem;
    border-radius: 15px;

    line-height: 1.6;
}

/* ===============================
   CARD SECTION
=================================*/
.unique-card {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.unique-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.unique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
}

.unique-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* IMAGE */
.card-image {
    flex: 1 1 400px;
    min-height: 280px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 0.6s;
}

.unique-card:hover img {
    transform: scale(1.05);
}

/* CONTENT */
.card-content {
    flex: 2 1 500px;
    padding: 2rem;
}

.card-title {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.card-content-box {
    margin-bottom: 1.5rem;
}

.card-content-box h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.card-content-box ul {
    list-style: none;
}

.card-content-box ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.check-icon {
    color: var(--primary);
    margin-right: 8px;
}

/* ===============================
   SLIDER
=================================*/
.slider-container {
    margin: 3rem auto;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    text-align: center;
}

.slide img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.slide p {
    padding: 10px;
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.slider-btn {
    border: none;
    background: var(--primary);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}


#sliderCard {
    overflow: hidden;
}

#sliderCardTrack {
    display: flex;
    transition: transform 0.5s ease;
}

#sliderCardTrack img {
    width: 100%;
    flex-shrink: 0;
}

/* ===============================
   RESPONSIVE
=================================*/
@media (max-width: 992px) {
    .hero {
        /* min-height: 60vh; */
    }

    .slide img {
        height: 300px;
    }
}

@media (max-width: 768px) {

    .unique-card,
    .unique-card:nth-child(even) {
        flex-direction: column;
    }

    .card-content {
        padding: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .slide img {
        height: 250px;
    }

    .card-image {
        /* flex: unset; */
        min-height: unset;
    }

    .facility-hero {
        min-height: 60vh;
    }
}

@media (max-width: 480px) {

    .hero {}

    .hero-description {
        font-size: 0.9rem;
    }

    .slide img {
        height: 200px;
    }

    .facility-hero img {
        height: 77%;
    }
}