/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    --light: #EEF9FF;
    --dark: #0553c7;
    --danger: linear-gradient(to bottom, #000046, #1cb5e0);
}

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;
}


.btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #030000;
}

.btn-primary:hover {
    background: var(--danger);
    border-color: var(--danger);
}

.btn-secondary:hover {
    background: var(--danger);
    border-color: var(--danger);
}

.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;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.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: 'poppins', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--light);
    outline: none;
    transition: .5s;
}
.btn {
    background: -webkit-linear-gradient(#00a9d9, #7ac7b2);
    /* other button styles */
  }

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 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,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
 
}
video {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
   
    overflow: hidden;
    z-index: 0;
    direction: ltr;
    background-color: transparent;
    
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
   
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}




@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}
.zoom-out {
    transition: transform 0.5s ease-out;
  }
  
  .zoom-out:hover {
    transform: scale(0.8);
  }



.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    background-size: cover;
   
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background: linear-gradient(to left, #0f2027, #203a43, #2c5364);
    background-size: cover;
}

.offer-text {
    background: #00a9d9;
}

  



.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background:#030000;
    background-size: cover;
}


.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}
.carousel-items {
    position: relative;
    height: 50vh; /* set height of the carousel item to 50% of the viewport height */
  }
  @media only screen and (max-width: 767px) {
    .carousel-items {
        /* Adjust the styles for mobile */
        /* For example, you can set the height to 30vh */
        height: 30vh;
    }
}
  
  .carousel-items video {
   
    bottom: 0; /* position the video at the bottom of the carousel item */
    width: 100%;
    margin-top: 50px;
   
    border-radius: 30px;
    /* set the width of the video to 100% of the carousel item */
  }

#particles-js {
 
  
    height: 100%;
    width: 100%;

}
.flip-box {
    background-color: transparent;
    width: 350px;
    height: 200px;
    border: 1px solid #f1f1f1;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
  }
  @media (max-width: 576px) {
    .flip-box {
        background-color: transparent;
        width: 300px;
        height: 150px;
        object-fit: cover;
        border: 1px solid #f1f1f1;
        perspective: 1000px; /* Remove this if you don't want the 3D effect */
      }
  
}
  
  /* This container is needed to position the front and back side */
  .flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  /* Do an horizontal flip when you move the mouse over the flip box container */
  .flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
  }
  
  /* Position the front and back side */
  .flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-box-front {
    background-color: #bbb;
    color: black;
  }
  
  /* Style the back side */
  .flip-box-back {
    background-color: dodgerblue;
    color: white;
    transform: rotateY(180deg);
  }
  /* Mobile Responsive CSS */
@media (max-width: 767px) {
    /* Section Title */
    .section-title {
      text-align: left;
    }
  
    /* Feature Image */
    .col-md-6.col-lg-6,
    .col-md-6.col-lg-5.offset-lg-1 {
      text-align: left;
      margin-bottom: 20px;
    }
  
    /* Feature Image - Flip */
    .col-md-6.col-lg-6 .img-fluid,
    .col-md-6.col-lg-5.offset-lg-1 .img-fluid {
      max-width: 100%;
      height: auto;
      align-items: left;
    }
  }
  @media (max-width: 576px) {
    .col-md-6 {
        order: 2;
    }

    .col-lg-5 {
        order: 1;
    }

    .offset-lg-1 {
        margin-left: 0;
    }
}
@media (max-width: 767px) {
    .navbar-collapse {
        background-color: transparent;
        padding: 10px;
    }

    .navbar-toggler {
        background-color: #19768d;
    }

    .navbar-toggler-icon {
        background-color: transparent;
    }

    .navbar-nav {
        flex-direction: column;
        margin-top: 10px;
    }

    .nav-item {
        margin-bottom: 5px;
    }
    .navbar-brand-logo img {
        width: 150px;
        height: auto;
        margin-left: -30px;
    }
    
    
}
@media (max-width: 767px) {
    .display-8 {
      font-size: 2rem;
      margin-top: -30px;
    }
  }
 @media (max-width: 767px) {
    .display-1 {
      font-size: 18px;
      
    }
  }

  @media (max-width: 767px) {
    .h6-responsive {
        font-size: 0.5rem; /* Adjust the font size as needed */
    }
}
  /* Default styles for larger screens */
.img-responsive {
    max-width: 300px; /* Set the maximum width as needed */
    height: auto;
}

/* Styles for smaller screens (e.g., mobile devices) */
@media (max-width: 767px) {
    .img-responsive {
        max-width: 50px; /* Set the maximum width to 100% for smaller screens */
    }
}

/* Default styles for larger screens */
.h6-responsive {
    font-family: 'poppins', sans-serif;
    font-size: 18px;
}

/* Styles for smaller screens (e.g., mobile devices) */
@media (max-width: 767px) {
    .h6-responsive {
        font-size: 10px; /* Adjust the font size as needed for smaller screens */
    }
}

  