/********** Template CSS **********/
:root {
    
    --secondary: #FFE500;
    /* --primary: #16AEED; */
    --primary: #DC0000;
    --light: #F8F8F8;
    /* --dark: #252525; */
    --dark: #061F31;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
    font-family: freehand521_btregular !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
    font-family: freehand521_btregular !important;
    
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
    font-family: freehand521_btregular !important;
}

p,
.p{
    font-family: freehand521_btregular !important;
    font-size: 20px !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
    border-radius: 35px;
}

.btn-primary:hover {
    color: #000;
    background-color: var(--secondary);
    border-color: var(--secondary);
}
.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
/* Dropdown menu styles */
.dropdown-menu {
    border: 1px solid #111010;
    padding: 10px 0; 
    line-height: 1.5; 
    min-width: 200px; 
    background-color: #fff; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Dropdown item styles */
.dropdown-item {
    padding: 8px 20px;
    color: #333;
}

/* Hover effect for dropdown items */
.dropdown-item:hover {
    
    background-color: var(--primary);
    color: var(--secondary);
}

.navbar-brand
{
    font-size: 17px;
    font-weight: 700;
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/* Header Carousel */
/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}
/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--light);
    background: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}

.service-item h2{
    transition: .5s;

    color: var(--light) !important;
}

.service-item:hover h2{
    color: var(--primary) !important;
}

/* Flip Animation */
.service-item .img-fluid {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.service-item:hover .img-fluid {
    transform: rotateY(180deg);
}

/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}





/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary);
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}
/* New CSSS */

.why-choose-one {
    position: relative;
    display: block;
    background-color: var(--dark);
    padding: 120px 0 120px;
    z-index: 1;
}
.why-choose-one__img-1 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    clip-path: polygon(55% 0, 100% 0%, 100% 100%, 0% 100%);
}

/* .why-choose-one__content {
    position: relative;
    display: block;
    margin-right: 70px;
} */

/* .why-choose-one__content .section-title {
    margin-bottom: 19px;
} */

/* .why-choose-one__content .section-title__tagline {
    color: #11aded;
} */

/* .section-title__tagline {
    position: relative;
    display: inline-block;
    font-size: 14px;
    line-height: 18px;
    color: var(--assimox-primary);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--assimox-font-two);
    margin-left: 30px;
    z-index: 1;
} */

.why-choose-one__points-box {
    position: relative;
    display: block;
    overflow: hidden;
    margin-right: 100px;
}

.why-choose-one__content {
    position: relative;
    display: block;
    margin-right: 70px;
}


/*** 
====================================================================
		Testimonial Section
====================================================================

***/

.large-container {
    position: static;
    max-width: 1580px;
    padding: 0px 30px;
    margin: 0 auto;
  }
  
  .testimonial-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 210px;
    overflow: hidden;
    &:before {
      position: absolute;
      left: -200px;
      top: 22%;
      background-image: url(../img/ring-circle.png);
      background-repeat: no-repeat;
      background-position: center;
      width: 701px;
      height: 756px;
      content: "";
      -webkit-animation: fa-spin 25s infinite alternate;
      -moz-animation: fa-spin 25s infinite alternate;
      -ms-animation: fa-spin 25s infinite alternate;
      -o-animation: fa-spin 25s infinite alternate;
      animation: fa-spin 25s infinite alternate;
    }
    .sec-title {
      position: relative;
      margin-bottom: 115px;
      .title {
        margin-bottom: 20px;
      }
    }
    .testimonial-carousel {
      position: relative;
      max-width: 1100px;
      margin: 0 -50px;
    }
  }
  
  .testimonial-block {
    position: relative;
    padding: 50px;
    .inner-box {
      padding: 80px 80px;
      background-color: #ffffff;
      width: 100%;
      box-shadow: 0 0 50px rgba(226, 222, 232, 0.75);
    }
    .text {
      position: relative;
      display: block;
      font-size: 18px;
      line-height: 32px;
      color: #282331;
      font-weight: 400;
      margin-bottom: 50px;
      font-family: "Muli", sans-serif;
    }
    .info-box {
      position: relative;
      padding-left: 115px;
      padding-top: 10px;
      .thumb {
        position: absolute;
        left: 0;
        top: 0;
        height: 82px;
        width: 82px;
        img {
          border: 6px solid var(--secondary);
          border-radius: 50%;
          overflow: hidden;
          display: block;
          
          box-shadow: 0 45px 45px rgba(147, 147, 147, 0.35);
        }
      }
      .name {
        position: relative;
        display: block;
        font-size: 21px;
        line-height: 1.2em;
        color: #382c4d;
        font-weight: 700;
        margin-bottom: 10px;
        font-family: "Niramit", sans-serif;
      }
      .designation {
        position: relative;
        display: block;
        font-size: 16px;
        line-height: 24px;
        color: var(--primary);
        font-weight: 400;
        font-family: "Muli", sans-serif;
      }
    }
  }
  
  .testimonial-carousel {
    .owl-nav {
      position: absolute;
      right: 75px;
      bottom: 70px;
    }
    .owl-next, .owl-prev {
      position: relative;
      display: inline-block;
      height: 75px;
      width: 75px;
      line-height: 75px;
      text-align: center;
      border-radius: 50%;
      background-color: var(--primary);
      -webkit-transition: all 300ms ease;
      -moz-transition: all 300ms ease;
      -ms-transition: all 300ms ease;
      -o-transition: all 300ms ease;
      transition: all 300ms ease;
    }
    .owl-next:hover, .owl-prev:hover {
      background-color: #000;
      box-shadow: 0 24px 24px rgba(187, 187, 187, 0.75);
    }
  }
  
  .arrow-right, .arrow-left {
    position: relative;
    display: inline-block;
    height: 9px;
    width: 43px;
    background-image: url(../img/arrow-left-2.png);
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .arrow-right {
    background-image: url(../img/arrow-right-2.png);
  }
  
  .testimonial-section .thumb-layer {
    position: absolute;
    right: 30px;
    top: 120px;
    .image {
      position: relative;
      margin-right: 0;
      img {
        display: inline-block;
        max-width: 100%;
        height: auto;
      }
    }
  }
  
  @media only screen and (max-width: 767px) {
    .testimonial-section .sec-title {
      margin-bottom: 50px;
    }
    .testimonial-block {
      padding: 0;
      .inner-box {
        box-shadow: none;
        border: 2px solid #f1f1f1;
      }
    }
    .testimonial-carousel {
      .owl-nav {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 20px;
        text-align: center;
      }
      .owl-next, .owl-prev {
        border: 2px solid #f1f1f1;
      }
    }
  }
  
  @media only screen and (max-width: 1366px) {
    .large-container {
      padding-left: 20px;
      padding-right: 20px;
    }
  }

/* FAQs */
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--primary);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.125);
}


