/* ===== Cleaning Services Page Styles ===== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f5f9fc;
    color: #333;
}

/* Section */
.services-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f0fbff 0%, #e9f6ff 100%);
    text-align: center;
}

/* Title */
.section-title {
    font-size: 2.6rem;
    color: #007bff;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.5px;
}

    .section-title::after {
        content: "";
        display: block;
        width: 90px;
        height: 4px;
        background-color: #00b894;
        margin: 12px auto 0;
        border-radius: 3px;
    }

/* Subtitle */
.section-subtitle {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Card */
.service-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    position: relative;
    cursor: pointer;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 35px rgba(0, 123, 255, 0.18);
    }

/* Image Area */
.image-wrapper {
    height: 300px;
    position: relative;
    overflow: hidden;
}

    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1.2s ease;
    }

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 123, 255, 0.3);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

    .overlay .icon {
        font-size: 3rem;
        color: #fff;
        transform: scale(0.9);
        transition: transform 0.4s ease;
    }

.service-card:hover .overlay {
    opacity: 1;
}

    .service-card:hover .overlay .icon {
        transform: scale(1);
    }

.service-card:hover img {
    transform: scale(1.1);
}

/* Content */
.service-content {
    padding: 25px;
    text-align: left;
}

    .service-content h3 {
        color: #004d99;
        font-size: 1.25rem;
        margin-bottom: 8px;
        font-weight: 700;
        transition: color 0.3s ease;
    }

    .service-content p {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
    }

.service-card:hover .service-content h3 {
    color: #00b894;
}

/* Slide Up Animation */
.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button (optional if you want “Learn More” links) */
.service-card .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 18px;
    border-radius: 25px;
    background: #00b894;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

    .service-card .btn:hover {
        background: #009973;
    }

/* Responsive */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .image-wrapper {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        gap: 25px;
    }

    .service-content {
        text-align: center;
    }

        .service-content h3 {
            font-size: 1.1rem;
        }

    .image-wrapper {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .service-card {
        border-radius: 12px;
    }
}
