:root {
  --salsabil-green: #94bf30;
  --salsabil-green-dark: #1f6a32;
  --salsabil-blue: #0a376d;
  --salsabil-blue-dark: #071f45;
  --salsabil-cream: #f8fbf5;
}

.salsabil-footer {
  position: relative;
  color: #ffffff;
  background: linear-gradient(135deg, #1f6a32 0%, #0b5360 45%, #071f45 100%);
  overflow: hidden;
  margin-top: 0;
}

.salsabil-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(148, 191, 48, .22), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(255,255,255,.12), transparent 26%),
    linear-gradient(90deg, rgba(255,255,255,.05), transparent 38%);
  pointer-events: none;
}

.salsabil-footer__main,
.salsabil-footer__bottom {
  position: relative;
  z-index: 1;
}

.salsabil-footer__main {
  padding: 72px 0 50px;
}

.salsabil-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr 1fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.salsabil-footer h5 {
  color: #ffffff;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 18px;
}

.salsabil-footer p,
.salsabil-footer li,
.salsabil-footer a,
.salsabil-footer strong {
  color: rgba(255,255,255,.88);
  font-size: 15.5px;
  line-height: 1.75;
}

.salsabil-footer a:hover {
  color: #ffffff;
}

.salsabil-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  padding: 10px 14px;
  margin-bottom: 18px;
  box-shadow: 0 16px 38px rgba(0,0,0,.16);
}

.salsabil-footer__logo img {
  max-width: 190px;
  height: auto;
  display: block;
}

.salsabil-footer__brand p {
  max-width: 410px;
}

.salsabil-footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.salsabil-footer__socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #ffffff;
  transition: .22s ease;
}

.salsabil-footer__socials a:hover {
  background: var(--salsabil-green);
  transform: translateY(-2px);
}

.salsabil-footer__links ul,
.salsabil-footer__contact ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.salsabil-footer__links li + li {
  margin-top: 8px;
}

.salsabil-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.salsabil-footer__links a::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--salsabil-green);
  font-size: 13px;
}

.salsabil-footer__contact li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.salsabil-footer__contact span {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(148,191,48,.18);
  border: 1px solid rgba(148,191,48,.35);
  color: #ffffff;
}

.salsabil-footer__newsletter {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 42px rgba(0,0,0,.13);
}

.salsabil-footer__form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.salsabil-footer__form input {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 15px;
  padding: 0 18px;
  background: rgba(255,255,255,.94);
  color: #082957;
  outline: none;
}

.salsabil-footer__form button {
  height: 52px;
  border: 0;
  border-radius: 15px;
  background: var(--salsabil-green);
  color: #082957;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: 0 8px 0 rgba(0,0,0,.16);
  transition: .22s ease;
}

.salsabil-footer__form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 0 rgba(0,0,0,.13);
}

.salsabil-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(5, 20, 43, .45);
}

.salsabil-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
}

.salsabil-footer__bottom p {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 14.5px;
}

.salsabil-footer__bottom a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.salsabil-footer__bottom a:hover {
  color: var(--salsabil-green);
}

@media (max-width: 1199px) {
  .salsabil-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .salsabil-footer__main {
    padding: 52px 0 34px;
  }

  .salsabil-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .salsabil-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .salsabil-footer__logo img {
    max-width: 160px;
  }
}
