/* Al-Ammary footer — grid layout overrides Webflow flex */

.footer {
  text-align: left !important;
}

.footer .base-container {
  max-width: 1280px;
}

.footer .footer-wrapper {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.65fr) repeat(3, minmax(155px, 1fr)) minmax(230px, 1.15fr);
  gap: 2.5rem 2rem;
  align-items: start;
  justify-content: unset !important;
  width: 100%;
  margin-bottom: 3rem;
  flex-wrap: nowrap !important;
}

.footer .footer-brand-wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  width: auto !important;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  margin-bottom: 0 !important;
}

.footer .footer-logo-wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  justify-content: flex-start !important;
}

.footer .footer-logo-holder {
  display: block;
  max-width: 100%;
  min-width: 0;
}

.footer .footer-logo {
  max-width: 100% !important;
  width: auto;
  height: auto;
  max-height: 96px;
  object-fit: contain;
  display: block;
}

.footer .footer-brand-description {
  max-width: 360px;
  margin-top: 1rem;
  text-align: left !important;
  font-size: 1.125rem;
  line-height: 1.65;
}

.footer .footer-links-wrapper,
.footer .footer-links-wrapper.small-wrapper,
.footer .footer-links-wrapper.last-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  gap: 0;
}

.footer .footer-column-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #272870 !important;
  margin: 0 0 1rem;
  width: 100%;
  text-align: left !important;
}

.footer .footer-link,
.footer .footer-contact-link {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 0.55rem;
  display: block !important;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
  white-space: normal;
  text-align: left !important;
  float: none !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

.footer .footer-contact-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer .footer-cta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 0.75rem;
  gap: 0.75rem;
}

.footer .footer-cta-text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.55;
  color: #667085 !important;
  margin: 0;
  text-align: left !important;
}

.footer .footer-cta-col .btn-primary-solid {
  margin-top: 0.25rem;
  align-self: flex-start;
  white-space: nowrap;
}

.footer .footer-links-rights-wrapper {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  width: 100%;
  text-align: center;
}

.footer .footer-rights-wrapper {
  align-items: center !important;
}

.footer .footer-copyright {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  text-align: center !important;
}

.footer-social-icons-wrapper {
  margin-top: 1.25rem;
}

.footer-social-linkedin {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.footer-social-linkedin:hover {
  opacity: 0.85;
}

.footer-social-linkedin-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

@media screen and (max-width: 1199px) {
  .footer .footer-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.5rem;
    justify-content: flex-start !important;
    justify-items: start;
  }

  .footer .footer-brand-wrapper {
    grid-column: 1 / -1;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: auto !important;
    margin-bottom: 0 !important;
  }

  .footer .footer-logo-wrapper {
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .footer .footer-links-wrapper,
  .footer .footer-links-wrapper.small-wrapper,
  .footer .footer-links-wrapper.last-item {
    width: auto !important;
    align-items: flex-start !important;
  }

  .footer .footer-contact-col {
    grid-column: 1 / -1;
    align-items: flex-start !important;
  }
}

@media screen and (max-width: 991px) {
  .footer,
  .footer .base-container {
    text-align: left !important;
  }

  .footer .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-content: flex-start !important;
    justify-items: start;
    margin-bottom: 2.5rem;
  }

  .footer .footer-brand-wrapper {
    grid-column: auto;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    text-align: left !important;
  }

  .footer .footer-logo-wrapper {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    width: 100% !important;
    text-align: left !important;
  }

  .footer .footer-logo-holder {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  .footer .footer-links-wrapper,
  .footer .footer-links-wrapper.small-wrapper,
  .footer .footer-links-wrapper.last-item {
    width: 100% !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .footer .footer-contact-col {
    grid-column: auto;
    align-items: flex-start !important;
  }

  .footer-social-icons-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .footer .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-content: flex-start !important;
  }

  .footer .footer-brand-wrapper,
  .footer .footer-contact-col {
    grid-column: auto;
  }

  .footer .footer-logo-holder {
    display: none !important;
  }

  .footer .footer-brand-description {
    max-width: none;
    margin-top: 0;
  }

  .footer .footer-links-wrapper,
  .footer .footer-links-wrapper.small-wrapper,
  .footer .footer-links-wrapper.last-item {
    width: 100% !important;
    align-items: flex-start !important;
  }
}

/* Clickable office address + embedded map */
.al-map-link {
  text-decoration: underline;
  text-decoration-color: rgba(39, 40, 112, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.al-map-link:hover {
  color: #272870 !important;
  text-decoration-color: #272870;
}

.footer .footer-contact-link.al-map-link {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.footer .footer-contact-link.al-map-link:hover {
  text-decoration-color: currentColor;
}

.service-details-sidebar-contacts .al-map-link {
  color: inherit;
}

.al-office-map-wrap {
  margin-top: 1.5rem;
  width: 100%;
}

.al-office-map {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(26, 27, 94, 0.12);
}

.al-office-map-open {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: #272870;
  text-decoration: none;
}

.al-office-map-open:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .al-office-map {
    height: 220px;
  }
}
