/* ===== root ===== */
:root {
  --primary: #ed1d27;
  --secondary: #2c8626;
  --light: #eceef1;
  --dark: #000000;
}

.fw-medium {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

body {
  /* background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url(../img/body-back.webp) center center no-repeat; */
  background-size: cover;
  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;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 12px 5px rgba(0,0,0,0.2);
}

/* ===== navbar ====== */
.top-bar {
  height: 100px;
  padding: 0 4rem;
}

.nav-bar {
  position: relative;
  padding: 0 4.75rem;
  transition: 0.5s;
  z-index: 9999;
}

.navbar .dropdown-item{
  padding-bottom: 0.5%;
}

.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;
  
}

.dropdown-item:hover{
  color: #ED1D27;
  text-decoration: underline;
}
.nav-item .active {
  color: #460505 !important; /* Change the color to make it more visible */
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color:#ED1D27;
  text-decoration: underline;
}


/* Style the active link with an underline */
.navbar-nav .nav-link.active {
  color: #ED1D27;  /* Change to your preferred color */
  text-decoration: underline;
}


@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: 80%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/* ===== header ===== */
.header-carousel .container,
.page-header .container {
  position: relative;
  padding: 300px 0 45px 3px;
  font-weight: bold;
}

.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 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: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.6), rgba(0, 0, 0, 0.6)),
    url(../img/contactbg.webp) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

/* ===== facts ===== */
.fact {
  background-color: #0d207c;
  background-size: cover;
}

/* ===== services ====== */
.service-item-top img {
  transition: 0.5s;
}

.service-item-top:hover img {
  transform: scale(1.1);
}

/* .service-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  display: none;
}

.service-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%;
}

.service-carousel .owl-dot.active {
  background: var(--light);
  border-color: var(--primary);
} */

/* ====== booking ====== */
.video {
  position: relative;
  padding: 8rem 0 12rem 0;
  background: linear-gradient(rgba(10, 10, 10, 0.4), rgba(3, 3, 3, 0.4)),
    url(../img/6397022.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: red;
}


.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: #ed1d27;
  background: #ffffff;
}

.team-item .team-text .bg-primary .btn:hover {
  color: #ffffff;
  background:#ed1d27;
}

/* ===== 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: black;
}

.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: black 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{
  background-image: url(../img/6397022.webp);
}
.footer h4{
  font-size: 22px;
}
.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);
}

.fixed-icon {
  position: fixed;
  left: 20px;
  bottom: 70px;
  height: 20px;
  opacity: 0.5;
  z-index: 100;
}
.fixed-icon:hover {
  opacity: 1;
}

@media (max-width: 500px) {
  .fixed-icon {
    display: none;
  }
}

.row > .fi {
  background-color: #f8f9fa; /* Light grey background */
  border: 1px solid #ddd;   /* Light border */
  border-radius: 8px;       /* Rounded corners */
  padding: 20px;            /* Inner spacing */
  margin-bottom: 20px;      /* Space below each box */
}

/* ===== Preloader ===== */
 #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 100000;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    .loader-wrapper {
      position: relative;
      width: 150px;
      height: 150px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    /* Circle Loader Border */
    .loader-wrapper::before {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      border: 6px solid #ddd;
      border-top: 6px solid #ED1D27; /* theme color */
      border-radius: 50%;
      animation: spin 1.5s linear infinite;
    }

    /* Logo inside circle */
    .loader-wrapper img {
      width: 90px;
      height: 90px;
      object-fit: cover;
      z-index: 2;
    }

    /* Spin Animation */
    @keyframes spin {
      100% {
        transform: rotate(360deg);
      }
    }

    /* Hide preloader */
    #preloader.hide {
      opacity: 0;
      visibility: hidden;
    }


.page-header .contact {
  background-image: url("../img/contactbg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  min-height: 300px; 
}

/* optional overlay for better visibility if text is added later */
/* .page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
} */



.owl-carousel .item {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  height: 100px; /* Default height */
}

.owl-carousel .item img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .owl-carousel .item {
    height: 80px;
  }
  .owl-carousel .item img {
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .owl-carousel .item {
    height: 70px;
  }
  .owl-carousel .item img {
    max-height: 50px;
  }
}
/* Tablets (portrait and landscape) */
@media (min-width: 600px) and (max-width: 1024px) {
  /* Styles for tablets */
  .footer{
  background-image: url(../img/6);
  background-size: cover;
}
}

/* Tablet portrait only */
@media (min-width: 600px) and (max-width: 768px) {
  /* Styles for portrait tablets */
  .footer{
  background-image: url(../img);
  background-size: cover;
}
}

/* Tablet landscape only */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Styles for landscape tablets */
  .footer{
  background-image: url(../);
  background-size: cover;
}
}