/*! header start*/

.header-row {
  height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* center nav */
  position: relative;
  /* if needed */
  overflow: visible;
  /* this allows dropdown to show outside */
  z-index: 100;
  /* optional: make sure it's above other stuff */
}

@media (max-width:1100px) {
  .header-row {
    height: 14.5vh;
  }
}

@media (max-width:900px) {
  .header-row {
    height: 13vh;
  }
}

@media (max-width:700px) {
  .header-row {
    height: 12vh;
  }
}

.header-wrapper {
  display: flex;
  flex: 1;
  justify-content: space-between;
  /* space between logo and right-side content */
  align-items: center;
}

.header-left {
  margin-left: 5vw;
}

@media (max-width:1100px) {
  .header-left {
    margin-left: 4vw;
  }
}

@media (max-width:900px) {
  .header-left {
    margin-left: 2.5vw;
  }
}

@media (max-width:700px) {
  .header-left {
    margin-left: 5vw;
  }
}

.header-left img {
  margin-top: 1vh;
  height: 14vh;
}

@media (max-width:1100px) {
  .header-left img {
    margin-top: 1vh;
    height: 13vh;
  }

}

@media (max-width:900px) {
  .header-left img {
    margin-top: 0.75vh;
    height: 10vh;
  }

}

@media (max-width:700px) {
  .header-left img {
    margin-top: 0.25vh;
    height: 9vh;
  }

}

.menu-list {
  display: flex;
  column-gap: 1.5vw;
  align-items: center;
}

@media (max-width:110px) {
  .menu-list {

    column-gap: 1.25vw;

  }

}

@media (max-width:900px) {
  .menu-list {

    column-gap: 1vw;

  }

}

.header-center .menu-list .menu-link {
  font-size: 1.2vw;
  font-weight: 500;
  white-space: nowrap;
  /*letter-spacing: 1.2px;*/
  /*text-transform: uppercase;*/
  transition: 0.2s all;
  display: inline-flex;
  align-items: center;
}

@media (max-width:1100px) {
  .header-center .menu-list .menu-link {
    font-size: 1.4vw;
  }

}

@media (max-width:900px) {
  .header-center .menu-list .menu-link {
    font-size: 1.6vw;
  }

}

.submenu-toggle {
  display: inline-flex !important;
  align-items: center;
}

.top-container .header-center .menu-list .menu-link:hover {
  color: #b31917;
}

.menu-list-item.dropdown:hover>.menu-link {
  color: #b31917;
}

.header-right {
  display: flex;
  align-items: center;
  margin-right: 2vw;
}

@media (max-width:1100px) {
  .header-right {

    margin-right: 1.5vw;
  }

}

@media (max-width:900px) {
  .header-right {

    margin-right: 1vw;
  }

}

.header-right .header-right-links {
  display: flex;
  align-items: center;
  column-gap: 1.5vw;
  flex-wrap: wrap;
  justify-content: center;
  /* Centers the items horizontally */
}

@media (max-width:1100px) {
  .header-right .header-right-links {

    column-gap: 1.25vw;

    /* Centers the items horizontally */
  }


}

@media (max-width:900px) {
  .header-right .header-right-links {

    column-gap: 1vw;

    /* Centers the items horizontally */
  }


}

.system-button {
  display: flex;
  justify-content: center;
  align-items: center;

  /* Responsive padding */
  padding: 1vh 1vw;
  width: 12vw;
  background-color: #b31917;
  outline: 0.3vw #b31917 solid;
  outline-offset: -0.1vw;
  border-radius: 1vw;
  border: none;
  cursor: pointer;
  transition: 0.2s all;

  /* Responsive gap */
  column-gap: 0.4vw;
}

@media (max-width:1100px) {
  .system-button {

    width: 13.5vw;
    padding: 0.8vh 1.2vw;
    column-gap: 0.5vw;
    outline: 0.5vw #b31917 solid;
    border-radius: 1.25vw;
  }

}

@media (max-width:900px) {
  .system-button {

    width: 15vw;
    padding: 0.6vh 1.5vw;
    column-gap: 0.6vw;
    outline: 0.6vw #b31917 solid;
    border-radius: 1.5vw;
  }

}

