/* =============================
   FOOTER BASE STYLES
============================= */
.footer {
  width: 100%;
  background: white;
  border-top: 3px solid #282f7f;
  overflow-x: hidden;
}

/* =============================
   FOOTER TOP SECTION
============================= */
.footer-top {
  background: white;
  color: #2c3e50;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* =============================
   MAIN LAYOUT (LOGO LEFT, TEXT RIGHT)
============================= */
.footer-columns {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
  text-align: center;
}

/* =============================
   LOGO
============================= */
.footer-logo {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo img {
  max-width: 230px;
  height: auto;
}

/* =============================
   TEXT GROUP (ALL COLUMNS)
============================= */
.footer-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  top: 40px; /* lowers text to align with logo middle */
}

/* =============================
   INDIVIDUAL TEXT COLUMNS
============================= */
.footer-text-columns {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-column {
  text-align: center;
}

.footer-column h3 {
  font-size: 23px;
  margin-bottom: 8px;
  font-weight: 700;
  color: #4279bc;
}

.footer-column p,
.footer-column a {
  font-size: 17px;
  color: #2c3e50;
  text-decoration: none;
  margin: 3px 0;
}

.footer-column a:hover {
  text-decoration: underline;
}

/* =============================
   PRAYER REQUEST / CONNECT BUTTON
   Longer (wider), not taller
============================= */
.footer .btn {
  position: relative;              /* for shine effect */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* 👉 Wider left-to-right, shorter top-to-bottom */
  min-width: 260px;
  padding: 6px 0;                  /* small vertical padding = not tall */

  background: #1e2a57 !important;
  color: white !important;
  border-radius: 6px;
  font-weight: 600;
  border: 2px solid #1e2a57 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
  overflow: hidden;                /* keep shine inside */
  text-align: center;
}

.footer .btn:hover {
  background: white !important;
  color: #1e2a57 !important;
  border-color: #1e2a57 !important;
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(30, 42, 87, 0.35);
}

/* Shine effect */
.footer .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
}

@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* =============================
   FOOTER BOTTOM
============================= */
.footer-bottom {
  background: #1e2a57;
  color: white;
  text-align: center;
  padding: 4px 6px;
  font-size: 11px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  width: 100%;
}

/* =============================
   RESPONSIVE ADJUSTMENTS
============================= */
/* =============================
   MID-WIDTH SAFETY FIX (950px–1157px)
============================= */
@media (max-width: 1157px) and (min-width: 951px) {
  .footer-top {
    padding-bottom: 60px; /* ✅ add extra space below button */
  }

  .footer .btn {
    margin-bottom: 40px;  /* ✅ ensures button stays above copyright */
  }

  .footer-bottom {
    padding-top: 10px;    /* ✅ extra visual gap for balance */
  }
}

/* Medium Screens (≤950px) */
@media (max-width: 950px) {
  .footer-columns {
    flex-direction: column;
    align-items: center; /* ✅ center logo + text group */
    justify-content: center;
    gap: 30px;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .footer-logo img {
    max-width: 190px;
  }

  .footer-text-group {
    top: 0; /* reset offset */
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-text-columns {
    gap: 40px;
    justify-content: center;
  }

  .footer .btn {
    font-size: 16px;
    min-width: 240px;     /* still nice and wide */
    padding: 6px 0;       /* keep it short */
  }
}

/* Small Screens (≤600px) */
@media (max-width: 600px) {
  .footer-text-columns {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h3 {
    font-size: 20px;
  }

  .footer-column p,
  .footer-column a {
    font-size: 15px;
  }

  .footer-logo img {
    max-width: 160px;
    margin-bottom: 10px;
  }

  .footer .btn {
    font-size: 15px;
    min-width: 220px;     /* still wider than default */
    padding: 6px 0;       /* not tall */
    max-width: 280px;
  }
}
/* FORCE footer button to be wider */
footer .footer-text-group .btn {
  width: 500px !important;
  padding: 10px 0 !important;  /* keeps it same height, not taller */
  display: inline-block !important;
}
