/* ====== Body & Layout ====== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

main.about-us-container {
  flex: 0 0 auto;
}

/* ====== Footer background ====== */
.footer {
  background-color: #061f23;
  width: 100%;
  padding: 70px 0;
  margin-top: 0;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* ====== container ====== */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}

/* ====== Logos ====== */
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-logos img {
  height: auto;
  object-fit: contain;
  max-width: 100%;
  display: block;
  image-rendering: -webkit-optimize-contrast; 
  image-rendering: crisp-edges;
  image-rendering: optimizeQuality; 
  -ms-interpolation-mode: nearest-neighbor; 
}

/* ====== Social Media ====== */
.footer-social {
  margin: 20px 0;
  text-align: center;
}

.footer-social a.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-family: inherit;
  font-weight: 100;
  transition: color 0.3s ease;
}

.footer-social a.facebook-link img {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
  max-width: 100%;
  image-rendering: -webkit-optimize-contrast;
}

.footer-social a.facebook-link:hover {
  animation: gentle-bounce 1s ease-out forwards;
  color: #fff33b;
  text-decoration: wavy;
}

.footer-social a.facebook-link:hover img {
  transform: scale(1.1);
}

@keyframes gentle-bounce {
  0% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1.1);
  }
}

/* ====== Copyright ====== */
.footer-copyright {
  font-size: 14px;
  color: white;
  line-height: 1.5;
  margin-top: 20px;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 400;
}

/* ====== Web Designer Credit ====== */
.web-designer-credit {
  margin-top: 10px;
}

/* All devices, all states */
.web-designer-credit a,
.web-designer-credit a:link,
.web-designer-credit a:visited,
.web-designer-credit a:active,
.web-designer-credit a:focus,
.web-designer-credit a:hover {
  color: #061f23 !important; 
  text-decoration: none !important;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  -webkit-tap-highlight-color: transparent;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
}

/* ====== Responsive design ====== */

/* Large screen (default) */
.footer-logos img {
max-height: 70px; /* Add maximum height limit */
}

/* Tablet devices (992px and below) */
@media (max-width: 992px) {
  .footer-container { 
    padding: 0 15px; 
  }
  .footer-logos { 
    gap: 30px; 
  }
  .footer-logos img {
    max-height: 55px;
    height: auto; 
  }
  
  .web-designer-credit a,
  .web-designer-credit a:link,
  .web-designer-credit a:visited,
  .web-designer-credit a:active,
  .web-designer-credit a:focus,
  .web-designer-credit a:hover {
    font-size: 13px !important;
  }
}

/* Mobile devices (768px and below) */
@media (max-width: 768px) {
  .footer { 
    padding: 50px 0; 
  }
  .footer-container { 
    padding: 0 10px; 
  }
  .footer-logos { 
    flex-direction: column; 
    gap: 20px; 
  }
  .footer-logos img {
    max-height: 50px;
  }
  .footer-social a.facebook-link { 
    gap: 5px; 
    font-size: 14px;
  }
  .footer-social a.facebook-link img { 
    width: 20px; 
    height: 20px; 
  }
  .footer-copyright {
    font-size: 13px;
  }
  
  .web-designer-credit a,
  .web-designer-credit a:link,
  .web-designer-credit a:visited,
  .web-designer-credit a:active,
  .web-designer-credit a:focus,
  .web-designer-credit a:hover {
    font-size: 13px !important;
  }
}

/* Small-screen phones (480px and below) */
@media (max-width: 480px) {
  .footer { 
    padding: 40px 0; 
  }
  .footer-container { 
    padding: 0 5px; 
  }
  .footer-logos img {
    max-height: 45px;
  }
  .footer-copyright { 
    font-size: 12px;
    line-height: 1.4; 
    padding: 0 10px;
  }
  .footer-social a.facebook-link {
    font-size: 13px;
  }
  
  .web-designer-credit a,
  .web-designer-credit a:link,
  .web-designer-credit a:visited,
  .web-designer-credit a:active,
  .web-designer-credit a:focus,
  .web-designer-credit a:hover {
    font-size: 12px !important;
  }
}

/* Ultra-small screen devices (360px and below) */
@media (max-width: 360px) {
  .footer { 
    padding: 30px 0; 
  }
  .footer-logos img {
    max-height: 40px;
  }
  .footer-copyright { 
    font-size: 11px;
  }
  .footer-social a.facebook-link {
    font-size: 12px;
    flex-direction: column;
    gap: 3px;
  }
  
  .web-designer-credit a,
  .web-designer-credit a:link,
  .web-designer-credit a:visited,
  .web-designer-credit a:active,
  .web-designer-credit a:focus,
  .web-designer-credit a:hover {
    font-size: 11px !important;
  }
}