/* ===== FOOTER ===== */
:root {
  --dark-color: #111;
  --light-color: #f4f4f4;
  --secondary-color: #e63946;
}

.main-footer {
  background: var(--dark-color);
  color: #fff;
  font-family: "Open Sans", sans-serif;
  padding: 4rem 2rem 2rem;
  position: relative;
}

.footer-content {
  /* max-width: 1200px; */
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section.middle-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--light-color);
}

.footer-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 1rem;
  padding-left: 1rem;
}

.email-link,
address {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
  padding-left: 1rem;
}

.email-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-left: 1rem;
}

.social-link i {
  font-size: 32px;
  color: #ddd;
  transition: all 0.3s ease;
}

.social-link.facebook:hover i {
  color: #1877F2;
}

.social-link.youtube:hover i {
  color: #f71c1c;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  padding-top: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #fff;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.copyright {
  text-align: center;
  flex: 1 1 100%;
  margin-top: 1rem;
}

.copyright a {
  color: var(--secondary-color);
  font-weight: 700;
  text-decoration: none;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease-in-out;
  z-index: 1000;
}

.scroll-top:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(255, 65, 108, 0.4);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-section {
    min-width: 100%;
    text-align: center;
  }

  .footer-subtitle,
  .email-link,
  address,
  .social-links {
    padding-left: 0;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .main-footer {
    padding: 2rem 1rem 1rem;
  }
}
