@import './global.css';
/*
.mainNavArrow{
  display: none;
}

#mobileUl{
  display: none;
}
*/
/*.mobile-contacts-container,*/
.mobile-buttons-div{
display: none;
}

.container{
display: none;
cursor: pointer;
}

.bar1, .bar2, .bar3{
  width: 35px;
  height: 4px;
  background-color: #333333;
  margin: 7px 0;
  transition: 0.3s;
  border-radius: 10px;
}

.change .bar1{
  transform: translate(0, 10px) rotate(-45deg);
}

.change .bar2{
  opacity: 0;
}

.change .bar3{
  transform: translate(0, -11px) rotate(45deg);
}

.header{
margin: 0 auto;
width: 100%;
max-width: 2600px;
position: sticky;
top: 0;
z-index: 1000;
}

.header-hidden{
position: absolute;
top: 0; 
left: 0; 
width: 100%; 
}

.header-container {
background-color: whitesmoke;
padding: 0px 5%;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
height: 65px;
display: flex;
align-items: center;
justify-content: space-between;
transition: all 0.3s ease;
}

.header-container.no-shadow {
box-shadow: none;
}

.logo-spacer {
  display: inline-block;
  width: 0;
  height: 100%;
  position: absolute;
}


.header-logo-div{
  position: relative;
  height: 65%;
  max-height: 40px;
  width: auto;
  transition: all 0.3s ease;
}

.header-logo-div img{
  height: 100%;
  width: auto;
}

.header-logo-div:hover{
  transform: scale(1.05);
}

.header-items-container{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: height 0.3s ease;
}


.header-navbar{
margin: auto 0;
}

.navlink-wrapper{
  position: relative;
}

.header-navbar ul{
list-style-type: none;
display: flex;
flex-direction: row;
gap: 50px;
}

.header-navbar ul li{
  position: relative;
  transition: transform ease 0.2s;
}

.header-navbar ul li img{
  display: inline-block;
  width: 15px;
  height: auto;
  margin-bottom: 2px;
  margin-left: 5px;
}

.header-navbar ul li:hover,
.navlink-wrapper:hover li{
transform: translateY(-5px); 
}

.header-navbar ul li a{
text-decoration: none;
color: #333333;
font-family: var(--main-font);
font-weight: 600;
font-size: 19px;
}

.header-navbar ul li:hover a,
.navlink-wrapper:hover li a{
padding-bottom: 5px;
}

.header-navbar ul li::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px; 
  background-color: #333333; 
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}

.header-navbar ul li:hover::after,
.navlink-wrapper:hover li::after {
    width: 100%;
}


.header-navbar ul #nav-demo-button::after {
  content: none; /* Disables the ::after effect */
}

#nav-demo-button a{
  background-color: var(--primary-color);
  color: whitesmoke;
  padding: 5px 8px;
  border-radius: 6px;
}

#nav-demo-button:active{
  transform: scale(0.97);
}

.dropdown-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; /* Directly below the li */
  left: 0;
  width: fit-content;
  padding: 0 20px; /* Padding for left/right, top/bottom set to 0 initially */
  background-color: whitesmoke;
  border-radius: 12px;
  overflow: hidden; /* Hide overflow to make the transition smooth */
  max-height: 0; /* Collapsed state */
  opacity: 0; /* Hide initially */
  transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
}

.dropdown-container a{
  position: relative;
  text-decoration: none;
  text-wrap: nowrap;

  color: #333333;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 18px;

  margin: 5px 0;
  padding: 5px 0;
  width: fit-content;
}

.dropdown-container a:after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px; 
  background-color: #333333; 
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
  } 
  
  .dropdown-container a:hover::after{
  width: 100%;
  }

  .navlink-wrapper:hover .dropdown-container {
    max-height: 200px; /* Set a maximum height slightly larger than the dropdown's expected height */
    padding: 10px 20px; /* Add padding on top/bottom when expanded */
    opacity: 1;
}



#searchBarDesktop{
display: block;
}

#searchBarMobile{
display: none;
}

.header.scrolled .header-container{
  height: 55px;
}

.header.scrolled .header-logo-div{
  height: 70%;
}








.header-info-container{
display: flex;
justify-content: space-between;
align-items: center;
margin: 4px 5%;
}

