/********** Template CSS **********/
:root {
    --primary: #3c9dd9;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 25px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 15px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 20px;
        font-weight: 600 !important;
    }

    .carousel-caption h2 {
        font-size: 10px;
        font-weight: 600 !important;
    }

    .logo_text {
        font-size: 17px;
    }

    .logo_text img {
        width: 30px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
    border: 1px solid;
    border-radius: 20px;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

.card_img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

/* Flip card container */
.gallery-page .flip-card {
    background: transparent;
    width: 100%;
    height: 300px;
    perspective: 1000px;
    /* Required for 3D flip */
}

/* Inner wrapper */
.gallery-page .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 5px 5px 10px #00000010;
}

/* Flip on hover */
.gallery-page .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Front side */
.gallery-page .flip-card-front,
.gallery-page .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    border: 1px solid #737f8a;
    border-right: none;
    border-bottom: none;
    background: linear-gradient(130deg, #72808a, transparent);
    overflow: hidden;
}

/* Front image */
.gallery-page .flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Back side */
.gallery-page .flip-card-back {
    background: #3c9dd9;
    border: 1px solid #3c9dd9;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(180deg);
}

.client-page .client-card {
    background: #fff;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-slider {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
}

.slider-track {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.slider-track.scroll {
    width: max-content;
    animation: scroll 50s linear infinite;
}

/* Pause animation on hover */
.client-slider:hover .slider-track.scroll {
    animation-play-state: paused;
}

.client-slider .slide {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-slider .slide img {
    height: 50px;
    width: auto;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 0.6;
    transition: 0.3s ease;
}

.client-slider .slide img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Scroll animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


.fab_whatsapp {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: #22c55e;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px #00000050;
    z-index: 10000;
}

.fab_whatsapp i {
    font-size: 30px;
    color: #FFFFFF;
}

.custom_slide_modal .modal-content {
    background: #00000091;
}

.custom_slide_modal .modal-title {
    color: #FFFFFF;
}

.custom_slide_modal .carousel-item img {
    height: 400px;
    object-fit: contain;
}

.custom_slide_modal .btn-close {
    filter: invert(1);
}

[data-aos="fade-left"],
[data-aos="fade-right"] {
  transform: translate3d(50px, 0, 0);
}

/* =========================
   DESKTOP / TABLET
   ========================= */
.hero-carousel {
    height: 70vh;
    overflow: hidden;
}

.hero-carousel #header-carousel,
.hero-carousel #header-carousel .carousel-inner,
.hero-carousel #header-carousel .carousel-item {
    height: 100%;
}

.hero-carousel #header-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-carousel #header-carousel .carousel-caption {
    top: 0;
    bottom: 0;
    background: rgba(21, 36, 64, 0);
}

.hero-carousel #header-carousel h1,
.hero-carousel #header-carousel h2 {
    text-shadow: 5px 5px 5px #000;
}

/* =========================
   MOBILE VIEW (fit image)
   ========================= */
@media (max-width: 767px) {

    .hero-carousel {
        height: auto;
        overflow: visible;
    }

    .hero-carousel #header-carousel,
    .hero-carousel #header-carousel .carousel-inner,
    .hero-carousel #header-carousel .carousel-item {
        height: auto;
    }

    .hero-carousel #header-carousel .carousel-item img {
        height: auto;
        width: 100%;
        object-fit: contain;
    }

    .hero-carousel #header-carousel .carousel-caption {
        top: 0;
        bottom: 10%;
        padding: 0 15px;
    }

    .hero-carousel #header-carousel h1,
    .hero-carousel #header-carousel h2 {
        font-size: 1.1rem;
        text-align: center;
    }
}

/* =========================
   iOS SAFARI FIX (DESKTOP)
   ========================= */
@supports (-webkit-touch-callout: none) {
    @media (min-width: 768px) {
        .hero-carousel {
            height: 70svh;
        }
    }
}

.fab_queries {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 70px;
    right: 10px;
    background: #3c9dd9;
    padding: 10px;
    border-radius: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px #00000050;
    z-index: 10000;
}

.fab_queries i {
    font-size: 30px;
    color: #FFFFFF;
}