
footer {
  background-color: #002A4D; 
  color: #ffffff; 
  padding: 40px 0;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.footer-container {
  width: 100%;
  flex: 2;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0px;
}

.footer-bottom {
  flex: 1;
  text-align: center;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 14px;
  color: #ffffff;
  font-family: var(---gilroy);
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 10px;
}

.footer-logo p {
  color: #FF6600; 
  font-size: 14px;
  font-family: Arial, sans-serif;
}
.footer-links h3{

}

.footer-links h3, .footer-contact h3, .footer-social h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-family: var(---nexa);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-family: var(---gilroy);
}

.footer-contact p {
  font-size: 14px;
  margin: 5px 0;
  font-family: var(---gilroy);
  margin-top: 30px;
}
.footer-social .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.footer-social .social-icons a {
  width: 30px; 
  height: 30px; 
  color: black;
  font-size: 20px;
  background-color: #ffffff;
  padding: 0; 
  border-radius: 50%; 
  display: inline-flex;
  align-items: center; 
  justify-content: center; 
  text-decoration: none;
}


.fas.fa-globe,
.fas.fa-phone,
.fas.fa-envelope{
  font-size: 16px;
}

.icons{
  font-family: var(---gilroy);
  margin-top: 25px;
  width: 180px;
}
.location,
.phoneno,
.mail{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(---nav-text);
  margin-bottom: 5px;
}
.location,
.phoneno,
.mail span{
  font-size: 16px;
  font-weight: normal;
}

/* Smaller Screen */
@media (max-width: 479px) {
  .footer-container {
    /* border: 3px solid red; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
    justify-content: center; 
    padding: 0 0; 
    margin: 0 auto; 
  }
  .footer-container > div {
    flex: 1 1 calc(15% - 20px); 
    /* flex-direction: column-reverse; */
    margin: 10px;
  }
  .footer-logo {
    flex: 1 1 100%; 
    text-align: start; 
    margin-top: 20px;
    order: 3;
  }
  .footer-logo img {
    max-width: 120px;
  }
  .footer-links{
    /* border: 4px solid green; */
    text-align: start;
  }
  .footer-links h3{
    margin: 0 !important;
  }
  .footer-links ul{
    /* border: 3px solid red; */
    /* margin: 0; */
  }
  .footer-links{
    order: 1;
  }
  .footer-contact{
    order: 2;
  }
  .footer-social{
    order: 4;
  }
  .footer-links h3,
  .footer-links ul {
    margin-top: 20px;
    text-align: justify;
  }
  .footer-social .social-icons {
    flex-direction: row;
    width: auto;
  }
  .footer-bottom {
    font-size: 12px;
    padding-top: 15px;
  }
}

/* Medium Screen */
@media (min-width: 480px) and (max-width: 767px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo img {
    max-width: 130px;
  }

  .footer-links ul {
    margin-top: 25px;
    text-align: center;
  }

  .footer-social .social-icons {
    flex-direction: row;
    width: 200px;
  }

  .footer-bottom {
    font-size: 13px;
    padding-top: 15px;
  }
}

/* Smaller Laptop and Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-logo img {
    max-width: 140px;
  }

  .footer-links ul {
    margin-top: 25px;
  }

  .footer-social .social-icons {
    width: 220px;
  }

  .footer-bottom {
    font-size: 14px;
    padding-top: 10px;
  }
}

/* Small Desktops */
@media (min-width: 1024px) and (max-width: 1280px) {
  .footer-container {
    justify-content: space-around;
  }

  .footer-logo img {
    max-width: 150px;
  }

  .footer-links ul {
    margin-top: 30px;
  }

  .footer-social .social-icons {
    width: 250px;
  }

  .footer-bottom {
    font-size: 14px;
    padding-top: 10px;
  }
}

/* Larger Desktop */
@media (min-width: 1280px) {
  .footer-container {
    justify-content: space-around;
  }

  .footer-logo img {
    max-width: 150px;
  }

  .footer-links ul {
    margin-top: 30px;
  }

  .footer-social .social-icons {
    width: 250px;
  }

  .footer-bottom {
    font-size: 14px;
    padding-top: 10px;
  }
}