.header-info-buttons-container{
  display: flex;
  gap: 30px;
}


  .social-medias-items{
  display: flex;
  flex-direction: row;
  justify-content: center;
  line-height: 0; 
  align-items: center;
  }
  
  .social-medias-items a{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15%;
  background-color: #333333;
  
  transition: all ease 0.3s;
  }
  
  .social-links-icon{
  width: 44px;
  height: auto;
  border-radius: 50%;
  transition: all 0.2s; 
  }
  
  .social-medias-items a:hover{
  scale: 1.1;
  }
  

.home-button-container{
  display: flex;
}

.home-button-container a{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333333;
  padding: 6px;
  border-radius: 15%;

  transition: scale 0.2s ease, width 0.3s ease;
}

.home-button-container a img{
  width: 32px;
  aspect-ratio: 1/1;
  transition: scale 0.2s ease, width 0.3s ease;
}

.home-button-container a:hover{
  scale: 1.1;
}

.header.scrolled .home-button-container a img{
  width: 27px;
}




.header-info-items{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.header-info-item{
display: flex;
align-items: center;
}

.header-info-item a{
text-decoration: none;
display: flex;
flex-direction: row;
align-items: center;
height: fit-content;
gap: 8px;

transition: transform ease 0.3s;
}

.header-info-item a:hover .header-info-vector-div{
transform: scale(1.2);
}


.header-info-vector-text {
position: relative;
}

.header-info-vector-text h3 {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-weight: 500;
font-size: 17px;

position: relative;
display: inline-block;
color: whitesmoke;
overflow: hidden;
white-space: nowrap;
transition: transform 0.4s ease, width ease 0.5s;
}



.header-info-vector-div{
margin: auto 0;
height: fit-content;
width: fit-content;
transition: transform 0.2s ease;
}

.header-info-vector-div #phoneIcon{
height: 20px;
width: 20px;
margin-top: 1px;
}

.header-info-vector-div #mailIcon{
height: 21px;
width: 28px;
margin-top: 1px;
}

.header-info-vector{
height: 100%;
width: 100%;
}







.mobile-header-items-container {
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--margin-xxl);
  margin: 0 auto;
  position: absolute;
  left: 0;
  width: 100%;
  max-height: 80dvh;
  background-color: whitesmoke;
  padding: 0rem 0;
  padding-bottom: 2rem;
  height: fit-content;
  transform: translateY(-40%);
  transition: transform 0.3s ease, opacity 0.2s ease-out;
  z-index: -5; 
  overflow-y: auto;
}


.mobile-header-items-container.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0%);
}

.mobile-header-items-container.show::after {
  content: '';
  position: absolute;
  top: 1%; 
  left: 50%;
  width: 90%;
  height: 3px; 
  background-color: #cccccc; 
  transition: width 0.3s ease;
  transform: translateX(-50%); 
}

/*
.custom-clear-button {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #333333;
  z-index: 1;
}

.custom-clear-button::before {
  content: '×';
  font-size: 60px;
}
*/


#searchBarDesktop{
display: none;
}

#searchBarMobile{
display: block;
}

.mobile-header-navbar{
  margin: 0 auto;
  display: block; 
  width: 90%;
  padding: 3rem 0;
}

.mobile-header-navbar ul{
  display: none;
}

#mobileUl{
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5em;
  z-index: 20;
}

#mobileUl-listItem{
  position: relative; 
  display: flex;
  flex-direction: column;
  gap: var(--margin-l);
  width: fit-content;
  z-index: 20;
}

.mainNavArrow {
  width: 22px;
  height: auto;
  transition: transform 0.3s ease; 
}

#mobileUl-listItem li:hover ~ .mainNavArrow {
  transform: translateX(20px); 
}

.mobile-header-navbar ul li {
  display: flex;
  gap: var(--margin-l);
  width: fit-content;
  z-index: -20;
  position: relative; 
}

.mobile-header-navbar ul li:hover{
  transform: translateY(0px); 
}

.mobile-header-navbar ul li a{
  text-decoration: none;
  color: #333333;
  font: var(--h3);
  font-size: var(--margin-xl);
  font-weight: 500;
}

.mobile-header-navbar ul li::after {
  content: '';
  position: absolute;
  bottom: -5px; 
  left: 0; 
  width: 0;
  height: 3px; 
  background-color: #333333; 
  transition: width 0.3s ease;
  transform: translateY(100%); 
}

.mobile-header-navbar ul li:hover::after{
  width: 100%;
}

.mobile-header-navbar ul #nav-demo-button::after{
  content: none;
}

.mobile-dropdown-container {
  list-style-type: disc;
  position: relative;
  display: none; /* Initially hidden */
  flex-direction: column;
  padding-left: 10%; /* Adjust padding or margin as needed */
  background-color: whitesmoke;
}

