/* ===========================
   TOP BAR
=========================== */

.top-bar {
  background: #0b6ec5;
  position: relative;
  z-index: 1000;
  height: 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* left angled shape */

.top-bar::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 0;
  width: 420px;
  height: 100%;
  background: #0b6ec5;
  transform: skewX(-35deg);
}

/* right angled shape */

.top-bar::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 0;
  width: 420px;
  height: 100%;
  background: #0b6ec5;
  transform: skewX(-35deg);
}

.top-bar .container {
  position: relative;
  z-index: 2;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 35px;
}

.contact-info a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.contact-info a i {
  margin-right: 8px;
}

.social-links-header {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.social-links-header a {
  color: #fff;
  font-size: 15px;
  transition: 0.3s;
}

.social-links-header a:hover {
  opacity: 0.8;
}

/* ===========================
   HEADER
=========================== */

.main-header {
  background: #fff;
  position: relative;
  z-index: 999;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.main-header .navbar {
  min-height: 86px;
  padding: 0;
}

/* ===========================
   LOGO
=========================== */

.navbar-brand {
  padding: 0;
  margin: 0;
  max-width: 25% !important;
}

.navbar-brand img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* ===========================
   NAVIGATION
=========================== */

.navbar-nav {
  gap: 15px;
}

.nav-link {
  color: #222 !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 30px 10px !important;
  position: relative;
}

.nav-link:hover {
  color: #6c9d24 !important;
}

/* active home menu */
.dropdown-item.active-link::before {
  content: "[";
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  color: #7ea82c;
  font-size: 30px;
  font-weight: 300;
}
.dropdown-item.active-link::after {
  content: "]";
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  color: #7ea82c;
  font-size: 30px;
  font-weight: 300;
}
.active-link {
  color: #111 !important;
  position: relative;
}

.active-link::before {
  content: "[";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: #7ea82c;
  font-size: 30px;
  font-weight: 300;
}

.active-link::after {
  content: "]";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: #7ea82c;
  font-size: 30px;
  font-weight: 300;
}

/* ===========================
   DROPDOWN
=========================== */

.dropdown-menu {
  padding: 0px 0;
  /* border: none; */
  border-radius: 0 !important;
  border: none !important;
  overflow: hidden;
  padding: 0;
  margin-top: 0;
}

.dropdown-item {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(233, 233, 233, 0.848);
}

.dropdown-item:hover {
  background: #f5f5f5;
  color: #0b6ec5;
  padding-left: 25px;
}

/* ===========================
   SEARCH ICON
=========================== */

.search-icon {
  margin-left: 10px;
}

.search-icon a {
  color: #7ea82c;
  font-size: 18px;
}

.search-icon a:hover {
  color: #0b6ec5;
}

/* ===========================
   HAMBURGER
=========================== */

.custom-toggler {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.custom-toggler span {
  width: 32px;
  height: 3px;
  background: #333;
  border-radius: 20px;
  display: block;
}

/* ===========================
   STICKY HEADER
=========================== */

.main-header.sticky {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  animation: slideDown 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* ===========================
   TABLET
=========================== */

@media (max-width: 991px) {
  .top-bar {
    height: auto;
    padding: 12px 0;
  }

  .contact-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-links-header {
    justify-content: center;
    margin-top: 8px;
  }

  .navbar-brand img {
    height: 55px;
  }

  .navbar-collapse {
    background: #fff;
    margin-top: 15px;
    padding: 15px;
    border-top: 1px solid #eee;
  }

  .navbar-nav {
    gap: 0;
  }

  .nav-link {
    padding: 12px 0 !important;
  }

  .search-icon {
    display: none;
  }

  .active-link::before,
  .active-link::after {
    display: none;
  }
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 576px) {
  .top-bar {
    padding: 10px 0;
  }
  .navbar-brand {
    max-width: 70% !important;
  }

  .contact-info {
    flex-direction: column;
    gap: 5px;
  }

  .contact-info a {
    font-size: 14px;
  }

  .social-links-header {
    margin-bottom: 5px;
  }

  .navbar-brand img {
    height: 50px;
  }

  .main-header .navbar {
    min-height: 75px;
  }
}
@media (min-width: 992px) {
  .navbar .dropdown {
    position: relative;
  }

  .navbar .dropdown-menu {
    display: block;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s ease;

    pointer-events: none;

    margin-top: 0;

    border: none;
    border-radius: 0;
  }

  .navbar .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
  }
}

@media (max-width: 991px) {
  #navbarContent {
    display: none !important;
  }

  .mobile-menu {
    width: 95%;
    max-width: 448px;
    border: none;
  }

  .mobile-menu .offcanvas-header {
    padding: 85px 25px 35px;
    border-bottom: 1px solid #eee;
  }

  .mobile-logo {
    width: 360px;
    max-width: 85%;
    height: auto;
  }

  .mobile-menu .btn-close {
    position: absolute;
    right: 28px;
    top: 35px;
    font-size: 24px;
    box-shadow: none;
  }

  .mobile-menu .offcanvas-body {
    padding: 0 22px;
  }

  .mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav > li {
    border-bottom: 1px solid #eee;
  }

  .mobile-nav a,
  .mobile-dropdown-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    background: transparent;
    padding: 24px 0;
    text-decoration: none;
    color: #222;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-submenu {
    list-style: none;
    padding: 0 0 8px;
    margin: 0;
  }

  .mobile-submenu li {
    border: 0;
  }

  .mobile-submenu a {
    padding: 18px 0;
    font-size: 19px;
    font-weight: 800;
  }
}
