@import "colors.css";
@import "fonts.css";

* {
  font-family: var(--primary-font);
  color: var(--white-lilac);
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@view-transition {
  navigation: auto;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.no-scroll,
.no-scroll html {
  overflow: hidden !important;
  height: 100%;
}

@supports (-webkit-touch-callout: none) {
  /* Applies only to iOS Safari */
  .hero_section,
  .aboutus_header,
  .connect_header,
  .watchlive_header,
  .event_header,
  .contact_header,
  .donate_header {
     background-attachment: scroll !important;
  }
}

#body_overlay{
  position: fixed;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 */
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* darken background */
  z-index: 998; /*above everything but the nav*/
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#body_overlay.active{
  opacity: 0;
  pointer-events: all;
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 10%;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  z-index: 999;
  overflow-x: hidden;
}

nav #nav-menu {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  font-size: 20px;
  letter-spacing: 1px;
}

nav .nav-link {
  transition: 0.3s;
}

nav .nav-link:hover {
  color: var(--gold);
}

nav hr {
  display: none;
}

.donate_btn {
  font-size: 18px;
  font-family: var(--primary-font);
  font-weight: bold;
}

.donate_btn .btn,
.donate_btn_mobile .btn {
  background: var(--white-lilac);
  color: var(--vivid-cyan-blue);
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  transition: 0.3s ease;
  border: var(--dark-gold) 2px solid;
}

.donate_btn .btn:hover,
.donate_btn_mobile .btn:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--dark-gold);
}

.donate_btn_mobile {
  display: none;
  font-size: 18px;
  font-family: var(--primary-font);
  font-weight: bold;
}

#nav_overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111439 0%, #2c2c5a 100%);
  opacity: 0;
  z-index: -1;
}

.hamburger {
  display: none;
}

.hero_section {
  position: relative;
  width: 100%;
  height: 100vh; /* full viewport height */
  min-height: 600px; /* optional, ensure hero is always tall enough */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* prevents content from spilling out */
  flex-direction: column;
}

.back-video {
  position: absolute;
  inset: 0; /* replaces top/left/transform */
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(45%);
}

.welcome {
  position: absolute; /* stays inside hero */
  top: 50%; /* vertical center */
  left: 50%; /* horizontal center */
  transform: translate(-50%, -50%); /* center exactly */
  text-align: center;
  z-index: 3;
  max-height: calc(
    100vh - var(--navbar-height, 80px)
  ); /* never overlaps navbar */
  overflow: hidden;
  padding: 1rem;
}

/* Responsive headline */
.welcome_message span {
  display: flex;
  flex-direction: column;
  font-size: clamp(2rem, 5vw + 1rem, 5rem);
  font-weight: bold;
  font-family: var(--primary-font);
}

.welcome_message span:first-child {
  font-weight: 600;
}

.welcome_message span:last-child {
  font-weight: 900;
}

/* Slogan text */
.slogan p {
  font-family: var(--secondary-font, var(--primary-font));
  font-weight: 400;
  color: var(--white-lilac);
  margin-top: 1rem;
  line-height: 1.4;
  text-align: center;
  font-size: clamp(1rem, 2vw + 0.5rem, 1.75rem);
  max-width: 700px;
  margin-inline: auto;
}

/* Visit button */
.visit_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.visit_btn .btn {
  display: inline-block;
  text-align: center;
  background: var(--white-lilac);
  color: var(--vivid-cyan-blue);
  border: 2px solid var(--dark-gold);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  width: 90%;
  max-width: 260px;
  padding: clamp(0.55rem, 1.5vw, 0.9rem) clamp(1rem, 5vw, 2.2rem);
  transition: all 0.3s ease;
}

.visit_btn .btn:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--white-lilac);
  transform: translateY(-2px);
}

/* Hide mobile/short variants if needed */
.welcome_message .short,
.slogan p.short {
  display: none;
}
.welcome .text {
  margin-top: 1.5rem;
  font-size: 1rem;
  opacity: 0.9;
}

.joinus,
.livestream,
#upcoming_events {
  display: flex;
  flex-wrap: wrap; /* allows stacking on smaller screens */
  align-items: center;
  justify-content: center;
  gap: 4rem; /* reduces massive gaps, scalable */
  padding: clamp(2rem, 5vw, 5rem); /* fluid padding on all sides */
}