.mobile-dropdown-container a {
  text-wrap: nowrap;
  width: fit-content;
  position: relative;
  font: var(--h3);
  font-weight: 500;
  font-size: var(--margin-xl);
  padding: 5px 0;
  margin: 4% 0;
  color: #333333;
  text-decoration: none;
}

.mobile-dropdown-container a::before {
  content: '';
  position: absolute;
  bottom: -5px; 
  left: 0;
  width: 0;
  height: 2px; 
  background-color: #333333; 
  transition: width 0.3s ease;
  transform: translateY(100%); 
}

.mobile-dropdown-container a:hover::before {
  width: 100%;
}

.mobile-dropdown-container a::after {
  content: "•"; /* Disc symbol */
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  color: #333333; /* Same color as text, adjust if needed */
  font-size: 1em;
}



.mobile-contacts-container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  width: 90%;
  position: relative; 
  margin-top: auto;
}

.mobile-contact-info-items{
  display: flex;
  flex-direction: column;
  gap: var(--margin-l);
  position: relative; 

}

.mobile-contacts-container a{
  text-decoration: none;
  display: flex;
  flex-direction: row;
  gap: var(--margin-m);
  position: relative; 
  width: fit-content;
}

.mobile-contacts-container h3{
  color: #333333;
  font-size: var(--margin-l);
  font-weight: 500;
  padding: 5px 0;
}

.header-info-vector-div{
  margin: auto 0;
  height: fit-content;
  display: flex;
  width: fit-content;
  transition: transform 0.2s ease;
}

.header-info-vector-div #phoneIcon{
  height: 25px;
  width: 36px;
  margin: auto 0;
  margin-top: 0px;
}

.header-info-vector-div #mailIcon{
  height: 29px;
  width: 36px;
  margin: auto 0;
  margin-top: 0px;
}

.mobile-contact-socials{
  display: flex;
  flex-direction: row;
  justify-content: center;
  line-height: 0; 
  align-items: flex-end;
  gap: 3rem;
}

.mobile-contact-socials a{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20%;
  background-color: #333333;

  z-index: 20;
  transition: all ease 0.3s;
}

.mobile-contact-socials .social-links-icon{
  width: 50px;
  height: auto;
  transition: all 0.2s; 
}

.mobile-contact-socials .social-links-icon:hover{
  transform: scale(1.1);
}








@media screen and (max-width: 1920px){
  
  .header-container {
    background-color: whitesmoke;
    padding: 0px 5%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    }

  .social-links-icon{
  width: 40px;
  height: auto;
  border-radius: 50%;
  transition: all 0.2s; 
  }
  
  .social-medias-items a:hover{
  scale: 1.1;
  }

  
  .header-navbar{
  margin: auto 0;
  }
  
  .header-navbar ul{
  list-style-type: none;
  display: flex;
  flex-direction: row;
  gap: 50px;
  }
  
  .header-navbar ul li{
  transition: transform ease 0.2s;
  }
  
  .header-navbar ul li:hover{
  transform: translateY(-5px); 
  }
  
  .header-navbar ul li a{
  text-decoration: none;
  color: #333333;
  font-family: var(--main-font);
  font-size: 18px;
  }
  
  .header-navbar ul li:hover a{
  padding-bottom: 5px;
  }
  
  .header-navbar ul li:after{
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px; 
  background-color: #333333; 
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
  } 
  
  .header-navbar ul li:hover::after{
  width: 100%;
  }

  
  .header.scrolled .header-container{
    height: 50px;
  }
  
  .header.scrolled .social-links-icon{
  width: 36px;
  }
}

