/* --- Global Footer Styles --- */
footer {
  width: 100%;
  background: hsl(49, 84%, 95%);
}

footer .footer-top {
  padding: 16px 42px 50px 42px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  border-top: 2px solid #ddd;
}

/* ====== Column Separators ====== */
.footer-logo,
.footer-links,
.footer-connect {
  border-right: 2px dotted #2b1c50;
  padding-right: 20px;
}
.footer-location {
  padding-left: 20px;
}

/* ====== Logo & Address ====== */
.logo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-info {
  padding-left: 20px;
}
.footer-logo img {
  max-width: 120px;
  margin-bottom: 8px;
}
.footer-logo h3 {
  margin: 10px 0 5px;
  font-weight: 700;
  margin-bottom: 0;
}
.footer-logo p {
  font-weight: 500;
  margin: 8px 0;
  line-height: 1.4;
}
.footer-logo .address {
  border-bottom: 1px solid #2b1c50;
  padding-bottom: 5px;
  margin-bottom: 10px;
  padding-top: 0;
  display: inline-block;
}
.footer-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2b1c50;
  text-decoration: none;
  font-size: 1rem;
  margin-top: 8px;
}

/* ====== Quick Links ====== */
.footer-links h4,
.footer-connect h4 {
  margin-bottom: 10px;
  font-size: 16px;
  display: inline-block;
}
hr {
  width: 20%;
  border: 0;
  border-top: 3px solid #251544;
  margin: 0 0 10px 0;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul li {
  margin: 8px 0;
  padding: 12px 0;
  border-bottom: 1px solid #2b1c50;
}
.footer-links ul li a {
  text-decoration: none;
  color: #2b1c50;
  font-size: 14px;
  display: block;
}

/* ====== Connect Us ====== */
.footer-connect p {
  font-size: 14px;
  margin: 6px 0;
  color: #2b1c50;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
}

/* ====== Location ====== */
.footer-location .google-maps {
  width: 100%;
  max-width: 250px;
  height: 150px;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 0;
  overflow: hidden;
}
.footer-location .google-maps iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.footer-location p {
  margin: 5px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 5px;
}
.footer-location strong {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}

/* ====== Bottom Bar ====== */
.footer-bottom {
  background: #2b1c50;
  color: white;
  text-align: center;
  padding: 12px;
  font-size: 14px;
}

/* ====== Responsive ====== */
/* On screens smaller than 1100px, stack the columns to avoid the 3x1 wrap */
@media (max-width: 1100px) {
  .footer-top {
    /* Switch to a single column layout */
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }

  /* Replace vertical borders with horizontal ones */
  .footer-top > div {
    border-right: none;
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px dotted #2b1c50;
  }

  /* Remove the border from the very last item */
  .footer-top > div:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* Center-align specific elements within the stacked layout */
  hr,
  .logo-header,
  .footer-location .google-maps {
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-info {
    padding-left: 0;
  }
  
  .footer-logo a,
  .footer-connect p,
  .footer-location p {
    justify-content: center;
  }
}