.joinus_info *,
.livestream_info * {
  max-width: 500px;
  color: var(--vivid-cyan-blue);
  align-items: center;
  justify-content: center;
}

.joinus_img img,
.livestream_img img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.aboutus_btn,
.watchus_btn,
.ue_btn {
  margin-top: 1.5rem;
}

.aboutus_btn .btn,
.watchus_btn .btn,
.ue_btn .btn {
  padding: clamp(0.6rem, 1.5vw, 1rem) clamp(1rem, 4vw, 2rem);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
}

.joinus_info h1,
.livestream_info h1,
.upcoming_info h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.joinus_info h2,
.livestream_info h2,
.upcoming_info h2 {
  color: var(--dark-gold);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 1rem;
  font-weight: normal;
}

/* Paragraph spacing */
.joinus_info p,
.livestream_info p,
.upcoming_info p {
  line-height: 1.8rem;
  margin-top: 1rem;
}

.aboutus_btn {
  font-family: var(--primary-font);
  font-weight: bold;
  padding: 20px 0 0 0;
}

.aboutus_btn .btn {
  display: inline-block;
  background: var(--white-lilac);
  color: var(--vivid-cyan-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s ease;
  border: var(--dark-gold) 2px solid;
}

.aboutus_btn .btn:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--white-lilac);
}

.sotw {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.75) 0%,
      rgb(0, 0, 0) 100%
    ),
    url("../media/img/bible_img.png");
  background-size: cover;
  background-position: center;
  padding: 6rem 10%;
}

.sotw_title h1 {
  font-size: 3.5rem;
  margin: 15px 0 10px 0;
}

.sotw_title h2 {
  font-weight: normal;
  color: var(--dark-gold);
  margin: 0 0 4.3rem 0;
}

.sotw_msg {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: var(--dark-gold) 3px solid;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.sotw_msg iframe {
  width: 100%;
  height: 100%;
  border: none;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sotw .sotw_btn {
  padding-top: 30px;
}

.sotw .sotw_btn .btn {
  display: inline-block;
  background: var(--white-lilac);
  color: var(--vivid-cyan-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: var(--primary-font);
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  border: var(--dark-gold) 2px solid;
}

.sotw .sotw_btn .btn:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--white-lilac);
}

.watchus_btn {
  padding: 20px 0 0 0;
}

.watchus_btn .btn {
  display: inline-block;
  background: var(--white-lilac);
  color: var(--vivid-cyan-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: var(--primary-font);
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  border: var(--dark-gold) 2px solid;
}

.watchus_btn .btn:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--white-lilac);
}

#upcoming_events {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.75) 0%,
      rgb(0, 0, 0) 100%
    ),
    url("../media/img/bg_img2.jpg");
  background-size: cover;
  overflow: hidden;
  display: flex;
  /* allows stacking on smaller screens */
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem; /* reduces massive gaps, scalable */
  padding: clamp(2rem, 5vw, 5rem); /* fluid padding on all sides */
}

.upcoming_info * {
  max-width: 500px;
  color: var(--white-lilac);
  align-items: center;
  justify-content: center;
}

.ue_btn .btn {
  display: inline-block;
  background: var(--white-lilac);
  color: var(--vivid-cyan-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: var(--primary-font);
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  border: var(--dark-gold) 2px solid;
}

.ue_btn .btn:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--white-lilac);
}

.ue-container {
  position: relative;
  width: 100%;
  max-width: 900px; /* adjusts automatically, never stretches too wide */
  flex: 1 1 300px; /* grows/shrinks, min width 300px */
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 16 / 9; /* keeps a perfect ratio at any size */
  margin-top: 20px; /* spacing for mobile stacking */
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide {
  flex: 0 0 100%; /* each slide takes 100% width */
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills space without distortion */
  display: block;
}

/* Arrows */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 15px;
}
.next {
  right: 15px;
}

.aboutus_header {
  position: relative;
  background: url("/media/img/el-bethel2.jpg") no-repeat center/cover;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.aboutus_header h1 {
  font-size: 4rem;
  z-index: 1;
}

.aboutus_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-color: black;
  z-index: 1;
}

.joinus,
.livestream,
.vision {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10em;
  padding: 80px 80px 80px 80px;
}

.vision_info * {
  width: 100%;
  max-width: 500px;
  color: var(--vivid-cyan-blue);
}