@media screen and (max-width: 1500px){
  
  .header-container{
    height: 50px;
  }

  .social-links-icon{
    width: 36px;
    height: auto;
    border-radius: 50%;
    transition: all 0.2s; 
    }
    
    .social-medias-items a:hover{
    scale: 1.1;
    }
    
    
    
    .header-navbar{
    margin: auto 0;
    }
    
    .header-navbar ul{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 50px;
    }
    
    .header-navbar ul li{
    transition: transform ease 0.2s;
    }
    
    .header-navbar ul li:hover{
    transform: translateY(-5px); 
    }
    
    .header-navbar ul li a{
    text-decoration: none;
    color: #333333;
    font-family: var(--main-font);
    font-size: 16px;
    }
    
    .header-navbar ul li:hover a{
    padding-bottom: 5px;
    }
    
    .header-navbar ul li:after{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px; 
    background-color: #333333; 
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
    } 
    
    .header-navbar ul li:hover::after{
    width: 100%;
    }

    .header-navbar ul li img{
      display: inline-block;
      width: 14px;
      height: auto;
      margin-bottom: 2px;
      margin-left: 5px;
    }
      
  .dropdown-container {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Directly below the li */
    left: 0;
    width: fit-content;
    padding: 0 20px; /* Padding for left/right, top/bottom set to 0 initially */
    background-color: whitesmoke;
    border-radius: 12px;
    overflow: hidden; /* Hide overflow to make the transition smooth */
    max-height: 0; /* Collapsed state */
    opacity: 0; /* Hide initially */
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
  }

  .dropdown-container a{
    position: relative;
    text-decoration: none;
    text-wrap: nowrap;

    color: #333333;
    font-family: var(--main-font);
    font-weight: 500;
    font-size: 16px;

    margin: 5px 0;
    padding: 5px 0;
    width: fit-content;
  }


    
    
    
    #searchBarDesktop{
    display: block;
    }
    
    #searchBarMobile{
    display: none;
    }
    
    .header.scrolled .header-container{
      height: 45px;
    }
    
    .header-info-item a{
      gap: 6px;
      }
  }

@media screen and (max-width: 1280px){

.header-container {
  height: 42px;
}

.social-medias-container{
  position: absolute;
  left: 4%;
}

.social-medias-items{
  display: flex;
  flex-direction: row;
  justify-content: center;
  line-height: 0; 
  align-items: center;
  gap: 40px;
}

.social-medias-items a{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333333;

  transition: all ease 0.3s;
}

.social-links-icon{
  width: 27px;
  height: auto;
  transition: all 0.2s; 
}

.social-medias-items a:hover{
  scale: 1.1;
}



.header-logo-div{
  height: 60%;
  width: auto;
  transition: all 0.3s ease;
}


.header.scrolled .header-logo-div{
  height: 65%;
}

.header.scrolled .header-container{
  height: 37px;
}


.header-navbar{
  margin: auto 0;
}

.header-navbar ul{
  list-style-type: none;
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.header-navbar ul li{
  transition: transform ease 0.2s;
}

.header-navbar ul li:hover,
.navlink-wrapper:hover li{
  transform: translateY(-3px); 
}

.header-navbar ul li a{
  text-decoration: none;
  color: #333333;
  font-family: var(--main-font);
  font-size: calc(var(--margin-s) + 0.05rem);
}

.header-navbar ul li:hover a{
  padding-bottom: 0px;
}

.header-navbar ul li:after{
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px; 
  background-color: #333333; 
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
} 

.header-navbar ul li:hover::after{
  width: 100%;
}



.header-navbar ul li img{
  display: inline-block;
  width: 11px;
  height: auto;
  margin-bottom: 2px;
  margin-left: 2px;
}
  
.dropdown-container {
padding: 0 10px; /* Padding for left/right, top/bottom set to 0 initially */
}

.navlink-wrapper:hover .dropdown-container {
  max-height: 150px; /* Set a maximum height slightly larger than the dropdown's expected height */
  padding: 5px 10px; /* Add padding on top/bottom when expanded */
}

.dropdown-container a{
font-size: calc(var(--margin-s));

margin: 5px 0;
padding: 5px 0;
}

.dropdown-container a:after{
  height: 1px; 
} 


.header.scrolled .social-links-icon{
  width: 25px;
}

.header-info-items{
  gap: 30px;
}

.header-info-item a{
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: fit-content;
  gap: 5px;
  
  transition: transform ease 0.3s;
}

.header-info-item a:hover .header-info-vector-div{
  transform: scale(1.2);
}

}

@media screen and (max-width: 800px){

.header-logo-div{
  width: 45%;
  height: 100%;
  display: flex;
}

.header-logo-div img{
  width: 100%;
  height: auto;
}



.mobile-buttons-div{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--margin-xxl);
  position: absolute;
  right: 5%;
  z-index: 2000;
}

.header-info-container,  
.header-items-container,
.social-medias-container,
.home-button-container{
  display: none;
}

.container{
  display: block;
}

.mainNavArrow{
  display: inline-block;
}


.blur {
  filter: blur(2px); 
  pointer-events: none; 
}


.header-container,
.header-items-container {
  filter: none;
}


.header-container {
  display: flex;
  flex-direction: row;
  width: 100%; 
  height: 4rem;
  min-height: 60px;
  position: relative; 
  z-index: 2000;

  background-color: whitesmoke;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  transition: padding 0.3s ease, height 0.3s ease;
}

.mobile-search-button-div{
  cursor: pointer;
  height: 55px;
}

.mobile-search-button{
  transition: opacity 0.3s ease;
}

.mobile-search-button-div img{
  height: 100%;
}

.hexagon-container{
  z-index: 2000;
}

.header-container{
  z-index: 1000;
}


.bar1, .bar2, .bar3{
  width: 45px;
  height: 5px;
  background-color: #333333;
  margin: 10px 0;
  transition: 0.3s;
  border-radius: 10px;
}

.change .bar1{
  transform: translate(0, 15px) rotate(-45deg);
}

.change .bar2{
  opacity: 0;
}

.change .bar3{
  transform: translate(0, -14px) rotate(45deg);
}

.mobile-search-button-div{
  cursor: pointer;
  height: 45px;
}


.mobile-header-items-container {
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--margin-xxl);
  margin: 0 auto;
  position: absolute;
  top: -200%; 
  left: 0;
  width: 100%;
  max-height: 80vh;
  background-color: whitesmoke;
  padding: 3vh 0;
  padding-top: 0;
  height: fit-content;
  transition: top 0.3s ease, opacity 0.2s ease;
  z-index: -1000; 
  overflow-y: auto;
}


