/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Global Styles & Variables */
:root {
  --bg-dark: #0b0f19;
  --bg-card: rgba(18, 24, 38, 0.75);
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-gold: #ffb703;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-glow: rgba(0, 242, 254, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Glassmorphic Navbar */
header {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-glow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.3));
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.nav-btn {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  padding: 8px 18px;
  border-radius: 20px;
  color: #0b0f19 !important;
  font-weight: 600 !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.nav-btn:hover {
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: radial-gradient(circle at center, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
}

.container {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  padding: 50px 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 650px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

h1 {
  font-size: 36px;
  background: linear-gradient(135deg, #ffffff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #0b0f19;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

/* Section Wrapper & Grid Cards */
section {
  padding: 80px 20px;
}

.about-container, .sermons-container, .give-container, .schedule-container, 
.ministries-container, .events-container, .contact-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  position: absolute;
  bottom: -8px;
  left: 25%;
}

/* Glowing Cards Layout */
.about-grid, .sermons-grid, .schedule-grid, .ministries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.about-card, .sermon-card, .schedule-card, .ministry-card, .bank-card, .map-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 30px;
  border-radius: 16px;
  text-align: left;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.about-card:hover, .sermon-card:hover, .schedule-card:hover, .ministry-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.schedule-card h3, .ministry-card h3, .about-card h3, .bank-card h3 {
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

/* Video Containers */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--border-glow);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Modern Full Flyer Event Display */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  overflow: hidden;
  max-width: 750px;
  margin: 30px auto 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.event-image-wrapper {
  width: 100%;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-img {
  width: 100%;
  height: auto; /* Retains original image aspect ratio so flyer text isn't cut off */
  display: block;
  object-fit: contain;
}

.event-info {
  padding: 25px 30px;
  text-align: left;
  border-top: 1px solid var(--border-glow);
  background: rgba(11, 15, 25, 0.6);
}

.event-info h3 {
  color: var(--accent-cyan);
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 600;
}

.event-info p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 0;
}


/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 650px;
  margin: 30px auto 50px auto;
}

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(18, 24, 38, 0.9);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  color: #ffffff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

/* Footer & Social Icons */
footer {
  background: #060911;
  padding: 40px 20px;
  border-top: 1px solid var(--border-glow);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 25px;
}

.social-links a {
  color: var(--text-muted);
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-cyan);
  transform: translateY(-3px);
  text-shadow: 0 0 12px var(--accent-cyan);
}
/* Scroll Reveal Animations */
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.show {
  opacity: 1;
  transform: translateY(0);
}
/* Mobile Menu & Responsiveness */
.menu-toggle {
  display: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: var(--accent-cyan);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 25px 0;
    gap: 20px;
    border-bottom: 1px solid var(--border-glow);
    display: none; /* Hidden by default on mobile */
  }

  .nav-links.active {
    display: flex; /* Displayed when toggled */
  }
}

body.ministries-page {
  background: 
    linear-gradient(rgba(11, 12, 16, 0.88), rgba(11, 12, 16, 0.92)), 
    url('https://images.unsplash.com/photo-1519834785169-98be25ec3f84?q=80&w=1920&auto=format&fit=crop') no-repeat center center fixed;
  background-size: cover;
}