@media (max-width:700px) {
  .system-button {

    width: 50vw;
    padding: 1vh 3vw;
    column-gap: 1.5vw;
    outline: 1.25vw #b31917 solid;
    margin: 0 auto;
    /* optional: center content inside */
    border-radius: 1.75vw;
  }

}

.system-button .bi-people {
  color: #fff;
  transition: 0.2s all;
  font-size: 1.25vw;
}

@media (max-width:1100px) {
  .system-button .bi-people {

    font-size: 1.4vw;
  }

}

@media (max-width:900px) {
  .system-button .bi-people {

    font-size: 1.6vw;
  }

}

@media (max-width:700px) {
  .system-button .bi-people {

    font-size: 5vw;
  }

}

.system-button:hover .bi-people {
  color: #b31917;
}

.system-button .text {
  color: white;

  font-size: 1vw;

  transition: 0.2s all;
}

@media (max-width:1100px) {
  .system-button .text {

    font-size: 1.2vw;
  }

}

@media (max-width:900px) {
  .system-button .text {

    font-size: 1.4vw;
  }

}

@media (max-width:700px) {
  .system-button .text {

    font-size: 5.25vw;
  }

}

.system-button:hover {
  background-color: transparent;
}

.system-button:hover .text {
  color: #b31917;
}



.menu-list-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  background: white;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  width: max-content;
  transform: translateX(-15%);
  /* Transition with different timing functions */
  transition-property: max-height, opacity;
  transition-duration: 0s, 0s;
  /* max-height slower, opacity faster */
}

.menu-list-item:hover>.dropdown-menu {
  max-height: 100000000px;
  opacity: 1;
  pointer-events: auto;
  background-color: rgba(255, 255, 255, 0.95);
  /* When opening */
  transition-duration: 4s, 0.2s;
  border-radius: 1vw;
  padding: 0.35vw;
  border: 0.2vw solid lightgrey;
}

@media (max-width:1100px) {
  .menu-list-item:hover>.dropdown-menu {

    padding: 0.4vw;
    border-radius: 1.05vw;
    border: 0.25vw solid lightgrey;
  }

}

@media (max-width:900px) {
  .menu-list-item:hover>.dropdown-menu {

    padding: 0.45vw;
    border-radius: 1.15vw;
    border: 0.3vw solid lightgrey;
  }

}

