/* carrousel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 90px;
}

.slider-item .overlay {
    background-color: black !important;
    z-index: 1 !important;
    opacity: 0.7 !important;
}

.ftco-animate {
    z-index: 2;
}

.slider-item {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

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

.slider-item .slider-content {
    position: relative;
    z-index: 2;
    color: #fff;
    animation: fadeInUp 1s ease forwards;
}

.slider-item .slider-content a:nth-of-type(1) {
    background-color: #3D5B9C;
}

.slider-item {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

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

.slider-item .slider-content h1 {
    font-size: 4rem;
    font-weight: 700;
}

.slider-item .slider-content p {
    background-color: #3D5B9C;
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* service card */
#loadMoreBtn:hover {
    background-color: #3D5B9C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-card {
    border: none;
    z-index: 1;
    border-radius: 20px;
    height: 440px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 50px;
    color: #0d6efd;
    margin-bottom: 20px;
}

.card-title {
    font-weight: 600;
}

.card-text {
    font-size: 15px;
}

/* gallery */
.no-gutters .item {
    z-index: 2;
}

.image {
    width: 635px;
    height: 423px;
    object-fit: cover;
}

/* .img-thumbnail {
            object-fit: cover;
        } */


/* whatsapp button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 80px;
    background-color: #25d366;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.whatsapp-float i {
    font-size: 22px;
    margin-right: 10px;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    text-decoration: none;
    color: #fff;
}

/* back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: inherit;
    color: #000000;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

/* client and collatorator */
.grayscale-logo {
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
    max-height: 112px;
}

.grayscale-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.client-white-logo {
    /* filter: brightness(0) invert(1) grayscale(1) !important; */
    transition: filter 0.3s;
    max-height: 112px;
    max-width: 100%;
    object-fit: cover;
    width: 168px;
    background: transparent;
}

.client-white-logo:hover {
    /* filter: brightness(1.2) invert(1) grayscale(0) !important; */
    transform: scale(1.05);
}

/* media query */
@media (max-width: 460px) {

    /* leading */
    .slider-content h1 {
        font-size: 45px !important;
    }

    .slider-content a {
        font-size: 14px !important;
        padding: 10px 20px !important;
        margin: 10px 0 !important;
    }

    /* header */
    .main-nav .logo {
        margin: 0;
    }

    /* about  */
    #about h2 {
        font-size: 24px !important;
    }

    /* services */
    #services h2 {
        margin: 0;
    }

    /* image portfolio */
    .zoom-on-hover .description-heading {
        background: #1d1d1d3f;
        line-height: 1.2;
    }

    /* clients */
    #client h2 {
        margin: 0;
    }
}

@media (max-width: 506px) {

    /* gallery */
    .zoom-on-hover .description-heading {
        background: #1d1d1d3f !important;
        line-height: 1.2;
    }
}

@media (max-width: 767px) {

    /* services */
    .service-card {
        height: auto;
    }

    /* gallery */
    .no-gutters .image {
        width: 100%;
    }
}

@media (max-width: 817px) {
    .our-services .services-right-dec img {
        z-index: -1 !important;
    }
}