/* Footer with CTA */
.site-footer {
  margin-top: 80px;
  overflow: hidden;
}

.footer-cta {
  position: relative;
}

.footer-cta .cta-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: calc(100% - 64px);
  max-width: 1300px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.footer-cta .bg-shape {
  display: block;
  height: auto;
  width: 100%;
  object-fit: cover;
}

.footer-cta .u-shape {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: scale(0.9) translateX(-50%);
  height: auto;
  object-fit: cover;
}

/* Blue background starts at 50% of the footer-bg */
.footer-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 100%;
  background: #1e2b79;
  z-index: -1;
}

.footer-cta .cta-inner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  z-index: 1;
}

.cta-left {
  max-width: 400px;
}

.cta-left h2 {
  color: #0b0f28;
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-left p {
  color: #2f3552;
  line-height: 1.8;
}

.cta-form {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.cta-form .field {
  margin-bottom: 16px;
}

.cta-form input[type="text"],
.cta-form input[type="email"],
.cta-form input[type="tel"] {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.cta-form .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4b5563;
  margin: 24px 0px;
  font-size: 14px;
}

.cta-form .checkbox a {
  color: #1e2b79;
  text-decoration: underline;
}

.cta-form .btn {
  margin-top: 20px;
}

.footer-bottom {
  background: #1e2b79;
  color: #ffffff;
  padding-bottom: 64px;
}

.footer-bottom-inner {
  max-width: 1300px;
  margin: 60px auto 0px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.foot-left {
  justify-self: start;
}

.foot-center {
  text-align: center;
  opacity: 0.9;
}

.foot-right {
  justify-self: end;
  display: flex;
  gap: 14px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #1e2b79;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.foot-left.logo img {
  height: 75px;
  width: auto;
  display: block;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-cta .cta-inner {
    padding: 60px 40px;
  }

  .cta-form {
    padding: 32px;
  }
}

@media (max-width: 900px) {
  .footer-cta .cta-inner {
    grid-template-columns: 1fr;
    padding: 60px 32px;
    gap: 40px;
  }

  .cta-left {
    max-width: 100%;
  }

  .cta-left h2 {
    font-size: 32px;
  }

  .cta-form {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .foot-left.logo img {
    display: none;
  }
  .footer-cta .cta-inner {
    padding: 40px 20px;
    gap: 32px;
  }

  .cta-left h2 {
    font-size: 28px;
  }

  .cta-form {
    padding: 24px 20px;
  }

  .footer-cta .cta-bg {
    width: calc(100% - 32px);
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    justify-items: center;
  }

  .foot-left {
    display: none;
  }

  .foot-center {
    order: 2;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
  }

  .foot-right {
    order: 1;
    justify-self: center;
  }
}