.vision_info h2 {
  color: var(--dark-gold);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-family: var(--primary-font);
  font-weight: normal;
  margin: 0 0 10px 0;
}

.vision_info h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-family: var(--primary-font);
  font-weight: bold;
  margin: 0 0 10px 0;
}

.vision_info p {
  margin: 0 0 20px 0;
  line-height: 2rem;
}

.vision_img img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.doctrine {
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.75) 0%,
    rgb(0, 0, 0) 100%
  );
  padding: 80px 0 90px 0;
  text-align: center;
}

.doctrine_title {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  color: var();
  text-align: center;
  padding: 0 0 50px 0;
}

#accordion {
  padding: 0 30em 0 30em;
}

.accordion {
  width: 100%;
  padding: 3rem 0 0 0;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 2rem;
  color: var(--white-lilac);
  background: none;
}

.accordion.active {
  color: var(--dark-gold);
}

.accordion:after {
  content: "\002B";
  color: var(--white-lilac);
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.accordion .active:after {
  content: "\2212";
}

.panel {
  max-height: 0; /* KEY: collapsed by default */
  overflow: hidden; /* hide content when collapsed */
  transition: max-height 0.5s ease-out;
  /* keep padding (no visible space when collapsed) */
  border-bottom: 3px solid #ffffff33;
  padding: 20px 0 0 0;
}
.panel p,
.panel ol {
  margin: 1rem 0;
  padding: 0 0 10px 0;
  color: white-lilac;
  font-family: var(--primary-font);
  font-size: 20px;
  line-height: 2rem;
  text-align: left;
}

.panel ol {
  margin-left: 2rem;
}

.panel li {
  margin: 0 0 20px 0;
  font-size: 20px;
  list-style-type: decimal;
  transition: max-height 0.5 ease-out;
}

.elbethel_team {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: 70px;
}

.team_info * {
  max-width: 500px;
  color: var(--vivid-cyan-blue);
}

.team_info h2 {
  color: var(--dark-gold);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-family: var(--primary-font);
  font-weight: normal;
}

.team_info h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-family: var(--primary-font);
  font-weight: bold;
}

.team_list .pastor {
  display: flex;
  grid-column-gap: 4rem;
  margin: 3rem 0 0 0;
}

.pastor img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  border: var(--dark-gold) 2px solid;
}

.pastor h1 {
  color: var(--vivid-cyan-blue);
  font-size: 1.4rem;
  font-family: var(--primary-font);
  font-weight: bold;
}

.pastor h2 {
  color: var(--dark-gold);
  font-size: 1.2rem;
  font-family: var(--primary-font);
  font-weight: normal;
}

.connect_header {
  position: relative;
  background: url("/media/img/connect.jpg") no-repeat center/cover;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.connect_header h1 {
  font-size: 4rem;
  z-index: 1;
}

.connect_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-color: black;
  z-index: 1;
}

.watchlive_header {
  position: relative;
  background: url("/media/img/ccc_emblem.jpg") no-repeat center/cover;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  padding: 7rem 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.watchlive_header h1 {
  font-size: 3rem;
  z-index: 1;
  margin: 15px 0 0 0;
}

.watchlive_header h2 {
  font-size: 1.3rem;
  z-index: 1;
  font-family: var(--primary-font);
  font-weight: bolf;
  color: var(--dark-gold);
  text-transform: uppercase;
}

.watchlive_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-color: black;
  z-index: 1;
}

.countdown-container {
  text-align: center;
}

.countdown-container h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px 0 0 0;
  z-index: 1;
}

.time-box span {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 2.5rem;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  width: 100px;
  height: 100px;
  font-family: "Courier New", monospace;
  border: 2px solid var(--dark-gold);
}

.time-box label {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--dark-gold);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

.watchlive_header .watchlive_btn {
  padding: 30px 0 0 0;
  z-index: 1;
}

.watchlive_header .watchlive_btn .btn {
  display: inline-block;
  background: var(--white-lilac);
  color: var(--vivid-cyan-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  border: var(--dark-gold) 2px solid;
}

.watchlive_header .watchlive_btn .btn:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--white-lilac);
}

.sermons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.75) 0%,
      rgb(0, 0, 0) 100%
    ),
    url("../media/img/bg_img2.jpg");
  background-size: cover;
  background-position: center;
  padding: 6rem 10%;
}

