/* ============================= */
/* Footer Styles */
/* ============================= */

.site-footer {
  /* Restoring the soft transition and bottom alignment as requested */
  background: linear-gradient(to top, #f7f0f2 0%, #fbf1f4 20%, #ffffff 100%);
  min-height: 350px;
  display: flex;
  align-items: flex-end; /* Reverting to bottom alignment */
  padding-bottom: 40px;
  color: #000000;
  font-family: "Public Sans", sans-serif;
  width: 100%;
}

/* Custom 15px side gaps */
.site-footer .container-fluid {
  max-width: 100%;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.footer-row {
  margin: 0;
  display: flex;
  align-items: flex-start;
  width: 100%;
}

/* Column 1: Brand */
.footer-brand-col {
  padding-left: 15px;
}

.footer-logo-img {
  width: 85px; /* Further reduced logo size as requested */
  height: auto;
  margin-bottom: 15px;
}

.footer-brand-text {
  font-family: "Merriweather", serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}

.brand-line1 {
  color: #079a9e;
  display: block;
}

.brand-line2 {
  color: #04555b;
  display: block;
}

/* Column 2: Center Links Wrapper */
.footer-center-col {
  display: flex;
  justify-content: center;
  gap: 40px; /* Reduced gap to bring columns closer */
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-family: "Public Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-links a:hover {
  color: #000000;
  text-decoration: underline;
  text-decoration-color: #000000;
}

/* Column 3: Contact (Absolute Right Aligned) */
.footer-contact-col {
  display: flex;
  justify-content: flex-end;
  text-align: left;
  padding-right: 15px;
}

.contact-info {
  display: flex;
  flex-direction: column; /* Vertical stack for desktop */
  align-items: flex-start;
}

.contact-title,
.stay-in-touch {
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #000000;
  margin: 0 0 0px 0;
}

.contact-email,
.contact-phone {
  font-family: "Public Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000000;
  text-decoration: none;
  margin-bottom: 0px;
  display: block;
}

.contact-email:hover {
  text-decoration: underline;
  text-decoration-color: #000000;
}

.stay-in-touch {
  margin-top: 10px;
  margin-bottom: 5px;
  white-space: nowrap; /* Force single line */
}

/* Social Icons (Right Aligned) */
.social-icons-footer {
  display: flex;
  gap: 12px;
}

.social-icons-footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.footer-social-svg {
  width: 25px; /* Small size as requested */
  height: 25px;
  object-fit: contain;
}

.social-icons-footer a:hover {
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .site-footer {
    background: #fbf1f4; /* Updated to match new lighter pink */
    padding: 30px 15px !important;
    text-align: left;
    min-height: auto;
    display: block;
  }

  .site-footer .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand-col,
  .footer-center-col,
  .footer-contact-col {
    width: 100% !important;
    margin-bottom: 30px;
    padding: 0;
    text-align: left;
    justify-content: flex-start;
  }

  /* Logo size increase 20%: 65px * 1.2 = 78px */
  .footer-logo-img {
    width: 78px;
    margin-bottom: 12px;
  }

  .footer-brand-text {
    font-size: 18px !important;
  }

  /* Links in two columns - Balanced for mobile */
  .footer-center-col {
    display: flex;
    justify-content: flex-start !important;
    gap: 20px !important; /* Updated to 20px */
    align-self: flex-start !important;
  }

  .footer-links {
    width: 50% !important; /* Reverted to 50% */
  }

  /* Contact and Stay in Touch in two columns */
  .footer-contact-col {
    margin-bottom: 0;
  }

  .contact-info {
    flex-direction: row;
    display: flex;
    justify-content: flex-start !important;
    gap: 20px !important; /* Updated to 20px */
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .contact-info .contact-section,
  .contact-info .touch-section {
    width: 50% !important; /* Reverted to 50% */
    text-align: left;
  }

  .contact-info .contact-title,
  .contact-info .stay-in-touch {
    margin-top: 0; /* Resetting top margin for side-by-side alignment */
    margin-bottom: 0%;
  }

  .contact-info .contact-section a,
  .contact-info .contact-section span {
    display: block;
    margin-bottom: 5px;
  }

  .social-icons-footer {
    justify-content: flex-start;
  }

  /* Slightly increasing font sizes to help fill the space as requested */
  .footer-links a {
    font-size: 18px;
  }
  .contact-info .contact-title,
  .contact-info .stay-in-touch {
    font-size: 18px;
  }
  .contact-email,
  .contact-phone {
    font-size: 17px;
  }
}

/* Tablet / iPad adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  .site-footer {
    padding: 40px 20px;
    background: linear-gradient(to top, #f7f0f2 0%, #fbf1f4 20%, #ffffff 100%);
  }
  .footer-brand-col {
    margin-bottom: 30px; /* Add space below the full-width brand title */
  }
  .footer-logo-img {
    width: 78px;
  }
  .footer-brand-text {
    font-size: 21px; /* Keeping desktop size */
  }
  .footer-center-col {
    width: 50% !important;
    max-width: 50% !important;
    justify-content: flex-start !important;
    gap: 20px !important;
  }
  .footer-links {
    width: 50% !important;
  }
  .footer-contact-col {
    width: 50% !important;
    max-width: 50% !important;
    justify-content: flex-start !important;
  }
  .contact-info {
    flex-direction: row;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    align-items: flex-start;
    text-align: left;
    gap: 40px !important;
  }
  .contact-info .contact-section,
  .contact-info .touch-section {
    width: 50% !important;
    text-align: left;
    flex: 1;
  }
  .contact-info .contact-title,
  .contact-info .stay-in-touch {
    margin-top: 0;
  }
  .footer-links a {
    font-size: 18px;
  }
}
