#customGallerySec {
    position: relative;
    padding-bottom: var(--space-between-sections);
    background-color: #edf0f4;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 67px;
}

#customGallerySec img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Line with word */
#customGallerySec .line-with-word {
    position: absolute;
    z-index: 2;
    width: 50%;
    right: 0;
}

#customGallerySec .horizontal-line {
    width: 100%;
    height: 4px;
    background-color: white;
    position: relative;
}

#customGallerySec .label {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 6px;
    font-size: 30px !important;
    color: white;
    white-space: nowrap;
    line-height: 38px !important;
}

#customGallerySec .vertical-line {
    width: 4px;
    height: 60px;
    background-color: white;
}

/* Fin Line with word */

#customGallerySec .leftContent {
    position: relative;
    width: 70%;
    flex: 1 1 300px;
    text-align: center;
    padding-inline: 65px;
    align-self: center;
}

#customGallerySec .leftContent .text {
    padding-top: 31px;
}

#customGallerySec .leftContent h2 {
    margin: 0;
    font-size: var(--font-title-size);
    color: white;
    font-weight: 500;
    line-height: 70px;
    text-transform: uppercase;
}

#customGallerySec .leftContent h3 {
    font-size: 25px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 35px;
    text-wrap: balance;
    margin-top: 30px;
}

#customGallerySec .leftContent h2 br {
    display: block;
}

#customGallerySec .leftContent p {
    margin: 0 0 20px 0;
    font-size: var(--font-text-size);
    color: var(--primary-color);
    font-weight: 400;
    line-height: 28px;
}

#customGallerySec .services-img {
    flex: 1 1 300px;
    text-align: right;
    z-index: 1;
}

#customGallerySec .customGallery-slider {
    padding-bottom: 85px;
}

#customGallerySec .customGallery-slider .owl-stage-outer {
    overflow: visible;
}

#customGallerySec .customGallery-slider .item img {
    box-shadow: 0px 7px 15px rgb(0 0 0 / 10%);
    transform: scale(1);
    transition: all .7s ease-in-out;
}

#customGallerySec .customGallery-slider .item:hover img {
    transform: scale(1.1);
}

#customGallerySec .customGallery-slider .owl-dots {
    position: absolute;
    bottom: 0;
    right: 0;
}



/* #iPad Pro - Large Screens beyond 1024px
================================================== */
@media only screen and (min-width: 959px) and (max-width: 1180px) {

    #customGallerySec .topContent h2 {
        font-size: 50px;
        line-height: 60px;
    }

    #customGallerySec .topContent p {
        font-size: 16px;
        line-height: 26px;
    }

    #customGallerySec .customGallery-slider {
        width: calc(100% + var(--container-padding) * 2);
        margin-left: calc(0px - var(--container-padding));
    }

    #customGallerySec .customGallery-slider .owl-dots {
        right: var(--container-padding);
    }

}

@media (max-width: 1024px) {
    #customGallerySec {
        flex-direction: column-reverse;
        padding-top: 75px;
        padding-inline: 75px;
    }
    #customGallerySec .services-img {
        width: 100%;
    }

    #customGallerySec .line-with-word {
        top: -50px;
    }

    #customGallerySec .leftContent {
        width: 100%;
        padding-inline: unset;
        margin-top: 50px;
    }
}

@media (min-width: 1000px) and (max-width: 1024px) {
    #customGallerySec .leftContent .text {
        padding-inline: 40px;
    }
}

@media (max-width: 992px) {
    #customGallerySec {
        padding-inline: 15px;
           
    }
    #customGallerySec .leftContent {
        width: 100%;
    }

    #customGallerySec .leftContent .text {
        padding-top: unset;
    }
}


/* #Tablet (Portrait)
================================================== */
/* Note: Design for a width of 768px */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    #customGallerySec {
        padding-inline: 15px;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    #customGallerySec .topContent {
        width: 100%;
    }

    #customGallerySec .topContent h2 {
        font-size: 40px;
        line-height: 50px;
    }

    #customGallerySec .topContent p {
        font-size: 16px;
        line-height: 26px;
    }

    #customGallerySec .topContent a.button {
        padding: 10px 15px;
    }

    #customGallerySec .customGallery-slider {
        width: calc(100% + 30px);
        margin-left: -15px;
        padding-bottom: 82px;
    }

    #customGallerySec .customGallery-slider .owl-dots {
        right: 15px;
        left: 15px;
    }

    #customGallerySec .customGallery-slider .owl-dots .owl-dot {
        width: 32px;
        height: 32px;
        margin: 0 5px;
    }

    #customGallerySec .customGallery-slider .owl-dots .owl-dot:first-child {
        margin-left: 0;
    }

    #customGallerySec .customGallery-slider .owl-dots .owl-dot:last-child {
        margin-right: 0;
    }

    #customGallerySec .customGallery-slider .owl-dots .owl-dot:before,
    #customGallerySec .customGallery-slider .owl-dots .owl-dot:after {
        display: none;
    }

    #customGallerySec .customGallery-slider .owl-dots .owl-dot span {
        width: 8px;
        height: 8px;
    }

}



/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {

    #customGallerySec .topContent {
        width: 100%;
        margin-bottom: 30px;
    }

    #customGallerySec .topContent h2 {
        line-height: 40px;
    }

    #customGallerySec .topContent h2 br {
        display: none;
    }

    #customGallerySec .topContent p {
        line-height: 26px;
    }

    #customGallerySec .topContent a.button {
        padding: 10px 15px;
    }

    #customGallerySec .customGallery-slider {
        width: calc(100% + 30px);
        margin-left: -15px;
        padding-bottom: 62px;
    }

    #customGallerySec .customGallery-slider .owl-dots {
        right: 15px;
        left: 15px;
    }

    #customGallerySec .customGallery-slider .owl-dots .owl-dot {
        width: 32px;
        height: 32px;
        margin: 0 5px;
    }

    #customGallerySec .customGallery-slider .owl-dots .owl-dot:first-child {
        margin-left: 0;
    }

    #customGallerySec .customGallery-slider .owl-dots .owl-dot:last-child {
        margin-right: 0;
    }

    #customGallerySec .customGallery-slider .owl-dots .owl-dot:before,
    #customGallerySec .customGallery-slider .owl-dots .owl-dot:after {
        display: none;
    }

    #customGallerySec .customGallery-slider .owl-dots .owl-dot span {
        width: 8px;
        height: 8px;
    }
}