* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --footer-main-font: "Outfit", sans-serif;
    --footer-heading-font:  "Kavoon", serif;
    --footer-subtitle-font: "Roboto Condensed", sans-serif;
    --footer-letter-space: 1px;
    --footer-heading-font-size:20px;
    --footer-subtitle-font-size:28px;
    --footer-main-font-size:17px;
}
.footer {
  color: white;
  padding: 3rem 0;
  font-family: 'Poppins', sans-serif;
    /* background-color:#5D2F77!important; */
    background-color: #210440 !important;

}

/* Footer headings */
.footer h5 {
  font-weight: 600;
  margin-bottom: 1rem;
    font-family: var(--footer-subtitle-font);
    text-transform:capitalize; 
     font-size: var(--footer-heading-font-size);
}

/* Footer links with hover animation */
.footer-link {
  color: white;
  text-decoration: none;
  position: relative;
     font-family: var(--footer-main-font);
    font-size:var(--footer-main-font-size) ;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #F8B259;
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #F8B259;
  transform: translateY(-2px); /* subtle lift */
}

.footer-link:hover::after {
  width: 100%; /* underline animation */
}
/* Active footer link (red) */
.footer-link.active-footer {
    color: #F8B259 !important;  /* red color */
}

.footer-link.active-footer::after {
    width: 100%;              /* optional underline if you want */
    background-color:  #210440;   /* red underline */
}

/* Map wrapper */
.footer-map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.footer-map-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Social icons */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 1.3rem;
  justify-content: flex-start;
}

.footer-social a {
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.3) rotate(5deg); /* scale and rotate */
  filter: brightness(1.3);
  color: #ff6600;
}

.footer-social .footer-whatsapp { color: #25D366; }
.footer-social .footer-facebook { color: #1877F2; }
.footer-social .footer-instagram { color: #C13584; }

/* Logo */
.footer-logo {
  max-width: 140px;
  height: auto;
}

/* Copyright */
.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color:white;
}

/* Medium devices (md < 992px) */
@media (max-width: 991px) {
  .footer .col-md-4,
  .footer .col-md-6 {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .footer-logo { max-width: 120px; }
  .footer-social {
    justify-content: center;
  }
}

/* Small devices (sm < 768px) */
@media (max-width: 767px) {
  .footer { padding: 2rem 1rem; }
  .footer h5 { font-size: 1rem; }
  .footer-copy { font-size: 0.85rem; }
}

/* Extra small devices (xs < 576px) */
@media (max-width: 575px) {
  /* .footer-logo { max-width: 100px; } */
  .footer h5 { font-size: 1.3rem; }
}

/* Center all footer columns on medium (md) and large (lg) screens */
@media (max-width: 1199px) {  /* lg < 1200px */
  .footer .row {
    justify-content: center; /* center all columns horizontally */
  }
  .footer .row > [class^="col-"] {
    text-align: center;      /* center text/content inside each column */
    margin-bottom: 1.5rem;
  }
  .footer-logo {
    margin: 0 auto 0.5rem;  /* center logo image */
  }
  .footer-social {
    justify-content: center; /* center social icons */
  }
}


/* == */

/* Scroll-to-top button */
.footer-scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background-color: #F8B259;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 999;
}
.footer-scroll-top:hover {
  background-color: #ff914d;
  transform: scale(1.1);
}