.mobile-header-items-container.show {
  opacity: 1;
  pointer-events: auto; 
  top: 100%; 
}

.mobile-header-items-container.show::after {
  content: '';
  position: absolute;
  top: 0%; 
  left: 50%;
  width: 90%;
  height: 3px; 
  background-color: #cccccc; 
  transition: width 0.3s ease;
  transform: translateX(-50%); 
}

/*
.custom-clear-button {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #333333;
  z-index: 1;
}

.custom-clear-button::before {
  content: '×';
  font-size: 60px;
}
*/


#searchBarDesktop{
display: none;
}

#searchBarMobile{
display: block;
}

.mobile-header-navbar{
  margin: 0 auto;
  display: block; 
  width: 90%;
  padding: 5vh 0;
}

.mobile-header-navbar ul{
  display: none;
}

#mobileUl{
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8vh;
  z-index: 20;
}

#mobileUl-listItem{
  position: relative; 
  display: flex;
  flex-direction: column;
  gap: var(--margin-l);
  width: fit-content;
  z-index: 20;
}

.mainNavArrow {
  width: 22px;
  height: auto;
  transition: transform 0.3s ease; 
}

#mobileUl-listItem li:hover ~ .mainNavArrow {
  transform: translateX(20px); 
}

.mobile-header-navbar ul li {
  display: flex;
  gap: var(--margin-l);
  width: fit-content;
  z-index: -20;
  position: relative; 
}

.mobile-header-navbar ul li:hover{
  transform: translateY(0px); 
}

.mobile-header-navbar ul li a{
  text-decoration: none;
  color: #333333;
  font: var(--h3);
  font-size: var(--margin-xl);
  font-weight: 500;
}

.mobile-header-navbar ul li::after {
  content: '';
  position: absolute;
  bottom: -5px; 
  left: 0; 
  width: 0;
  height: 3px; 
  background-color: #333333; 
  transition: width 0.3s ease;
  transform: translateY(100%); 
}

.mobile-header-navbar ul li:hover::after{
  width: 100%;
}

.mobile-header-navbar ul #nav-demo-button::after{
  content: none;
}

.mobile-dropdown-container {
  list-style-type: disc;
  position: relative;
  display: none; /* Initially hidden */
  flex-direction: column;
  padding-left: 10%; /* Adjust padding or margin as needed */
  background-color: whitesmoke;
}

.mobile-dropdown-container a {
  text-wrap: nowrap;
  width: fit-content;
  position: relative;
  font: var(--h3);
  font-weight: 500;
  font-size: var(--margin-xl);
  padding: 5px 0;
  margin: 4% 0;
  color: #333333;
  text-decoration: none;
}

.mobile-dropdown-container a::before {
  content: '';
  position: absolute;
  bottom: -5px; 
  left: 0;
  width: 0;
  height: 2px; 
  background-color: #333333; 
  transition: width 0.3s ease;
  transform: translateY(100%); 
}

.mobile-dropdown-container a:hover::before {
  width: 100%;
}

.mobile-dropdown-container a::after {
  content: "•"; /* Disc symbol */
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  color: #333333; /* Same color as text, adjust if needed */
  font-size: 1em;
}



