:root {
  --bg: #ffffff;
  --card: #f8f9fa;
  --muted: #6c757d;
  --accent: #007bff;
  --accent-2: #28a745;
  --white: #ffffff;
  --text: #212529;
  --radius: 12px;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

.highlight {
  color: #007bff;
  font-weight: 600;
}



/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  transition: transform 0.3s ease;
}
.brand:hover {
  transform: scale(1.05);
  text-decoration: none;
}
.logo {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

/*Activities section*/
.activities-section h2 {
  text-align: center;
  color: var(--text);
  font-size: 2rem;
  margin-bottom: 16px;
}

.activities-section .lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1.2rem;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.activity-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  border: 1px solid #e9ecef;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  background: var(--white);
}

.activity-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.activity-card:hover img {
  transform: scale(1.05);
}

.activity-content {
  padding: 20px;
}

.activity-content h3 {
  color: var(--accent);
  margin-bottom: 12px;
}

.activity-content p {
  color: #475569;
  margin-bottom: 12px;
  line-height: 1.7;
}

.activity-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.text-center {
  text-align: center;
}
/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.card-value { font-size: 26px; font-weight: 700; }
.card-label { color: var(--muted); margin-top: 6px; font-size: 13px; }

/* Activity cards (outdoor/indoor) */
.activity-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}
.activity-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}
.activity-card:hover img {
  transform: scale(1.08);
}