.special-align>.dropdown-menu {
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* Color only simple links (no submenu) on hover */
.dropdown-menu li:not(.dropdown-submenu):hover>a {
  background-color: #b31917;
  color: #ffffff;
}

/* Color submenu title ONLY on direct hover */
.dropdown-submenu>a:hover {
  background-color: #b31917;
  color: #ffffff !important;
}

.dropdown-submenu>a {
  /* Example styles */
  font-weight: 700;
  font-size: 1vw !important;
  width: 100%;
  color: #343434 !important;
}

@media (max-width:110px) {
  .dropdown-submenu>a {

    font-size: 1.1vw !important;
  }

}

@media (max-width:900px) {
  .dropdown-submenu>a {

    font-size: 1.3vw !important;
  }

}

.dropdown-menu li a {
  display: block;
  padding: 0.5vw;
  color: #000000;
  text-decoration: none;
  font-size: 0.9vw;
  border-radius: 0.5vw;
}

@media (max-width:1100px) {
  .dropdown-menu li a {

    font-size: 1vw !important;
    padding: 0.55vw;
    border-radius: 0.6vw;
  }

}

@media (max-width:900px) {
  .dropdown-menu li a {

    font-size: 1.1vw !important;
    padding: 0.6vw;
    border-radius: 0.75vw;
  }

}

/*! header end*/
/* ! language start */

.language-dropbtn {
  padding: 0.75vh 1vw;
  font-size: 1.25vw;
  font-weight: bold;
  background-color: rgb(0, 0, 0, 0);
  border: none;

  cursor: pointer;
  position: relative;
  text-align: center;
  /* Center text horizontally */
  display: flex;
  justify-content: center;
  /* Center text horizontally with flexbox */
  align-items: center;
  /* Center text vertically with flexbox */
  gap: 0.5vw;
}

/* The container <div> - needed to position the dropdown content */
.language {
  position: relative;
  display: inline-block;
  width: auto;
  /* Let the width of the dropdown match the button */
}

@media (max-width:1100px) {
  .language-dropbtn {
    padding: 0.6vh 1.1vw;
    font-size: 1.35vw !important;
    gap: 0.45vw;
  }

}

@media (max-width:900px) {
  .language-dropbtn {
    padding: 0.5vh 1.2vw;
    font-size: 1.5vw !important;
    gap: 0.4vw;
  }

}

@media (max-width: 700px) {

  .language-dropbtn {
    /* allow text + icon */
    padding: 0.5vh 2vw;
    font-size: 5.25vw !important;
    gap: 1.5vw;
    margin-right: 5vw;
  }
}


.language:hover .language-dropbtn {
  color: #c00b0b;
  transition: all 0.2s;
}

/* Remove outline on focus */


/* Dropdown Content (Hidden by Default) */
.language-content {
  display: none;
  position: absolute;
  width: 100%;
  z-index: 5;
  font-size: 1vw;
  background-color: white;
  border: 0.2vw solid lightgrey;
  border-radius: 0.5vw;
  overflow: hidden;
  /* ✅ This ensures content doesn't overflow the rounded edges */
  padding: 0.25vw;
}

@media (max-width:1100px) {
  .language-content {

    font-size: 1.1vw !important;
    padding: 0.3vw;
    border: 0.3vw solid lightgrey;
    border-radius: 0.6vw;
  }

}

@media (max-width:900px) {
  .language-content {

    font-size: 1.25vw !important;
    padding: 0.35vw;
    border: 0.4vw solid lightgrey;
    border-radius: 0.75vw;
  }

}

@media (max-width:700px) {
  .language-content {

    font-size: 3.75vw !important;
    padding: 1.25vw;
    border: 0.75vw solid lightgrey;
    width: 80%;
    border-radius: 1.5vw;
  }

}

/* Links inside the dropdown */
.language-content a {
  color: black;
  padding: 0.5vw;
  background-color: #ffffff;
  display: block;
  text-align: center;
  /* Optional: add a slight gap from edges for better visual spacing */
  box-sizing: border-box;
  border-radius: 0.5vw;
}

@media (max-width:1100px) {
  .language-content a {

    padding: 0.6vw;
    border-radius: 0.6vw;
  }

}

@media (max-width:900px) {
  .language-content a {

    padding: 0.75vw;
    border-radius: 0.75vw;
  }

}

@media (max-width:700px) {
  .language-content a {

    padding: 1.5vw;
    border-radius: 1vw;
  }

}

/* Change color of dropdown links on hover */
.language-content a:hover {
  background-color: #9e0c0c;
  transition: all 0.2s;
  color: rgb(255, 255, 255);
}

/* Show the dropdown menu on hover */
.language:hover .language-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */

/* ! language end */

/* Social buttons container */
.social-buttons {
  display: flex;
  gap: 1.5vw;
}

@media (max-width:1100px) {
  .social-buttons {
    gap: 1.25vw;
  }

}

@media (max-width:900px) {
  .social-buttons {
    gap: 1vw;
  }

}

@media (max-width: 700px) {
  .social-buttons {
    gap: 6vw;
    /* spacing between buttons */
    top: 1.5vh;
    /* make sure they stay near top */
    left: 6vw;
    /* keep them at left */
    position: absolute;
    /* ensure top-left positioning works */
  }
}


/* Basic social buttons styling */
.social-btn {
  border: none;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.social-btn i {
  font-size: 1.8vw;
  /* or any px/rem value */
}

@media (max-width:1100px) {
  .social-btn i {

    font-size: 1.9vw !important;
  }

}

@media (max-width:900px) {
  .social-btn i {

    font-size: 2vw !important;
  }

}

@media (max-width:700px) {
  .social-btn i {

    font-size: 7vw !important;
  }

}

/* Different colors for each */
.social-btn.youtube:hover i {
  color: #f80433;
}

.social-btn.linkedin:hover i {
  color: #0a66c2;
}

.social-btn.instagram:hover i {
  color: #e4405f;
}

/* Default desktop styles */


/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* spaces them apart */
  margin-left: auto;
  margin-right: 5vw;
  /* height must be > total line height */
  cursor: pointer;
}

.hamburger span {
  display: block;
  margin-bottom: 0.4vh;
  width: 100%;
  width: 10vw;
  height: 0.7vh;
  background: #000000;
  border-radius: 0.75vw;
  transition: background-color 0.2s;
}

.hamburger:hover span {
  background: #b31917;
}

.mobile-right-container {
  display: flex;
  justify-content: center;
  /* centers both buttons together */
  align-items: center;
  /* vertically center buttons */
  /* space between the buttons */
  margin-left: 6vw;
  gap: 4vw;
  margin-top: 2vh;
  width: 90%;
  /* wrap on small screens if needed */
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* semi-transparent grey */
  z-index: 900;
  /* just below mobile menu (1000+) */
  display: none;
  /* hidden by default */
}

/* Mobile menu hidden by default */
.header-hamburger {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: rgb(255, 255, 255);
  box-shadow: -0.5vw 0 0.25vh rgba(0, 0, 0, 0.2);
  transition: all 0.4s;
  z-index: 1000;
  overflow-y: auto;
  /* allow vertical scroll */
  -webkit-overflow-scrolling: touch;
  /* smooth scroll on iOS */
  padding-bottom: 12vh;
}

.header-hamburger.active {
  right: 0;
}

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s, opacity 0.2s;
  opacity: 0;
  font-size: 4.5vw;
}

