/* =========================================
   RESET & BASE STYLES
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f9fbfd;
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
}

/* =========================================
   GLOBAL ELEMENTS
========================================= */
h1, h2, h3 {
  font-family: "Playfair Display", serif;
  color: #1a252f;
  text-shadow: 0 0 5px rgba(0, 0, 255, 0.236); 
  
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

p {
  max-width: 800px;
  margin: 0.5rem auto;
  font-size: 1rem;
  text-align: center;
  color: #555;
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-shadow: 0 2px 10px rgba(0, 0, 255, 0.236);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.logo h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0078ff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.3rem;
}

.nav-links a {
  text-decoration: none;
  color: #1a252f;
  text-shado:2px 2px 2px  rgb(22, 22, 203);
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #0078ff;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #0f2539;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animate hamburger into X when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .hero h1{
    font-size: 2.2rem;
  }
  .hero p{
    font-size: 1rem;
  }
  .gallery img{
    width: 200px;
    height: 140px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 60%;
    background: #99b6cfcc;
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 200;
  }

  .nav-links.show {
    right: 0;
  }

  .nav-links li {
    margin: 0;
  }
}

/* =========================================
   HERO SECTION - Modernized with Lighting
========================================= */
.hero {
  background: 
    linear-gradient(
      to right,
      rgba(5, 10, 40, 0.85),
      rgba(0, 0, 0, 0.75)
    ),
    url("Images/comm4.png") center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated lighting glow */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 150, 255, 0.18),
    rgba(255, 215, 0, 0.12),
    transparent 70%
  );
  animation: moveLight 10s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes moveLight {
  0% {
    transform: translateX(-10%) translateY(-10%) scale(1.2);
  }
  100% {
    transform: translateX(10%) translateY(10%) scale(1.2);
  }
}

.hero-content {
  z-index: 2;
  padding: 2rem;
  backdrop-filter: blur(3px);
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 4px 25px rgba(0, 120, 255, 0.6),
               0 0 15px rgba(255, 215, 0, 0.3);
  animation: fadeUp 2s ease forwards;
}

.hero h1 span {
  display: block;
  font-size: 1.2rem;
  color: #00c6ff;
  letter-spacing: 1px;
  text-transform: none;
  margin-top: 0.3rem;
}

.hero p {
  font-size: 1.15rem;
  color: #eaeaea;
  margin-bottom: 2rem;
  animation: fadeUp 2.4s ease forwards;
}

.hero-btn {
  padding: 0.9rem 2rem;
  background: linear-gradient(90deg, #0078ff, #00c6ff);
  border-radius: 50px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: 0.4s ease;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
}
.Join-btn{
  padding: 0.5rem 1.2rem;
  background: linear-gradient(90deg, #0078ff, #00c6ff);
  border-radius: 20px;
  color: white;
  font-weight: 150;
  text-decoration: none;
  transition: 0.4s ease;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
}
.hero-btn:hover {
  background: linear-gradient(90deg, #00c6ff, #0078ff);
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(0, 200, 255, 0.6);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   SECTIONS
========================================= */
.section {
  padding: 5rem 2rem;
  text-align: center;
}

.bg-light {
  background: #ced5df;
}

.bg-gradient {
  background: linear-gradient(135deg, #0078ff, #00c6ff);
  color: #fff;
}

.section p {
  color: inherit;
}

/* =========================================
   CARD GRID
========================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

.card {
  background: rgb(236, 240, 240);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.card i {
  font-size: 2.5rem;
  color: #0078ff;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.3rem;
  color: #1a252f;
  margin-bottom: 0.8rem;
}
.card .passcode{
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.8rem;
}

.link-btn {
  display: inline-block;
  margin-top: 0.8rem;
  background: #0078ff;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.link-btn:hover {
  background: #005ed9;
}

.OurChurchCom{
font-size: 25px;
font-style: bold;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.BibleVerse{
  font-size: 20px;
  font-style: italic;
  color: #555;
}
.Join-btn{
 display: inline-block;
 margin-top:20px;

}
p{
  font-size: 20px;
  font-family: 'Times New Roman',;

}

/* =========================================
   GALLERY — manual slider + snap + swipe
========================================= */
.gallery {
  margin-top: 2rem;
  position: relative;
  overflow: hidden; /* keep the frame clean */
}

.gallery-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;             /* manual scroll / swipe */
  scroll-behavior: smooth;
  transition: transform 0.5s ease;
  scroll-snap-type: x mandatory; /* snap to each image */
  -webkit-overflow-scrolling: touch;
}

/* snap each image */
.gallery img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
  cursor: pointer;
  scroll-snap-align: center;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* hide scrollbar (optional) */
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll { scrollbar-width: none; }

/* drag cursor (optional) */
.gallery-scroll.dragging {
  cursor: grabbing;
}

/* arrow buttons */
.gallery button{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s, opacity 0.3s;
}

.gallery button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery .prev {
  left: 10px;
}

.gallery .next {
  right: 10px;
}

/* =========================================
   OUR Church Elder
========================================= */
.leaders-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
 
}

.leader {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

.leader img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.leader:hover img {
  transform: scale(1.05);
}

/* Full overlay on hover */
.leader-name {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.leader:hover .leader-name {
  opacity: 1;
}

.el-about{
  font-size: 25px;
  font-style: bold;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
 
}
/* =========================================
   DONATION
========================================= */
.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.donation-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  text-align: center;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.donation-card:hover {
  transform: translateY(-6px);
}

.donation-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.donate-btn {
  display: inline-block;
  margin-top: 1rem;
  background: #fff;
  color: #0078ff;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.donate-btn:hover {
  background: #f2f6fc;
}

/* =========================================
   CONTACT FORM
========================================= */
.contact-form {
  max-width: 600px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0078ff;
  outline: none;
}

.contact-form button {
  background: #0078ff;
  color: #fff;
  padding: 0.9rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #005ed9;
}

.verse{
display: inline;
font-size: 18px;
font-style: italic;
background: #e4f2f0;
}
/* =========================================
   FOOTER
========================================= */
footer {
  background: #1a252f;
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-content h3 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer-content p {
  color: #ccc;
  font-size: 0.95rem;
}

.social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social a {
  color: white;
  font-size: 1.8rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social a:hover {
  transform: scale(1.2);
  color: #00c6ff;
}

.copyright {
  font-size: 0.9rem;
  color: #bbb;
}

/* =========================================
   ANIMATIONS
========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
