/* General Navbar Styling */
.navbar {
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar--with-border {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar--with-bg {
  background: #fff;
}

.btn {
  font-size: 1rem;
}

/* Wrapper */
.wrapper {
  max-width: 100rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Navbar Wrapper */
.navbar__wrapper {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 2fr 1fr;
  justify-content: space-between;
}




@media (max-width: 1480px) {

  .navbar__wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;

  }

  .nav__links {
    display: none;
  }


  .navbar__cta {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
  }


  /* Burger Menu Icon */
  .burger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
  }

}


/* Navbar Logo */
.navbar__logo svg {
  display: flex;
  max-width: 40%;

}



/* Navbar Logo 
.navbar__logo a svg {
  width: 96px;
  height: 27px;
}*/

/* Navbar Links */
.navbar__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  color: #36394a;
  font-weight: 500;
}




@media (max-width: 1200px) {
  .navbar__links {
    display: none;
  }
}

.navbar__links a.navbar__link {
  display: flex;
  align-items: center;

}




/* Hover styles */
.navbar__link:hover {
  color: hsla(214, 92%, 49%, 1);
}

.navbar__link__icon:hover {
  color: hsla(214, 92%, 49%, 1);
}

/* Active link styles */
.navbar__link--active {
  font-weight: bold;
  color: hsla(214, 92%, 49%, 1);
}



/* Navbar Call-to-Action (CTA) */
.navbar__cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}

.navbar__cta__burger {
  display: none;
  border: none;
  cursor: pointer;
}

.navbar__cta__divider {
  all: unset;
  height: 1rem;
  border: 0.5px solid rgba(45, 45, 45, 0.2);
}

@media (max-width: 768px) {
  .navbar__cta__burger {
    display: block;
  }


.navbar__logo svg {
max-width: 60%;
}

}


/* Dropdown Menu */
.lang-switch__dropdown {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0 0 0 1px #0000000d;
}

.lang-switch:hover .lang-switch__dropdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.navbar__menu__wrapper {
  display: none;
  background: #fafafa;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.25s var(--transition-easeOutSin);
}

.navbar__menu__wrapper--open {
  grid-template-rows: 1fr;
}

.navbar__menu__wrapper--open a {
  opacity: 1;
}

/* Navbar Language */

.navbar__language {
  height: 100%;
  padding-block: 1rem;
  position: relative;
  display: none;
  width: 100%;
}

@media (min-width: 847px) {
  .navbar__language {
    display: block
  }
}

.navbar__language:hover .navbar__language__dropdown {
  display: flex;
  transform-origin: top left;
  position: absolute;
  left: 30%;
  top: 3.5rem;
  animation: asd .15s var(--transition-easeOutSin)
}

.navbar__language__dropdown {
  transform: translate(-50%);
  display: none;
  z-index: 20;
  border-radius: .375rem;
  background: #fff;
  box-shadow: 0 0 0 1px #0000000d, 0 1px 2px #0000001a, 0 2px 4px #0000001a;
  width: 11.625rem;
  padding: .125rem;
  flex-direction: column;
  align-items: flex-start;
  gap: .125rem
}

.navbar__language__dropdown__item {
  display: flex;
  align-items: center;
  padding: .4rem 2.5rem;
  width: 100%;
  font-weight: 500
}

.navbar__language__dropdown__item:is(:hover, :focus-within) {
  background: #f1f2f4;
  cursor: pointer;
}

.navbar__language__dropdown__item span {
  margin-left: 1rem;
  color: var(--text-muted, #36394a);
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -.0175rem
}

.language-option {
  display: flex;
}

.navbar__language__selected {
  display: flex;
  align-items: center;
}

.navbar__language__selected :hover {
  cursor: pointer;
}

.navbar__language__selected span {
  font-weight: 500;
  color: var(--text-muted, #36394a);
  font-style: normal;
  line-height: 100%;
  letter-spacing: -.0175rem
}


.navbar__menu__language_container {
  display: flex;
  align-items: center;
  gap: 20px;
  align-self: stretch;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar__menu__language {
  display: inline-flex;
  padding: 10px;
  gap: .5rem;
  border: none;
  align-items: center;
}

.navbar__menu__language:hover {
  color: var(--primary-color);
  cursor: pointer;
}

/* Animations */
@keyframes up-rotate {
  0% {
    animation-timing-function: cubic-bezier(0.16, -0.88, 0.97, 0.53);
    transform: translateY(0);
  }

  30% {
    transform-origin: center;
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(-10px);
  }

  to {
    transform-origin: center;
    transform: translateY(-10px) rotate(45deg) scale(0.9);
  }
}

@keyframes down-rotate {
  0% {
    animation-timing-function: cubic-bezier(0.16, -0.88, 0.97, 0.53);
    transform: translateY(0);
  }

  30% {
    transform-origin: center;
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(10px);
  }

  to {
    transform-origin: center;
    transform: translateY(10px) rotate(-45deg) scale(0.9);
  }
}

@keyframes asd {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(-20px) translate(-50%);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0) translate(-50%);
  }
}

/* Miscellaneous */
.navbar__menu {
  color: var(--text-muted, #36394A);
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.04375rem;
}



.navbar__cta__search {
  border-radius: 6.1875rem;
  background: #fff;
  box-shadow: 0 0 0 1px #0000000f, 0 1px #0000001f;
  display: flex;
  padding: 0.4rem 0.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-muted, #36394a);
  font-weight: 500;
  letter-spacing: -0.04375rem;
}




/***Header part 2 nav container**/


.nav {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  padding: 10px 0
}

.nav__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px
}

@media (max-width: 1200px) {
  .nav__container {
    padding: 0
  }

  .navbar__cta__divider {
    display: none;
  }
}

.nav__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none
}

