* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0 auto;
}

.main {
  margin: 0 10vw;
}

/* ===========Nav Bar=========== */
header {
  background-color: black;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6vw 5vw;
}

#logo img {
  width: 20vw;
}

#logo-mobile {
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row;
  font-size: 1.3vw;
  gap: 3vw;
  cursor: pointer;
}

.nav-links a {
  color: #18a0fb;
  text-decoration: none;
  padding: 0.4vw 0.7vw;
}

.nav-links a:hover {
  cursor: pointer;
  color: #1277ba;
  transition: 0.2s ease;
}

.dropdown {
  position: relative;
}

.dropdown label {
  color: #18a0fb;
}

.dropdown label:hover {
  cursor: pointer;
  color: #1277ba;
  transition: 0.2s ease;
}

#triangle_symbol {
  color: white;
}

.dropdown label:hover #triangle_symbol {
  color: rgb(203, 203, 203);
  transition: 0.2s ease;
}

#services {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  list-style-type: none;
  min-width: 15vw;
  padding: 1vw 0 0 0;
  z-index: 1;
}

#services li a {
  display: block;
  font-size: 1vw;
  background-color: black;
  border-bottom: 0.1vw solid white;
}

#triangle {
  display: none;
}

#triangle:checked~#services {
  display: block;
  transition: 0.2s ease;
}

.nav-links .nav-contact {
  color: white;
  border: 0.1vw solid #18a0fb;
  background-color: #18a0fb;
  padding: 0.4vw 2.4vw;
  transition: 0.2s ease;
}

.nav-contact:hover {
  background-color: black;
}

#nav-toggle,
.hamburger {
  display: none;
}

@media screen and (max-width: 768px) {
  header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .nav-bar {
    padding: 3vw 1vw;
    flex-wrap: wrap;
  }

  #logo-full {
    display: none;
  }

  #logo-mobile {
    display: block;
  }

  #logo img {
    width: 90vw;
  }

  .Certification {
    width: 20vw;
  }

  .hamburger {
    display: inline-block;
    color: white;
    font-size: 6.3vw;
    cursor: pointer;
  }

  .nav-links {
    background-color: black;
    flex-direction: column;
    display: none;
    width: 100%;
    margin-top: 4vw;
  }

  #nav-toggle:checked~.nav-links {
    display: flex;
  }

  .nav-links li {
    border-top: 0.1vw solid white;
    text-align: center;
    margin-bottom: -2vw;
  }

  .nav-links a,
  .dropdown label {
    display: block;
    font-size: 4vw;
    padding: 4vw 0;
  }

  #services {
    left: 50%;
    transform: translateX(-50%);
  }

  #services li a {
    font-size: 3.6vw;
    padding: 3vw 0;
  }

  .nav-links .nav-contact {
    margin: 3vw auto;
    width: 80%;
    text-align: center;
    padding: 3vw 0;
    font-size: 4vw;
  }

}

/* ===========FOOTER=========== */
footer {
  border-top: 3px solid black;
  padding: 2vw 1.6vw;
}

.footer-content {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.logo-black img {
  width: 100%;
}

.logo-black {
  overflow: hidden;
  width: 20%;
}

.footer-col h3 {
  font-size: 1.3vw;
  margin-bottom: 1vw;
}

.footer-col p {
  font-family: 'Poppins', sans-serif;
  font-size: 1vw;
  line-height: 1.6vw;
  letter-spacing: 0.14em;
}

.footer-links {
  list-style: none;
  font-family: 'Poppins', sans-serif;
  flex-direction: column;
  gap: 1vw;
}

.footer-links a {
  text-decoration: none;
  color: black;
  font-size: 1vw;
  letter-spacing: 0.14em;
}

.footer-links a:hover {
  color: #4f4e4e;
}

@media screen and (max-width: 768px) {
  footer {
    padding: 8vw 4vw;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6vw;
  }

  .footer-col {
    width: 100%;
  }

  .logo-black img {
    width: 85vw;
  }

  .footer-col h3 {
    font-size: 4.8vw;
    margin-bottom: 3vw;
  }

  .footer-col p,
  .footer-links a {
    font-size: 3.2vw;
    line-height: 5.5vw;
  }

}

/* ==================== DESKTOP ==================== */
@media screen and (min-width: 1920px) {

  html {
    font-size: 16px;
  }

  .main {
    max-width: 1600px;
    margin: 0 auto;
  }

  /* ---------- NAV BAR ---------- */
  .nav-bar {
    padding: 1.6rem 0;
    max-width: 1600px;
    margin: 0 auto;
  }

  #logo img {
    width: 30rem;
  }

  /* #logo-full{
    display: none;
  }

  #logo-mobile{
    display: block;
  } */

  .nav-links {
    font-size: 1.4rem;
    gap: 2rem;
  }

  .nav-links a {
    padding: 0.4rem 0.6rem;
  }

  #services {
    min-width: 14rem;
  }

  #services li a {
    font-size: 1rem;
    padding: 0.6rem;
  }

  .nav-links .nav-contact {
    font-size: 1.4rem;
    padding: 0.4rem 1.6rem;
  }

  /* ---------- FOOTER ---------- */
  footer {
    padding: 3rem 5rem;
  }

  .footer-content {
    max-width: 1600px;
    margin: 0 auto;
    gap: 3rem;
  }

  .logo-black {
    width: 20%;
  }

  .footer-col h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .footer-col p,
  .footer-links a {
    font-size: 0.9rem;
    line-height: 1.6rem;
  }
}