/* Wrapper for entire footer area */
.site-footer-wrapper {
  width: 100%;
  display: block;
  background-color: #fffbf3;
  /* ensure it spans full bleed on small and large screens */
  padding-top: 1.95rem;
  padding-bottom: 0.4rem;
}

/* make sure footer sits above page content when necessary */
.site-footer-wrapper {
  position: relative;
  z-index: 2;
}

footer {
  display: flex;
  justify-content: space-around;
  padding: 1.55rem;
  font-size: 0.72rem;
  font-family: 'Montserrat';

}

/* Footer Styles */
.site-footer {
  font-family: 'Montserrat';
  color: #222;
  margin-top: 0;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1320px;
  margin: 0 auto 1.95rem auto;
  gap: clamp(2.3rem, 3.1vw, 4.2rem);
  width: 100%;
  font-family: 'Montserrat';
  padding: 0 clamp(0.8rem, 1.55vw, 1.55rem);
}

.footer-col {
  flex: 1 1 0;
}

.footer-col h3 {
  font-size: clamp(1.1rem, 1.38vw, 1.32rem);
  font-weight: 700;
  margin-bottom: clamp(0.95rem, 1.1vw, 1.1rem);
  color: #222;
  letter-spacing: 0.5px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  /* vertically center icon and text */
  gap: clamp(0.66rem, 0.77vw, 0.77rem);
  font-size: clamp(10pt, 1vw, 11.5pt);
  margin-bottom: clamp(0.72rem, 0.88vw, 0.88rem);
  word-break: break-word;
}


.footer-contact-item span {
  font-weight: 600;
  font-style: normal;
}

.footer-icon {
  width: clamp(24px, 3.1vw, 31px);
  height: clamp(24px, 3.1vw, 31px);
  object-fit: contain;
  margin-top: 0;
  /* reset any top offset so it centers cleanly */
  flex-shrink: 0;
}

.footer-links-list {
  display: flex;
  gap: clamp(1.4rem, 1.9vw, 1.95rem);
  font-size: clamp(10pt, 1vw, 11.5pt);
  font-weight: 600;
}

.footer-links-list a {
  color: #222;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: inline-block;
  transition: color 220ms cubic-bezier(.2, .8, .2, 1), transform 220ms cubic-bezier(.2, .8, .2, 1);
  will-change: color, transform;
  line-height: 1.7;
}

.footer-links-list a:hover {
  color: #222;
  transform: translateX(4px);
}

