/* =========================
   HOMEPAGE ONLY (index.html)
========================= */

.home-body {
  margin: 0;
  min-height: 100vh;
  background: #223d78;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   HERO SECTION
========================= */

.hero-main {
  min-height: calc(100vh - 84px);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 84px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("church-growth.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(30, 51, 101, 0.78) 0%,
    rgba(41, 63, 112, 0.7) 45%,
    rgba(52, 75, 125, 0.62) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 42px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-left {
  width: 100%;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.hero-badge i {
  color: #f2bc2b;
}

.hero-title {
  margin: 0 0 22px;
  font-family: "Copperplate Gothic Bold", Georgia, serif;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 700;
  word-break: break-word;
}

.hero-description {
  margin: 0 0 36px;
  max-width: 860px;
  font-family: "Lucida Handwriting", cursive, sans-serif;
  font-size: clamp(0.98rem, 2.1vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: 0.2s ease;
}

.hero-btn-primary {
  background: #f2bc2b;
  color: #111827;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* =========================
   FLOATING CHAT BUTTON
========================= */

.floating-chat-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
}

.floating-chat-btn i {
  font-size: 24px;
}

/* =========================
   LOGIN MODAL
========================= */

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 15, 35, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-modal.show {
  display: flex;
}

.login-modal-content {
  position: relative;
  z-index: 10000;
  width: 100%;
  max-width: 520px;
  padding: 30px 24px;
  border-radius: 24px;
  background: rgba(120, 150, 198, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.login-modal-content h3 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.login-modal-content p {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  font-family: Arial, Helvetica, sans-serif;
}

.modal-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.portal-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 100px;
  padding: 16px 12px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.3;
  text-align: center;
  background: #f4f6fb;
  color: #1e2f57;
  border: 1px solid #d9dde6;
  transition: all 0.2s ease;
  font-family: Arial, Helvetica, sans-serif;
}

.portal-btn i {
  font-size: 1.3rem;
}

.portal-btn:hover {
  background: #243b72;
  color: #ffffff;
  transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .hero-content {
    padding: 56px 28px 72px;
  }

  .hero-description {
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    align-items: flex-start;
  }

  .hero-content {
    padding: 28px 18px 36px;
  }

  .hero-badge {
    font-size: 0.92rem;
    padding: 9px 14px;
    margin-bottom: 22px;
  }

  .hero-title {
    max-width: 11ch;
    font-size: clamp(1.75rem, 7vw, 2.55rem);
    margin-bottom: 14px;
  }

  .hero-description {
    max-width: 32ch;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-btn {
    min-width: 150px;
    max-width: 100%;
  }

  .login-modal {
    padding: 16px;
  }

  .login-modal-content {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .modal-buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-main,
  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding: 22px 14px 28px;
  }

  .hero-badge {
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.84rem;
    margin-bottom: 18px;
  }

  .hero-title {
    max-width: 9ch;
    font-size: clamp(1.55rem, 8.5vw, 2.1rem);
    line-height: 1.08;
  }

  .hero-description {
    max-width: 28ch;
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .hero-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  .floating-chat-btn {
    right: 14px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }

  .floating-chat-btn i {
    font-size: 22px;
  }
}

@media (max-width: 360px) {
  .hero-content {
    padding: 20px 12px 24px;
  }

  .hero-title {
    font-size: 1.45rem;
  }

  .hero-description {
    font-size: 0.8rem;
  }
}