.mobile-contacts-container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  width: 90%;
  position: relative; 
}

.mobile-contact-info-items{
  display: flex;
  flex-direction: column;
  gap: var(--margin-l);
  position: relative; 

}

.mobile-contacts-container a{
  text-decoration: none;
  display: flex;
  flex-direction: row;
  gap: var(--margin-m);
  position: relative; 
  width: fit-content;
}

.mobile-contacts-container h3{
  color: #333333;
  font-size: var(--margin-l);
  font-weight: 500;
  padding: 5px 0;
}

.header-info-vector-div{
  margin: auto 0;
  height: fit-content;
  display: flex;
  width: fit-content;
  transition: transform 0.2s ease;
}

.header-info-vector-div #phoneIcon{
  height: 25px;
  width: 34px;
  margin: auto 0;
  margin-top: 0px;
}

.header-info-vector-div #mailIcon{
  height: 29px;
  width: 36px;
  margin: auto 0;
  margin-top: 0px;
}

.mobile-contact-socials{
  display: flex;
  flex-direction: row;
  justify-content: center;
  line-height: 0; 
  align-items: flex-end;
  gap: 3rem;
}

.mobile-contact-socials a{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20%;
  background-color: #333333;

  z-index: 20;
  transition: all ease 0.3s;
}

.mobile-contact-socials .social-links-icon{
  width: 50px;
  height: auto;
  transition: all 0.2s; 
}

.mobile-contact-socials .social-links-icon:hover{
  transform: scale(1.1);
}
}

@media screen and (max-width: 500px){
.bar1, .bar2, .bar3{
  width: 35px;
  height: 4px;
  background-color: #333333;
  margin: 8px 0;
  transition: 0.3s;
  border-radius: 10px;
}

.change .bar1{
  transform: translate(0, 12px) rotate(-45deg);
}

.change .bar2{
  opacity: 0;
}

.change .bar3{
  transform: translate(0, -12px) rotate(45deg);
}


.header-logo-div{
  width: 50%;
  height: 100%;
  display: flex;
}

.header-logo-div img{
  width: 100%;
  height: auto;
}


.mobile-buttons-div{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--margin-xl);
  position: absolute;
  right: 5%;
  z-index: 2000;
}

.header-info-container, 
.search-bar-container, 
.header-items-container,
.social-medias-container{
  display: none;
}

.container{
  display: block;
}

.mainNavArrow{
  display: inline-block;
}



.header-container,
.header-items-container {
  filter: none;
}


.header-container {
  display: flex;
  flex-direction: row;
  width: 100%; 
  height: 6vh;
  position: relative; 

  background-color: whitesmoke;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  transition: padding 0.3s ease, height 0.3s ease;
}

.mobile-search-button-div{
  cursor: pointer;
  height: 35px;
}

.mobile-search-button{
  transition: opacity 0.3s ease;
}

.mobile-search-button-div img{
  height: 100%;
}


.mobile-header-items-container {
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--margin-xl);
  margin: 0 auto;
  position: absolute;
  top: -200%; 
  left: 0;
  width: 100%;
  background-color: whitesmoke;
  padding: 1.5rem 0;
  padding-top: 0vh;
  height: fit-content;
  transition: top 0.3s ease, opacity 0.2s ease;
  z-index: -1000; 
}


.mobile-header-items-container.show {
  opacity: 1;
  pointer-events: auto; 
  top: 100%; 
}

.mobile-header-items-container.show::after {
  content: '';
  position: absolute;
  top: 0%; 
  left: 50%;
  width: 90%;
  height: 3px; 
  background-color: #cccccc; 
  transition: width 0.3s ease;
  transform: translateX(-50%); 
}

.mobile-header-navbar{
  margin: 0 auto;
  display: block; 
  width: 90%;
  padding: 4vh 0;
}

.mobile-header-navbar ul{
  display: none;
}

#mobileUl{
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  z-index: 20;
}

#mobileUl-listItem{
  position: relative; 
  display: flex;
  gap: var(--margin-l);
  width: fit-content;
  z-index: 20;
}

.mainNavArrow {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease; 
}

#mobileUl-listItem li:hover ~ .mainNavArrow {
  transform: translateX(20px); 
}

.mobile-header-navbar ul li {
  width: fit-content;
  z-index: -20;
  position: relative; 
}

.mobile-header-navbar ul li:hover{
  transform: translateY(0px); 
}

