
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

.content-container {
  width: 100%;
  margin-top: 80px;
  padding: 2rem;
  line-height: 1.7;
}

section {
  margin-bottom: 3rem;
  text-align: center;
}

section img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  margin-top: 1rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(248, 248, 248, 0.726);
  --webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.logo {
  width: 30%;
}

.logo img {
  width: 100%;
  height: auto;
  max-width: 300px;
}

#nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #006d6d;
  margin: 4px 0;
  transition: all var(--transition-speed) ease;
}

nav {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: 100%;
  width: 80%;
}

nav li a{
  display: flex;
  width: 100%;
  height: 100%;
}

.nav-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: color 0.3s;
}

nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #000000;
  font-size: 11pt;
  transition: color var(--transition-speed);
  width: 100%;
  height: 100%;
}

nav a:hover {
  color: rgb(255, 255, 255);
}

.nav-button {
  padding: 0.5rem 1rem;
  color: #000000;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
  box-shadow: 0px 3px 0px rgba(161, 126, 1, 0.219);
}

.nav-button:hover {
  background-image: linear-gradient(to right, rgba(21, 241, 131, 0.856) 10%, rgba(241, 111, 11, 0.935) 90%);
  font-size: 12pt;
  font-weight: 500;
}

.active {
  background-image: linear-gradient(to right, rgba(21, 241, 131, 0.856) 10%, rgba(241, 111, 11, 0.935) 90%);
}

.active {
  font-size: 12pt;
  color: #fff;
  font-weight: 500;
}
/* ---------- Footer ---------- */
footer {
  background-color: #222;
  color: #eee;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}
@media (max-width: 1250px) {
  main {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    font-size: 0.8rem;
    width: 100%;
  }

  h1 {
    font-size: 10pt;
  }

  h2 {
    font-size: 10pt;
  }

  h3 {
    font-size: 9pt;
  }

  p {
    font-size: 9pt;
  }

  .hero {
    width: 95%;
  }

  .content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 100%;
    margin-left: 0.2em;
    margin-right: 0;
    padding: 0;
    margin-top: 100px;
  }

  .content {
    width: 100%;
    padding: 0.5rem;
  }

  .section {
    display: block;
    align-items: center;
    justify-content: start;
    margin-bottom: 1rem;
    gap: 0.7rem;
  }

  .contact-form {
    width: 80%;
  }

  /* Position and style for the nav in mobile view */
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
  }

  .logo {
    font-size: 28pt;
    width: 60%;
  }

  nav ul {
    flex-direction: column;
    padding: 1rem;
  }

  /* Display the hamburger icon at small screens */
  .hamburger {
    display: flex;
  }

  /* When the nav-toggle is checked, fully expand the nav menu */
  #nav-toggle:checked+.hamburger+nav {
    display: flex;
    flex-direction: column;
    /* ensures the items stack vertically */
    width: 100%;
    max-height: 500px;
    /* Adjust this value to the maximum height of your menu */
    height: max-content;
    transition: max-height 0.3s ease-in-out;
    z-index: 1000;
  }

  #nav-toggle:checked+.hamburger+.nav-button+a {
    display: flex;
    flex-direction: column;
    /* ensures the items stack vertically */
    width: 80%;
  }

  /* Transform the hamburger icon into an X */
  #nav-toggle:checked+.hamburger span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  #nav-toggle:checked+.hamburger span:nth-child(2) {
    opacity: 0;
  }

  #nav-toggle:checked+.hamburger span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
}