@media (min-width: 640px) {
  .nav__scroll {
    display: flex;
    justify-content: center
  }
}

.nav__scroll::-webkit-scrollbar {
  display: none
}

@media (max-width: 768px) {
  .nav__scroll {
    padding: 0 20px;
  }
}

/* Default link styles */
.nav-link {
  color: #36394a;
  text-decoration: none;
  display: flex;
  font-size: 16px;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

/* Hover effect */
.nav-link:hover {
  color: hsla(214, 92%, 49%, 1);
  border-bottom-color: hsla(214, 92%, 49%, 1);
}

/* Active state */
.nav-link--active {
  color: hsla(214, 92%, 49%, 1);
  font-weight: bold;
  border-bottom-color: hsla(214, 92%, 49%, 1);
}

/* Hover effect on active links */
.nav-link--active:hover {
  color: hsla(214, 92%, 60%, 1);
}




/***Mobile menu**/

/* Burger Menu Styling */
.burger-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 10;
}

.burger-icon span {
  display: block;
  width: 35px;
  height: 3px;
  background-color: black;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-toggle {
  display: none;
}

/* Show the dropdown when checked */
.burger-toggle:checked~.dropdown-menu {
  display: block;
}

/* Transform to X on Active */
.burger-toggle:checked+.burger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 4px);
}

.burger-toggle:checked+.burger-icon span:nth-child(2) {
  opacity: 0;
}

.burger-toggle:checked+.burger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6.7px);
}


/* Dropdown Menu in burger menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 115px;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 9;
}

.dropdown-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem;
  background-color: #fafafa;
}

.dropdown-menu nav ul li {
  margin-bottom: 1rem;
}

.dropdown-menu nav ul li a {
  text-decoration: none;
  color: #36394a;
  font-size: 16px;
  padding: 0.5rem 1rem;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-menu nav ul li a:hover {
  background-color: #f0f0f0;
  border-radius: 5px;
}


@media (max-width: 1200px) {


  .navbar__language {
    display: none;
  }

  .navbar__cta__divider {
    display: none;
  }

  .navbar__links {
    display: none;
    /* Hide links on smaller screens */
  }

  /* Sign Up button and Burger Menu on the right */
  .navbar__cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    /* Push it to the right */
  }

  .btn {
    font-size: 0.9rem;
    /* Slightly smaller button for compact design */
    padding: 0.5rem 1rem;
    border-radius: 6px;
  }

  .burger-icon {
    display: flex;
    align-items: center;
    justify-content: center;

  }

  /* Adjust the spacing */
  .navbar__cta>.burger-icon {
    margin-left: 0.5rem;
  }
}


@media (max-width: 960px) {

  div.navbar__cta_mobile {
    display: flex;
    margin-top: 15px;
    text-align: center;
  }

  div.navbar__cta_mobile a {
    width: 40%;
    margin: 10px auto;
  }

  a.btn.btn__neutral.ml-2 {
    display: none;
  }

}

.navbar__cta_mobile {
  display: none;
}


.arrow-down {
  display: flex;
}


.btn-signup {
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
  padding: .7rem 3rem;
  gap: 10px;
  background-color: #F3F3F3;
  color: black;
  border: none;
  cursor: pointer;
  max-height: 46px;
  text-wrap: nowrap;
  transition: all 0.3s ease;
}

.btn-signup:hover {
  background-color: #e0e0e0;
  color: #000;
  transform: scale(1.05);
}




a.btn-no-border {
  display: flex;
  text-decoration: none;
  text-wrap: nowrap;
  color: black;
  font-size: 1rem;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.3s;
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
}


a.btn-no-border:hover {
  background: #e0e0e0;
}





@media (max-width: 768px) {

  .navbar__cta {
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  .btn-signup {
    font-size: 0.875rem;
  }

  .btn-no-border {
    font-size: 0.875rem;
    padding: 6px 8px;
  }
}

/* Navbar Call-to-Action (CTA) */
.navbar__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}



.btn-no-border {
  display: flex;
  text-decoration: none;
  color: black;
  font-size: 1rem;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.3s;
  font-weight: 500;
}