
/* Service Block Layout with Enhanced Styling */
.services-page .hero {
    position: relative;
    background-image: url('../images/PSM00054.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
    height: 80vh;
    display: flex;
    color: #fff;
}

.services-page .service {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 50px;
    width: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth animation on hover */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow effect */
    border-radius: 12px; /* Slightly rounder corners */
}

.services-page .service:hover {
    transform: scale(1.05); /* More pronounced zoom effect on hover */
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

/* Image Styling with Hover Effect */
.services-page .service-image {
    flex: 1;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
}

.services-page .service-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.services-page .service-image:hover img {
    transform: scale(1.15); /* Slight zoom on image when hovering */
}

/* Service Details Styling with Modern Look */
.services-page .service-details {
    flex: 1;
    padding: 30px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    border-radius: 0 12px 12px 0;
}

.services-page .service-details h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #D50505;
    font-weight: bold;
}

.services-page .service-details p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Enhanced Button Style */
.services-page .service-details .navigate-btn {
    background-color: #D50505;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Button shadow */
}

.services-page .service-details .navigate-btn:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-3px); /* Slight lift on hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-page .service {
        flex-direction: column;
        text-align: center;
    }

    .services-page .service-details {
        padding: 20px;
        border-radius: 12px;
    }

    .services-page .service-image {
        border-radius: 12px;
    }

    .services-page .service-details .navigate-btn {
        align-self: center;
    }
}
