/* Search Icon Styles */
.search-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: #374151;
}

.search-icon:hover {
  transform: scale(1.1);
  color: #6366f1;
}

/* Search Field Container */
.hs-search-field {
  display: flex;
  align-items: center;
  position: relative;
}

/* Search Bar - Smooth Transition with Absolute Positioning */
.hs-search-field__bar {
  position: absolute;
/*   left: 36px; */
  top: 50%;
/*   transform: translateY(-50%); */
  display: none;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, width 0.35s ease;
  z-index: 100; /* Ensure it overlaps other elements */
}

/* Expanded State with Smooth Animation */
.hs-search-field__bar.search-bar-visible {
  opacity: 1;
  width: 27em; /* Adjust to your desired width */
}

/* Form wrapper */
.hs-search-field__bar form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Input Field */
.hs-search-field__input {
  width: 67%;
  padding: 12px 40px 12px 20px; /* Extra padding on right for clear button */
  border: 2px solid #e5e7eb;
  border-radius: 50px; /* Fully rounded like your image */
  outline: none;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.hs-search-field__input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.hs-search-field__input::placeholder {
  color: #9ca3af;
}

/* Clear Button (X icon) */
.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: #6b7280;
  width: 24px;
  height: 24px;
}

.search-clear-btn svg {
  width: 100%;
  height: 100%;
}

.search-clear-btn:hover {
  color: #374151;
  transform: translateY(-50%) scale(1.1);
}

.search-clear-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Show clear button with fade-in */
.search-bar-visible .search-clear-btn[style*="display: block"] {
  opacity: 1;
}

/* Suggestions Dropdown */
.hs-search-field__suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; /* Align with the search bar */
  width: 400px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 400px;
  overflow-y: auto;
  z-index: 101; /* Above the search bar */
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.hs-search-field--open .hs-search-field__suggestions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hs-search-field__suggestions li {
  padding: 12px 20px;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.15s ease;
}

.hs-search-field__suggestions li:first-child {
  border-radius: 12px 12px 0 0;
}

.hs-search-field__suggestions li:last-child {
  border-bottom: none;
  border-radius: 0 0 12px 12px;
}

.hs-search-field__suggestions li:hover,
.hs-search-field__suggestions li.active {
  background-color: #f9fafb;
}

.hs-search-field__suggestions a {
  text-decoration: none;
  color: #374151;
  display: block;
  transition: color 0.15s ease;
}

.hs-search-field__suggestions a:hover {
  color: #6366f1;
}

#results-for {
  font-weight: 600;
  color: #6b7280;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Smooth scrollbar for suggestions */
.hs-search-field__suggestions::-webkit-scrollbar {
  width: 6px;
}

.hs-search-field__suggestions::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 0 12px 12px 0;
}

.hs-search-field__suggestions::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.hs-search-field__suggestions::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hs-search-field__bar.search-bar-visible {
    width: 300px;
  }
  
  .hs-search-field__suggestions {
    width: 300px;
  }
  
  .hs-search-field__input {
    font-size: 14px;
    padding: 10px 36px 10px 16px;
  }
}

@media (max-width: 480px) {
  .hs-search-field__bar.search-bar-visible {
    width: 250px;
  }
  
  .hs-search-field__suggestions {
    width: 250px;
  }
  
  .hs-search-field__input {
    font-size: 14px;
    padding: 8px 32px 8px 14px;
  }
}

/* Ensure smooth transitions for all states */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/************** Previous Code Start *******************/  

.search-btn{
background:transparent;
border:none;
}

/* Main Navigation */





.mega-menu__list {
    background: white;
    display: none;
    left: 70.7%; /* Center it */
    transform: translateX(-50%);
    width: 100vw;
    max-height: calc(100vh - 15em);
    opacity: 0;
    overflow-y: auto;
    padding: 2em 1em;
    position: absolute;
    top: 4em;
    transition: all 0.7s ease;
    z-index: 10001;
}

.mega-menu__list-inner {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    list-style: none;
    margin: 0 auto;
    max-width: 1280px;
    padding: 0;
    width: 90%
}

