/* ==========================================================================
   Services Page CSS
   ========================================================================== */

/* --- Page Header with Blur --- */
.page-header {
    position: relative;
    padding: 120px 0 80px;
    background-color: var(--bg-dark);
    color: white;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(13, 43, 85, 0.5), rgba(13, 43, 85, 0.3)),
    url('../assets/images/services/Our Services {bg}.webp');
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    transform: scale(1.1);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header .hero-desc {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Service Detail Rows --- */
.service-detail-row {
    background: white;
    padding: 60px;
    border: 1px solid var(--border-light);
    display: grid;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 43, 85, 0.03);
    transition: transform var(--transition-normal);
}

.service-detail-row:hover {
    transform: translateY(-5px);
}

.service-detail-row.grid-1-2 {
    grid-template-columns: 1fr 1.8fr;
}

.service-detail-row.grid-2-1 {
    grid-template-columns: 1.8fr 1fr;
}

.service-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--primary-blue);
    line-height: 1.2;
}

.service-description {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--bg-offwhite);
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* --- Responsive Services --- */
@media (max-width: 992px) {
    .service-detail-row {
        grid-template-columns: 1fr !important;
        padding: 40px;
        gap: 40px;
    }

    .service-detail-row.grid-1-2 .service-image,
    .service-detail-row.grid-2-1 .service-image {
        order: -1; /* Image on top */
    }

    .service-content h2 {
        font-size: 2.2rem;
    }

    .service-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .service-detail-row {
        padding: 30px 20px;
        margin-bottom: 40px;
        gap: 30px;
    }

    .service-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .service-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .service-image {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .service-content h2 {
        font-size: 1.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }
}