.mobile-header-navbar ul li a{
  text-decoration: none;
  color: #333333;
  font: var(--h3);
  font-size: 5vw;
  font-weight: 500;
}

.mobile-header-navbar ul li::after {
  content: '';
  position: absolute;
  bottom: -5px; 
  left: 0; 
  width: 0;
  height: 3px; 
  background-color: #333333; 
  transition: width 0.3s ease;
  transform: translateY(100%); 
}

.mobile-header-navbar ul li:hover::after{
  width: 100%;
}


.mobile-dropdown-container {
  list-style-type: disc;
  position: relative;
  display: none; /* Initially hidden */
  flex-direction: column;
  padding-left: 8%; /* Adjust padding or margin as needed */
  background-color: whitesmoke;
}

.mobile-dropdown-container a {
  text-wrap: nowrap;
  width: fit-content;
  position: relative;
  font: var(--h3);
  font-weight: 500;
  font-size: 5vw;
  padding: 5px 0;
  margin: 4% 0;
  color: #333333;
  text-decoration: none;
}

.mobile-dropdown-container a::before {
  bottom: 0px; 
}

.mobile-dropdown-container a::after {
  left: -15px;
  top: 50%;
}




.mobile-contacts-container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  width: 90%;
  position: relative; 
}

.mobile-contact-info-items{
  display: flex;
  flex-direction: column;
  gap: var(--margin-s);
  position: relative; 

}

.mobile-contacts-container a{
  display: flex;
  flex-direction: row;
  gap: var(--margin-s);
  position: relative; 
  width: fit-content;
}

.mobile-contacts-container h3{
  color: #333333;
  font-size: var(--margin-xm);
  padding: 5px 0;
}

.header-info-vector-div{
  margin: auto 0;
  display: flex;
  align-items: center;
  height: fit-content;
  width: fit-content;
  transition: transform 0.2s ease;
}

.header-info-vector-div #phoneIcon{
  height: 22px;
  width: 30px;
  margin-top: 0px;
}

.header-info-vector-div #mailIcon{
  height: 23px;
  width: 30px;
  margin-top: 2px;
}

.mobile-contacts-container a:hover .header-info-vector-div{
  transform: scale(1.1);
}

.mobile-contact-socials{
  display: flex;
  flex-direction: row;
  justify-content: center;
  line-height: 0; 
  align-items: flex-end;
  gap: 3rem;
}

.mobile-contact-socials a{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20%;
  background-color: #333333;

  z-index: 20;
  transition: all ease 0.3s;
}

.mobile-contact-socials .social-links-icon{
  width: 45px;
  height: auto;
  transition: all 0.2s; 
}

.mobile-contact-socials .social-links-icon:hover{
  transform: scale(1.1);
}
}

@media screen and (max-width: 375px){
.bar1, .bar2, .bar3{
  width: 24px;
  height: 3px;
  background-color: #333333;
  margin: 6px 0;
  transition: 0.3s;
  border-radius: 10px;
}

.change .bar1{
  transform: translate(0, 8px) rotate(-45deg);
}

.change .bar2{
  opacity: 0;
}

.change .bar3{
  transform: translate(0, -10px) rotate(45deg);
}

.hexagon-container {
  position: static; 
  width: 45%; 
  height: auto; 
  margin-left: 5%; 
  margin-right: auto; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  z-index: 1000; 
}

.hexagon-background {
  width: 100%; 
  height: auto; 
  background-color: whitesmoke;
  clip-path: none; 
}

.hexagon-container img {
  width: 100%; 
  height: auto; 
  display: block; 
  position: relative;
}

.mobile-buttons-div{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--margin-l);
  position: absolute;
  right: 5%;
  z-index: 2000;
}

.header-info-container, 
.search-bar-container, 
.header-items-container,
.social-medias-container{
  display: none;
}

.container{
  display: block;
}

.mainNavArrow{
  display: inline-block;
}

.header-container,
.header-items-container {
  filter: none;
}


.header-container {
  display: flex;
  flex-direction: row;
  width: 100%; 
  height: 6vh;
  min-height: auto;
  position: relative; 
  z-index: 2000;

  background-color: whitesmoke;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  transition: padding 0.3s ease, height 0.3s ease;
}

.mobile-search-button-div{
  cursor: pointer;
  height: 26px;
}

.mobile-search-button{
  transition: opacity 0.3s ease;
}

.mobile-search-button-div img{
  height: 100%;
}

.hexagon-container{
  z-index: 2000;
}

