body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  color: white;
}

.footer {
  background-color: #003772;
  padding-top: 60px;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.footer-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0 30px 0;
}

.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-icons a {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s;
}

.social-icons a svg {
  margin: 0 10px;
  color: white;
  font-size: 24px;
  text-decoration: none;
  fill: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 20px 0;
  border-top: 1px solid #4b6cb7;
}
.footer-grid div {
  text-align: left;
}
.footer-grid h3 {
  margin-bottom: 35px;
  color: #e7e7e7;
  font-size: 20px;
  font-weight: 300;
  text-transform: uppercase;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.footer-grid ul li a {
  color: #e7e7e7;
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
}
.office-details p {
  line-height: 1.9rem;
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 39px;
}
.phone-numbers a {
  color: white;
  text-decoration: none;
}

.hr-line {
  border: none;
  border-top: 1px solid #4b6cb7;
  margin: 20px 0;
}

.footer-bottom {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 0 20px 0;
}
.copyright {
  padding: 10px 0;
  font-size: 14px;
  font-weight: 300;
  color: #dfdfdf;
  text-align: left;
}
.made-with {
  padding: 10px 0;
  font-size: 12px;
}
@media (max-width: 768px) {
  .footer-top-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-grid {
    display: grid;
    grid-template-areas:
      "head head"
      "about quick"
      "support contact";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 30px;
    padding: 10px 0;
  }

  .footer-grid > div:first-child {
    grid-area: head;
    grid-column: 1 / -1;
  }

  .footer-grid > div:nth-child(2) {
    grid-area: about;
  }

  .footer-grid > div:nth-child(3) {
    grid-area: quick;
  }

  .footer-grid > div:nth-child(4) {
    grid-area: support;
  }

  .footer-grid > div:nth-child(5) {
    grid-area: contact;
  }
}

@media (max-width: 991px) {
  .footer-top-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 10px 0;
    width: 100%;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / 5;
    grid-row: 1;
    width: 100%;
  }

  .footer-grid > div:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2;
  }

  .footer-grid > div:nth-child(3) {
    grid-column: 2/3;
    grid-row: 2;
  }

  .footer-grid > div:nth-child(4) {
    grid-column: 3/4;
    grid-row: 2;
  }

  .footer-grid > div:nth-child(5) {
    grid-column: 4/5;
    grid-row: 2;
  }
}