/* Events */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.events-grid .card {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Contact */
.contact { margin-top: 40px; }
.contact-form label { display: block; margin-bottom: 10px; color: var(--muted); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(255,255,255,0.08);
}
.status { margin-left: 8px; color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .hamburger { display: block; }
  .main-nav { display: none; }
}
/* ========== ACTIVITY DETAIL PAGES ========== */

/* Fade-in animation for page load */
main.container {
  animation: fadeIn 0.6s ease-in-out;
}

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

/* Gallery styles */
.gallery img {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  background: var(--primary, #0077ff);
  color: #fff;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--primary-dark, #005fcc);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Headings */
main.container h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

main.container h2 {
  font-size: 1.6rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

main.container h3 {
  font-size: 1.3rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

/* Paragraphs */
main.container p {
  line-height: 1.6;
  color: var(--text, #444);
}

/* Responsive gallery */
@media (max-width: 768px) {
  .gallery img {
    flex: 1 1 100%;
    height: 180px;
  }
}
/* Gallery thumbnails */
.gallery img {
  width: 100%;
  max-height: 150px; /* smaller thumbnails */
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 9999;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius);
}
/* Social Media Links */
.social-links a {
  color: var(--muted);
  transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
  color: var(--accent-2);
  transform: scale(1.3);
}
.contact .social-links a {
  color: var(--muted);
  transition: transform 0.3s, color 0.3s;
}
/* Contact Section */
#contact {
  padding: 60px 20px;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
}

.contact-details {
  flex: 1;
  min-width: 260px;
  font-size: 15px;
  line-height: 1.6;
}

.contact-details h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: var(--accent-2);
}

.contact-details p {
  margin: 6px 0;
}

.contact-details a {
  color: var(--accent-2);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  flex: 2;
  min-width: 280px;
}

.contact-form label {
  display: block;
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: var(--accent-2);
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #0056b3;
}
.contact .social-links a:hover {
  color: var(--accent-2);
  transform: scale(1.3);
}
.social-links a {
  transition: transform 0.3s, filter 0.3s;
  color: inherit; /* default color */
}
/* Contact social links inside contact section */
.contact .social-links {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact .social-links a {
  font-size: 1.6rem;
  transition: transform 0.3s, filter 0.3s;
}
/* Reuse brand colors */
.contact .social-facebook { color: #1877F2; }
.contact .social-youtube { color: #FF0000; }
.contact .social-instagram { 
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact .social-twitter { color: #1DA1F2; }
.contact .social-tiktok { 
  background: linear-gradient(45deg, #25F4EE, #FE2C55);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact .social-whatsapp { color: #25D366; }

.contact .social-links a:hover {
  transform: scale(1.3);
  filter: brightness(1.2);
}
/* Google Map */
.map-container {
  margin: 16px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* Brand colors */
.social-facebook svg { color: #1877F2; }
.social-youtube svg { color: #FF0000; }
.social-instagram svg { color: #E4405F; }
.social-twitter svg { color: #1DA1F2; }
.social-tiktok svg { color: #010101; } /* TikTok logo is black, you can add gradient if preferred */
.social-whatsapp svg { color: #25D366; }

/* Hover effect */
.social-links a:hover {
  transform: scale(1.3);
  filter: brightness(1.2);
}

.social-links a {
  transition: transform 0.3s, filter 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-facebook svg { color: #1877F2; }
.social-youtube svg { color: #FF0000; }
.social-instagram svg { color: #E4405F; }
.social-twitter svg { color: #1DA1F2; }
.social-tiktok svg { color: #010101; }
.social-whatsapp svg { color: #25D366; }

.social-links a:hover {
  transform: scale(1.3);
  filter: brightness(1.2);
}

.social-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, filter 0.3s;
}

.social-links a svg {
  display: block;
}

/* Brand colors */
.social-facebook svg { color: #1877F2; }
.social-youtube svg { color: #FF0000; }
.social-instagram svg { color: #E4405F; }
.social-twitter svg { color: #1DA1F2; }
.social-tiktok svg { color: #010101; }
.social-whatsapp svg { color: #25D366; }

/* Hover animation + subtle bounce */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.social-links a:hover {
  animation: bounce 0.4s;
  filter: brightness(1.2);
}

/* Tooltip styling */
.social-links a::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%; /* above the icon */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.social-links a:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* Chat widget */
/* --- CAB Chat Widget Styles --- */
#cab-chat-widget {
  position: fixed;
  bottom: 30px;
  left: 30px; /* Moved to left to avoid clashing with the Welcome Toast */
  z-index: 100002;
  font-family: 'Inter', sans-serif;
}

#cab-chat-bubble {
  background: #6ee7b7;
  color: #0f1720;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(110, 231, 183, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

#cab-chat-bubble:hover { transform: scale(1.1) rotate(5deg); }

.bubble-status {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 15px;
  height: 15px;
  background: #22c55e;
  border: 3px solid #0f1720;
  border-radius: 50%;
}

#cab-chat-box {
  display: none;
  flex-direction: column;
  width: 350px;
  height: 500px;
  background: rgba(15, 23, 32, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  overflow: hidden;
  margin-bottom: 15px;
  animation: slideUp 0.4s ease-out;
}

#cab-chat-box.active { display: flex; }

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

.cab-chat-header {
  background: rgba(110, 231, 183, 0.1);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(110, 231, 183, 0.1);
}

.header-info { display: flex; align-items: center; gap: 12px; }
.chat-mini-logo { width: 35px; height: 35px; border-radius: 8px; }
.header-info h4 { color: #fff; margin: 0; font-size: 1rem; }
.status-text { color: #6ee7b7; font-size: 0.75rem; font-weight: 600; }
.dot { display: inline-block; width: 6px; height: 6px; background: #6ee7b7; border-radius: 50%; margin-right: 4px; animation: pulse 2s infinite; }

.cab-chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Scrollbar styling */
.cab-chat-messages::-webkit-scrollbar { width: 4px; }
.cab-chat-messages::-webkit-scrollbar-thumb { background: rgba(110, 231, 183, 0.2); border-radius: 10px; }

.msg {
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 85%;
  font-size: 0.9rem;
  line-height: 1.4;
}

.msg.bot {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}

.msg.user {
  background: #6ee7b7;
  color: #0f1720;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.quick-replies { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.quick-replies button {
  background: rgba(110, 231, 183, 0.1);
  border: 1px solid rgba(110, 231, 183, 0.3);
  color: #6ee7b7;
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.3s;
}
.quick-replies button:hover { background: #6ee7b7; color: #0f1720; }

.cab-chat-input-area {
  padding: 15px;
  background: rgba(0,0,0,0.2);
  display: flex;
  gap: 10px;
}

.cab-chat-input-area input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
}

#sendChat {
  background: #6ee7b7;
  border: none;
  width: 42px;
  border-radius: 12px;
  color: #0f1720;
  cursor: pointer;
}

@keyframes pulse {
  0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; }
}
/* ===== Modern Section Styling ===== */
.modern-section {
  padding: 60px 20px;
  background: rgba(15, 23, 32, 0.7);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  margin-bottom: 50px;
  color: var(--white);
}

.modern-section h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modern-section p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 28px;
}

/* ===== Volunteer Cards 3D Hover Effect ===== */
.volunteer-grid .volunteer-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 30px;
  border-radius: var(--radius);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.volunteer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.volunteer-card h3 {
  color: #0f1720;
  margin-bottom: 18px;
}

.volunteer-card p {
  color: #64748b;
  line-height: 1.75;
}

.volunteer-card .btn {
  margin-top: 24px;
}

.btn.outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn.outline:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 123, 255, 0.2);
}

/* ===== Testimonial Slider ===== */
.testimonial-slider {
  display: flex;
  overflow: hidden;
  position: relative;
  scroll-snap-type: x mandatory;
  gap: 24px;
}

.testimonial-card {
  min-width: 280px;
  max-width: 350px;
  background: rgba(17,32,42,0.85);
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
  scroll-snap-align: center;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 32px rgba(0,0,0,0.4);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
}

/* ===== Slider Dots ===== */
.testimonial-dots {
  text-align: center;
  margin-top: 20px;
}

.testimonial-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--muted);
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dots span.active {
  background: var(--accent-2);
  transform: scale(1.3);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .testimonial-slider {
    justify-content: center;
  }

  .volunteer-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= MODAL STYLES ================= */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;                 /* 👈 default is visible */
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease forwards;
}

/* Hidden state */
.hidden {
  display: none !important;      /* 👈 toggled via JS */
}

.modal-content {
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius);
  width: 90%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  animation: slideDown 0.3s ease forwards;
}

.close-modal {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  color: var(--white);
  transition: color 0.2s;
}

.close-modal:hover {
  color: var(--accent-2);
}

.modal h2 {
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.modal .form-group {
  margin-bottom: 14px;
}

.modal input,
.modal select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--white);
}

.modal input:focus,
.modal select:focus {
  outline: none;
  border-color: var(--accent-2);
}

.modal button {
  margin-top: 10px;
}
/* ===== Page Background ===== */
.content-background {
  min-height: 100vh;
  padding: 60px 20px;
  background: linear-gradient(180deg, #111111 0%, #1a1a1a 50%, #212121 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ddd;
}
/* ===== Content Container ===== */
.content-container {
  max-width: 900px;
  background: rgba(24, 26, 33, 0.9);
  padding: 40px 30px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.05);
}
/* Headings */
h1, h2 {
  color: #fff;
  margin-top: 24px;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  text-align: center;
}

h2 {
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

/* Paragraphs & Lists */
p {
  line-height: 1.6;
  margin: 10px 0;
}

ul {
  margin: 10px 0 10px 20px;
  line-height: 1.6;
}

li {
  margin-bottom: 6px;
}

/* Links */
a {
  color: #f39c12;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffd166;
  text-decoration: underline;
}

/* Updated date */
.updated-date {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-align: center;
}
/* ===== Hero Section ===== */
.hero.events-hero {
  position: relative;
  height: 350px;
  background: url('/assets/events_bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero.events-hero .hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(16,23,34,0.65);
}
.hero.events-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #fff;
}
.hero.events-hero h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}
.hero.events-hero .lead {
  font-size: 1.3rem;
  color: #ddd;
}

/* ===== Events Grid ===== */
.events-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 40px;
}

/* Event Card */
.event-card {
  background: rgba(24,26,33,0.9);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(243,156,18,0.45);
  background: rgba(24,26,33,0.97);
}

/* Event card content */
.event-card h3 {
  color: #f39c12;
  margin-bottom: 8px;
}
.event-card .event-date {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 12px;
}
.event-card p {
  color: #ddd;
  margin-bottom: 16px;
}

/* Event CTA button */
.event-cta {
  margin-top: auto;
  padding: 10px 24px;
  text-align: center;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #f39c12, #ffd166);
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(243,156,18,0.45);
}

/* Placeholder loading card */
.card.placeholder {
  text-align: center;
  color: #aaa;
  font-style: italic;
  background: rgba(16,23,34,0.7);
  padding: 20px;
  border-radius: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero.events-hero h1 {
    font-size: 2rem;
  }
  .hero.events-hero .lead {
    font-size: 1.1rem;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Hero Section ===== */
.hero.sermons-hero {
  position: relative;
  height: 300px;
  background: url('/assets/sermons_bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero.sermons-hero .hero-overlay {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(16,23,34,0.65);
}
.hero.sermons-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #fff;
}
.hero.sermons-hero h1 { font-size: 2.8rem; margin-bottom:12px; }
.hero.sermons-hero .lead { font-size: 1.3rem; color:#ddd; }

/* ===== Sermons Grid ===== */
.events-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Sermon Card */
.card {
  background: rgba(24,26,33,0.9);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(243,156,18,0.45);
  background: rgba(24,26,33,0.97);
}
.card h3 { color:#f39c12; margin-bottom:8px; }
.card p { color:#ddd; margin-bottom:12px; }
.card .event-date { font-size:0.95rem; color:#aaa; margin-bottom:12px; }

/* Sermon Links / Media */
.card a {
  display: inline-block;
  margin-top:6px;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition: transform 0.3s ease, color 0.3s ease;
}
.card a:hover {
  color:#f39c12;
  transform: translateY(-2px);
}

/* Audio Player */
.card audio {
  width: 100%;
  margin-top:10px;
}

/* Placeholder Loading Card */
.card.placeholder {
  text-align:center;
  color:#aaa;
  font-style:italic;
  background: rgba(16,23,34,0.7);
  padding:20px;
  border-radius:12px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero.sermons-hero h1 { font-size:2rem; }
  .hero.sermons-hero .lead { font-size:1.1rem; }
  .events-grid { grid-template-columns: 1fr; }
}
/* ===== Unified Social Links Styling (Footer & Contact) ===== */
.social-links, 
.footer-right {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.social-links a,
.footer-right a {
  font-size: 1.6rem;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* Brand colors always visible */
.social-links .social-facebook,
.footer-right .social-facebook { color: #1877F2; }

.social-links .social-youtube,
.footer-right .social-youtube { color: #FF0000; }

.social-links .social-instagram,
.footer-right .social-instagram {
  background: radial-gradient(circle at 30% 107%, 
    #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-links .social-twitter,
.footer-right .social-twitter { color: #1DA1F2; }

.social-links .social-tiktok,
.footer-right .social-tiktok {
  background: linear-gradient(45deg, #69C9D0 0%, #EE1D52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-links .social-whatsapp,
.footer-right .social-whatsapp { color: #25D366; }

/* Hover Effects */
.social-links a:hover,
.footer-right a:hover {
  transform: scale(1.25);
  filter: brightness(1.2);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

/* Testimonial Form */
.testimonial-form {
  margin-top: 40px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.testimonial-form h3 {
  margin-bottom: 15px;
  color: black;
}

.testimonial-form input,
.testimonial-form textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.testimonial-form button {
  background: blue;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimonial-form button:hover {
  background: #333;
}

.avatar-options {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.avatar-options label {
  cursor: pointer;
}

.avatar-options input {
  display: none; /* hide radio buttons */
}

.avatar-options img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.avatar-options input:checked + img {
  border-color: var(--brand-color);
}
/* Upload Your Own Picture */
#avatarUpload {
  display: block;
  margin: 10px auto 20px auto;
  padding: 10px;
  border: 2px dashed #ddd;
  border-radius: 10px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

#avatarUpload:hover {
  border-color: var(--brand-color);
  background: #f9f9f9;
}

#avatarUpload::file-selector-button {
  background: var(--brand-color);
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

#avatarUpload::file-selector-button:hover {
  background: #333;
}

/*Events Page*/
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.event-card {
  background: #11202a;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  position: relative;
}

.event-card:hover {
  transform: translateY(-10px);
  border-color: #6ee7b7;
}

.event-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(110, 231, 183, 0.1);
  color: #6ee7b7;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.event-date {
  color: #6ee7b7;
  font-weight: 600;
  margin: 10px 0 15px 0;
  font-size: 0.9rem;
}

.event-cta {
  display: inline-block;
  margin-top: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.event-cta:hover {
  color: #6ee7b7;
  border-color: #6ee7b7;
}

/* Overview Title Styling */
.overview-section {
  padding: 100px 20px;
  text-align: center;
  background: #f8fbff;
}

.overview-header {
  margin-bottom: 50px;
}

.sub-title {
  color: #007bff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
}

.overview-header h2 {
  font-size: 2.75rem;
  margin: 12px 0;
  color: #0f1720;
}

.title-underline {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #28a745);
  margin: 0 auto;
  border-radius: 2px;
}

.modern-section {
  padding: 100px 20px;
  background: #f8fbff;
  text-align: center;
}

.modern-section h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: #0f1720;
}

.modern-section p {
  color: #475569;
  max-width: 720px;
  margin: 0 auto 40px;
}

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.volunteer-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.volunteer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.volunteer-card h3 {
  margin-bottom: 18px;
  color: #0f1720;
}

.volunteer-card p {
  color: #475569;
  line-height: 1.75;
}

.volunteer-btn {
  margin-top: auto;
}

#volunteer .btn.outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 12px 24px;
}

#volunteer .btn.outline:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.stats .card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  padding: 38px 30px;
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.card-value {
  font-size: 3rem;
  font-weight: 800;
  color: #0f1720;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  margin-bottom: 14px;
}

.card-label {
  color: #6c757d;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Services and Activity Cards */
.service-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 30px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.service-time {
  margin-top: auto;
  color: #007bff;
  font-weight: 600;
  font-size: 0.95rem;
  padding-top: 15px;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.activity-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 123, 255, 0.3);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.activity-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.activity-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover img {
  transform: scale(1.05);
}

.activity-content {
  padding: 25px;
}

.activity-meta {
  font-size: 0.95rem;
  color: #6c757d;
  margin-top: 10px;
}

.activity-meta i {
  color: #007bff;
  margin-right: 8px;
}

.button-wrapper {
  text-align: center;
  margin-top: 50px;
  padding-bottom: 20px;
}

.premium-btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(40, 167, 69, 0.2) 100%);
  border: 1px solid rgba(0, 123, 255, 0.4);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.premium-btn:hover {
  transform: translateY(-5px) scale(1.02);
  background: linear-gradient(135deg, #007bff 0%, #28a745 100%);
  color: #ffffff;
  border-color: #007bff;
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.3);
  text-decoration: none;
}

.premium-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Fixes the modal to the center of the screen */
.modal {
  position: fixed; /* Keep it on the screen even when scrolling */
  inset: 0;
  width: 100%;
  min-height: 100vh;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85); /* Darken the background */
  display: flex; /* Helps center the content */
  align-items: center; /* Vertical center */
  justify-content: center; /* Horizontal center */
  z-index: 100000; /* Put it on top of everything */
}

/* Hides the modal when it has the hidden class */
.modal.hidden {
  display: none !important;
}

/* Styles the actual box inside the modal */
.modal-content {
  background: #11202a;
  padding: 32px;
  border-radius: 16px;
  max-width: 540px;
  width: min(100%, 540px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(110, 231, 183, 0.3);
  box-sizing: border-box;
}

.donation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
  justify-content: center;
}

.donation-options .btn {
  flex: 1 1 140px;
  min-width: 140px;
}

.donation-form label {
  display: block;
  margin-bottom: 16px;
}

.donation-form label input,
.donation-form label textarea,
.donation-form label select {
  width: 100%;
}

.donation-form.hidden {
  display: none;
}

.donation-instructions {
  margin-top: 18px;
  line-height: 1.7;
  color: #dde5eb;
}

/* --- Level Up Member Stories --- */
.stories-section {
  padding: 100px 0;
  background: #f8fbff;
}

.stories-wrapper {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 10px 40px;
  scrollbar-width: none;
}

.stories-wrapper::-webkit-scrollbar {
  display: none;
}

.story-card {
  position: relative;
  min-width: 320px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 34px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.story-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 123, 255, 0.3);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: rgba(0, 123, 255, 0.15);
}

.story-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #007bff;
  margin-bottom: 20px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 22px;
  font-style: normal;
}

.story-info h3 {
  font-size: 1.15rem;
  color: #0f1720;
  margin: 0;
}

.story-info span {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

.story-submission-card {
  margin-top: 80px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  padding: 50px;
  max-width: 800px;
  margin-inline: auto;
}

.form-header {
  text-align: center;
  margin-bottom: 35px;
}

.form-header p {
  color: #64748b;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.avatar-selection label {
  color: #0f1720;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

.avatar-flex {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.avatar-options {
  display: flex;
  gap: 15px;
}

.avatar-radio input {
  display: none;
}

.avatar-radio img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid rgba(15, 23, 42, 0.08);
  transition: 0.3s;
}

.avatar-radio input:checked + img {
  border-color: #007bff;
  background: rgba(0, 123, 255, 0.08);
}

.file-upload input {
  display: none;
}

.file-upload label {
  background: #f4f8ff;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin: 0;
  color: #0f1720;
}

.status-msg {
  display: none;
  text-align: center;
  padding: 15px;
  background: rgba(0, 123, 255, 0.08);
  color: #0f1720;
  border-radius: 12px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-width: 280px;
  }
}

/* --- Level Up Contact Section --- */
 .contact-section {
  padding: 100px 0;
  background: #f8fbff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.subtitle {
  color: #007bff;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 700;
}

.header-line {
  width: 60px;
  height: 3px;
  background: #007bff;
  margin: 15px auto;
  border-radius: 10px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card, .contact-form-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.contact-info-card h3, .contact-form-card h3 {
  margin-bottom: 30px;
  font-size: 1.5rem;
  color: #0f1720;
}

/* Info Items */
.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.info-icon {
  width: 45px;
  height: 45px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007bff;
  font-size: 1.2rem;
}

.info-text label {
  display: block;
  font-size: 0.75rem;
  color: #007bff;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-text a, .info-text p {
  color: #212529;
  text-decoration: none;
  font-size: 1rem;
  margin: 0;
}

/* Map Glow */
.map-container {
  margin-top: 30px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(0, 123, 255, 0.12);
  transition: 0.3s;
}
.map-container:hover {
  filter: grayscale(0);
  border-color: #007bff;
}

/* Modern Form */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input, .input-group textarea {
  width: 100%;
  background: #f4f8ff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 15px 15px 15px 45px;
  border-radius: 12px;
  color: #212529;
  font-size: 1rem;
  transition: all 0.3s;
}

.input-group i {
  position: absolute;
  left: 18px;
  top: 18px;
  color: #007bff;
  font-size: 0.9rem;
}

.input-group input:focus, .input-group textarea:focus {
  border-color: #007bff;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.1);
}

.premium-btn {
  width: auto;
  padding: 16px 32px;
  background: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.premium-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

@media (max-width: 900px) {
  .contact-wrapper { grid-template-columns: 1fr; }
}

/* --- Floating Schedule Toast --- */
#cab-toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99999;
  pointer-events: none;
}

.cab-toast-card {
  pointer-events: auto;
  background: rgba(15, 23, 32, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(110, 231, 183, 0.3);
  border-radius: 20px;
  padding: 22px;
  width: 360px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: translateX(120%); /* Start hidden on the right */
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#cab-toast-container.cab-toast-active .cab-toast-card {
  transform: translateX(0);
}

.cab-toast-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #9aa6af;
  font-size: 1.5rem;
  cursor: pointer;
}

.cab-toast-content { display: flex; gap: 15px; }

/* Pulse Animation for Icon */
.cab-toast-icon {
  background: rgba(110, 231, 183, 0.1);
  color: #6ee7b7;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  position: relative;
}

.cab-icon-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #6ee7b7;
  border-radius: 12px;
  animation: cab-pulse 2s infinite;
}

@keyframes cab-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Service Row Styling */
.cab-service-list {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-row {
  display: grid;
  grid-template-columns: 40px 75px 1fr;
  font-size: 0.85rem;
  color: #9aa6af;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 4px;
}

.service-row .day { color: #6ee7b7; font-weight: 800; }
.service-row .time { color: #fff; font-weight: 600; }
.service-row .desc { font-style: italic; text-align: right; }

.cab-toast-tag { color: #6ee7b7; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
.cab-toast-text h4 { color: #fff; margin: 2px 0; font-size: 1.1rem; }
.cab-toast-intro { color: #fff; font-size: 0.9rem; margin-top: 5px; opacity: 0.8; }

.cab-toast-link {
  color: #6ee7b7;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

/* Prayer Modal Styles */
.prayer-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 15, 20, 0.9);
  backdrop-filter: blur(8px);
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prayer-modal-overlay.active { display: flex; opacity: 1; }

.prayer-modal-content {
  background: rgba(17, 32, 42, 0.95);
  width: 90%; max-width: 450px;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(110, 231, 183, 0.2);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.prayer-modal-overlay.active .prayer-modal-content { transform: scale(1); }

.close-modal {
  position: absolute; top: 15px; right: 20px;
  background: none; border: none; color: #9aa6af; font-size: 2rem; cursor: pointer;
}

.modal-header { text-align: center; margin-bottom: 30px; }
.modal-header i { font-size: 3rem; color: #6ee7b7; margin-bottom: 10px; }
.modal-header h3 { color: #fff; font-size: 1.5rem; }

.input-group { margin-bottom: 20px; }
.input-group label { display: block; color: #6ee7b7; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 8px; font-weight: 700; }
.input-group input, .input-group textarea {
  width: 100%; padding: 12px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  color: #fff; font-family: inherit;
}

.submit-prayer-btn {
  width: 100%; padding: 15px; background: #6ee7b7; color: #0f1720;
  border: none; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s;
}
.submit-prayer-btn:hover { background: #3b82f6; color: #fff; }
/* Styling for the Mission Link */
.mission-link {
  display: inline-block;
  margin-top: 15px;
  color: #6ee7b7;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.mission-link:hover {
  color: #3b82f6; /* Subtle shift to blue on hover */
  transform: translateX(5px);
}

/* Fix for Superimposed Text and Icons */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

/* Ensure the text starts AFTER the icon space */
.modern-form .input-group input, 
.modern-form .input-group textarea {
  width: 100%;
  padding: 15px 15px 15px 45px; /* 45px padding on the LEFT creates space for the icon */
  background: #f4f8ff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  color: #0f1720;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
  outline: none;
}

.modern-form .input-group textarea {
  min-height: 170px;
  resize: vertical;
}

.modern-form .input-group input::placeholder,
.modern-form .input-group textarea::placeholder {
  color: #64748b;
  opacity: 1;
}

/* Position the icon perfectly inside that 45px space */
.modern-form .input-group i {
  position: absolute;
  left: 15px;
  top: 18px; /* Centers icon for single-line inputs */
  color: #007bff;
  font-size: 1.1rem;
  pointer-events: none; /* Allows user to click "through" the icon to type */
}

/* Special fix for Textarea icons (keep them at the top) */
.modern-form .input-group textarea + i {
  top: 18px; 
}

/* Focus effects */
.modern-form .input-group input:focus, 
.modern-form .input-group textarea:focus {
  background: #ffffff;
  border-color: #007bff;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.avatar-flex {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  background: rgba(0,0,0,0.2);
  padding: 15px;
  border-radius: 15px;
}

.avatar-radio input {
  display: none; /* Hide the ugly default radio dot */
}

.avatar-radio img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
}

.avatar-radio input:checked + img {
  border-color: #6ee7b7;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(110, 231, 183, 0.5);
}

/* ============ FORM VALIDATION STYLES ============ */
.input-error {
  border-color: #ef5350 !important;
  box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.1) !important;
}

.error-msg {
  display: none;
  color: #ef5350;
  font-size: 0.85rem;
  margin-top: 5px;
  font-weight: 500;
  padding: 0 4px;
}

.error-msg.visible {
  display: block;
}

/* Rate limit message */
.rate-limit-msg {
  background: rgba(239, 83, 80, 0.1);
  border-left: 4px solid #ef5350;
  color: #ef5350;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

/* ===== Donate and Volunteer Light Card Fixes ===== */
#donate .cards-grid .card,
#volunteer .cards-grid .card,
#volunteer .cards-grid .volunteer-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  color: #0f1720;
}

#donate .cards-grid .card {
  padding: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#donate .cards-grid .card:hover,
#volunteer .cards-grid .card:hover,
#volunteer .cards-grid .volunteer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

#donate .card-value {
  color: #0f1720;
  font-size: 2rem;
  margin-bottom: 12px;
}

#donate .card-label {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.75;
}

/* ===== Modal Light Theme Fixes ===== */
.modal-content {
  background: #ffffff;
  color: #0f1720;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.modal-content h2,
.modal-content p,
.modal-content li,
.modal-content label {
  color: #0f1720;
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f4f8ff;
  color: #0f1720;
  margin-top: 8px;
}

.modal-content input::placeholder,
.modal-content select::placeholder {
  color: #64748b;
}

.modal-content .btn.outline {
  border-color: #0f1720;
  color: #0f1720;
  background: transparent;
}

.close-modal {
  color: #0f1720;
}