.type-2:hover>.mega-menu__list {
    display: block;
    opacity: 1;
    pointer-events: auto
}

.mega-menu__title h6{
 text-decoration:underline;
  color: #0F0F0F;
}

.mega-menu__submenu-item a {
    color: #0F0F0F;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative; 
    width: fit-content;
    display: block;
}


  .mega-menu__submenu-item a::after {
    content: ''; 
    position: absolute; 
    left: 0;
    bottom: 0; 
    width: 0; 
    height: 2px; 
    background-color: #4F4AD9; 
    transition: width 0.3s ease;
  }


  .mega-menu__submenu-item a:hover::after {
    width: 100%; 
  }
  .mega-menu__submenu-item a:hover {
    color:#4F4AD9;
  }



.type-2:hover:before {
    background-color: rgba(0,0,0,.5);
    bottom: 0;
    content: "";
    left: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 30%;
    z-index: 10000
}

.mega-menu__submenu {
    list-style: none;
    margin: 0;
    padding: 1.25em 1em 2.5em .625em
}

.mega-menu__submenu-item {
    padding-bottom: 0.969em;
}

.mega-menu__submenu:has(.mega-menu__submenu-item.has-level2) {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding-left: 0
}

.mega-menu__item:has(.mega-menu__submenu-item.has-level2) {
    grid-column: span 4
}

.mega-menu__item:has(.mega-menu__submenu-item.has-level2):not(:first-child) {
    border-top: 1px solid black;
}

.mega-menu__subsubmenu {
    list-style: initial;
    margin: 0;
    padding: .5em 0 0 1.5em
}

/************** Previous Code End *******************/  









/******************* Search CSS End ***********************************/
/* .hs-search-field {
  position: relative;
}
.hs-search-field__input {
  box-sizing: border-box;
  width: 100%;
}
.hs-search-field__bar button svg {
  height: 10px;
}
.hs-search-field__suggestions {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hs-search-field--open .hs-search-field__suggestions {
  border: 1px solid #000;
}
.hs-search-field__suggestions li {
  display: block;
  margin: 0;
  padding: 0;
}
.hs-search-field__suggestions #results-for {
  font-weight: bold;
}
.hs-search-field__suggestions a,
.hs-search-field__suggestions #results-for {
  display: block;
}
.hs-search-field__suggestions a:hover,
.hs-search-field__suggestions a:focus {
  background-color: rgba(0, 0, 0, 0.1);
  outline: none;
} */



/******************* Search CSS End ***********************************/














/******************* Language CSS Start ***********************************/



.hs-language-switcher {
  position: relative;
  z-index: 2;
  display: block;
}

/* .hs-language-switcher__inner-wrapper {
  position: relative;
  display: inline-block;
} */

/* Button */
.hs-language-switcher__button {
  margin: 0;
  cursor: pointer;
}

.hs-language-switcher__label {
  display: flex;
  align-items: center;
  font-size: 1em;
  line-height: 1;
}

.hs-language-switcher__icon {
  height: 20px;
  width: 20px;
}

/* Menu */
.hs-language-switcher__menu {
  position: absolute;
  z-index: 100;
  top: 100%;
  display: none;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 100%;
  padding: 0;
  margin: 0;
  background: #fff;
  list-style-type: none;
  white-space: nowrap;
}

.hs-language-switcher__menu.visible {
  display: block;
}

.hs-language-switcher__item {
  width: 100%;
  padding: 10px 20px;
  margin: 0;
  text-align: left;
}

.hs-language-switcher__item:focus,
.hs-language-switcher__item.active,
.hs-language-switcher__menu.mousemove .hs-language-switcher__item:hover {
  background: #efefef;
}

.hs-language-switcher__item a {
  display: block;
  height: 100%;
  color: #000;
  text-decoration: none;
}
/******************* Language CSS End ***********************************/








.body-wrapper {
    height: 79px;
}

@media (max-width: 768px){
.body-wrapper {
    height: 90px;

}