﻿
/* Facilities Hero Section */
.facilities-hero {
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 80px;
}

.facilities-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.facilities-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #a94442;
    position: relative;
    padding-bottom: 15px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: #a94442;
    }

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 90px;
}

.facility-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .facility-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.facility-image {
    height: 220px;
    overflow: hidden;
}

    .facility-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.facility-card:hover .facility-image img {
    transform: scale(1.05);
}

.facility-content {
    padding: 15px;
}

.facility-name {
    font-size: 22px;
    font-weight: 600;
    color: #a94442;
    margin-bottom: 5px;
}

.facility-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* Back to Top Button */
/* .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: #a94442;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 999;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background-color: #8a3634;
        } */

/* Responsive Design */
@media (max-width: 992px) {
    .facilities-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {

    .facilities-hero h1 {
        font-size: 28px;
    }

    .facilities-hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .facility-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .facility-image {
        height: 200px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo img {
        height: 60px;
    }
}


