* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: white;
  font-family: "Montserrat", sans-serif;
}

p {
  font-family: "Roboto", sans-serif;
  color: #1761a0;
}

li {
  font-family: "Roboto", sans-serif;
}

/* HEADER  */

.min-logo {
  width: 60px;
  height: 60px;
  animation: spin 7s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

header {
  padding: 10px 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  position: fixed;
}

.nav ul {
  display: flex;
  gap: 40px;
}

.nav ul li {
  list-style: none;
  font-weight: bold;
  font-size: 15px;
  text-transform: uppercase;
}

.nav ul li a {
  color: #1761a0;
}

.nav ul li:not(:last-child) a:hover {
  color: #4c96d7;
  transition: color 0.3s ease;
}

.call-btn {
  padding: 10px 20px;
  background-color: #1761a0;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  width: 200px;
  font-size: 15px;
  font-weight: bold;
}

.phone {
  color: #fff;
  font-size: 15px;
  margin-right: 20px;
}

.desktop-only {
  display: inline-flex;
}

.mobile-only {
  display: none;
}

.nav-toggle {
  display: none;
}

.burger {
  display: none;
  cursor: pointer;
  width: 34px;
  height: 26px;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #565e5f;
  border-radius: 3px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

@media (max-width: 860px) {
  header {
    justify-content: space-between;
    padding: 10px 16px;
  }

  .burger {
    display: flex;
    order: 2;
  }

  .desktop-only {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 16px;
  }

  .nav ul li {
    font-size: 20px;
  }

  .nav ul a {
    display: block;
    padding: 14px 6px;
  }

  .mobile-only {
    display: block;
    margin-top: 10px;
  }

  .mobile-only .call-btn {
    width: 230px;
    padding: 14px;
    font-size: 18px;
    color: white;
  }

  .nav-toggle:checked ~ .nav {
    max-height: 340px;
  }

  .nav-toggle:checked + .burger span:nth-child(1) {
    transform: translateY(11.5px) rotate(45deg);
  }

  .nav-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .burger span:nth-child(3) {
    transform: translateY(-11.5px) rotate(-45deg);
  }
}

/* Main */

main {
  margin-top: 120px;
  color: #1761a0;
  text-align: center;
}

h1 {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 30px;
}

.identity ul li {
  line-height: 35px;
  font-size: 18px;
}

.identity p {
  font-size: 18px;
  width: 80%;
  margin: 0 auto;
}

.identity ul li:last-of-type {
  margin-bottom: 20px;
}

/* FOOTER */

footer {
  background-color: #031c30;
}

.infos-footer {
  display: flex;
  justify-content: space-around;
  gap: clamp(20px, 5vw, 80px);
  padding: 20px;
  flex-wrap: wrap;
}

.bipy p {
  margin-top: 15px;
  font-size: 20px;
  color: #868686;
}

.links {
  display: flex;
  gap: clamp(20px, 4vw, 80px);
  flex-wrap: wrap;
}

.links ul {
  list-style: none;
  padding: 0;
  line-height: 30px;
}

.links ul li {
  color: #868686;
  font-size: 15px;
}

footer h4 {
  color: white;
  font-size: 18px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 10px;
}

.legal {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  border-top: 1px solid #868686;
  gap: clamp(20px, 4vw, 80px);
  flex-wrap: wrap;
}

.legal p,
.legal a {
  color: #868686;
  font-size: 14px;
  padding-top: 10px;
  font-family: "Roboto", sans-serif;
}

.min-logo-footer {
  width: 90px;
  height: 90px;
  animation: spin 7s linear infinite;
}

.contact i,
.contact ul li {
  color: white;
}

.contact ul li {
  font-family: "Montserrat", sans-serif;
}

@media (max-width: 1024px) {
  .infos-footer {
    gap: 80px;
  }

  .links {
    gap: 80px;
  }

  .legal {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .infos-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .links {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .legal {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .bipy p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .min-logo-footer {
    width: 70px;
    height: 70px;
  }

  footer h4 {
    font-size: 16px;
  }

  .links ul li {
    font-size: 14px;
  }
}