.submenu.active {
  max-height: 5000000000px;
  /* make this bigger than your tallest submenu */
  opacity: 1;
}

/* Mobile close button */
.close-hamburger {
  position: absolute;
  top: -2vh;
  right: 4vw;
  font-size: 14vw;
  background: none;
  border: none;
  cursor: pointer;
  color: #000000;
}

.close-hamburger:hover {
  color: #b31917;
  transition: color 0.2s;
}

.menu-list-hamburger {
  margin-top: 7vh;
  font-size: 5vw;
  font-weight: 500;
  line-height: 4vh;


}

.menu-list-hamburger li {
  transition: all 0.2s;
}

.submenu-header {
  display: flex;
  justify-content: space-between;
  /* link left, button right */
  align-items: center;
  /* vertically center */
  padding: 1vh 6vw;
  height: 8.5vh;
  transition: background-color 0.2s, color 0.2s;
}

/* Toggle button */
.submenu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 8vw;
  margin-right: 2vw;
  transition: transform 0.2s;
}

/* when open, rotate 180° (▼ becomes ▲) */
.submenu-toggle.open {
  transform: rotate(180deg);
}

/* Hover effect for top-level links */
/* Applies to ALL submenu headers, regardless of nesting level */
.menu-list-hamburger .submenu-header:hover {
  background-color: #b31917;
}

.menu-list-hamburger .submenu-header:hover a,
.menu-list-hamburger .submenu-header:hover button {
  color: #fff;
}


/* ------------------- Submenu links ------------------- */
.menu-list-hamburger .submenu li>a {
  display: block;
  padding: 1vh 9vw;
  /* indented for submenu */
  text-decoration: none;
  color: #000;
  transition: background-color 0.2s, color 0.2s;
  height: 5.75vh;
}

.menu-list-hamburger .submenu .submenu li>a {
  padding: 1vh 12vw;
}

/* Hover effect for submenu links */
.menu-list-hamburger .submenu li>a:hover {
  background-color: #b31917;
  color: #ffffff;
}

.menu-list-hamburger .submenu .submenu-header {
  text-decoration: none;
  padding-left: 9vw;
  height: 7.25vh;
  /* let link fill available space */
}

.menu-list-hamburger .submenu .submenu-header a {
  color: #343434;
  font-weight: 600;
}

.menu-list-hamburger .submenu .submenu-header:hover {
  background-color: #b31917;
}

.menu-list-hamburger .submenu .submenu-header:hover a,
.menu-list-hamburger .submenu .submenu-header:hover button {
  color: #ffffff;
}

.mobile-only {
  display: none;
}

/* Media query for mobile */
@media (max-width: 700px) {
  .menu-list {
    /* hide desktop nav */
    display: none;
  }

  .hamburger {
    display: flex;
    /* show hamburger */
  }

  .mobile-only {
    display: block;
  }

  .header-right {
    display: none;
  }
}