/*==============================================
    Main Header Css        
===============================================*/
.main-header {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  margin: 0px;
  z-index: 999;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}

.sticky-header {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  padding: 0px 0px;
  background: rgba(255, 255, 255, 0.98);
  opacity: 0;
  visibility: hidden;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  z-index: 0;
}

.fixed-header .sticky-header {
  visibility: visible;
  -ms-animation-name: fadeInDown;
  -moz-animation-name: fadeInDown;
  -op-animation-name: fadeInDown;
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -ms-animation-duration: 500ms;
  -moz-animation-duration: 500ms;
  -op-animation-duration: 500ms;
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
  -ms-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  -op-animation-timing-function: linear;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -ms-animation-iteration-count: 1;
  -moz-animation-iteration-count: 1;
  -op-animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  opacity: 1;
  z-index: 999999;
}

.sticky-header .logo {
  position: relative;
  display: block;
  padding: 21px 0 21px;
}

.sticky-header .logo a {
  position: relative;
  display: inline-block;
}

.sticky-header .main-menu .navigation > li {
  margin-right: 35px;
}

.sticky-header .main-menu .navigation > li > a {
  color: var(--thm-black);
  padding: 40px 0px 40px;
}

.sticky-header .main-menu .navigation > li:hover > a,
.sticky-header .main-menu .navigation > li.current > a {
  color: var(--thm-base);
}

.sticky-header .main-menu .navigation > li > a span:before {
  display: none;
}

.sticky-header .main-menu .navigation > li > a:before {
  display: none;
}

.sticky-header .main-menu.style6 .navigation > li > a {
  color: var(--thm-black);
  padding: 38px 0px 38px;
}

.main-menu .navigation.scroll-nav > li:hover > a,
.main-menu .navigation.scroll-nav > li.current > a {
  color: var(--thm-base);
}

.header-style-one {
  position: relative;
}

.header-top {
  position: relative;
  display: block;
  background: #ffffff;
  padding: 35px 0;
  z-index: 1;
}

