/* ===================================
   Indian Community Church
   Modern, Elegant Design System
   =================================== */

/* ===================================
   10th Anniversary Invite Section
   =================================== */

.anniversary-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(160deg, #f9f5f0 0%, #eef3ed 50%, #f0f4f8 100%);
  position: relative;
  overflow: hidden;
}

.anniversary-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 116, 80, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.anniversary-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 78, 72, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.anniversary-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.anniversary-text-col {
  animation: fadeInLeft 0.9s ease-out;
}

.anniversary-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  background: rgba(245, 116, 80, 0.1);
  border: 1px solid rgba(245, 116, 80, 0.25);
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.anniversary-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: anniversaryPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes anniversaryPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 116, 80, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(245, 116, 80, 0); }
}

.anniversary-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.anniversary-heading em {
  font-style: italic;
  color: var(--primary);
}

.anniversary-verse {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
  margin-bottom: 1.75rem;
}

.anniversary-details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.anniversary-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.anniversary-detail-item .detail-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(245, 116, 80, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.anniversary-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.anniversary-image-col {
  position: relative;
  animation: fadeInRight 0.9s ease-out 0.15s both;
}

.anniversary-img-wrapper {
  position: relative;
}

.anniversary-img-wrapper::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  right: 14px;
  bottom: 14px;
  border: 2px solid rgba(245, 116, 80, 0.3);
  border-radius: 4px;
  z-index: 0;
  pointer-events: none;
}

.anniversary-img-wrapper::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  background: rgba(35, 78, 72, 0.06);
  border-radius: 4px;
  z-index: 0;
  pointer-events: none;
}

.anniversary-invite-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.45s ease;
}

.anniversary-img-wrapper:hover .anniversary-invite-img {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.22);
}

/* Portrait/tall flyer images — cap height on desktop so the section stays balanced */
.anniversary-img-wrapper.flyer-portrait {
  display: flex;
  justify-content: center;
}
.anniversary-img-wrapper.flyer-portrait .anniversary-invite-img {
  width: auto;
  max-width: 100%;
  max-height: 540px;
}
@media (max-width: 900px) {
  .anniversary-img-wrapper.flyer-portrait .anniversary-invite-img {
    width: 100%;
    max-height: none;
  }
}

.anniversary-badge-floating {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: var(--secondary);
  color: white;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(35, 78, 72, 0.35);
}

html[data-theme="dark"] .anniversary-section {
  background: linear-gradient(160deg, #101918 0%, #142220 50%, #182826 100%);
}

html[data-theme="dark"] .anniversary-section::before {
  background: radial-gradient(circle, rgba(245, 116, 80, 0.12) 0%, transparent 70%);
}

html[data-theme="dark"] .anniversary-section::after {
  background: radial-gradient(circle, rgba(157, 200, 249, 0.1) 0%, transparent 70%);
}

html[data-theme="dark"] .anniversary-img-wrapper::after {
  background: rgba(157, 200, 249, 0.08);
}

html[data-theme="dark"] .anniversary-heading {
  color: var(--text-primary);
}

html[data-theme="dark"] .anniversary-verse,
html[data-theme="dark"] .anniversary-detail-item {
  color: var(--text-secondary);
}

html[data-theme="dark"] .anniversary-detail-item .detail-icon {
  background: rgba(245, 116, 80, 0.14);
}

/* Responsive */
@media (max-width: 900px) {
  .anniversary-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .anniversary-image-col {
    order: -1;
  }
  .anniversary-img-wrapper::before,
  .anniversary-img-wrapper::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .anniversary-heading {
    font-size: 1.75rem;
  }
  .anniversary-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .anniversary-badge-floating {
    font-size: 0.7rem;
    padding: 0.45rem 1rem;
  }
}

/* ── Mother's Day Section ─────────────────────────────────── */
.mothers-day-section {
  background: linear-gradient(160deg, #fff0f5 0%, #fce4ec 40%, #f8f0f8 100%);
}

.mothers-day-section::before {
  background: radial-gradient(circle, rgba(233, 30, 99, 0.09) 0%, transparent 70%);
}

.mothers-day-section::after {
  background: radial-gradient(circle, rgba(156, 39, 176, 0.07) 0%, transparent 70%);
}

.md-eyebrow {
  color: #c2185b;
  background: rgba(233, 30, 99, 0.09);
  border-color: rgba(233, 30, 99, 0.25);
}

.md-dot {
  background: #e91e63;
  animation: mdPulse 2s ease-in-out infinite;
}

@keyframes mdPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(233, 30, 99, 0); }
}

