/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #111;
  padding: 80px 60px 40px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-tagline {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: #C44B6B;
  color: #C44B6B;
}

.footer-col h5 {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  font-family: var(--main-font-family);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large desktop (1400px+) — no change needed, defaults handle it */

/* Standard desktop / laptop (1024px – 1399px) */
@media (max-width: 1280px) {
  footer {
    padding: 72px 48px 36px;
  }

  .footer-grid {
    gap: 36px;
  }
}

/* Small laptop / large tablet landscape (900px – 1023px) */
@media (max-width: 1024px) {
  footer {
    padding: 64px 40px 32px;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
  }

  /* Move Contact Us under the brand column */
  .footer-grid>div:last-child {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Tablet portrait (600px – 899px) */
@media (max-width: 900px) {
  footer {
    padding: 56px 32px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
  }

  /* Brand column spans full width on its own row */
  .footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  /* Reset any overrides from the 1024px breakpoint */
  .footer-grid>div:last-child {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Large mobile / small tablet (480px – 599px) */
@media (max-width: 600px) {
  footer {
    padding: 48px 24px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Brand still spans full width */
  .footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  .footer-logo {
    width: 150px;
  }
}

/* Mobile (up to 479px) */
/* Mobile (up to 479px) */
@media (max-width: 480px) {
  footer {
    padding: 40px 20px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-grid>div:first-child {
    grid-column: auto;
  }

  /* ── Center everything ── */
  .footer-grid>div {
    text-align: center;
  }

  .footer-logo {
    width: 140px;
    margin: 0 auto 16px;
    /* center the logo block */
  }

  .social-links {
    justify-content: center;
    /* center the social icons row */
  }

  .footer-col ul {
    align-items: center;
    /* center the link list items */
  }

  .footer-col h5 {
    margin-bottom: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    /* center both copyright lines */
    text-align: center;
    gap: 6px;
    padding-top: 20px;
  }
}