html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

* { box-sizing: border-box; }

/* Layout */
.footer-section,
.footer-bottom,
.footer-links {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Text styling */
.footer-link, .contact-info p, .contact-info a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Contact link hover */
.contact-link {
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
}

/* Phone icon flip */
.phone-icon-reverse {
  transform: scaleX(-1);
  display: inline-block;
}

/* Social icons */
.social-icons {
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.social-icon {
  font-size: 1.8rem;
  transition: all 0.3s ease;
}
.social-icon.facebook i  { color: #1877F2; }
.social-icon.instagram i {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.social-icon.whatsapp i  { color: #25D366; }
.social-icon.linkedin i  { color: #0077B5; }
.social-icon.youtube i   { color: #FF0000; }
.social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

/* Footer bottom */
.footer-bottom {
  font-family: 'Open Sans', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
}
.footer-bottom .copyright-text {
  color: #6c757d;
  font-size: 0.9rem;
  white-space: normal;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .footer-section .container {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .footer-left, .footer-right {
    width: 100% !important;
    flex: unset !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .footer-right {
    margin-top: 40px !important;
    margin-bottom: 15px !important;
  }
  .footer-right iframe {
    height: 240px;
  }
  .social-icons {
    flex-direction: row !important;
    gap: 18px;
    justify-content: flex-start;
    margin-bottom: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-top: 10px;
  }
  .footer-bottom .copyright-text {
    width: 100%;
    font-size: 0.85rem;
    white-space: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 576px) {
  .footer-right iframe {
    height: 180px;
  }
  .footer-bottom {
    padding-top: 8px;
  }
}
