.ct25-dashboard--header {
  background-color: #172834;
  box-shadow: 1px 2px 2px rgba(0,0,0,0.3);
  padding: 20px; /* Optional: adjust horizontal padding as needed */
}

.ct25-dashboard--header.scrolled {
  padding: 10px; /* Optional: adjust horizontal padding as needed */
  padding-bottom: 5px; /* Adjusted differently to offset the module wrapper white space to align menu spacing */
}

.ct25-dashboard--header .ct25-dashboard--logo img {
  transition: all .25s ease-in-out;
}

.ct25-dashboard--header.scrolled .ct25-dashboard--logo img {
  transition: all .25s ease-in-out;
  width: 75px !important;
}

.ct25-dashboard--header.scrolled a.ct25-dashboard--profile img {
  width: 30px !important;
}

.ct25-dashboard--header__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.links-group--title {
  color: #172834 !important;
}

.submenu {
  list-style-type: none;   /* Removes bullets */
  padding-left: 0;         /* Removes default padding */
}

.submenu {
  display: none;
}

#mobile_menu {
  display: flex;
}

.ct25-dashboard--profile-section {
  display: flex;
  align-items: center;
  gap: 1rem; /* Space between navigation, profile link, and hamburger icon */
}

/* Optional: style the profile link */
.ct25-dashboard--profile {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* Style the hamburger menu button */
.hamburger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0; /* Remove default button padding */
}


.ct25-dashboard--logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ct25-dashboard--logo img {
  height: 40px;
  width: auto;
}
#cotes_menu_groupLinks{
  flex
}

.ct25-dashboard--navigation {
  display: flex;
  gap: 20px;
  position: relative;
}

#the_sub_menu {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important; /* Adjust gap as needed */
}

.menu_icon {
  color: white;
  size: 26;
}

.mega-menu-column.links-column .links-group {
  flex: 1 1 150px ; /* Flex-basis is 200px; adjust as needed */
}

.ct25-dashboard--navigation > a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 5px 10px;
  transition: all .25s ease-in-out;
}

.ct25-dashboard--navigation > a:hover {
  color: #f0ad4e;
}

@media only screen and (min-width: 992px) {
  nav.ct25-dashboard--navigation > .menu-item-wrapper > a.menu-item-link {
    padding-bottom: 20px;
    transition: all .25s ease-in-out;
    position: relative;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    text-transform: uppercase;
  }
  
  .ct25-dashboard--header.scrolled nav.ct25-dashboard--navigation > .menu-item-wrapper > a.menu-item-link:before {
    bottom: 10px;
  }

  nav.ct25-dashboard--navigation > .menu-item-wrapper > a.menu-item-link:before {
      background-color: #EE7203;
      bottom: 0;
      content: "";
      display: block;
      height: 1px;
      left: 0;
      position: absolute;
      transition: all .25s ease-in-out;
      width: 0;
  }

  nav.ct25-dashboard--navigation > .menu-item-wrapper > a.menu-item-link:hover {
    color: #EE7203;
  }

  nav.ct25-dashboard--navigation > .menu-item-wrapper > a.menu-item-link:hover:before {
    width: 100%;
  }

  nav.ct25-dashboard--navigation > .menu-item-wrapper > .dropdown-icon {
    position: relative;
    top: -2px;
    transition: all .25s ease-in-out;
  }

  nav.ct25-dashboard--navigation > .menu-item-wrapper:hover > .dropdown-icon {
    color: #EE7203;
  }
}

@media only screen and (min-width: 1200px) {
  nav.ct25-dashboard--navigation > .menu-item-wrapper > a.menu-item-link {
    font-size: 18px;
    line-height: 25px;
  }
}

.ct25-dashboard--profile-section {
  display: flex;
  align-items: center;
}
a.ct25-dashboard--profile {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}
a.ct25-dashboard--profile img {
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 5px;
  width: 26px;
  margin-left: 10px;
}

/* Hamburger Icon (Hidden on Desktop) */
.hamburger-menu {
  display: block;
}

.dropdown-icon {
  display: block; 
}