.md-em {
  color: #e91e63 !important;
}

.md-detail-icon {
  background: rgba(233, 30, 99, 0.1) !important;
}

.mothers-day-section .anniversary-verse {
  border-left-color: #e91e63;
}

html[data-theme="dark"] .mothers-day-section {
  background: linear-gradient(160deg, #1a0d12 0%, #1f0e16 40%, #1a0d1a 100%);
}

/* ── Flyer Zoom – trigger ─────────────────────────────────── */
.flyer-zoomable {
  cursor: zoom-in;
}

.flyer-zoom-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(194, 24, 91, 0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.flyer-zoomable:hover .flyer-zoom-hint,
.flyer-zoomable:focus .flyer-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

/* ── Flyer Zoom – modal ───────────────────────────────────── */
.flyer-zoom-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
}

.flyer-zoom-modal.is-open {
  display: flex;
  animation: flyerFadeIn 0.2s ease;
}

@keyframes flyerFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.flyer-zoom-inner {
  position: relative;
  max-width: min(90vw, 600px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.flyer-zoom-fullimg {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  animation: flyerZoomIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flyerZoomIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.flyer-zoom-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.flyer-zoom-close:hover {
  background: rgba(233, 30, 99, 0.7);
  border-color: transparent;
}

/* CSS Variables */
:root {
  /* Colors - New Color Scheme */
  --primary: #f57450; /* Coral/Orange */
  --primary-light: #f7906f;
  --primary-dark: #e55a35;
  --secondary: #234e48; /* Dark Green */
  --secondary-light: #3a6b64;
  --accent: #9dc8f9; /* Light Blue */

  --background: #ffffff; /* White */
  --surface: #dbe1d2; /* Light Green/Sage */
  --surface-soft: #f5f7f2;
  --card-bg: #ffffff;
  --card-bg-strong: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.96);
  --header-border: rgba(35, 78, 72, 0.08);
  --input-bg: #ffffff;
  --text-primary: #234e48; /* Dark Green for text */
  --text-secondary: #5a6c57;
  --text-muted: #8a9587;
  --border: #e2e8df;
  --overlay-soft: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 2px 20px rgba(35, 78, 72, 0.1);
  --shadow-medium: 0 12px 30px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.18);
  --footer-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --footer-surface: rgba(255, 255, 255, 0.05);

  /* Typography */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", -apple-system, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] {
  --background: #0f1716;
  --surface: #182524;
  --surface-soft: #131e1d;
  --card-bg: #16211f;
  --card-bg-strong: #1b2a28;
  --header-bg: rgba(16, 24, 23, 0.92);
  --header-border: rgba(157, 200, 249, 0.12);
  --input-bg: #12201f;
  --text-primary: #eef6f2;
  --text-secondary: #c3d4ce;
  --text-muted: #8ca49d;
  --border: #29403d;
  --overlay-soft: rgba(255, 255, 255, 0.04);
  --shadow-soft: 0 8px 28px rgba(0, 0, 0, 0.28);
  --shadow-medium: 0 18px 36px rgba(0, 0, 0, 0.32);
  --shadow-strong: 0 28px 60px rgba(0, 0, 0, 0.45);
  --footer-bg: linear-gradient(135deg, #091111 0%, #102223 55%, #173233 100%);
  --footer-surface: rgba(255, 255, 255, 0.06);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

input,
select,
textarea,
button {
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding-left: 3rem;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 116, 80, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

.btn-text {
  background: transparent;
  color: var(--primary);
  padding: 0.5rem 0;
  font-weight: 600;
}

.btn-text:hover {
  color: var(--primary-dark);
}

.btn-give {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
}

.btn-give:hover {
  background: #234e48;
  transform: scale(1.05);
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid var(--header-border);
  animation: slideDown 0.6s ease-out;
}

.main-header.scrolled {
  box-shadow: var(--shadow-medium);
}

.service-card,
.event-card,
.connect-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-title,
.hero-subtitle,
.hero-buttons {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

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

.field-error {
  border-color: #e74c3c !important;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  font-size: 2rem;
  color: var(--primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-primary {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(35, 78, 72, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--secondary);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.theme-toggle:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  color: var(--primary);
}

.theme-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-icon .fa-circle-half-stroke,
.theme-toggle-icon .fa-moon {
  position: absolute;
  font-size: 18px;
  line-height: 1;
  transition: opacity .2s ease, transform .2s ease;
}

.theme-toggle-icon .fa-circle-half-stroke {
  opacity: 1;
  transform: scale(1);
}

.theme-toggle-icon .fa-moon {
  opacity: 0;
  transform: scale(.7);
}

html[data-theme="dark"] .theme-toggle-icon .fa-circle-half-stroke {
  opacity: 0;
  transform: scale(.7);
}

html[data-theme="dark"] .theme-toggle-icon .fa-moon {
  opacity: 1;
  transform: scale(1);
}

html[data-theme="dark"] .theme-toggle {
  background: rgba(20, 30, 29, 0.92);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.theme-toggle-label {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card-bg-strong);
  list-style: none;
  min-width: 200px;
  padding: 1rem 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--surface-soft);
  color: var(--primary);
  padding-left: 2rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-give-toggle {
  display: none;
}

.hamburger {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(157, 200, 249, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(219, 225, 210, 0.2) 0%,
      transparent 50%
    );
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--spacing-md);
  animation: fadeInUp 1s ease-out;
}

.hero-indicators {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: white;
  border-color: white;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.7);
}

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

.hero-title {
  font-size: 4.5rem;
  color: white;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons .btn-give-mobile {
  display: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  letter-spacing: 1px;
  animation: fadeIn 1s ease-out 1s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  animation: scrollAnimation 2s ease-in-out infinite;
}

@keyframes scrollAnimation {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Service Times */
.service-times {
  background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
  padding: 4rem 0;
  position: relative;
  z-index: 10;
}

.service-times-header {
  text-align: center;
  margin-bottom: 3rem;
}

.service-times-header .section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.service-times-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .flyer-carousel-section {
    padding: 2rem 0;
  }
  
  .flyer-carousel {
    border-radius: 8px;
  }
  
  .service-times {
    padding: 3rem 0;
  }
  
  .service-times-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Times */
.service-times {
  background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
  padding: var(--spacing-xl) 0;
  margin-top: calc(-1 * var(--spacing-lg));
  position: relative;
  z-index: 10;
}

.service-times .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
}

.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transition: var(--transition);
  display: inline-block;
  padding: 1rem;
  background: var(--surface);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-card:hover .service-icon {
  filter: grayscale(0%);
  transform: scale(1.1);
  background: rgba(245, 116, 80, 0.1);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
}

.service-time {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
  font-family: var(--font-display);
  background: var(--surface);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Welcome Section */
.welcome-section {
  padding: var(--spacing-xl) 0;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.welcome-content {
  animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.welcome-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.welcome-image {
  position: relative;
  animation: fadeInRight 0.8s ease-out;
}

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

.image-frame {
  position: relative;
  padding: 1rem;
}

.image-frame img {
  width: 100%;
  height: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-decoration {
  position: absolute;
  top: -1rem;
  right: -1rem;
  bottom: 1rem;
  left: 1rem;
  border: 0px solid var(--accent);
  z-index: -1;
}

/* Events Preview */
.events-preview {
  background: var(--background);
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: var(--spacing-md);
}

.event-card {
  background: var(--card-bg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.event-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-medium);
}

.event-date {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}

.date-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.date-month {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.event-time {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.event-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.section-footer {
  text-align: center;
  margin-top: var(--spacing-md);
}

/* Connect Section */
.connect-section {
  background: linear-gradient(
    135deg,
    var(--secondary-dark, #3a5e6c) 0%,
    var(--primary-dark) 100%
  );
  padding: var(--spacing-xl) 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.connect-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(193, 154, 107, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.connect-card {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.connect-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
}

.connect-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.connect-card:nth-child(2) .connect-icon {
  animation-delay: 1s;
}

.connect-card:nth-child(3) .connect-icon {
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.connect-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.connect-card p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* Latest Sermon */
.latest-sermon {
  background: var(--surface);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.sermon-content {
  max-width: 800px;
  margin: 0 auto;
}

.sermon-title {
  font-size: 2rem;
  color: var(--text-primary);
  margin: 1rem 0;
  font-style: italic;
}

.sermon-speaker {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.sermon-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.main-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(193, 154, 107, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(74, 110, 124, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.02) 50%,
      transparent 70%
    );
  pointer-events: none;
}

.footer-content {
  padding: var(--spacing-xl) 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-section {
  position: relative;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -15px;
  width: 4px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  border-radius: 2px;
  opacity: 0.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

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

.footer-logo .logo-icon {
  font-size: 3rem;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(193, 154, 107, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(193, 154, 107, 0.3);
  }
  to {
    text-shadow:
      0 0 30px rgba(193, 154, 107, 0.5),
      0 0 40px rgba(193, 154, 107, 0.2);
  }
}

.footer-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-description {
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.social-links a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.social-links a:hover::before {
  left: 100%;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.footer-title {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 15px;
}

.footer-links li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links li:hover::before {
  opacity: 1;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(8px);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  padding: 1rem;
  background: var(--footer-surface);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  transition: all 0.3s ease;
}

.footer-contact li:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.footer-contact strong {
  color: white;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.footer-contact strong i {
  color: var(--accent);
  margin-right: 0.5rem;
  width: 16px;
  text-align: center;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-md) 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.footer-bottom-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(193, 154, 107, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.footer-bottom-links a:hover::before {
  left: 100%;
}

.footer-bottom-links a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.separator {
  color: rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

/* Newsletter Subscription Styles */
.newsletter-description,
.social-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input-group {
  display: flex;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  background: var(--input-bg);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  font-family: var(--font-body);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-btn {
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.newsletter-btn:hover {
  background: var(--primary-dark);
}

.newsletter-checkbox {
  margin-top: 0.5rem;
}

.newsletter-checkbox .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.4;
  cursor: pointer;
}

.newsletter-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  font-weight: 500;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateX(5px);
}

.footer-social-btn svg {
  flex-shrink: 0;
}

/* Footer Button Styles */
.footer-buttons {
  margin: 1.5rem 0;
  text-align: center;
}

.footer-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: white;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid var(--primary);
  min-width: 140px;
}

.footer-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 116, 80, 0.3);
}

.footer-btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.footer-btn-secondary:hover {
  background: var(--accent);
  color: var(--secondary);
  border-color: var(--accent);
}

.connect-description {
  color: rgba(255, 255, 255, 0.8);
  margin: 2rem 0 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Newsletter Icon Styling */
.footer-section img:not(.footer-logo-image) {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 60px;
  height: auto;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: calc(100dvh - 80px);
    max-height: calc(100dvh - 80px);
    background: var(--card-bg-strong);
    flex-direction: column;
    padding: 1rem 1rem 1.25rem;
    box-shadow: var(--shadow-medium);
    transform: translateX(-100%);
    transition: var(--transition);
    gap: 0;
    border-bottom: 1px solid var(--border);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-bottom: 1rem;
  }

  .nav-links li {
    width: 100%;
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    border-radius: 16px;
  }

  .nav-dropdown {
    padding: 0.25rem 0;
  }

  .nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--surface-soft) 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
  }

  .nav-dropdown > .nav-link::before {
    content: "+";
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(245, 116, 80, 0.12);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transition: transform var(--transition), background-color var(--transition);
  }

  .nav-dropdown.active > .nav-link {
    border-color: rgba(245, 116, 80, 0.35);
    background: linear-gradient(135deg, rgba(245, 116, 80, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  }

  .nav-dropdown.active > .nav-link::before {
    content: "−";
    background: rgba(245, 116, 80, 0.2);
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 0.75rem;
    margin-left: 0.4rem;
    padding: 0.55rem;
    max-height: 0;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--surface-soft) 0%, var(--card-bg) 100%);
    border: 1px solid var(--border);
    transition: max-height var(--transition), padding var(--transition), opacity var(--transition);
    opacity: 0;
  }

  .nav-dropdown.active .dropdown-menu {
    max-height: 500px;
    opacity: 1;
  }

  .nav-dropdown .dropdown-menu li {
    border-bottom: none;
  }

  .nav-dropdown .dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 0.82rem 0.95rem;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.88rem;
    background: transparent;
  }

  .nav-dropdown .dropdown-menu a::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 0.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary-light));
    flex-shrink: 0;
    opacity: 0.9;
  }

  .nav-dropdown .dropdown-menu a:hover {
    padding-left: 1rem;
    background: rgba(245, 116, 80, 0.1);
    color: var(--primary);
  }

  .nav-actions {
    width: 100%;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
  }

  .mobile-menu-toggle {
    display: block;
  }

  .theme-toggle {
    margin-left: auto;
    margin-right: 0.75rem;
    width: 40px;
    height: 40px;
  }

  .mobile-give-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    font-size: 0.84rem;
    letter-spacing: 0.2px;
    width: auto;
    min-height: 36px;
  }
}

@media (max-width: 640px) {
  :root {
    --spacing-xl: 4rem;
    --spacing-lg: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-give-mobile {
    display: inline-block;
  }

  .btn {
    width: 100%;
  }

  .mobile-give-toggle.btn {
    width: auto !important;
    min-width: 0;
    flex: 0 0 auto;
    padding: 0.42rem 0.85rem;
    font-size: 0.8rem;
    line-height: 1.1;
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
  }

  .theme-toggle-label {
    display: none;
  }

  .service-times .container {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}
.logo-image {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}
.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-image {
  height: 140px;
  width: auto;
  margin: 0 auto 0px auto;
  max-width: none;
  display: block;
}

.footer-logo {
  text-align: center;
  margin-bottom: 0px;
  max-width: none;
  width: 100%;
}

/* contact form modify */

/* Contact page – mobile refinements */
@media (max-width: 768px) {
  .page-header {
    padding: 5rem 0 2rem;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .contact-section {
    padding: 2.5rem 0 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr; /* force single column */
    gap: 2rem;
  }

  .contact-info,
  .contact-form-wrapper {
    width: 100%;
  }

  .contact-form-wrapper {
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }

  .social-connect {
    margin-top: 1.5rem;
  }

  .map-section {
    margin-top: 2.5rem;
  }

  .map-container {
    height: 320px;
  }

  .map-overlay {
    position: static;
    margin: 1rem auto 0;
    max-width: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }

  .map-overlay .map-info {
    text-align: center;
  }

  .prayer-request-section {
    padding: 2.25rem 1.5rem;
  }
}

/* Prevent body from scrolling horizontally when nav is open */
body.nav-open {
  overflow-x: hidden;
}

.info-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

/* Icon wrapper: only controls size/centering, not background */
.info-icon {
  position: relative;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Circular background behind the icon */
.info-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* The FA glyph itself */
.info-icon i {
  position: relative; /* above the circle */
  font-size: 20px;
  color: var(--text-primary); /* dark icon color */
}

.alert {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.alert p {
  margin: 0.5rem 0;
}

html[data-theme="dark"] .alert-success {
  background: rgba(37, 99, 64, 0.22);
  color: #baf3cb;
  border-color: rgba(74, 222, 128, 0.22);
}

html[data-theme="dark"] .alert-error {
  background: rgba(127, 29, 29, 0.24);
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.22);
}
