/* ---------- Header Section ---------- */
.our-services-header {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px; /* increased height */
    text-align: center;
    color: #fff;
}

/* Dark overlay */
.our-services-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* adjust darkness here */
}

/* Keep text above overlay */
.our-services-header .container {
    position: relative;
}

.our-services-header h1 {
    font-size: 6rem;
    margin-bottom: 10px;
}
.our-services-header h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}
.our-services-header p,
.our-services-header .services-header-desc {
    font-size: 1.5rem;
}


/* ---------- Service Logos Row ---------- */
.services-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: -75px auto 50px; /* Pull logos upward by half their height */
    position: relative;
    z-index: 2; /* Ensure it sits above header bg */
}

.service-logo-square {
    width: 250px;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-logo-square img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-logo-square img:hover {
    transform: scale(1.05);
}


/* ---------- Service Sections ---------- */
.service-section {
    padding: 50px 20px;
    color: #fff;
    margin-bottom: 20px;
}/* Default: logo left, content right */
.service-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10%;
}

/* For even-numbered sections → flip layout */
.service-container.reverse {
    flex-direction: row-reverse;
}

/* Adjust logo sizing */
.service-logo-big {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}
.service-logo-big img {
    max-width: 100%;
    height: auto;
}

/* Content area */
.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-desc p {
    background-color: #704636;
    padding: 20px;
    border-radius: 24px;
}

/* ---------- Partner Logos ---------- */
.service-partners {
    margin-top: auto;
    text-align: left;
}
.service-partners span {
    display: block;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}
.partners-logo {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    flex-wrap: wrap;
}
.partners-logo img {
    width: 100%;
    object-fit: contain;
}

.service-extra {
    margin: auto;
}


.service-button {
    margin-top: 20px;
}

.btn-learn-more {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    border-radius: 26px;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: #f58220; /* orange highlight */
    color: #fff;
}


/* ---------- Mobile Adjustments ---------- */
@media (max-width: 768px) {
    /* Stack logo above content */
    .service-container {
        flex-direction: column !important;
        gap: 20px;
        text-align: center;
    }

    .services-logos {
        display: none;
    }

    /* Logo full width */
    .service-logo-big {
        flex: 0 0 auto;
        padding: 0;
    }
    .service-logo-big img {
        max-width: 80%;
        height: auto;
        margin: 0 auto;
    }

    /* Content full width */
    .service-content {
        flex: 0 0 auto;
        text-align: center;
    }

    /* Partner logos centered on mobile */
    .partners-logo {
        justify-content: center;
    }
}

