* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.material-icons {
  font-size: 20px;
  vertical-align: middle;
}
a {
  text-decoration: none;
  color: white;
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: white;
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  color: #1761a0;
}

p {
  font-family: "Roboto", sans-serif;
  color: #1761a0;
}

li {
  font-family: "Roboto", sans-serif;
}

#services,
#society,
#zone {
  scroll-margin-top: 100px;
}

/* #O31c30 */
/* #4c96d7 */
/* #1761a0 */

/* 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: 80px;
}

.discover {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgb(236, 236, 236)),
    url("../images/header.webp");
  background-size: cover;
  background-position: center;
  min-height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
}

.discover .title {
  padding: 40px 20px;
  max-width: 1200px;
}

.discover h1 {
  color: #031c30;
  margin-bottom: 20px;
  text-transform: uppercase;
  max-width: 600px;
  width: 100%;
}

.discover p {
  margin-bottom: 30px;
  color: #031c30;
  font-weight: bold;
  max-width: 500px;
  width: 100%;
}

.discover a {
  background-color: #1761a0;
  padding: 12px 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
}

@media (max-width: 1024px) {
  .discover .title {
    padding: 30px 20px;
  }

  .discover h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .discover {
    min-height: 300px;
  }

  .discover .title {
    padding: 20px;
  }

  .discover h1 {
    font-size: 1.5rem;
  }

  .discover p {
    font-size: 0.95rem;
  }

  .discover a {
    padding: 10px 16px;
    gap: 10px;
  }
}

.fiability {
  padding: 80px;
}

.fiability ul {
  display: flex;
  list-style: none;
  justify-content: space-between;
}

.fiability ul li {
  position: relative;

  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fiability ul li.visible {
  opacity: 1;
  transform: translateY(0);
}

.fiability ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translate(50%, -50%);
  width: 1px;
  height: 75%;
  background: #1761a0;
}

.fiability .item {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 75%;
}

.fiability .item p {
  margin-top: 5px;
}

.fiability .item h3 {
  color: #1761a0;
  font-weight: bold;
}

.fiability .item img {
  width: 50px;
  height: 50px;
}

@media (max-width: 1400px) {
  .fiability {
    padding: 10px;
    margin-top: 20px;
  }
  .fiability ul {
    display: block;
  }

  .fiability ul li {
    text-align: center;
    margin-bottom: 30px;
  }

  .fiability .item {
    display: block;
    width: 100%;
  }

  .fiability .item h3 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .fiability ul li:not(:last-child)::after {
    display: none;
  }
}

.services {
  background-color: rgba(219, 219, 219, 0.144);
}

.services h2,
.services > p:first-of-type {
  text-align: center;
}

.services h2 {
  padding-top: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
}

.services h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background-color: #1761a0;
  margin: 8px auto 0;
}

.services ul {
  display: flex;
  list-style: none;
  margin-top: 20px;
  gap: 150px;
  padding-bottom: 30px;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}

.services li {
  flex: 0 0 350px;
  display: flex;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.services li.visible {
  opacity: 1;
  transform: translateY(0);
}

.services .item {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: white;
  position: relative;
}

.services .item i {
  position: absolute;
  color: white;
  background-color: #1761a0;
  padding: 10px;
  font-size: 30px;
  border-radius: 50%;
  top: 170px;
  left: 30px;
}

.services .item img {
  width: 100%;
  height: 200px;
  border-radius: 10px 10px 0 0;
}

.services .item p:first-of-type {
  color: #1761a0;
  font-weight: bold;
  text-transform: uppercase;
  padding-top: 35px;
  text-align: center;
}

.services .item p:last-of-type {
  color: #1761a0;
  padding: 15px;
}

@media (max-width: 1400px) {
  .services ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  .services .item {
    margin-bottom: 30px;
    text-align: center;
    flex: 0 0 auto;
  }

  .services .item p:first-of-type {
    margin: 10px 0 0;
  }

  .services .item p:last-of-type {
    margin: 20px auto 30px;
    text-align: center;
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .services > p:first-of-type {
    width: 70%;
    margin: 0 auto;
  }
}

.society {
  display: flex;
}

.society .left {
  width: 30%;
}

.society .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.society .right {
  width: 70%;
  padding: 30px;
}

.society .right h2 {
  text-transform: uppercase;
}

.society .right h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background-color: #1761a0;
  margin: 8px 65px 0;
}

.society .right > p:first-of-type {
  margin-top: 20px;
  width: 50%;
}

.stats ul {
  display: flex;
  list-style: none;
  justify-content: space-around;
  margin-top: 50px;
  text-align: center;
}

.stats ul li {
  position: relative;

  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.stats ul li.visible {
  opacity: 1;
  transform: translateY(0);
}

.stats ul i {
  font-size: 30px;
  color: #031c30;
}

.stats ul li p:first-of-type {
  color: #1761a0;
  font-weight: bold;
  margin-top: 10px;
}

.stats ul li p:last-of-type {
  color: #1761a0;
  font-size: 20px;
  font-weight: bold;
}

.stats ul li span {
  color: #1761a0;
  font-weight: bold;
  font-size: 30px;
}

.stats ul li img {
  width: 50px;
  height: 50px;
}

.stats ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 75%;
  background: #1761a0;
}

@media (max-width: 1400px) {
  .stats ul li:not(:last-child)::after {
    display: none;
  }
  .society .left {
    display: none;
  }
  .society .right {
    width: 100%;
    text-align: center;
  }
  .society .right > p:first-of-type {
    width: 80%;
    margin: 20px auto;
  }
  .society .right h2::after {
    margin: 8px auto 0;
  }
}

@media (max-width: 700px) {
  .stats ul {
    display: block;
  }
  .stats ul li:nth-child(2) img,
  .stats ul li:nth-child(3) img {
    margin-top: 30px;
  }
  .society .right > p:first-of-type {
    width: 100%;
    margin: 20px auto;
  }
}

.contact-us {
  background-color: #1761a0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 40px;
}

.contact-us img {
  width: 70px;
  height: 70px;
}

.question {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 50%;
}

.question .left > p:first-of-type,
.question .left > p:nth-of-type(2) {
  color: white;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

.question .left > p:last-of-type {
  color: rgba(255, 255, 255, 0.836);
  font-size: 18px;
  margin-top: 10px;
}

.contact-us a {
  background-color: white;
  color: #1761a0;
  padding: 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  gap: 20px;
  text-transform: uppercase;
}

.trusted-list h2 {
  padding-top: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
}

.trusted-list h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background-color: #1761a0;
  margin: 8px auto 0;
}

.trusted {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 50px;
}

.trusted img {
  width: 300px;
  height: 200px;
}

.trusted-item h3 {
  text-transform: uppercase;
  margin-bottom: 10px;
}

.trusted-item {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.trusted-item.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 765px) {
  .question {
    width: 100%;
    margin-bottom: 30px;
    display: block;
  }
  .contact-us {
    display: block;
  }
  .contact-us img {
    margin-bottom: 20px;
  }
}

.intervention {
  background-image:
    linear-gradient(to right, white 15%, rgba(255, 255, 255, 0) 40%),
    url("../images/zone.webp");
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 600px;
}

.intervention h2 {
  padding: 50px;
  text-transform: uppercase;
  position: relative;
}

.intervention h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background-color: #1761a0;
  margin: 8px 60px 0;
}

.intervention-content {
  margin-left: 50px;
  color: #1761a0;
}

.intervention-content span {
  font-weight: bold;
}

.intervention-content ul {
  list-style: none;
  margin-top: 50px;
  line-height: 50px;
}

.intervention-content ul li div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.intervention-content ul li img {
  width: 35px;
  height: 35px;
  margin-right: 5px;
}

.intervention-content > p:first-of-type,
.intervention-content > p:nth-of-type(2) {
  font-size: 30px;
  width: 40%;
  text-transform: uppercase;
  font-weight: bold;
}

.intervention-content > p:last-of-type {
  color: #1761a0;
  width: 25%;
}

.map-mobile {
  display: none;
}

@media (max-width: 1700px) {
  .intervention ul {
    margin-top: 10px;
  }
}

@media (max-width: 1575px) {
  .intervention h2 {
    padding: 30px;
  }
  .intervention ul {
    margin-top: 15px;
  }
}

@media (max-width: 1440px) {
  .intervention h2 {
    padding: 15px;
  }
  .intervention ul {
    margin-top: 20px;
  }
}

@media (max-width: 1380px) {
  .intervention ul {
    margin-top: 10px;
  }
}

@media (max-width: 1330px) {
  .intervention {
    background-image: none;
    min-height: auto;
    height: auto;
    text-align: center;
    background-color: rgba(219, 219, 219, 0.144);
  }
  .intervention h2 {
    margin-top: 30px;
  }
  .intervention-content {
    margin: 0;
  }
  .intervention-content > p:first-of-type {
    margin-top: 10px;
  }
  .intervention-content > p:first-of-type,
  .intervention-content > p:nth-of-type(2) {
    width: 100%;
  }
  .intervention-content > p:last-of-type {
    width: 70%;
    margin: 10px auto;
  }
  .intervention-content ul li div {
    display: block;
    margin: 0 auto;
    width: 90%;
    line-height: 30px;
  }
  .intervention-content ul li div img {
    margin-top: 20px;
    width: 50px;
    height: 50px;
  }
  .map-mobile {
    display: block;
    margin: 20px auto;
    padding-bottom: 20px;
    width: 60%;
    height: 350px;
  }
  .intervention h2::after {
    margin: 8px auto 0;
  }
}

@media (max-width: 700px) {
  .map-mobile {
    width: 85%;
  }
}

/* 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;
  }
}
