/* Services Page Styles */

/* Hero Section */
.services-hero {
    position: relative;
    background-image: url('assets/contact-us.jpg');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 56px;
    margin-bottom: 15px;
}

.green-underline {
    width: 80px;
    height: 5px;
    background-color: #39A52B;
}

/* Service Rows */
.services-wrapper {
    padding: 40px 0;
}

.service-row {
    padding: 80px 0;
    border-bottom: 3px dashed #000000;
}

.service-row:last-child {
    border-bottom: none;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center;
}

.service-row.reverse .service-grid {
    grid-template-columns: 1.2fr 1fr;
}

.service-row.reverse .service-image {
    order: 2;
}

.service-row.reverse .service-content {
    order: 1;
}

/* Image Border Styles (Same as About page) */
.service-image {
    position: relative;
}

.image-border {
    position: absolute;
    top: 20px;
    left: -15px;
    width: calc(100% - 15px);
    height: calc(100% - 13px);
    border: 15px solid #39A52B;
    z-index: 1;
}

.service-row.reverse .image-border {
    left: auto;
    right: -15px;
}

.service-image img {
    position: relative;
    z-index: 2;
    width: 550px;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #ffffff;
    border-radius: 3px;
}

/* Service Content */
.service-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 39px;
    color: #000000;
    margin-bottom: 25px;
}

.service-content p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 25px;
    color: #444444;
    margin-bottom: 20px;
}

.btn-service {
    display: inline-block;
    background-color: #39A52B;
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-service:hover {
    background-color: #2e8a22;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .services-wrapper {
        padding: 50px 0;
    }

    .service-row {
        padding: 40px 0;
    }

    .service-grid {
        grid-template-columns: 1fr !important;
        gap: 50px;
        text-align: left;
    }

    .service-row.reverse .service-image {
        order: 1;
    }

    .service-row.reverse .service-content {
        order: 2;
    }

    .service-image img {
        height: auto;
        width: 350px;
        left: 20px;
    }

    .image-border {
        left: 5px;
        top: 35px;
        width: calc(100% - 40px);
        height: calc(100% - 25px);
        border-width: 20px;
    }

    .service-row.reverse .image-border {
        left: 5px;
        right: auto;
    }

    .services-hero h1 {
        font-size: 30px;
        line-height: 42px;
    }

    .service-content h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .btn-service {
        width: 100%;
        text-align: center;
    }
}