@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Montserrat:wght@400;600;700&display=swap");
body,
html {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}
header {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  align-items: center;
  z-index: 1000;
  background-color: white;

  transition: background-color 0.5s ease;
}
header.scrolled {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
}

.header2 {
  background-color: white;
}

.header3,
.header4,
.header7 {
  background-color: transparent;
}

.header3.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
}

.header4.scrolled,
.header7.scrolled {
  background-color: white;
}

.header7.scrolled .maria {
  color: #636b75;
}

.header7 .maria::after {
  display: block;
  content: "";
  border-bottom: 2px solid #fdac08;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}

.header7 .maria:hover {
  color: #fdac08;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
}

.hamburger2 .line {
  background-color: white;
}

.nav-bar ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-bar ul li {
  position: relative;
}

.nav-bar ul li a {
  text-decoration: none;
  display: block;
  color: #636b75;
  font-weight: 400;
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.2s;
}

.nav-bar ul li .maria {
  color: white;
}

.nav-bar ul li a::after {
  display: block;
  content: "";
  border-bottom: 2px solid #00accd;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}

.nav-bar ul li a:hover::after {
  transform: scaleX(1);
}

.nav-bar ul li a:hover {
  color: #00accd;
}

/* Dropdown content with animation */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 160px;
  z-index: 1;
  top: 100%;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown.show .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content a {
  color: #636b75;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  color: #00accd;
}

.demo,
.demo2,
.demo3,
.demo4,
.demo7 {
  display: flex;
  padding: 8px 20px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: none;
  border-radius: 44px;
  color: var(--Neutral-10, #fff);
  font-family: "Inter";
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: -0.176px;
  cursor: pointer;
}

.demo {
  background: #00accd;
}
.demo:hover {
  background: #3fcae6;
}

.demo2 {
  background: #4687f1;
}

.demo3 {
  background: #58468c;
}

.demo4 {
  background: white;
  color: #ff64e3;
  font-weight: 400;
}

.demo7 {
  background: #fdac08;
}

.demo5 {
  background: #283651;
}

.demo5:hover {
  background: #7d8ba8;
}

.demo6 {
  background: #1b69c9;
}

.demo6:hover {
  background: #589df0;
}

@media (min-width: 1280px) {
  header {
    padding: 20px 15px;
  }
  .nav-bar ul li a {
    font-size: 16px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  header {
    padding: 20px 10px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px 30px;
    width: 100%;
  }

  .nav-bar {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
    max-height: 0;
  }

  .nav-bar.open {
    display: flex;
    max-height: 500px;
  }
  .nav-bar.open .maria {
    color: #636b75;
  }

  .nav-bar ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-bar ul li {
    width: 100%;
    text-align: center;
  }

  .nav-bar ul li a {
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid #ddd;
  }

  .dropdown-content {
    position: relative;
    box-shadow: none;
    width: 100%;
  }

  .dropdown-content a {
    padding: 10px;
  }

  .demo {
    margin-top: 10px;
    border-radius: 0;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .logo_nav {
    width: 100px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 20px 15px;
    width: 100%;
  }
  .logo_nav {
    width: 80px;
  }
}
