* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #2e1a47;  /* Royal Purple – change to #1e3a8a for Royal Blue */
  color: #f5f3ff;
  line-height: 1.5;
  scroll-behavior: smooth;
}

/* ---------- NAVBAR & DROPDOWN ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 2.5rem;
  background: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #ffffff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 48px; /* increase from 32px */
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
}
.nav-links a {
  color: #e0e4ff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.2s;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover {
  color: #f5c542;
  border-bottom-color: #f5c542;
}

.dropdown {
  position: relative;
}
.dropdown .dropbtn {
  cursor: pointer;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(10, 10, 20, 0.95);
  backdrop-filter: blur(16px);
  min-width: 220px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1001;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.dropdown-content a {
  color: #e0e4ff;
  padding: 0.8rem 1.2rem;
  display: block;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  font-size: 0.9rem;
}
.dropdown-content a:last-child {
  border-bottom: none;
}
.dropdown-content a:hover {
  background: rgba(245, 197, 66, 0.2);
  color: #f5c542;
}
.dropdown:hover .dropdown-content {
  display: block;
}

.menu-icon {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #e0e4ff;
}

/* ---------- HERO & SLIDESHOW ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  overflow: hidden;
  border-radius: 0 0 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.75));
  z-index: 1;
  pointer-events: none;
}
.hero-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  opacity: 0.25;
  filter: blur(3px);
}
.hero-cross::before {
  content: "✝";
  font-size: 280px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  text-align: center;
  line-height: 1;
  font-family: serif;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 1rem;
}
.btn-primary {
  background: #ffcd5c;
  border: none;
  padding: 0.5rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 2rem;
  color: #1a1a2a;
  transition: 0.2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.btn-primary a {
  color: #1a1a2a;
  text-decoration: none;
}
.btn-primary:hover {
  background: #ffc43a;
  transform: scale(1.02);
}

/* ---------- GLASS CARDS ---------- */
.glass-card-light {
  background: rgba(30, 20, 50, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.3s;
  color: #f0eef7;
}
.glass-card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -8px rgba(0, 0, 0, 0.3);
  background: rgba(40, 28, 65, 0.9);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

/* ---------- ACTION CARDS ---------- */
.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 3rem 0 4rem;
}
.feature-card-img {
  position: relative;
  flex: 1;
  min-width: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.feature-card-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 32px -12px rgba(0, 0, 0, 0.4);
}
#joinCard { background-image: url('../images/prayer_1.jpg'); }
#liveCard {background-image: url('../images/img3_1.jpeg');}
#prayerCard { background-image: url('../images/requests.jpg'); }
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7));
  z-index: 1;
}
.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 2rem;
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.card-content i {
  font-size: 2.8rem;
  color: #ffdf8c;
  margin-bottom: 0.8rem;
}
.card-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.card-content p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* ---------- SECTION TITLES ---------- */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  color: #ffefc0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ---------- GRIDS ---------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}
.video-card {
  padding: 0 0 1rem 0;
  overflow: hidden;
}
.video-thumb {
  background: #2a1f3a;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem 1.5rem 1rem 1rem;
  overflow: hidden;
}
.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.video-card:hover .thumb-img {
  transform: scale(1.05);
}
.video-info {
  padding: 1rem 1rem 0.5rem;
}
.video-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffefc0;
}
.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #cdc4e8;
  margin-top: 0.5rem;
}

.double-column {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}
.upcoming-box, .testimonies-box {
  flex: 1;
  padding: 1.6rem;
}
.testimonial-text {
  font-style: italic;
  padding: 1rem 0;
  border-left: 3px solid #ffcd5c;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #f0eef7;
}
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffcd5c;
  margin-top: 0.3rem;
}

.newsletter {
  padding: 2rem;
  text-align: center;
  max-width: 650px;
  margin: 2rem auto;
}
.newsletter h3 {
  font-size: 1.8rem;
  color: #ffefc0;
}
.news-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.news-form input {
  background: rgba(255,255,255,0.9);
  border: 1px solid #dce2ef;
  padding: 0.8rem 1.2rem;
  border-radius: 3rem;
  width: 270px;
  color: #1e2a3e;
  font-size: 0.9rem;
  outline: none;
}
.news-form button {
  background: #ffcd5c;
  border: none;
  padding: 0 1.8rem;
  border-radius: 3rem;
  font-weight: 700;
  color: #1a1a2a;
  cursor: pointer;
}
.news-form button:hover {
  background: #ffc43a;
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}
.info-card {
  flex: 1;
  padding: 1.6rem;
  min-width: 210px;
}
.blog-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 0.8rem;
}
.blog-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #ffefc0;
}
.blog-excerpt {
  color: #e0d6f5;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.reminder-btn {
  background: transparent;
  border: 1px solid #ffcd5c;
  color: #ffcd5c;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s;
}
.reminder-btn:hover {
  background: #ffcd5c;
  color: #1a1a2a;
}

