@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500&display=swap");

/* =========================================================
   HTT.com Header and Menu
   Old Template Style for Cassiopeia Extended
   Joomla 6.1.2
   ========================================================= */


/* ---------------------------------------------------------
   HEADER BASE
   --------------------------------------------------------- */

.container-header {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: #ffffff;
  background-image: none;
  box-shadow: none;
}

.container-header::before,
.container-header::after {
  display: none;
}

.container-header > .grid-child {
  width: 100%;
  max-width: none;
  margin: 0;
}


/* ---------------------------------------------------------
   LOGO AREA
   --------------------------------------------------------- */

.container-header > .grid-child:first-child {
  background: #ffffff;
}

.container-header .navbar-brand {
  display: flex;
  align-items: center;

  width: min(calc(100% - 40px), 1370px);
  min-height: 92px;

  margin: 0 auto;
  padding: 10px 0;
}

.container-header .brand-logo {
  display: inline-flex;
  align-items: center;

  padding: 0;
  margin: 0;

  border: 0;
  outline: 0;
  box-shadow: none;

  line-height: 1;
  text-decoration: none;
}

.container-header .brand-logo:hover,
.container-header .brand-logo:focus,
.container-header .brand-logo:focus-visible {
  border: 0;
  outline: 0;
  box-shadow: none;
  text-decoration: none;
}

.container-header .brand-logo img {
  display: block;

  width: auto;
  height: 63px;
  max-width: 100%;

  border: 0;
  outline: 0;
  box-shadow: none;
}


/* ---------------------------------------------------------
   MENU BAR
   --------------------------------------------------------- */

.container-header .container-nav {
  display: block;

  width: 100%;
  min-height: 62px;

  margin: 0;
  padding: 0;

  background: linear-gradient(
    90deg,
    #6754ea 0%,
    #6249e6 100%
  );
}


/* Navbar wrapper */

.container-header .container-nav > .navbar {
  display: flex;
  align-items: stretch;

  width: min(calc(100% - 40px), 1370px);
  min-height: 62px;

  margin: 0 auto;
  padding: 0;
}


/* Desktop collapse area */

.container-header .navbar-collapse {
  align-items: stretch;
}


/* Main menu list */

.container-header .mod-menu_dropdown-metismenu {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;

  gap: 2px;

  min-height: 62px;

  margin: 0;
  padding: 0;

  list-style: none;
}


/* Menu item */

.container-header .mod-menu_dropdown-metismenu > li {
  position: relative;

  display: flex;
  align-items: stretch;

  margin: 0;
  padding: 0;
}


/* Main menu links */

.container-header .mod-menu_dropdown-metismenu > li > a {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 62px;
  padding: 0 18px;

  border: 0;
  border-radius: 0;
  outline: 0;

  background: transparent;
  box-shadow: none;

  color: #ffffff;

  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;

  text-decoration: none;
  white-space: nowrap;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}


/* Hover and keyboard focus */

.container-header .mod-menu_dropdown-metismenu > li > a:hover,
.container-header .mod-menu_dropdown-metismenu > li > a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  text-decoration: none;
}

.container-header .mod-menu_dropdown-metismenu > li > a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: -4px;
}


/* ---------------------------------------------------------
   ACTIVE MENU ITEM
   Old template जैसा white strip
   --------------------------------------------------------- */

.container-header .mod-menu_dropdown-metismenu > li.current > a,
.container-header .mod-menu_dropdown-metismenu > li.active > a,
.container-header .mod-menu_dropdown-metismenu > li.default > a {
  color: #ffffff;
  background: transparent;
}

.container-header .mod-menu_dropdown-metismenu > li.current > a::after,
.container-header .mod-menu_dropdown-metismenu > li.active > a::after,
.container-header .mod-menu_dropdown-metismenu > li.default > a::after {
  content: "";

  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;

  height: 4px;

  background: #ffffff;
  border-radius: 6px 6px 0 0;
}


/* ---------------------------------------------------------
   REMOVE CASSIOPEIA DEFAULT MENU EFFECTS
   --------------------------------------------------------- */

.container-header .metismenu.mod-menu .metismenu-item {
  padding: 0;
}

.container-header .metismenu.mod-menu .metismenu-item > a {
  text-decoration: none;
}

.container-header .metismenu.mod-menu .metismenu-item > a::before {
  display: none;
}

.container-header .mod-menu_dropdown-metismenu li::marker {
  content: "";
}


/* ---------------------------------------------------------
   DESKTOP
   --------------------------------------------------------- */

@media (min-width: 992px) {

  .container-header .navbar-toggler {
    display: none;
  }

  .container-header .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

}


/* ---------------------------------------------------------
   TABLET AND MOBILE
   Cassiopeia hamburger retained
   --------------------------------------------------------- */

@media (max-width: 991.98px) {

  .container-header .navbar-brand {
    width: calc(100% - 32px);
    min-height: 80px;
  }

  .container-header .brand-logo img {
    height: 56px;
  }

  .container-header .container-nav {
    min-height: 64px;
  }

  .container-header .container-nav > .navbar {
    position: relative;
    display: block;

    width: 100%;
    min-height: 64px;

    padding: 0;
  }


  /* Hamburger button */

  .container-header .navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 42px;

    margin: 11px 16px 11px auto;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 4px;

    background: transparent;
    color: #ffffff;

    box-shadow: none;
  }

  .container-header .navbar-toggler:hover,
  .container-header .navbar-toggler:focus,
  .container-header .navbar-toggler:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    outline: 0;
    box-shadow: none;
  }

  .container-header .navbar-toggler .icon-menu {
    color: #ffffff;
    font-size: 22px;
  }


  /* Mobile opened menu */

  .container-header .navbar-collapse {
    width: 100%;
    background: #6550eb;
  }

  .container-header .mod-menu_dropdown-metismenu {
    display: block;

    width: 100%;
    min-height: 0;

    margin: 0;
    padding: 8px 0 12px;
  }

  .container-header .mod-menu_dropdown-metismenu > li {
    display: block;
    width: 100%;
  }

  .container-header .mod-menu_dropdown-metismenu > li > a {
    justify-content: flex-start;

    width: 100%;
    min-height: 48px;

    padding: 0 22px;

    font-size: 16px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .container-header .mod-menu_dropdown-metismenu > li:last-child > a {
    border-bottom: 0;
  }

  .container-header .mod-menu_dropdown-metismenu > li > a:hover,
  .container-header .mod-menu_dropdown-metismenu > li > a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
  }


  /* Mobile active item */

  .container-header .mod-menu_dropdown-metismenu > li.current > a,
  .container-header .mod-menu_dropdown-metismenu > li.active > a,
  .container-header .mod-menu_dropdown-metismenu > li.default > a {
    background: rgba(255, 255, 255, 0.13);
  }

  .container-header .mod-menu_dropdown-metismenu > li.current > a::after,
  .container-header .mod-menu_dropdown-metismenu > li.active > a::after,
  .container-header .mod-menu_dropdown-metismenu > li.default > a::after {
    top: 8px;
    bottom: 8px;
    left: 0;
    right: auto;

    width: 4px;
    height: auto;

    border-radius: 0 4px 4px 0;
  }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 575.98px) {

  .container-header .navbar-brand {
    justify-content: center;

    min-height: 74px;
    padding: 7px 0;
  }

  .container-header .brand-logo img {
    height: 52px;
  }

  .container-header .navbar-toggler {
    margin-right: 12px;
  }

}