/* Responsive Footer Styles */

.site-footer {
  background-color: #fbf6f3;
  padding: 50px 20px 30px;
  width: 100%;
  margin-top: 60px;
  clear: both;
  position: relative;
  z-index: 1;
  display: block;
  overflow-x: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  clear: both;
  overflow-x: hidden;
}

/* Top Section - Logo and Contact Info */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-logo {
  flex: 0 0 auto;
  min-width: 150px;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contact Information */
.footer-contact {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 40%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contact-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  stroke: #333;
  color: #333;
}

.contact-item a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
  font-weight: 500;
}

.contact-item a:hover {
  color: #007bff;
}

/* Social Media Section */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 30px 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.06);
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #007bff;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

/* Copyright Section */
.footer-copyright {
  text-align: center;
  padding-top: 20px;
  position: relative;
  z-index: 2;
  width: 100%;
  overflow-x: hidden;
}

.footer-copyright p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Tablet Responsive (768px and below) */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 15px 25px;
    margin-top: 50px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .footer-logo {
    min-width: 120px;
  }

  .footer-logo img {
    max-width: 130px;
  }

  .footer-contact {
    width: 100%;
    align-items: center;
    gap: 18px;
  }

  .contact-item {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-item a {
    font-size: 14px;
    text-align: center;
    word-break: break-word;
  }

  .footer-social {
    gap: 20px;
    padding: 25px 0;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .footer-copyright p {
    font-size: 12px;
  }
}

/* Mobile Responsive (480px and below) */
@media (max-width: 480px) {
  .site-footer {
    padding: 30px 12px 20px;
    margin-top: 40px;
  }

  .footer-top {
    gap: 25px;
    padding-bottom: 25px;
    margin-bottom: 25px;
  }

  .footer-logo {
    min-width: 100px;
  }

  .footer-logo img {
    max-width: 100px;
  }

  .footer-contact {
    gap: 15px;
  }

  .contact-item {
    gap: 12px;
    text-align: center;
  }

  .contact-icon {
    width: 20px;
    height: 20px;
  }

  .contact-item a {
    font-size: 13px;
    text-align: center;
  }

  .footer-social {
    gap: 15px;
    padding: 20px 0;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }

  .social-link:hover {
    transform: translateY(-2px);
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .footer-copyright p {
    font-size: 11px;
    line-height: 1.5;
  }
}

/* Extra Small Devices (under 360px) */
@media (max-width: 360px) {
  .site-footer {
    padding: 25px 10px 15px;
    margin-top: 30px;
  }

  .footer-logo img {
    max-width: 80px;
  }

  .contact-item a {
    font-size: 12px;
    text-align: center;
  }

  .footer-copyright p {
    font-size: 10px;
    padding: 0 5px;
    text-align: center;
  }
}
