/* #region Responsive Styles */
@media only screen and (max-width: 920px) {
    #blue-box {
        display: none
    }

    #carousel-1 {
        margin: 0 !important
    }

    #why-aep-text h2 {
        text-align:center;
    }

    #background-text h2 {
        font-size: 20px !important;
    }
}
/* #endregion */

/* #region Why AEP */
#why-aep {
    position: relative;
    margin-bottom: 24px;
}

#why-aep-content {
    grid-template-columns: 55% 45%;
}

    #why-aep-content p {
        margin-top: 24px;
        line-height: 26px
    }

#why-aep-text {
    padding: 24px
}

    #why-aep-text h2 {
        color: var(--dark-blue)
    }

#blue-box {
    right: 0;
    width: 60%;
    z-index: -1;
    height: 100%;
    position: absolute;
    border-radius: 10px;
    background-color: var(--light-blue);
}
/* #endregion */

/* #region Carousel 1 */
#carousel-1 {
    display: flex;
    margin: 64px 0;
    overflow: hidden;
    max-width: 860px;
    max-height: 574px;
    position: relative;
    align-items: center;
    aspect-ratio: 860 / 574;
}

#carousel-1-display {
    width: 100%;
    filter: brightness(80%);
}

    #carousel-1-display img {
        width: 100%;
        height: auto;
        aspect-ratio: attr(width) / attr(height);
    }

#carousel-1-text {
    z-index: 3;
    width: 100%;
    color: white;
    position: absolute;
    text-align: center;
}
/* #endregion */

/* #region Services */
.service-content {
    margin-bottom: 24px;
    background-color: var(--light-blue);
}

    .service-content h2 {
        color: var(--dark-blue)
    }

    .service-content p {
        color: black;
        line-height: 26px
    }

.service-text {
    padding: 24px
}

.service-image {
    min-height: 350px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center
}

#reviews {
    grid-template-columns: 58% 42%;
}

    #reviews .service-image {
        background-image: url("../images/services/reviews.jpg");
    }

#projects {
    grid-template-columns: 42% 58%;
}

    #projects .service-image {
        background-image: url("../images/services/projects.png");
    }

#procurement {
    grid-template-columns: 58% 42%;
}

    #procurement .service-image {
        background-image: url("../images/services/procurement.jpg");
    }

.service-content-small {
    gap: 24px;
    margin-bottom: 24px;
    grid-template-columns: 1fr 1fr
}

    .service-content-small h3 {
        margin-top: 0;
        color: var(--dark-blue)
    }

    .service-content-small p {
        color: black;
        font-size: 14px;
        line-height: 26px;
    }

.service-item-small {
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 7px 27px 0px rgb(100 100 111 / 20%)
}

.service-image-small {
    min-width: 25%;
    max-width: 25%;
    margin: 0 24px 24px 0;
}

    .service-image-small img {
        width: 100%;
        height: auto;
        border-radius: 5px;
        aspect-ratio: attr(width) / attr(height);
    }
/* #endregion */

/* #region Background */
#background {
    display: flex;
    margin-bottom: 70px;
    justify-content: center;
}

#background-text {
    color: white;
    margin-top: 60px;
    position: absolute;
}

#background-bubble {
    width: 500px;
    max-width: 70%;
    padding: 50px 0;
    margin-top: 220px;
    position: absolute;
    text-align: center;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0px 7px 27px 0px rgb(100 100 111 / 20%)
}

    #background-bubble h2 {
        margin: 0;
        color: var(--dark-blue)
    }

#background-image {
    width: 100%;
    height: 300px;
    filter: brightness(60%);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: var(--content-width);
    background-image: url("../images/services/background.png");
}
/* #endregion */

/* #region Portfolio */
#portfolio-content {
    margin-top: 48px;
    text-align: center;
}

    #portfolio-content h2 {
        color: var(--dark-blue);
    }

#carousel-3-display.owl-carousel .owl-item img {
    margin: auto;
    height: auto;
    margin-bottom: 24px;
    width: 200px !important;
    aspect-ratio: attr(width) / attr(height);
}

#carousel-3-display .owl-dots button.owl-dot.active span,
#carousel-3-display .owl-dots button.owl-dot:hover span {
    background-color: var(--dark-blue) !important;
}

#carousel-3-display .owl-dots button.owl-dot {
    border: 0;
    background-color: white;
}
/* #endregion */