.footer-social-icons {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.footer-social-icon {
  width: clamp(46px, 4.6vw, 54px);
  height: clamp(46px, 4.6vw, 54px);
  object-fit: contain;
  border-radius: 8px;
  padding: clamp(3.3px, 0.55vw, 5.5px);
  transition: box-shadow 0.18s, transform 0.18s;

}

.footer-social-icon:hover {

  transform: scale(1.08) rotate(-6deg);
}

.footer-divider {
  border: none;
  border-top: 2px solid #bdbdbd;
  margin: 0 0 1.5rem 0;
  width: 90%;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  font-size: clamp(0.77rem, 0.88vw, 0.88rem);
  color: #222;
  gap: clamp(1.1rem, 1.55vw, 1.55rem);
  width: 100%;
  padding: 0 clamp(0.77rem, 1.55vw, 1.55rem);
  padding-bottom: 1.1rem;
  font-family: 'Montserrat';
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: clamp(0.38rem, 0.55vw, 0.55rem);
  font-size: clamp(10pt, 1vw, 11.5pt);
  font-weight: 600;
}

.footer-logo-img {
  width: clamp(37px, 3.85vw, 42px);
  height: clamp(37px, 3.85vw, 42px);
  object-fit: contain;
  border-radius: 12px;
}

.footer-copyright {
  text-align: right;
  font-size: clamp(10pt, 1vw, 11.5pt);
  color: #444;
  font-weight: 400;
  line-height: 1.5;
  max-width: 600px;

}

/* High zoom responsive adjustments (125%-150% scale) */
@media (max-width: 1400px) {
  .footer-main {
    gap: clamp(1.75rem, 2.5vw, 2.8rem);
    padding: 0 clamp(1rem, 2vw, 1.75rem);
  }

  .footer-col h3 {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    margin-bottom: clamp(0.7rem, 0.9vw, 0.9rem);
  }

  .footer-contact-item {
    font-size: clamp(8pt, 0.8vw, 10pt);
    margin-bottom: clamp(0.6rem, 0.7vw, 0.7rem);
    gap: clamp(0.5rem, 0.65vw, 0.65rem);
  }

  .footer-icon {
    width: clamp(21px, 2.5vw, 25px);
    height: clamp(21px, 2.5vw, 25px);
  }

  .footer-links-list {
    gap: clamp(1rem, 1.5vw, 1.5rem);
    font-size: clamp(8pt, 0.8vw, 10pt);
  }

  .footer-social-icon {
    width: clamp(38px, 3.8vw, 45px);
    height: clamp(38px, 3.8vw, 45px);
    padding: clamp(3px, 0.4vw, 4px);
  }

  .footer-bottom {
    gap: clamp(0.85rem, 1.25vw, 1.25rem);
    padding: 0 clamp(1rem, 2vw, 1.75rem);
    padding-bottom: 1rem;
  }

  .footer-logo {
    font-size: clamp(8pt, 0.8vw, 10pt);
    gap: clamp(0.3rem, 0.45vw, 0.45rem);
  }

  .footer-logo-img {
    width: clamp(32px, 3.2vw, 35px);
    height: clamp(32px, 3.2vw, 35px);
  }

  .footer-copyright {
    font-size: clamp(8pt, 0.8vw, 10pt);
  }
}

@media (max-width: 1200px) {
  .footer-main {
    gap: clamp(1.4rem, 2vw, 2.5rem);
  }

  .footer-col h3 {
    font-size: clamp(0.85rem, 1vw, 1rem);
  }

  .footer-contact-item {
    font-size: clamp(8pt, 0.7vw, 9pt);
    flex-wrap: wrap;
  }

  .footer-links-list {
    gap: clamp(0.85rem, 1.4vw, 1.4rem);
    font-size: clamp(8pt, 0.7vw, 9pt);
    flex-wrap: wrap;
  }

  .footer-social-icons {
    gap: clamp(0.6rem, 0.7vw, 0.85rem);
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .footer-copyright {
    text-align: center;
    max-width: none;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .site-footer-wrapper {
    padding-top: 2.1rem;
    padding-bottom: 0.7rem;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.1rem;
    padding: 0 2.1rem;
    margin-bottom: 2.1rem;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .footer-contact-item {
    font-size: 9pt;
    margin-bottom: 0.85rem;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    word-break: break-word;
    max-width: 100%;
    flex-direction: column;
    text-align: center;
  }

  .footer-contact-item span {
    text-align: center;
  }

  .footer-icon {
    width: 25px;
    height: 25px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .footer-links-list {
    font-size: 10pt;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .footer-links-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }

  .footer-links-column a {
    text-align: center;
  }

  .footer-social-icons {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }

  .footer-social-icon {
    width: 45px;
    height: 45px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 2.1rem;
    padding-bottom: 1.4rem;
  }

  .footer-logo {
    font-size: 10pt;
    justify-content: center;
  }

  .footer-logo-img {
    width: 36px;
    height: 36px;
  }

  .footer-copyright {
    font-size: 10pt;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .site-footer-wrapper {
    padding-top: 1.75rem;
    padding-bottom: 1rem;
  }

  .footer-main {
    flex-direction: column;
    align-items: center !important;
    gap: 2.1rem;
    padding: 0 1.4rem;
    margin-bottom: 1.75rem;
    text-align: center !important;
  }

  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-col h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center !important;
  }

  .footer-contact-item {
    font-size: 9pt;
    margin-bottom: 0.8rem;
    gap: 0.65rem;
    align-items: center;
  }

  .footer-icon {
    width: 22px;
    height: 22px;
    margin-top: 0;
  }

  .footer-links-list {
    font-size: 9pt;
    gap: 1.4rem;
    flex-wrap: wrap;
  }

  .footer-links-column a {
    line-height: 1.6;
  }

  .footer-social-icons {
    flex-direction: row;
    gap: 0.9rem;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .footer-social-icon {
    width: 40px;
    height: 40px;
    padding: 4px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center !important;
    gap: 1rem;
    padding: 0 1.4rem;
    padding-bottom: 1rem;
  }

  .footer-logo {
    font-size: 9pt;
    gap: 0.6rem;
    text-align: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .footer-logo-img {
    width: 28px;
    height: 28px;
  }

  .footer-copyright {
    font-size: 8pt;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .site-footer-wrapper {
    padding-top: 1.4rem;
    padding-bottom: 0.7rem;
  }

  .footer-main {
    gap: 1.75rem;
    padding: 0 1rem;
    margin-bottom: 1.4rem;
    align-items: center;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-col h3 {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-align: center;
  }

  .footer-contact-item {
    font-size: 0.7rem;
    margin-bottom: 0.7rem;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .footer-icon {
    width: 22px;
    height: 22px;
    margin-top: 0;
  }

  .footer-links-list {
    font-size: 0.7rem;
    gap: 0.7rem !important;
    flex-direction: column;
    align-items: center;
  }

  .footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 0.85rem !important;
    align-items: center;
  }

  .footer-links-column a {
    margin-bottom: 0;
    line-height: 1.4;
    text-align: center;
  }

  .footer-social-icons {
    gap: 0.7rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-social-icon {
    width: 36px;
    height: 36px;
    padding: 4px;
  }

  .footer-divider {
    width: 90%;
    margin: 0 auto 1rem auto;
    border-top-width: 1px;
  }

  .footer-bottom {
    padding: 0 1rem;
    padding-bottom: 1rem;
    gap: 0.85rem;
    text-align: center;
    align-items: center;
  }

  .footer-logo {
    font-size: 0.7rem;
    gap: 0.4rem;
    justify-content: center;
  }

  .footer-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .footer-copyright {
    font-size: 0.6rem;
    line-height: 1.4;
    color: #555;
    text-align: center;
  }
}

/* Footer links columns - stack links vertically and add spacing */
.footer-links-column a {
  display: block;
  margin-bottom: 0.6rem;
}

.footer-links-column a:last-child {
  margin-bottom: 0;
}