/* =============================================================
   AZEEZIA — FOOTER
   ============================================================= */

.az-footer {
  position: relative;
  background: #f6f8f9;
  color: rgba(5, 46, 56, 0.85);
  overflow: hidden;
  margin: 0;
}

/* Decorative circle — top right */
.az-footer__deco-circle {
  position: absolute;
  top: 40px;
  right: 80px;
  width: 64px;
  height: 64px;
  border: 2px solid var(--az-demo-lime, #8dc63f);
  border-radius: 50%;
  opacity: 0.45;
  pointer-events: none;
}

/* ── Main section ── */
.az-footer__main {
  padding: 70px 0 50px;
  border-bottom: 1px solid rgba(5, 46, 56, 0.08);
}

.az-footer__main .container,
.az-footer__bottom .container {
  padding-left: clamp(40px, 8vw, 130px);
  padding-right: clamp(40px, 8vw, 130px);
}

/* ── Left brand column ── */
.az-footer__brand {
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.az-footer__logo {
  display: inline-flex;
  background: transparent;
  border-radius: 10px;
  margin-bottom: 22px;
}

.az-footer__logo img {
  height: 50px;
  width: auto;
}

.az-footer__tagline {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(5, 46, 56, 0.72);
  margin-bottom: 32px;
  font-weight: 500;
}

.az-footer__social-wrap {
  margin-top: auto;
}

.az-footer__follow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(5, 46, 56, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.az-footer__socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.az-footer__social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.az-footer__social-btn:hover {
  background: var(--secondary-color, #15bef0);
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Address block under the tagline in the brand column */
.az-footer__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(5, 46, 56, 0.72);
  margin: 0 0 24px;
}

.az-footer__address i {
  color: var(--secondary-color, #15bef0);
  font-size: 15px;
  line-height: 1.75;
  flex-shrink: 0;
}

/* ── Right grid ── */
.az-footer__grid {
  margin-bottom: 40px;
}

.az-footer__grid--bottom {
  margin-bottom: 0;
}

.az-footer__heading {
  font-size: 15px;
  font-weight: 700;
  color: #052e38;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}

/* Link list */
.az-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.az-footer__links li a {
  font-size: 14px;
  color: rgba(5, 46, 56, 0.72);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  font-weight: 500;
}

.az-footer__links li a:hover {
  color: var(--secondary-color, #15bef0);
  padding-left: 4px;
  text-decoration: none;
}

/* Long link lists (the 12-item Useful Links menu) split into two even
   columns that read top-to-bottom, then across — 6 rows per column.
   Collapses back to a single column on phones in the 767px block below. */
.az-footer__links--two-col {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(6, auto);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

/* Info text */
.az-footer__info-text {
  font-size: 14px;
  color: rgba(5, 46, 56, 0.72);
  line-height: 1.8;
  margin: 0;
  font-weight: 500;
}

/* Contact quick list */
.az-footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.az-footer__contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.az-footer__contact-list li i {
  width: 18px;
  font-size: 15px;
  color: #052e38;
  flex-shrink: 0;
}

.az-footer__contact-list li a {
  font-size: 14px;
  color: rgba(5, 46, 56, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.az-footer__contact-list li a:hover {
  color: var(--secondary-color, #15bef0);
}

/* Google Maps button */
.az-footer__maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid rgba(5, 46, 56, 0.18);
  color: #052e38;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.az-footer__maps-btn i {
  color: #052e38;
  font-size: 14px;
}

.az-footer__maps-btn:hover {
  background: transparent;
  border-color: rgba(5, 46, 56, 0.3);
  color: #052e38;
  text-decoration: none;
}

/* Find A Doctor — promoted out of the Departments list into a button.
   It carries .az-footer__maps-btn for the grey translucent look, so it
   picks up that button's light-footer overrides on the home-video pages
   for free; only the spacing above it is specific to this one. */
.az-footer__doctor-btn {
  margin-top: 18px;
}

/* Subscribe */
.az-footer__sub-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.az-footer__subscribe {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.az-footer__subscribe input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #ffffff;
}

.az-footer__subscribe input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.az-footer__subscribe button {
  background: var(--secondary-color, #15bef0);
  border: none;
  color: #ffffff;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.az-footer__subscribe button:hover {
  background: var(--primary-color, #07728a);
}

/* ── Bottom bar ── */
.az-footer__bottom {
  padding: 20px 0;
}

.az-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.az-footer__bottom-inner p {
  font-size: 13.5px;
  color: rgba(5, 46, 56, 0.72);
  margin: 0;
}

.az-footer__bottom-inner span {
  color: #052e38;
  font-weight: 600;
}

.az-footer__bottom-inner a {
  color: #052e38;
  text-decoration: none;
}

.az-footer__bottom-inner a:hover {
  text-decoration: underline;
}

.az-footer__credit {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.az-footer__credit-link {
  display: inline-flex;
  align-items: center;
}

.az-footer__credit-logo {
  height: 30px;
  width: auto;
  filter: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.az-footer__credit-link:hover .az-footer__credit-logo {
  opacity: 1;
}

/* ── Back to top ── */
.az-footer__back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  z-index: 999;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.az-footer__back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.az-footer__back-top:hover {
  background: var(--secondary-color, #15bef0);
  color: #ffffff;
  transform: translateY(-3px);
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .az-footer__brand {
    padding-right: 0;
    margin-bottom: 48px;
  }
  .az-footer__deco-circle { display: none; }
}

@media (max-width: 767px) {
  .az-footer__main { padding: 50px 0 36px; }
  .az-footer__links--two-col {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }
  .az-footer__grid > [class*="col-"] { margin-bottom: 36px; }
  .az-footer__bottom-inner { flex-direction: column; text-align: center; }
  .az-footer__back-top { bottom: 20px; right: 20px; }
}