.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.3rem;
    color: #000;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;
}

.accordion-button:hover {
    background-color: black !important;
    color: var(--secondary) !important;
    z-index: 2;
}




/* Bell Icon */
.whatsapp {
    position: fixed;
    right: 26px;
    top: 77%;
    z-index: 9999;
}
.whatsapp h5 {
    color: white;
    background: var(--primary);
    padding: 12px 16px;
    border-radius: 100%;
    border: 2px solid white;
}

/* Pulse Annimate */

.animatePulse{
    animation: animatePulse 0.5s infinite alternate;
}

@keyframes animatePulse {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1.0);
    }
}


/* About */


.card {
    border-radius: 10px;
}

.fact-item {
    text-align: center;
    padding: 5px;
    padding-top: 0;
}

.fact-item .zoom {
    transition: transform 0.5s;
}

.fact-item:hover .zoom{
    transform: scale(0.9);
}



/* Flip Animation */
.flip-item .flip {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-item:hover .flip{
    transform: rotateY(180deg);
}





/* Gallery */

.gallery-image {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .gallery-image img {
    height: 250px;
    width: 350px;
    transform: scale(1.0);
    transition: transform 0.4s ease;
  }
  
  .img-box {
    box-sizing: content-box;
    margin: 10px;
    height: 250px;
    width: 350px;
    overflow: hidden;
    display: inline-block;
    color: white;
    position: relative;
    background-color: white;
  }
  
  .caption {
    position: absolute;
    bottom: 5px;
    left: 20px;
    opacity: 0.0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .transparent-box {
    height: 250px;
    width: 350px;
    background-color:rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
  }
  
  .img-box:hover img { 
    transform: scale(1.1);
  }
  
  .img-box:hover .transparent-box {
    background-color:rgba(0, 0, 0, 0.5);
  }
  
  .img-box:hover .caption {
    transform: translateY(-20px);
    opacity: 1.0;
  }
  
  .img-box:hover {
    cursor: pointer;
  }
  
  .caption > p:nth-child(2) {
    font-size: 0.8em;
  }
  
  .opacity-low {
    opacity: 0.5;
  }


  /* Hero carousel */

.bg-video {
    position: relative;
    overflow: hidden;
}

.video-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.158) 0%, rgba(0, 0, 0, 0.123) 100%) !important;
}



.video-text-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
    z-index: 1;
}

/* Responsive styles for mobile screens  */
@media (max-width: 767px) {
    .bg-video video {
        height: 48vh; 
        width: 100%;
        object-fit: cover; 
    }

    .video-text-overlay {
        top: 55%; 
    }

    .video-text-overlay h1 {
        font-size: 1.5rem; 
    }

    .video-text-overlay p {
        font-size: 17px !important; 
    }

    .video-text-overlay h5 {
        font-size: 1.1rem; 
    }

    
}