/* ==========================================================================
   ICC Berlin Church Website - Main Stylesheet
   ==========================================================================
   Table of Contents:
   1.  CSS Custom Properties
   2.  Reset & Base
   3.  Typography
   4.  Layout
   5.  Skip Link (Accessibility)
   6.  Header
   7.  Language Switcher
   8.  Navigation
   9.  Hamburger Menu
   10. Hero Section
   11. Page Header (Inner Pages)
   12. Buttons
   13. Cards
   14. Feature Cards
   15. Ministry Cards
   16. Event Cards
   17. Counter Section
   18. Timeline / Steps
   19. FAQ Accordion
   20. Contact Form
   21. Alert Messages
   22. Footer
   23. Wave Dividers
   24. Chatbot Widget
   25. Info Cards
   26. Mother Church Section
   27. Utility Classes
   28. Scroll-Reveal Base States
   ========================================================================== */


/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary: #5A32B6;
  --primary-light: #7B52D8;
  --primary-dark: #3D1F8A;
  --accent: #E13931;
  --accent-warm: #F7C520;
  --sky: #29ABE2;
  --nature: #7AC143;

  /* Background Colors */
  --bg-dark: #1A1040;
  --bg-light: #F8F6FC;
  --bg-white: #FFFFFF;

  /* Text Colors */
  --text: #2D2D2D;
  --text-light: #FFFFFF;
  --text-muted: #6B7280;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

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

  /* Layout */
  --header-height: 80px;
}


/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
}

::selection {
  background-color: var(--primary);
  color: var(--text-light);
}

::-moz-selection {
  background-color: var(--primary);
  color: var(--text-light);
}


/* ==========================================================================
   3. Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

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

.text-accent {
  color: var(--accent);
}

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

strong,
b {
  font-weight: 700;
}


/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1400px;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--text-light);
}

.section--alt {
  background-color: var(--bg-light);
}

.section__title {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title h2 {
  margin-bottom: 1rem;
}

.section__title p {
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

.section--dark .section__title p {
  color: rgba(255, 255, 255, 0.7);
}

/* Grid System (mobile-first: single column by default) */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}


/* ==========================================================================
   5. Skip Link (Accessibility)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--accent-warm);
  outline-offset: 2px;
}


/* ==========================================================================
   6. Header (.site-header)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base);
  height: var(--header-height);
}

.site-header.scrolled {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.header__logo img {
  height: 50px;
  width: auto;
  transition: height var(--transition-base);
}

.site-header.scrolled .header__logo img {
  height: 40px;
}

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


/* ==========================================================================
   7. Language Switcher
   ========================================================================== */

.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  height: 32px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background-color: transparent;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
}

.lang-switcher__btn:hover {
  background-color: rgba(90, 50, 182, 0.1);
  color: var(--primary);
}

.lang-switcher__btn.active {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

/* On transparent header, lang buttons should be light */
.site-header:not(.scrolled) .lang-switcher__btn {
  color: var(--text-light);
}

.site-header:not(.scrolled) .lang-switcher__btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
}

.site-header:not(.scrolled) .lang-switcher__btn.active {
  background-color: var(--primary);
  color: var(--text-light);
}


/* ==========================================================================
   8. Navigation (.main-nav)
   ========================================================================== */

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

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

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

/* On transparent header, nav links should be light */
.site-header:not(.scrolled) .nav-link {
  color: var(--text-light);
}

.site-header:not(.scrolled) .nav-link:hover {
  color: var(--accent-warm);
}

.site-header:not(.scrolled) .nav-link::after {
  background-color: var(--accent-warm);
}

.site-header:not(.scrolled) .nav-link.active {
  color: var(--accent-warm);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-fast),
              visibility var(--transition-fast),
              transform var(--transition-fast);
}

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

.nav-dropdown__link {
  display: block;
  padding: 0.625rem 1.25rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: background-color var(--transition-fast),
              color var(--transition-fast);
}

.nav-dropdown__link:hover {
  background-color: var(--bg-light);
  color: var(--primary);
}


/* ==========================================================================
   9. Hamburger Menu (.hamburger)
   ========================================================================== */

.hamburger {
  display: none; /* Shown via responsive.css on mobile */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  gap: 6px;
}

.hamburger__line {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-base);
  transform-origin: center;
}

/* On transparent header */
.site-header:not(.scrolled) .hamburger__line {
  background-color: var(--text-light);
}

/* Active state: X shape */
.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* ==========================================================================
   10. Hero Section (.hero)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.hero--inner {
  min-height: 90vh;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(61, 31, 138, 0.85) 0%,
    rgba(61, 31, 138, 0.6) 40%,
    rgba(26, 16, 64, 0.5) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero__logo {
  width: 120px;
  height: auto;
  margin: 0 auto 2rem;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  line-height: 1.7;
  font-weight: 300;
}

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

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-light);
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}


/* ==========================================================================
   11. Page Header (.page-header) - for Inner Pages
   ========================================================================== */

