/* =============================================
   99-footer.css — Premium Footer Section
   ============================================= */

/* ==========================================
   PREMIUM FOOTER SECTION
========================================== */

.footer-section {
  background: linear-gradient(135deg, #0f1c3f, #16213e);
  color: #d1d5db;
  padding: 60px 0 30px;
  margin-top: 100px;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* desktop: left-aligned */
  justify-content: flex-start;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* desktop: left-aligned */
  gap: 14px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 6px;
}

.footer-subtext {
  font-size: 0.9rem;
  color: #a5b4fc;
}

.copyright-text {
  font-size: 0.85rem;
  color: #94a3b8;
}

footer {
  margin-top: 0 !important;
  padding-bottom: 90px !important; /* clears scroll indicator space */
}

/* Navigation */
.footer-nav h4,
.footer-contact h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #f58220, #c66d00);
  transition: width 0.3s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}
.footer-nav a:hover::after {
  width: 100%;
}

/* Contact */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(4px);
  color: #ffffff;
}

.icon {
  font-size: 1.2rem;
  width: 24px;
  flex-shrink: 0;
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  /* FIX: flex-start was overriding text-align: center on tablet/mobile */
  .footer-brand {
    align-items: center;
    padding-right: 0;
  }

  .logo-wrapper {
    align-items: center; /* FIX: centers logo image + subtext */
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 40px 0 20px;
    margin-top: 60px;
    text-align: center;
  }

  .footer-content {
    gap: 24px;
  }

  .contact-item {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    height: 40px;
  }

  .footer-subtext {
    font-size: 0.8rem;
  }
}
