footer {
  background-color: #0a192f;
  color: #fff;
  padding: 0px 2%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 20px;
  margin-bottom: 30px;
  padding: 40px 4% 0;
}

.footer-grid h3 {
  color: rgb(1, 169, 161);
}


.footer_location {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-transform: capitalize;
  font-size: 0.75rem;
  line-height: 1.5;
  margin-top: 10px;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--secondary-blue);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  margin-top: 15px;
}

.phone:hover {
  color: white;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  cursor: grab;
}

.call-icon {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  min-width: 30px;
  min-height: 30px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex: 0 0 28px;
  /* margin-top: 5px; */
}

.call span {
  color: rgb(1, 169, 161);
  cursor: pointer;
}

.call-icon:hover {
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  padding: 2px 0;
  cursor: pointer;
}

/***         Quick Links      ***/
footer nav ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  line-height: 1.7;
  font-size: small;
}

footer nav ul li {
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  padding: 2px 0;
}

footer nav ul li:hover {
  transform: scale(1.03);
  color: rgb(1, 169, 161);
}

/***          Contact Us          ***/
.contact-section a {
  color: rgb(1, 169, 161);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 15px;
  letter-spacing: 1.5px;
}

.contact-section a:hover {
  color: grey;
}

.contact-section h4 {
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 10px;
}

footer h2 {
  font-size: 24px;
  color: #fff
}

footer h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

footer h3 {
  line-height: 1.5;
  margin-bottom: 10px;
}

footer h4 {
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1.5;
}

/***      Join Our Newsletter      ***/
.newsletter-col {
  position: relative;
  width: 100%;
}

.newsletter-col input::placeholder {
  color: #97b5d0;
  font-size: 0.75rem;
}

input {
  font-family: inherit;
}

footer input {
  height: 35px;
  border-radius: 50px;
  width: 100%;
  padding: 8px 100px 8px 16px;
  font-size: 0.75rem;
  display: flex;
  border: solid 1px #ccc;
}

footer input:focus {
  outline: none;
  border-color: #01a9a1;
  box-shadow: 0 0 5px #0f4c81;
}

footer button {
  position: absolute;
  top: 37px;
  right: 0px;
  display: flex;
  height: 35px;
  border-radius: 50px;
  align-items: center;
  font-size: 0.75em;
  padding: 0 16px;
  background-color: #01a9a1;
  border: none;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(to right, #01a9a1, #0f0f11e6);
}

/* footer button:focus {
  outline: none;
  box-shadow: 0 0 5px #0f4c81;
  border-color: #01a9a1;
}

footer button:hover {
  font-weight: bold;
  transition: background-color 0.2s ease; 
}*/

/***          Follow Us        ***/
.follow-us {
  margin-top: 20px;
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 0;
}

.socials,
.call {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 20px;
  margin: 0;
}

.social-icons i {
  font-size: 27px;
  margin-right: 15px;
  color: #01a9a1;
  transition: color 0.3s ease;
}

.social-icons a:hover i {
  color: white;
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/***    footer buttom / copyright section   ***/

.footer__bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 20px;
  padding: 18px 0.5%;
  align-items: center;
  font-size: 0.85em;
  /* border-bottom: 5px solid transparent; */
  /* border-image: linear-gradient(to right, #01a9a1, #0f0f11e6) 1; */
  border-top: 1.5px solid rgba(216, 216, 216, 0.1);
}

.policy nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 14px;
}

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .policy nav ul {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    display: inline-block;
  }
}