@media (max-width: 991px) {

  .ct25-dashboard--navigation {
    font-size: 20px !important;
  }

  a.ct25-dashboard--profile img {
    width: 38px;
  }
  
  .sidebar-profile a.ct25-dashboard--profile img {
    margin-left: 0px;
    margin-right: 10px;
  }

  .ct25-dashboard--profile span {
    font-size: 21px;
  }

  .mega-menu-column.links-column {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important; /* Adjust gap as needed */
  }

  #test {
    display: flex;
    flex-direction: column;
    background-color: green;
  }

  .dropdown-icon {
    display: inline-block; /* Hide dropdown icon on larger screens */
  }



  #mobile_menu {
    display: flex;
  }

  /*     .ct25-dashboard--logo img {
  height: 30px !important;
} */
  /*     .ct25-dashboard--profile-section, */
  .ct25-dashboard--tagline {
    display: none;
  }

  .submenu {
    list-style-type: none;   /* Removes bullets */
    padding-left: 0;         /* Removes default padding */
  } 
  
  .ct25-dashboard--header__inner {
    justify-content: space-between;
  }

  /* Off-canvas Navigation */
  .ct25-dashboard--navigation {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen */
    width: 100%;
    height: 100vh;
    background-color: #172834;
    padding: 40px 20px 20px 20px;
    overflow-y: auto;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: start;
  }
  .ct25-dashboard--navigation.active {
    right: 0;
  }

  #the_sub_menu {
    display: flex !important;
  }

  .ct25-dashboard--navigation .submenu {
    background-color: transparent !important;
  }



  /* Cancel Icon inside off-canvas navigation */
  .cancel-icon {
    display: block;
    background: none;
    border: none;
    font-size: 60px;
    color: #fff;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 1100;
    margin-right: 18px;
    padding: 0 !important;
  }

  .cancel-icon:hover {
    background-color: none;
    color: #dfdbdb;
    cursor: pointer;
  }

  /* Hamburger icon visible on mobile */
  .hamburger-menu {
    display: block;
    margin-left: auto;
  }
  #hamburger-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;

  }
  #hamburger-icon .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background-color: #fff;
    transition: background-color 0.3s ease;
    font-size: xxx-large;

  }

  .menu-item-wrapper.has-dropdown {
    position: relative;
  }
  .menu-item-wrapper.has-dropdown > .dropdown-icon {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
  }
  .menu-item-wrapper.has-dropdown.open > .dropdown-icon {
    transform: rotate(180deg);
  }
  .menu-item-wrapper.has-dropdown .submenu {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: none;
  }
  .menu-item-wrapper.has-dropdown.open .submenu {
    display: block;
  }
  .submenu li {
    margin: 5px 0;
  }
  .submenu li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 3px 0;
    display: block;
  }
  .submenu li a:hover {
    text-decoration: underline;
  }
}



/*   @media (min-width: 992px) {

}
*/

@media (min-width: 992px) {
  .submenu {
    display: none; 
    position: absolute;
    content: '';
    right: 0;
    top: 100%; 
    min-width: 200px; 
    background: transparent !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000; 
  }

  #mobile_menu {
    margin-left: auto;
  }

  .menu-item-wrapper:hover .submenu {
    display: block;
  }
  
  #the_sub_menu {
    display: flex;
  }
  
  .hamburger-menu { display: none; }
  .cancel-icon { display: none; }
  .sidebar-profile {
    display: none;
  }
  
  .dropdown-icon {
    display: inline-block; /* Hide dropdown icon on larger screens */
  }

  .menu-item-wrapper.has-dropdown:hover .submenu,
  .menu-item-wrapper.has-mega-menu:hover .mega-menu {
    display: block; 
    position: absolute;
  }

  .submenu, .mega-menu {
    display: none; /* Hide by default */
    position: absolute; /* Ensure it appears properly */
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    left: -180px;
  }
}

.menu_icon {
  font-size: xxx-large;     

}

/* Initial state of the dropdown icon */
.dropdown-icon {
  transition: transform 0.3s ease-in-out; /* Smooth rotation transition */
}

/* Rotated state (when clicked) */
.dropdown-icon.rotated {
  transform: rotate(180deg); /* Rotate 180 degrees */
}


@media (max-width: 500px) {
  .mega-menu-column.video-column video {
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 991px) {
  .links-group--title {
    font-size: 25px !important;
  }
  .submenu li a {
    font-size: 18px !important;
  }
}

#hs_cos_wrapper_widget_1734699973976 span {
  font-size: 50px !important;
}

