.footer {
  font-family: "Inter", sans-serif;
  background: #191919;
  color: #fff;
  display: flex;
  height: 20.4375vw;
  padding: 3vw 7.5vw;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: clip;
  /*! gap: 11.375rem; */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  /*! flex-wrap: wrap; */
  /*! gap: 2rem; */
  width: 100%;
  z-index: 1;
  margin: 0 auto;
}

/* ---------- Left Section ---------- */

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo h2 {
  color: #e8e8e8;
  font-family: Gilroy;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.03rem;
}

.footer-left p {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #FFF;
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off;

/* Captions/C2 */
  font-family: Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1rem; /* 133.333% */
}

.footer-social-icons {
  display: flex;
  gap: 10px;
}

.footer-social-icons a svg {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-social-icons a:hover svg {
  opacity: 1;
}

/* ---------- Links Section ---------- */
.footer-links {
  display: flex;
  justify-content: space-between;
  /* margin-right: 11.38rem;
  margin-left: -5.63rem; */
}

.footer-links a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 10px;
  transition: color 0.2s;
  color: #FFF;
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off;

/* Button */
  font-family: Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem; /* 142.857% */
}

.footer-links a:hover {
  color: #00aaff;
}

/* ---------- Newsletter Section ---------- */
.footer-newsletter {
  display: flex;
  width: 29.625rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
  /* margin-left: -1rem; */
}

.footer-newsletter h3 {
  color: #fff;
  font-feature-settings: "dlig" on;
  font-family: "Playfair Display";
  font-size: 1.0625rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5rem;
}

.footer-newsletter p {
  color: #ccc;
  font-size: 0.9rem;
  /* margin-bottom: 1rem; */
  line-height: 1.5;
  color: #FFF;
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off;

/* Button */
  font-family: Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem; /* 142.857% */
}

.footer-newsletter-form {
  display: flex;
  position: relative;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 0.7rem 1.4rem;
  border-radius: 0.5rem;
  border: none;
  outline: none;
  font-size: 0.9rem;
  width: 23.75rem;
  padding-bottom: 0.6rem;
}

.footer-newsletter-form button {
  padding: 0.73rem 1.4rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #0079b8;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  position: absolute;
  top: -.1rem;
  right: -0.5rem;
  display: flex;
  height: 2.5rem;
  padding: 0.625rem 1.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.5rem;
  background: var(--Blue-600, #04629A);
}

.footer-newsletter-form button:hover {
  background-color: #00659a;
}

.footer-newsletter small {
  display: block;
  color: #999;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--white-80, rgba(255, 255, 255, 0.80));
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off;

/* Button */
  font-family: Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem; /* 142.857% */
}

.footer-newsletter a {
  color: #66b2ff;
  text-decoration: none;
}

.footer-newsletter a:hover {
  text-decoration: underline;
}

.footer-vector {
  width: 31.938rem;
  height: 54.25rem;
  position: absolute;
  right: -0.625rem;
  bottom: -14rem;
}

.footer-ellipse {
  width: 97.8125rem;
  height: 16.25rem;
  position: absolute;
  right: 11.0625rem;
  bottom: -12.1875rem;
  border-radius: 97.8125rem;
  background: linear-gradient(
    206deg,
    rgba(5, 123, 193, 0.5) 17.19%,
    rgba(4, 98, 154, 0.5) 69.38%
  );
  filter: blur(100px);
}

/* ---------- Responsive Breakpoints ---------- */

/* Tablets */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    justify-content: center;
    gap: 3rem;
  }

  .footer-newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-newsletter-form button {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer-logo h2 {
    font-size: 1.25rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links a {
    font-size: 1rem;
  }

  .footer-newsletter-form input {
    font-size: 0.85rem;
  }

  .footer-newsletter h3 {
    font-size: 1.1rem;
  }
}
