/* Footer Styles Start */

.footer {
  background-color: #ECECEC;
  padding: 20px 40px 0px;
  /* Further reduced */
  font-family: 'Inter', sans-serif;
  color: #1E2238;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  /* Further reduced */
  margin-bottom: 20px;
  /* Further reduced */
  /* background-color: red; */
  /* grid-template-columns: repeat(3, 3fr); */
  /* grid-template-columns:auto; */
  grid-template-columns: repeat(3, 1fr);
  
}

.footer-newsletter {
  grid-column: span 1;
}

.newsletter-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  /* Further reduced */
  line-height: 1.5;
  color: #1E2238;
}

.newsletter-form {
  display: flex;
  margin-bottom: 8px;
  /* Further reduced */
  width: 85%;
}

.newsletter-input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #D9D9D9;
  border-radius: 32px 0 0 32px;
  font-size: 14px;
  outline: none;
}

.newsletter-button {
  /* padding: 12px 24px; */
  background: linear-gradient(270deg, rgba(9, 135, 201, 0.51) 0%, rgba(9, 135, 201, 0.51) 100%), #0987C9;
  color: white;
  border: none;
  border-radius: 0 32px 32px 0;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 0px 5px;
}

.newsletter-button:hover {
  background: #0987C9;
}

.newsletter-disclaimer {
  font-size: 12px;
  color: #656C7B;
  line-height: 1.5;
  width: 60%;
}

.footer-contact,
.footer-quick-links,
.footer-solutions {
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

.contact-heading,
.links-heading,
.solutions-heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  /* Further reduced */
  color: #1E2238;
}

.contact-address,
.contact-phone {
  font-size: 14px;
  line-height: 1.6;
  color: #656C7B;
  margin-bottom: 8px;
  /* Further reduced */
}

.links-list,
.solutions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-list li,
.solutions-list li {
  margin-bottom: 8px;
  /* Reduced from 12px */
}

.links-list a,
.solutions-list a {
  font-size: 14px;
  color: #656C7B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.links-list a:hover,
.solutions-list a:hover {
  color: #0987C9;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.copyright {
  margin-top: 0.5rem;
  font-size: 12px;
  color: #0b0b0b;
  flex-shrink: 0;
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.legal-links {
  display: flex;
  gap: 20px;
  font-size: 12px;
  flex-shrink: 0;
}

/* Container for social icons and legal links on the right */
.right-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.legal-links a {
  text-decoration: none;
  transition: color 0.3s ease;
  color: #000000;
}

.legal-links a:hover {
  color: #0987C9;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 30px;
  height: 30px;
}

.logo-copyright-container {
  margin-top: 30px;
}

.footer-links-container {
  display: flex;
  grid-column: span 2;
  justify-content: space-around;
  max-width: 950px;
}

.footer-links-container .footer-quick-links .footer-links-container .footer-solutions,
.footer-links-container .footer-contact {
  max-width: 30%;

}

/* Responsive adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-newsletter {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 25px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .social-icons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }

  .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
  }

  .social-icon:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
  }

  .social-icon svg {
    width: 15px;
    height: 15px;
  }


  .legal-links {
    flex-direction: column;
    gap: 5px;
    order: 2;
    font-size: 11px;
  }

  .copyright {
    order: 3;
    font-size: 11px;
  }

  .newsletter-button {
    padding: 0px 6px;
  }

  .footer-links-container {
    display: flex;
    justify-content: space-between;
  }

  .newsletter-disclaimer {
    width: 95%;
    /* background-color: pink; */
  }

  .newsletter-form {
    width: 95%;
    /* background-color: red; */
    /* overflow: hidden; */
    /* position: relative; */

  }

  .newsletter-form input {
    width: 200px;
    /* flex: 0 !important;   */
  }

  .newsletter-title {
    font-size: 14px;

  }

  .contact-heading,
  .links-heading,
  .solutions-heading {
    font-size: 14px;
  }

  .links-list a,
  .solutions-list a {
    font-size: 11px;
  }

  .contact-address,
  .contact-phone {
    font-size: 11px;

  }


}


/* Footer Styles End */