/* Mega-menu (for the first menu item) */
  /* Remove the hover display; we now use the open class to toggle display */
  /* .has-mega-menu:hover .mega-menu { display: block; } */
  /* When the parent has open class, display the submenu */
  .menu-item-wrapper.has-mega-menu.open .submenu {
    display: block;
  }
  .mega-menu-inner { display: grid; grid-template-columns: 1fr 3fr; }
  .mega-menu-column.links-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    background-color: white;
    border-left: 1px solid lightgray;
    padding: 20px;
  }
  .mega-menu-column.links-column a { color: rgba(23, 40, 52, 0.6); }
  .mega-menu-column.links-column a:hover { color: #172834; }
  .video-column, .links-column { padding: 20px; background: white; }
  .links-group { margin-bottom: 20px; width: 130px; }
  .links-group--title {
    margin-bottom: 10px;
    color: #EE7203;
    font-size: 1.3rem;
    font-weight: bold;
  }
  .links-group ul { list-style: none; padding: 0; }
  .links-group ul li { margin: 5px 0; }
  
  /* Dropdown submenu for non-mega-menu items */
  .menu-item-wrapper.has-dropdown { position: relative; }
  .menu-item-wrapper.has-dropdown > .dropdown-icon {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
  }
  .menu-item-wrapper.has-dropdown.open > .dropdown-icon {
    transform: rotate(180deg);
  }
  .menu-item-wrapper.has-dropdown .submenu {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: none;
  }
  .menu-item-wrapper.has-dropdown.open .submenu {
    display: block;
  }
  .submenu li { margin: 5px 0; }
  .submenu li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 3px 0;
    display: block;
  }
  .submenu li a:hover { text-decoration: underline; }
  
  
nav.ct25-dashboard--navigation > .menu-item-wrapper > a.menu-item-link {
  flex-wrap: nowrap !important;
}


a.ct25-dashboard--profile .profile-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid #fff;
  margin-left: 10px;
  padding: 0;
  text-align: center;
  font-weight: 500;
}

@media (max-width: 991px) {
  a.ct25-dashboard--profile .profile-image {
    max-width: 38px;
    height: 38px;
  }
  
  .sidebar-profile a.ct25-dashboard--profile .profile-image {
    margin-left: 0px;
    margin-right: 10px;
  }
}

a.ct25-dashboard--profile .profile-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
}

/* standard dropdown */

:root {
  --primary: 238, 114, 3;
  --secondary: 23, 40, 52;
}

.submenu-type--standard {
  position: relative;
}

.submenu-type--standard > a {
  position: relative;
  color: RGB(var(--secondary));
}

.submenu-type--standard .hs-menu-wrapper {
  position: relative;
  z-index: 21;
  display: none;
  width: 100%;
  color: white;
  padding: 20px 0px;
}

@media only screen and (min-width: 991px) {
  .submenu-type--standard .hs-menu-wrapper {
    position: absolute;
    z-index: 21;
    top: calc(100% + 20px);
    left: 0;
    display: none;
    width: 220px;
    background-color: RGB(var(--secondary));
    color: white;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.25);
    padding: 50px 25px;
  }
}

.submenu-type--standard.open .hs-menu-wrapper {
  display: block;
}

@media only screen and (min-width: 991px) {
  .submenu-type--standard:hover .hs-menu-wrapper {
    display: block;
  }
}

.submenu-type--standard .hs-menu-wrapper > ul {
  display: flex;
  flex-direction: column;
  gap: 0px;
  height: inherit;
  list-style: none;
}

@media only screen and (min-width: 991px) {
  .submenu-type--standard .hs-menu-wrapper > ul {
    gap: 15px;
  }
}

.submenu-type--standard .hs-menu-wrapper > ul > li {
  position: relative;
  height: inherit;
  list-style: none;
  padding-left: 20px;
}

.submenu-type--standard .hs-menu-wrapper > ul > li::before {
    content: '-';
    position: absolute;
    top: 3px;
    left: 0;
    display: block;
    width: 0;
    height: 1px;
    margin-right: 5px;
    background-color: RGB(var(--secondary));
    color: RGB(var(--primary)); 
}

.submenu-type--standard .hs-menu-wrapper > ul > li a {
    color: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
    text-transform: uppercase;
    transition: all .25s ease-in-out;
}

.submenu-type--standard .hs-menu-wrapper > ul > li a:hover {
  color: RGB(var(--primary));
}