.page-header {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(61, 31, 138, 0.85) 0%,
    rgba(26, 16, 64, 0.7) 100%
  );
  z-index: 1;
}

.page-header__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  padding-top: var(--header-height);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.page-header__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-header__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.page-header__breadcrumb a:hover {
  color: var(--text-light);
}

.page-header__breadcrumb span {
  color: var(--accent-warm);
}


/* ==========================================================================
   12. Buttons (.btn)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Primary Button */
.btn--primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn--secondary {
  background-color: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.btn--secondary:hover {
  background-color: var(--text-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn--secondary:active {
  transform: translateY(0);
}

/* Accent Button */
.btn--accent {
  background-color: var(--accent);
  color: var(--text-light);
}

.btn--accent:hover {
  background-color: #c9302c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--accent:active {
  transform: translateY(0);
}

/* Ghost Button */
.btn--ghost {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn--ghost:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn--ghost:active {
  transform: translateY(0);
}

/* Large Button */
.btn--lg {
  padding: 18px 40px;
  font-size: 1.125rem;
}

/* Small Button */
.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Full Width Button */
.btn--block {
  display: flex;
  width: 100%;
}

/* Button Focus State */
.btn:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: 2px;
}


/* ==========================================================================
   13. Cards (.card)
   ========================================================================== */

.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card__image-wrapper {
  overflow: hidden;
  position: relative;
}

.card__image-wrapper img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__body {
  padding: 1.5rem;
}

.card__tag {
  display: inline-block;
  background-color: rgba(90, 50, 182, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card__text {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.card__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: 10px;
}

.card__link svg {
  width: 16px;
  height: 16px;
}


/* ==========================================================================
   14. Feature Cards (.feature-card)
   ========================================================================== */

.feature-card {
  text-align: center;
  padding: 2.5rem;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(90, 50, 182, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background-color var(--transition-base),
              transform var(--transition-base);
}

.feature-card:hover .feature-card__icon {
  background-color: var(--primary);
  transform: scale(1.1);
}

.feature-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  transition: stroke var(--transition-base);
}

.feature-card:hover .feature-card__icon svg {
  stroke: var(--text-light);
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card__text {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}


/* ==========================================================================
   15. Ministry Cards (.ministry-card)
   ========================================================================== */

.ministry-card {
  position: relative;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.ministry-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.ministry-card:hover .ministry-card__image {
  transform: scale(1.08);
}

.ministry-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(26, 16, 64, 0.9) 0%,
    rgba(26, 16, 64, 0.4) 50%,
    transparent 100%
  );
  transition: background var(--transition-base);
}

.ministry-card:hover .ministry-card__overlay {
  background: linear-gradient(
    0deg,
    rgba(90, 50, 182, 0.9) 0%,
    rgba(90, 50, 182, 0.5) 50%,
    rgba(90, 50, 182, 0.2) 100%
  );
}

.ministry-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: var(--text-light);
  z-index: 2;
}

.ministry-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.ministry-card__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.ministry-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-warm);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: gap var(--transition-fast);
}

.ministry-card__link:hover {
  gap: 10px;
}


/* ==========================================================================
   16. Event Cards (.event-card)
   ========================================================================== */

.event-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-card__date {
  background-color: var(--primary);
  color: var(--text-light);
  min-width: 100px;
  text-align: center;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-card__date-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-heading);
}

.event-card__date-month {
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 4px;
}

.event-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.event-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-card__meta-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
}


/* ==========================================================================
   17. Counter Section (.counters)
   ========================================================================== */

.counters {
  background-color: var(--bg-dark);
  padding: 4rem 0;
}

.counters__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.counter {
  padding: 1rem;
}

.counter__number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-warm);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter__label {
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
}


/* ==========================================================================
   18. Timeline / Steps (.timeline)
   ========================================================================== */

.timeline {
  position: relative;
  padding-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 19px;
  width: 2px;
  height: 100%;
  background-color: rgba(90, 50, 182, 0.2);
}

.timeline__item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__number {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  z-index: 1;
}

.timeline__content {
  background-color: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.timeline__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline__text {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}


/* ==========================================================================
   19. FAQ Accordion (.faq)
   ========================================================================== */

.faq__item {
  border-bottom: 1px solid #eee;
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  gap: 1rem;
  transition: color var(--transition-fast);
}

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

.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition-base);
  line-height: 1;
}

.faq__item.active .faq__question {
  color: var(--primary);
}

.faq__item.active .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