/* ---------- MANCHESTER BANNER ---------- */
.manchester-banner {
  position: relative;
  max-width: 900px;           /* limits width */
  margin-left: auto;
  margin-right: auto;         /* centers it */
  border-radius: 2rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: white;
  margin-top: 2rem;
}
.manchester-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  border-radius: 2rem;
  z-index: 1;
}
.manchester-banner h2,
.manchester-banner p,
.manchester-banner a {
  position: relative;
  z-index: 2;
}
.countdown {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
  font-family: monospace;
  color: #ffefc0;
}
.gold-btn {
  background: gold;
  color: black;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: 0.3s;
}
.gold-btn:hover {
  background: #ffcc00;
  transform: scale(1.02);
}

/* ---------- PAYPAL DONATE ---------- */
.paypal-donate {
  text-align: center;
  margin: 3rem 0;
  padding: 1.5rem;
  background: rgba(0,0,0,0.3);
  border-radius: 2rem;
  color: white;
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  background: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  color: #e0e4ff;
}
.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-social {
  display: flex;
  gap: 1.8rem;
}
.footer-social a {
  color: #e0e4ff;
  font-size: 1.3rem;
  transition: all 0.2s ease;
}
.footer-social a:hover {
  color: #f5c542;
  transform: translateY(-2px);
}

/* ---------- MODALS ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}
.modal-content {
  max-width: 450px;
  width: 90%;
  padding: 2rem;
  border-radius: 1.8rem;
  position: relative;
  animation: fadeInUp 0.3s ease;
}
.glass-card-dark {
  background: rgba(10, 10, 20, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
}
.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: #ccc;
}
.close-modal:hover {
  color: #ffcd5c;
}
.social-modal-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-icon {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255,255,255,0.08);
  border-radius: 3rem;
  color: white;
  text-decoration: none;
  transition: 0.2s;
}
.prayer-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.prayer-form input, .prayer-form textarea {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.8rem;
  border-radius: 1rem;
  color: white;
  font-family: inherit;
}
.prayer-form button {
  background: #ffcd5c;
  border: none;
  padding: 0.8rem;
  border-radius: 3rem;
  font-weight: 700;
  cursor: pointer;
  color: #1a1a2a;
}

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

/* ---------- GALLERY SECTION ---------- */
.gallery-section {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}
.gallery-slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.gallery-slide.active {
  opacity: 1;
}
.gallery-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  background: rgba(0,0,0,0.6);
  padding: 1rem;
  z-index: 2;
}

/* Testimony image cards */
.testimony-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.testimony-img-card {
  width: 100%;
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.testimony-img-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Testimony Carousel */
.testimony-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
}

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

.testimony-carousel-img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-btn {
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem 0.8rem;
  border-radius: 50%;
  transition: 0.2s;
  margin: 0 0.2rem;
  z-index: 2;
}
.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-dots {
  text-align: center;
  margin-top: 0.8rem;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active {
  background-color: #ffcd5c;
  width: 12px;
  height: 12px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px) {
  .navbar {
    padding: 0.8rem 1.5rem;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
    background: rgba(10, 10, 20, 0.95);
    padding: 1rem;
    border-radius: 2rem;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
  .dropdown {
    width: 100%;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
    background: rgba(20, 15, 35, 0.95);
    margin-top: 0.5rem;
    margin-left: 1rem;
    width: calc(100% - 2rem);
    right: auto;
    left: 0;
  }
  .dropdown-content a {
    white-space: normal;
    padding: 0.7rem 1rem;
  }
  .container {
    padding: 0 1rem 1rem;
  }
  .feature-card-img {
    min-width: 100%;
    aspect-ratio: 16 / 9;
  }
  .double-column {
    flex-direction: column;
  }
  .gallery-section {
    height: 40vh;
  }
}