/* ================================
   Fifth Academy Footer - FV15 Style (Updated Responsive)
   ================================ */

.site-footer {
  background-color: #ffffff;
  color: #1e266d;
  font-family: "Cabin", sans-serif;
  padding: 80px 20px 30px;
  border-top: 1px solid #e5e7eb;
}

/* Layout */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

/* Logo & Brand */
.footer-brand {
  flex: 1 1 250px;
  color: #6b7280;
}

.footer-logo img {
  width: 150px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6b7280;
  max-width: 300px;
}

/* Quick Links + Office Info (middle) */
.footer-links-wrap {
  flex: 2 1 500px;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1 1 240px;
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e266d;
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #11184A;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

/* Social Section */
.footer-social {
  flex: 1 1 200px;
}

.footer-social h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e266d;
  margin-bottom: 20px;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons li {
  margin-bottom: 12px;
}

.social-icons a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #6b7280;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.social-icons i {
  background: #11184A;
  color: #fff;
  padding: 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover i {
  background: #FCE570;
  color: #11184A;
  transform: scale(1.05);
}

.social-icons a:hover {
  color: #11184A;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid #e5e7eb;
  padding-top: 25px;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }

  .footer-links-wrap {
    width: 100%;
    flex-direction: row;
    gap: 50px;
  }

  .footer-section {
    flex: 1 1 45%;
  }

  .footer-social {
    margin-top: 20px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .site-footer {
    padding: 60px 20px 25px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-logo img {
    width: 130px;
  }

  .footer-brand p {
    max-width: 90%;
    margin: 0 auto;
  }

  .footer-links-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-section {
    width: 100%;
  }

  .footer-section h3 {
    margin-bottom: 12px;
  }

  .footer-section a {
    display: inline-block;
  }

  .footer-social {
    width: 100%;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
  }

  .social-icons li {
    margin-bottom: 0;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .site-footer {
    padding: 50px 15px 20px;
  }

  .footer-container {
    gap: 30px;
  }

  .footer-section h3 {
    font-size: 0.95rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.9rem;
  }

  .social-icons i {
    padding: 6px;
    font-size: 0.8rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}
