/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  position: relative;
  flex-wrap: wrap;
  padding-left: 10%;
  padding-right: 10%;
}

#logoheader {
  width: 200px;
  height: auto;
}

.nav-container1 {
  position: relative;
}

/* ☰ Button */
.nav-toggle {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: black;
  display: block;
  z-index: 1000;
  position: relative;
}

/* Navigation (mobile default: hidden and vertical) */
nav {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0.5rem;
  position: absolute;
  top: 100%;
  right: 20%;
  transform: translateX(1%);
  width: 450%;
  background-color: var(--bg-white);
  z-index: 999;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
}

nav.active {
  display: flex;
}

.nav-link {
  color: black;
  text-decoration: none;
  font-weight: 600;
  padding: 5px;
  border-bottom: 2px solid transparent;
}

.nav-link.active {
  border-bottom: 2px solid var(--bg-green);
}

/* === DROPDOWN === */
.dropbtn {
  background: none;
  border: none;
  color: black;
  font-weight: 600;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: table;
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  max-width: 250px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
  text-align: center;
  
}

.dropdown-content a {
  padding: 10px 15px;
  display: block;
  text-decoration: none;
  font-weight: 600;
  border-top: 3px solid transparent;
  background-color: whitesmoke;
  transition: background-color 0.5s, color 0.5s;
}

.dropdown-content a:hover,
.dropdown-content a.active {
  background-color: #dcedc8;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* === FOOTER === */

footer {
  margin-top: 50px;
  background-color: var(--bg-green);
  padding: 5px 5px 8px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.logo-column {
  display: flex;
  justify-content: center;
}

footer .logo {
  width: 210px;
  height: 210px;
  display: flex;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.info-column {
  max-width: 800px;
  color: white;
  text-align: center;
}

.info-column h2 {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 590;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.socials h3, .office h3 {
  margin-bottom: 15px;
}

.socials p, .office p {
  display: flex;
  align-items: center;
  text-align: left;
  line-height: 1.5;
  margin-left: 10px; 
}


.divider {
  width: 4px;
  height: 160px; 
  background-color: white;  
}

#email {
  padding-right: 2px;
}

.icon-office {
  width: 20px;
  height: 20px;
  padding-right: 5px;
  margin-right: 15px;
}

.icon-socmed {
  width: 20px;
  height: 20px;
  padding-right: 5px;
  margin-right: 10px;
}

.socmed {
  text-decoration: none;
  color: var(--bg-white);
}

.socmed:hover{
  text-decoration: underline;
}

@media (min-width: 660px) {
  /* Hide ☰ on large screens */
  .nav-toggle {
    display: none;
  }

  /* Navigation for large screens: horizontal */
  nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 50px;
    width: auto;
    position: static;
    background-color: transparent;
    box-shadow: none;
    padding-right: 10px;
  }
}

@media (max-width: 767px) {
  footer .logo {
    display: none;
  }

  .divider {
    display: none;
  }
}

@media (min-width: 768px) {

  .contact-container {
    flex-direction: row;
    justify-content: center;
    gap: 50px;
  }

  footer .logo {
    display: block;
  }
  
  .info-column {
    text-align: left;
  }

  .divider {
    display: block;
  }
}

@media (min-width: 600px) {
  .contact-details {
    flex-direction: row;
    align-items: flex-start;
    text-align: center;
  }
}