.sermons_title h1 {
  font-size: 3.5rem;
  margin: 15px 0 10px 0;
}

.sermons_title h2 {
  font-weight: normal;
  color: var(--dark-gold);
  margin: 0 0 4.3rem 0;
}

/* Make the video responsive */
.sermon_msg {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: var(--dark-gold) 3px solid;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.sermon_msg iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.sermons .watchmore_btn {
  padding-top: 30px;
  z-index: 1;
}

.sermons .watchmore_btn .btn {
  display: inline-block;
  background: var(--white-lilac);
  color: var(--vivid-cyan-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  border: var(--dark-gold) 2px solid;
}

.sermons .watchmore_btn .btn:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--white-lilac);
}

#prev_sermons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 10%;
}

.prevserm_title h1 {
  font-size: 3.5rem;
  margin: 15px 0 10px 0;
  color: var(--vivid-cyan-blue);
}

.prevserm_title h2 {
  font-weight: normal;
  color: var(--dark-gold);
  margin: 0 0 2rem 0;
}

.sermon_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 videos per row */
  gap: 20px; /* space between videos */
  justify-items: center;
  padding: 1.5rem 0 0 0;
}

.sermon_list .video img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.sermon_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 videos per row */
  gap: 30px;
}

.video {
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 400px;
  transition: transform 0.3s ease;
}

.video:hover {
  transform: translateY(-5px);
}

.video img:hover {
  border: var(--dark-gold) 4px solid;
}

.video img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

.video_desc {
  padding: 15px;
  text-align: center;
}

.video_desc h3 {
  font-size: 1.1rem;
  color: var(--vivid-cyan-blue);
  margin-bottom: 8px;
}

.video_desc p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.event_header {
  position: relative;
  background: url("/media/img/calendar.jpg") no-repeat center/cover;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.event_header h1 {
  font-size: 4rem;
  z-index: 1;
}

.event_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-color: black;
  z-index: 1;
}

.contact_header {
  position: relative;
  background: url("/media/img/contact.png") no-repeat center/cover;
  background-attachment: fixed;
  background-size: contain;
  background-position: center;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact_header h1 {
  font-size: 4rem;
  z-index: 1;
}

.contact_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-color: black;
  z-index: 1;
}

.contact_section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 5rem;
}

.contact_statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 50rem;
  width: 70%;
}

.contact_statement h2 {
  color: var(--dark-gold);
  font-weight: normal;
  font-size: 3rem;
  margin: 0 0 20px 0;
}

.contact_statement .contact_message {
  color: var(--dark-blue);
  margin: 0 0 15px 0;
}

.contact_statement .contact_info {
  display: flex;
  gap: 15px;
  padding: 0 0 10px 0;
}

.contact_statement .contact_info p {
  color: var(--dark-blue);
  font-size: 15px;
  width: 100%;
}

.contact_statement .contact_info p:hover {
  color: var(--dark-gold);
}

.contact_statement .contact_info i {
  display: flex;
  align-items: center;
  color: var(--dark-blue);
}

.contact_form * {
  color: var(--dark-blue);
}

.contact_form fieldset {
  border: none;
  margin: 0 0 10px 0;
}

.contact_form legend {
  font-size: 15px;
  margin: 0 0 10px 0;
}

.contact_form label {
  font-size: 13px;
}

.fullName_field {
  display: flex;
  flex-direction: row;
  align-items: center;
  grid-column-gap: 6px;
}

.fname_field {
  display: flex;
  flex-direction: column;
}

.lname_field {
  display: flex;
  flex-direction: column;
}

.fullName_field input {
  width: 210px;
  height: 33px;
  box-sizing: border-box;
  padding: 0 0 0 5px;
}

.email_field {
  display: flex;
  flex-direction: column;
}

input[type="email"],
input[type="tel"] {
  width: 426px;
  height: 33px;
  padding: 0 0 0 5px;
}

.optionSelect {
  margin: 0 0 10px 0;
}

textarea {
  width: 426px;
  height: 100%;
  min-height: 100px;
  padding: 5px 0 0 5px;
  resize: vertical;
}

.required {
  opacity: 0.7;
}