.faq__answer-inner {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ==========================================================================
   20. Contact Form (.contact-form)
   ========================================================================== */

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background-color: var(--bg-white);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(90, 50, 182, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-error {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.has-error .form-control {
  border-color: var(--accent);
}

.form-group.has-error .form-control:focus {
  box-shadow: 0 0 0 3px rgba(225, 57, 49, 0.2);
}

.form-group.has-error .form-error {
  display: block;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}


/* ==========================================================================
   21. Alert Messages
   ========================================================================== */

.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert--success {
  background-color: rgba(122, 193, 67, 0.1);
  color: #166534;
  border-left: 4px solid var(--nature);
}

.alert--error {
  background-color: rgba(225, 57, 49, 0.1);
  color: var(--accent);
  border-left: 4px solid var(--accent);
}

.alert--info {
  background-color: rgba(41, 171, 226, 0.1);
  color: #1e6a8d;
  border-left: 4px solid var(--sky);
}

.alert--warning {
  background-color: rgba(247, 197, 32, 0.1);
  color: #92400e;
  border-left: 4px solid var(--accent-warm);
}


/* ==========================================================================
   22. Footer (.site-footer)
   ========================================================================== */

.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* Footer Brand */
.footer__brand {
  max-width: 300px;
}

.footer__logo img {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__brand-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 300px;
}

/* Footer Columns */
.footer__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.375rem 0;
  display: block;
  font-size: 0.95rem;
  transition: color var(--transition-fast),
              padding-left var(--transition-fast);
}

.footer__link:hover {
  color: var(--accent-warm);
  padding-left: 4px;
}

/* Footer Contact Info */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--accent-warm);
}

/* Footer Social */
.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: background-color var(--transition-base),
              transform var(--transition-base);
}

.footer__social a:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
}

.footer__social a svg {
  width: 18px;
  height: 18px;
}

/* Footer Bottom */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer__bottom a:hover {
  color: var(--accent-warm);
}


/* ==========================================================================
   23. Wave Dividers
   ========================================================================== */

.wave-divider {
  position: relative;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider--top {
  position: relative;
}

.wave-divider--top svg {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
}

.wave-divider--bottom {
  position: relative;
}

.wave-divider--bottom svg {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
}


/* ==========================================================================
   24. Chatbot Widget (.chatbot)
   ========================================================================== */

.chatbot__toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}

.chatbot__toggle:hover {
  background-color: var(--primary-dark);
  transform: scale(1.08);
  box-shadow: var(--shadow-xl);
}

.chatbot__toggle svg {
  width: 28px;
  height: 28px;
}

.chatbot__window {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 380px;
  max-height: 500px;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  z-index: 998;
  overflow: hidden;
  transition: opacity var(--transition-base),
              transform var(--transition-base);
}

.chatbot__window.hidden {
  display: none;
}

.chatbot__header {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot__header-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}

.chatbot__close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.chatbot__close:hover {
  opacity: 1;
}

.chatbot__close svg {
  width: 20px;
  height: 20px;
}

.chatbot__messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  max-height: 350px;
  display: flex;
  flex-direction: column;
}

.chatbot__message {
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  max-width: 85%;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chatbot__message--bot {
  background-color: var(--bg-light);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chatbot__message--user {
  background-color: var(--primary);
  color: var(--text-light);
  margin-left: auto;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot__input-area {
  display: flex;
  border-top: 1px solid #eee;
  padding: 0.75rem;
  align-items: center;
}

.chatbot__input {
  flex: 1;
  border: none;
  padding: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
}

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

.chatbot__input:focus {
  outline: none;
}

.chatbot__send {
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color var(--transition-fast);
}

.chatbot__send:hover {
  background-color: var(--primary-dark);
}

.chatbot__send svg {
  width: 18px;
  height: 18px;
}


/* ==========================================================================
   25. Info Cards (.info-card)
   ========================================================================== */

.info-card {
  padding: 2rem;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-card__icon {
  width: 56px;
  height: 56px;
  background-color: rgba(90, 50, 182, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.info-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.info-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-card__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: gap var(--transition-fast);
}

.info-card__link:hover {
  gap: 10px;
}


/* ==========================================================================
   26. Mother Church Section (.mother-church)
   ========================================================================== */

.mother-church {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.mother-church__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mother-church__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.mother-church__image:hover img {
  transform: scale(1.03);
}

.mother-church__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mother-church__content h2 {
  margin-bottom: 1rem;
}

.mother-church__content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.mother-church__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.mother-church__stat {
  text-align: center;
  padding: 1rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
}

.mother-church__stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.mother-church__stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}


/* ==========================================================================
   27. Utility Classes
   ========================================================================== */

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Text Alignment */
.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Margin Bottom */
.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* Margin Top */
.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Padding */
.p-0 {
  padding: 0;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Display */
.hidden {
  display: none;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Width */
.w-full {
  width: 100%;
}

/* Relative positioning for sections */
.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

/* Decorative accent bar used above section titles */
.accent-bar {
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.accent-bar--center {
  margin-left: auto;
  margin-right: auto;
}

.accent-bar--accent {
  background-color: var(--accent);
}

.accent-bar--warm {
  background-color: var(--accent-warm);
}


/* ==========================================================================
   28. Scroll-Reveal Base States
   ========================================================================== */

/* Fade up */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Fade from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Fade from right */
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scale in */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for child elements */
.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.reveal-delay-3 {
  transition-delay: 300ms;
}

.reveal-delay-4 {
  transition-delay: 400ms;
}

.reveal-delay-5 {
  transition-delay: 500ms;
}

.reveal-delay-6 {
  transition-delay: 600ms;
}
