/* ===== root ===== */
:root {
  --primary: #2f6aa0;
  --secondary: #ea7834;
  --light: #eceef1;
  --dark: #0e1634;
}

.fw-medium {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
  animation: action 1s infinite alternate;
}

/* body {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url(../img/16078483_low_poly_banner_design_1711.webp) center center no-repeat;
  background-size: cover;
} */


body {
  overflow-x: hidden;

}


/* ===== for buttons ===== */
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.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;
}

.text-secondary{
  font-size: 1.5rem;
}

/* ===== navbar ====== */
.top-bar {
  height: 75px;
  padding: 0 4rem;
}

.nav-bar {
  position: relative;
  padding: 0 4.75rem;
  transition: 0.5s;
  z-index: 9999;
}

.nav-bar.sticky-top {
  position: sticky;
  padding: 0;
  z-index: 9999;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .nav-bar {
    padding: 0;
  }

  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar-light .navbar-nav {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/* ===== header ===== */
.header-carousel .container,
.page-header .container {
  position: relative;
  padding: 45px 0 45px 35px;
}

.header-carousel .container::after,
.page-header .container::after {
  top: 100%;
  margin-top: -15px;
}

@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 h2 {
    font-size: 25px !important;
    font-weight: 600 !important;
  }
  /* .header-carousel .owl-carousel-item h4 {
    font-size: 30px !important;
    font-weight: 600 !important;

  } */
}

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.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(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(../img/bg.webp) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

/* ===== facts ===== */
.fact {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(../img/bg.webp) center center no-repeat;
  background-size: cover;
}

/* ===== services ====== */
.service-item-top img {
  transition: 0.5s;
}

.service-item-top:hover img {
  transform: scale(1.1);
}

.the-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.the-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: var(--primary);
  border: 5px solid var(--light);
  transition: 0.5s;
  border-radius: 50%;
}

.the-carousel .owl-dot.active {
  background: var(--light);
  border-color: var(--primary);
}

/* ====== booking ====== */
.video {
  position: relative;
  padding: 2rem 0 6rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(../img/female-mechanic-holding-spare-parts-car.webp) center center no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.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);
}

/* ===== team ===== */
.team-item img {
  transition: 0.5s;
}

.team-item:hover img {
  transform: scale(1.1);
}

.team-item .team-text {
  height: 90px;
  overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
  position: relative;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: 0.5s;
}

.team-item .team-text .bg-primary {
  flex-direction: row;
}

.team-item:hover .team-text .bg-light {
  margin-top: -90px;
}

.team-item .team-text .bg-primary .btn {
  color: var(--primary);
  background: #ffffff;
}

.team-item .team-text .bg-primary .btn:hover {
  color: #ffffff;
  background: var(--secondary);
}

/* ===== testimonials ===== */
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
  position: relative;
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: #ffffff !important;
}

.testimonial-carousel .owl-item .testimonial-text::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  border: 15px solid;
  border-color: var(--light) transparent transparent transparent;
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text::after {
  border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 350px;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: 0.5s;
  z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
  width: 300px;
  opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  font-size: 30px;
  color: var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

/* ===== footer ===== */
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.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: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}


.product-item .a-img div {
  padding-bottom: 100%;
  background-size: cover;
  background-position: 50%;
}

.product-type-packery .product-item .a-img div {
  padding-bottom: 0%;
}

.product-item.image-center .a-img div {
  background-position: 50% !important;
}

.product-item.image-left .a-img div {
  background-position: 0% 50% !important;
}

.product-item.image-right .a-img div {
  background-position: 100% 50% !important;
}

.product-item.image-top .a-img div {
  background-position: 50% 0% !important;
}

.product-item.image-bottom .a-img div {
  background-position: 50% 100% !important;
}

.product-item .a-img img {
  display: block;
  width: 100%;
}


/*--------------------------------------------------------------
# product
--------------------------------------------------------------*/
.product .product-item {
  margin-bottom: 30px;
}

.product #product-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.product #product-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.product #product-flters li:hover,
.product #product-flters li.filter-active {
  color: #fff;
  background: #d9232d;
}

.product #product-flters li:last-child {
  margin-right: 0;
}

.product .product-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(85, 98, 112, 0.6);
}

.product .product-wrap::before {
  content: "";
  background: rgba(85, 98, 112, 0.6);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.product .product-wrap img {
  transition: all ease-in-out 0.3s;
}

.product .product-wrap .product-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}

.product .product-wrap .product-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.product .product-wrap .product-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.product .product-wrap .product-links {
  text-align: center;
  z-index: 4;
}

.product .product-wrap .product-links a {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.product .product-wrap .product-links a:hover {
  color: white;
}

.product .product-wrap:hover::before {
  opacity: 1;
}

.product .product-wrap:hover img {
  transform: scale(1.2);
}

.product .product-wrap:hover .product-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# product Details
--------------------------------------------------------------*/
.product-details {
  padding-top: 40px;
}

.product-details .product-details-slider img {
  width: 100%;
}

.product-details .product-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.product-details .product-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #d9232d;
}

.product-details .product-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #d9232d;
}

.product-details .product-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(85, 98, 112, 0.08);
}

.product-details .product-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.product-details .product-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.product-details .product-info ul li+li {
  margin-top: 10px;
}

.product-details .product-description {
  padding-top: 30px;
}

.product-details .product-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.product-details .product-description p {
  padding: 0;
}



/* team */

.team-item {
  padding: 30px 30px 0 30px;
  text-align: center;
  /* background: var(--light); */
  transition: .5s;
}

/* .team-item:hover,
.owl-item.center .team-item {
  background: var(--secondary);
} */

.team-item h4 {
  transition: .5s;
}

/* .owl-item.center .team-item h4,
.owl-item.center .rent-item h4 {
  color: var(--light);
} */

.team-item .team-social {
  top: 0;
  left: 0;
  opacity: 0;
  transition: .5s;
  background: var(--light);
}

.owl-item.center .team-item .team-social,
.owl-item.center .rent-item {
  background: var(--secondary);
}

.team-item:hover .team-social {
  opacity: 1;
  background: var(--secondary);
}

.team-carousel .owl-nav,
.related-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 60px;
  top: calc(50% - 30px);
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next,
.related-carousel .owl-nav .owl-prev,
.related-carousel .owl-nav .owl-next {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: var(--primary);
  font-size: 22px;
  transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover,
.related-carousel .owl-nav .owl-prev:hover,
.related-carousel .owl-nav .owl-next:hover {
  background: var(--secondary);
}