input[type="submit"] {
  background-color: var(--white-lilac);
  color: var(--dark-blue);
  padding: 10px 10px;
  cursor: pointer;
  transition: 0.5s;
  width: 30%;
  border: 2px solid var(--dark-blue);
}

input[type="submit"]:hover {
  color: var(--dark-gold);
  background-color: var(--dark-blue);
  transition: 0.5s;
}

.submit {
  background-color: var(--dark-blue);
  color: var(--black);
  cursor: pointer;
  transition: 0.5s;
}

.submit:hover {
  color: var(--blue);
  background-color: var(--white);
  transition: 0.5s;
}

.error_class {
  color: red;
}

.error_class i.fa-circle-check {
  display: flex;
  justify-content: right;
  margin: 2px 0 0 0;
}

/* Form submission messages */
#submit_error {
  color: red !important;
  font-family: sans-serif;
  text-transform: capitalize;
  display: block;
  margin-top: 10px;
}

#message_sent {
  display: none;
  font-weight: bold;
}

#message_sent.show {
  display: block;
  animation: slideBounce 0.6s ease forwards;
}
.map iframe {
  width: 100%;
}

.donate_header {
  position: relative;
  background: url("/media/img/donate.jpg") no-repeat center/cover;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.donate_header h1 {
  font-size: 4rem;
  z-index: 1;
}

.donate_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-color: black;
  z-index: 1;
}

.donate-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40vh;
  background: rgba(255, 255, 255, 0.1) !important;
  padding: 9rem;
}

/* Flex wrapper for equal boxes */
.donate-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

/* Left column main container */
.donate-left {
  background: var(--white-lilac);
  border: 2px solid var(--dark-blue);
  border-radius: 20px;
  width: 600px;
  height: 700px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

/* Top small image (header) */
.donate-left > img {
  flex: 1; /* small portion of total height */
  width: 100%;
  height: 50%;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  display: block;
  margin: 0;
}

/* Bottom info section (dominates height) */
.donate-left-info {
  flex: 5; /* larger portion */
  display: flex; /* image + text inline */
  flex-direction: column; /* horizontal layout */
  align-items: flex-start; /* align image top with text */
  background: linear-gradient(135deg, #111439 0%, #2c2c5a 100%);
  padding: 20px;
  gap: 15px;
}

/* Bottom half image */
.donate-left-info img {
  flex: 0 0 auto; /* fixed size */
  width: 200px;
  height: 50px;
  object-fit: contain;
  border-radius: 5px;
}

/* Text next to image */
.donate-left-text {
  flex: 1; /* fills remaining horizontal space */
  color: var(--white-lilac);
  font-size: 1rem;
  line-height: 1.7rem;
  text-align: left;
}

/* Equal-size boxes */
.donate-right {
  position: relative;
  background: var(--white-lilac);
  border: 2px solid var(--dark-blue);
  border-radius: 20px;
  padding: 20px;
  width: 600px; /* fixed width */
  height: 700px; /* fixed height for perfect square */
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
  overflow: hidden;
}

.donate_info {
  position: relative;
  width: 100%;
  background: transparent; /* background handled by parent */
}

.donate_info * {
  position: relative;
  z-index: 2; /* Keep form and Thank You card above canvas */
}

.confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Don’t block clicks */
  z-index: 1; /* Behind content */
}

.donate-title {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 10px;
  text-align: center;
}

.donate-subtitle {
  text-align: center;
  color: var(--dark-gold);
  margin-bottom: 40px;
}

.donate-group {
  margin-bottom: 25px;
}

.donate-group label {
  display: block;
  font-weight: bold;
  color: var(--dark-blue);
  margin-bottom: 10px;
}

.amount-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.amount-btn {
  flex: 1;
  background: var(--white-lilac);
  color: var(--vivid-cyan-blue);
  border: 1px solid var(--dark-gold);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
  background: var(--dark-blue);
  color: var(--white-lilac);
}

#custom-amount {
  flex: 1;
  background: var(--white-lilac);
  border: 1px solid var(--dark-gold);
  color: var(--vivid-cyan-blue);
  padding: 10px;
  border-radius: 8px;
  outline: none;
}

.frequency-toggle label {
  margin-right: 20px;
  cursor: pointer;
}

.donate-section input[type="text"],
.donate-section input[type="email"],
.donate-section input[type="number"] {
  width: 100%;
  padding: 12px;
  background: var(--white-lilac);
  border: 1px solid var(--dark-gold);
  border-radius: 8px;
  color: var(--vivid-cyan-blue);
}