.header{
  z-index: 1000;
}

.header-container{
  z-index: 1000;
}


.mobile-header-items-container {
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--margin-xl);
  margin: 0 auto;
  position: absolute;
  top: -200%; 
  left: 0;
  width: 100%;
  background-color: whitesmoke;
  padding: 1rem 0;
  padding-top: 0vh;
  height: fit-content;
  transition: top 0.3s ease, opacity 0.2s ease;
  z-index: -1000; 
}


.mobile-header-items-container.show {
  opacity: 1;
  pointer-events: auto; 
  top: 100%; 
}

.mobile-header-items-container.show::after {
  content: '';
  position: absolute;
  top: 0%; 
  left: 50%;
  width: 90%;
  height: 2px; 
  background-color: #cccccc; 
  transition: width 0.3s ease;
  transform: translateX(-50%); 
}

.mobile-header-navbar{
  margin: 0 auto;
  display: block; 
  width: 90%;
  padding: 4vh 0;
}

.mobile-header-navbar ul{
  display: none;
}

#mobileUl{
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7vh;
  z-index: 20;
}

#mobileUl-listItem{
  position: relative; 
  display: flex;
  gap: var(--margin-l);
  width: fit-content;
  z-index: 20;
}

.mainNavArrow {
  width: 16px;
  height: auto;
  transition: transform 0.3s ease; 
}

#mobileUl-listItem li:hover ~ .mainNavArrow {
  transform: translateX(20px); 
}

.mobile-header-navbar ul li {
  width: fit-content;
  z-index: -20;
  position: relative; 
}

.mobile-header-navbar ul li:hover{
  transform: translateY(0px); 
}

.mobile-header-navbar ul li a{
  text-decoration: none;
  color: #333333;
  font: var(--h3);
  font-size: var(--margin-l);
  font-weight: 500;
}

.mobile-header-navbar ul li::after {
  content: '';
  position: absolute;
  bottom: -5px; 
  left: 0; 
  width: 0;
  height: 2px; 
  background-color: #333333; 
  transition: width 0.3s ease;
  transform: translateY(100%); 
}

.mobile-header-navbar ul li:hover::after{
  width: 100%;
}


.mobile-dropdown-container {
  list-style-type: disc;
  position: relative;
  display: none; /* Initially hidden */
  flex-direction: column;
  padding-left: 8%; /* Adjust padding or margin as needed */
  background-color: whitesmoke;
}

.mobile-dropdown-container a {
  font-size: calc(var(--margin-l) - 0.2rem);
  padding: 5px 0;
  margin: 4% 0;
}

.mobile-dropdown-container a::before {
  bottom: 0px; 
}

.mobile-dropdown-container a::after {
  left: -15px;
  top: 50%;
}




.mobile-contacts-container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  width: 90%;
  position: relative; 
}

.mobile-contact-info-items{
  display: flex;
  flex-direction: column;
  gap: var(--margin-s);
  position: relative; 

}

.mobile-contacts-container a{
  display: flex;
  flex-direction: row;
  gap: var(--margin-xs);
  position: relative; 
  width: fit-content;
}

.mobile-contacts-container h3{
  color: #333333;
  font-size: calc(var(--margin-sm));
  padding: 5px 0;
}

.header-info-vector-div{
  margin: auto 0;
  display: flex;
  align-items: center;
  height: fit-content;
  width: fit-content;
  transition: transform 0.2s ease;
}

.header-info-vector-div #phoneIcon{
  height: 19px;
  width: 27px;
}

.header-info-vector-div #mailIcon{
  height: 20px;
  width: 27px;
  margin-top: 0px;
}

.mobile-contacts-container a:hover .header-info-vector-div{
  transform: scale(1.1);
}

.mobile-contact-socials{
  display: flex;
  flex-direction: row;
  justify-content: center;
  line-height: 0; 
  align-items: flex-end;
  gap: 2rem;
}

.mobile-contact-socials a{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20%;
  background-color: #333333;

  z-index: 20;
  transition: all ease 0.3s;
}

.mobile-contact-socials .social-links-icon{
  width: 35px;
  height: auto;
  transition: all 0.2s; 
}

.mobile-contact-socials .social-links-icon:hover{
  transform: scale(1.1);
}
}

.mobile-buttons-div {
    display: none; /* Hidden by default */
}

.header-container.mobile-view .mobile-buttons-div {
    display: flex; /* Show when in mobile view */
}

.container {
    display: block; /* Always have layout, but might be hidden by parent */
}