.header-top .outer-box {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-top__left {
  position: relative;
  display: block;
}

.main-logo-box {
  position: relative;
  display: block;
}

.main-logo-box a {
  position: relative;
  display: inline-block;
}

.header-top__right {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-contact-info-style1 {
  position: relative;
  display: block;
}

.header-contact-info-style1 ul {
  position: relative;
  display: block;
  overflow: hidden;
}

.header-contact-info-style1 ul li {
  position: relative;
  display: block;
  float: left;
  margin-right: 30px;
}

.header-contact-info-style1 ul li:last-child {
  margin-right: 0;
}

.header-contact-info-style1 ul li .icon {
  position: relative;
  width: 50px;
}

.header-contact-info-style1 ul li .icon,
.header-contact-info-style1 ul li .text {
  display: table-cell;
  vertical-align: middle;
}

.header-contact-info-style1 ul li .icon span:before {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  background: #f2f3fa;
  border-radius: 50%;
  color: var(--thm-base);
  font-size: 20px;
  line-height: 50px;
  text-align: center;
  transition: all 200ms ease;
  z-index: 3;
}

.header-contact-info-style1 ul li:hover .icon span:before {
  color: #fff;
  transform: scale(0.9);
  background: transparent;
}

.header-contact-info-style1 ul li .icon span:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: var(--thm-primary);
  border-radius: 50%;
  opacity: 0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  -webkit-transform: perspective(400px) rotateX(90deg);
  -ms-transform: perspective(400px) rotateX(90deg);
  transform: perspective(400px) rotateX(90deg);
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  z-index: 1;
}

.header-contact-info-style1 ul li:hover .icon span:after {
  opacity: 1;
  -webkit-transform: perspective(400px) rotateX(0deg);
  -ms-transform: perspective(400px) rotateX(0deg);
  transform: perspective(400px) rotateX(0deg);
}

.header-contact-info-style1 ul li .text {
  position: relative;
  padding-left: 20px;
}

.header-contact-info-style1 ul li .text p {
  position: relative;
  top: -2px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  margin: 0 0 3px;
}

.header-contact-info-style1 ul li .text h5 {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.header-contact-info-style1 ul li .text h5 a {
  color: var(--thm-primary);
  transition: all 200ms linear;
  transition-delay: 0.1s;
}

.header-contact-info-style1 ul li .text h5 a:hover {
  color: var(--thm-base);
}

.header-button-style1 {
  position: relative;
  display: block;
  line-height: 0;
  margin-left: 50px;
}

.header {
  position: relative;
  display: block;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1;
  margin-bottom: -75px;
  /* Reduced spacing to minimize extra space */
  padding: 8px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Override auto-container padding for header */
.header .auto-container {
  padding: 0;
}

.header .outer-box {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  /* Remove padding to eliminate extra space */
  padding: 0;
}

.header-left {
  position: relative;
  display: flex;
  align-items: center;
  /* Minimal margin to move content as far left as possible */
  margin-right: 0;
  flex: 0 1 auto;
}

/* Logo Container */
.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  /* Minimal margin to move logo as far left as possible */
  margin-right: 15px;
}

.logo-container a {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.logo-container img {
  max-height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

/* Navigation Container */
.nav-outer {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 auto;
}

.main-menu.style1 {
}

.main-menu {
  position: relative;
  display: block;
  float: left;
}

.main-menu .navbar-collapse {
  padding: 0px;
  display: block !important;
}

.main-menu .navigation {
  position: inherit;
  display: block;
}

.main-menu .navigation > li {
  position: inherit;
  display: inline-block;
  float: left;
  /* Increased margin for better spacing between navigation items */
  margin-right: 25px;
  margin-left: 0;
}

.main-menu .navigation > li:last-child {
  margin-right: 0;
}

.main-menu .navigation > li > a {
  position: relative;
  display: flex;
  align-items: center;
  /* Minimal padding for better alignment */
  padding: 10px 0px;
  color: #797989;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  text-transform: capitalize;
  transition: all 500ms ease;
  font-family: var(--thm-font);
  opacity: 1;
  z-index: 1;
  /* Enhanced text spacing */
  letter-spacing: 0.5px;
}

.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.current > a {
  color: var(--thm-base);
}

.main-menu .navigation > li.dropdown > a {
  padding-right: 15px;
}

.main-menu .navigation > li.dropdown > a:after {
  position: absolute;
  right: 0px;
  font-family: Fontawesome;
  content: "\f107";
  font-size: 16px;
  font-weight: 600;
  transition: all 200ms linear;
  transition-delay: 0.1s;
  z-index: 1;
}

.main-menu .navigation > li.dropdown:hover > a:after,
.main-menu .navigation > li.dropdown.current > a:after {
  transform: rotate(180deg);
}

/* Header Right Section */
.header-right {
  position: relative;
  display: flex;
  align-items: center;
  /* Reduced space from left section */
  margin-left: 20px;
}

/* Book Now Button Container */
.header-button-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.header-button-container .btn-one {
  /* Minimal padding for smaller height */
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 300ms ease;
  background: var(--thm-primary);
  color: #fff;
}

.header-button-container .btn-one:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: var(--thm-black);
}

.header-social-link {
  position: relative;
  display: block;
}

.header-social-link ul {
}

.header-social-link ul li {
  position: relative;
  display: block;
  float: left;
  /* Minimal social icon spacing */
  margin-right: 10px;
}

.header-social-link ul li:last-child {
  margin-right: 0;
}

.header-social-link ul li a {
  position: relative;
  display: block;
  /* Smaller size to match button height */
  height: 32px;
  width: 32px;
  background-color: #ffffff;
  border-radius: 50%;
  color: var(--thm-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 32px;
  text-align: center;
  transition: all 200ms linear;
  transition-delay: 0.1s;
  z-index: 1;
  /* Enhanced social icon shadow */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-social-link ul li a:before {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: var(--thm-base);
  content: "";
  border-radius: 50%;
  z-index: -1;
  transform: scale(0);
  transform-origin: center;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.62, 0.21, 0.45, 1.52);
}

.header-social-link ul li:hover a:before {
  transform: scaleX(1);
}

.header-social-link ul li:hover a {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 29, 37, 0.3);
}

/*==============================================
    Main Header Style2 Css        
===============================================*/
.header-style-two {
  position: relative;
}

.header-top-style2 {
  position: relative;
  display: block;
  background: #ffffff;
  padding: 35px 0;
  z-index: 1;
}

.header-top-style2 .outer-box {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-top-style2__left {
  position: relative;
  display: block;
}

.header-top-style2__middle {
  position: relative;
  display: block;
}

.logo-box-style2 {
  position: relative;
  display: block;
}

.logo-box-style2 a {
  position: relative;
  display: inline-block;
}

.header-top-style2__right {
  position: relative;
  display: block;
}

.header-style2 {
  position: relative;
  display: block;
  background: transparent;
  margin-bottom: -75px;
  z-index: 1;
}

.header-style2 .outer-box {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: var(--thm-primary);
}

.header-style2__middle {
  position: relative;
  display: block;
}

.main-menu.style2 .navigation > li > a {
  color: #cccccc;
}

.main-menu.style2 .navigation > li:hover > a,
.main-menu.style2 .navigation > li.current > a {
  color: var(--thm-base);
}

/* Enhanced responsive spacing */
@media (max-width: 1200px) {
  .header .outer-box {
    padding: 0 3px;
  }

  .logo-container {
    margin-right: 10px;
  }

  .main-menu .navigation > li {
    margin-right: 20px;
  }

  .header-button-container {
    margin-right: 10px;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 10px 0;
  }

  .header .outer-box {
    padding: 0 2px;
  }

  .logo-container {
    margin-right: 8px;
  }

  .logo-container img {
    max-height: 50px;
  }

  .main-menu .navigation > li {
    margin-right: 15px;
  }

  .header-social-link ul li {
    margin-right: 6px;
  }

  .header-social-link ul li a {
    height: 28px;
    width: 28px;
    line-height: 28px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .header {
    padding: 8px 0;
  }

  .header .outer-box {
    padding: 0 1px;
  }

  .logo-container {
    margin-right: 5px;
  }

  .logo-container img {
    max-height: 45px;
  }

  .main-menu .navigation > li {
    margin-right: 10px;
  }

  .header-social-link ul li {
    margin-right: 3px;
  }

  .header-social-link ul li a {
    height: 24px;
    width: 24px;
    line-height: 24px;
    font-size: 10px;
  }
}