.payment-buttons {
  display: flex;
  gap: 10px;
}

.pay-btn {
  flex: 1;
  background: var(--paystack_blue);
  color: var(--white-lilac);
  font-weight: bold;
  border: 1px solid var(--dark-gold);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.pay-btn.alt {
  background: var(--flutterwave_orange);
  color: var(--white-lilac);
}

.pay-btn:hover {
  background: var(--white-lilac);
  color: var(--paystack_blue);
}

.pay-btn.alt:hover {
  background: var(--white-lilac);
  color: var(--flutterwave_orange);
}

.hidden {
  display: none;
}

.thankyou-card {
  text-align: center;
  padding: 40px 20px;
  color: var(--white-lilac);
  animation: fadeIn 0.8s ease forwards;
}

.hidden {
  display: none;
}

.thankyou-card .checkmark {
  width: 80px;
  height: 80px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  animation: pop 0.6s ease forwards;
}

.thankyou-card svg {
  width: 40px;
  height: 40px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: draw 0.8s ease forwards 0.4s;
}

.thankyou-card h2 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 10px;
}

.thankyou-card p {
  color: var(--dark-blue);
  font-size: 1rem;
  margin-bottom: 20px;
}

.stay-btn {
  padding: 10px 20px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.stay-btn:hover {
  opacity: 0.85;
}

.donate-message {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  color: var(--dark-blue);
}

footer {
  background: linear-gradient(135deg, #111439 0%, #2c2c5a 100%);
}

footer .footer_info {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  height: 100%;
  padding: 5em 20em 10em 20em;
  z-index: 9999;
}

footer .about_section {
  display: flex;
  flex-direction: column;
}

.about_section .logo {
  width: 80%;
  max-width: 250px;
}

.about_section .about_summary {
  margin: 20px 0 0 0;
  width: 40%;
  font-size: 15px;
  color: var(--lightgray);
  line-height: 1.8;
  text-align: left;
  font-weight: 400;
}

footer .contact_list {
  display: flex;
  flex-direction: column;
  padding: 20px 0 0px 0;
}

footer .contact_info {
  display: flex;
  gap: 15px;
  padding: 0 0 20px 0;
}

footer .contact_info p {
  color: var(--white);
  font-size: 15px;
  width: 100%;
}

footer .contact_info p:hover {
  color: var(--gold);
}

footer .contact_info i {
  display: flex;
  align-items: center;
}

footer .servicetimes_title {
  font-size: 15px;
  opacity: 0.5;
  text-transform: uppercase;
  margin: 13px 0 10px 0;
}

.social-icon {
  margin: 0px 10px 0 0;
  border-radius: 30px;
}

.social-icon:hover {
  background-color: var(--lightgray);
  transition: 0.5s;
}

footer h2 {
  color: var(--white-lilac);
  margin: 1.5em 0 20px 0 !important;
  font-size: 14px;
  opacity: 0.5;
  font-weight: normal;
}

footer .footer-menu {
  display: flex;
  grid-column-gap: 7rem;
  margin: 0em 0 0 0;
}

footer .quick-links li {
  font-size: 16px;
  margin: 0 0 30px 0;
  white-space: nowrap; /* Prevents text from wrapping */
  overflow: hidden; /* Hides overflowing content */
  text-overflow: ellipsis;
}

footer .footer-links {
  display: flex;
  flex-direction: column;
}

footer .nav-link:hover {
  color: var(--gold);
}

.connect_info {
  width: 10%;
}

.copyright-info {
  padding: 0 20em 0 20em;
}

.copyright-info p {
  opacity: 0.4;
  line-height: 30px;
}

.copyright-overlay {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: rgba(150, 150, 150, 0.3);
  padding: 40px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pop {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes downOut {
  0% {
    transform: translateZ(200px) translateY(40px);
  }
  80% {
    transform: translateZ(-10px) translateY(0px);
  }
  100% {
    transform: translateZ(0px) translateY(0px);
  }
}

@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }
  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

@keyframes slideBounce {
  0% {
    opacity: 0;
    transform: translateY(-50px) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translateY(10px) scale(1.05);
  }
  80% {
    transform: translateY(-5px) scale(0.95);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
