/* ========== LIGHT/DARK MODE VARIABLES ========== */
:root {
  /* Light theme (default) */
  --bg-color: #fbf9f9;
  --text-color: #000;
  --nav-bg: #ffffff;
  --card-bg: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --hover-shadow: rgba(0, 0, 0, 0.15);
  --border-color: #e0e0e0;
  --footer-bg: #ffffff;
  --footer-text: #333333;
  --link-hover: #80d0c7;
  --section-bg: #f0f8ff;
  --kids-bg: linear-gradient(to right, #007ABB 0%, 15.384615957736969%, #069BD3 30.769231915473938%, 65.38461595773697%, #ADD7E7 100%);
  --story: #f0f7ff;
  --less: #e8f4f8;
  --vers: #fff9e6;
  --login: #08c8ee;
  --term: #b4c7dd;
  --hh: #4a6fa5;
  --memo: linear-gradient(135deg, #ffeaa7, #fdcb6e);
  --primaryy: #4a6fa5;
  --secondaryy: #e7c566;
  --bg-hover-color: #A67F38;
  --caption: #6c757d4a;
  --gray-color: #d4cbcb;
  /*--bg: #e6e6e6;*/
  --bg: #f2ede1;
  --devotion: #424243;
  --scripture: #585858e3;
}

[data-theme="dark"] {
  /* Dark theme */
  --bg-color: #1a1a1a;
  --text-color: #ffffff;
  --nav-bg: #2d2d2d;
  --card-bg: #2d2d2d;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --hover-shadow: rgba(0, 0, 0, 0.5);
  --border-color: #404040;
  --footer-bg: #252525;
  --footer-text: #ffffff;
  --link-hover: #80d0c7;
  --section-bg: #2a2a2a;
  --kids-bg: #1a1a1a;
  --story: #252525;
  --less: #343333;
  --vers: #4c4a4a;
  --login: #08c8ee;
  --term: #454242;
  --hh: #f9c846;
  --memo: linear-gradient(135deg, #e8e0c5, #efd9b1);
  --primaryy: #f9c846;
  --secondaryy: #4a6fa5;
  --bg-hover-color: #A67F38;
  --caption: #252525;
  --gray-color: #665e5e;
  --bg: black;
  --devotion: #424243;
  --scripture: #BAFF53;
}




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

/* main card container */
.faq-wrapper {
  max-width: 820px;
  width: 100%;
  backdrop-filter: blur(4px);
  padding: 2rem 2rem 2.5rem 2rem;
}

/* header */
.faq-header {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-header h1 {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1D2E3B, #1d4c6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

.faq-header p {
  font-size: 1.1rem;
  color: #2e4a62;
  opacity: 0.8;
  font-weight: 400;
}

/* FAQ list – simple accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* single item */
.faq-item {
  background: color-mix(in srgb, #f9c846 7%, transparent);
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(0, 20, 30, 0.06);
  transition: all 0.2s ease;
  border: 1px solid rgba(135, 175, 205, 0.2);
}

.faq-item:hover {
  border-color: rgba(0, 110, 180, 0.2);
  box-shadow: 0 12px 22px rgba(17, 70, 110, 0.1);
}

/* question button */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--text-color);
  border-radius: 4px;
  transition: background 0.15s;
}

.faq-question span {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  padding-right: 1rem;
}

.faq-question i {
  font-size: 1.4rem;
  color: #2f6f9c;
  transition: transform 0.3s ease, color 0.2s;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
  color: #0b4b75;
}

/* answer panel */
.faq-answer {
  padding: 0rem 1.8rem 0rem 1.8rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.33, 1, 0.68, 1), padding 0.2s ease;
  background: color-mix(in srgb, #f9c846 10%, transparent);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.faq-answer.show {
  max-height: 350px;
  /* enough for long answers; auto fails transition, so we use a large value */
  padding: 0.2rem 1.8rem 1.6rem 1.8rem;
}

.answer-content {
  color: #1f3c4f;
  font-size: 1.05rem;
  line-height: 1.6;
  border-left: 3px solid #7fb7d9;
  padding-left: 1.2rem;
  margin: 0.5rem 0 0.2rem 0;
}

.answer-content p {
  margin-bottom: 0.75rem;
}

.answer-content p:last-child {
  margin-bottom: 0;
}

/* small highlight */
.accent-badge {
  display: inline-block;
  background: #c3e0f2;
  color: #05425f;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.2rem 0.9rem;
  border-radius: 30px;
  letter-spacing: 0.01em;
  margin-top: 0.5rem;
  border: 1px solid #91c1e0;
}

/* edit hint – replace content easily */
.edit-note {
  margin-top: 2.2rem;
  text-align: center;
  font-size: 0.95rem;
  color: #436684;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.7rem 1.5rem;
  border-radius: 60px;
  display: inline-block;
  width: auto;
  backdrop-filter: blur(2px);
  border: 1px dashed #77a5c4;
}

.edit-note i {
  margin-right: 6px;
  color: #267cb0;
}

.footer-attribution {
  margin-top: 1.5rem;
  color: #3d627c;
  font-size: 0.9rem;
}

/* mobile fine-tune */
@media (max-width: 480px) {
  .faq-wrapper {
    padding: 1px;
    margin-bottom: 20px;
  }

  .faq-header p {
    font-size: 0.9rem;
    color: #2e4a62;
    opacity: 0.8;
    font-weight: 400;
  }

  .faq-header h1 {
    font-size: 1.5rem;
  }

  .faq-question span {
    font-size: 0.9rem;
  }

  .faq-question {
    padding: 0.5rem 1.3rem;
  }

  .faq-answer.show {
    padding: 0.2rem 1.4rem 0.7rem 0.7rem;
  }

  .faq-list {
    margin-top: -25px !important;
  }

}

@media (max-width: 768px) {}



/*========================================*/
/*================ CONTACT ===============*/
/*========================================*/
:root {
  --gold: #c8a860;
  --gold-light: #e5d6b3;
  --deep-navy: #0f1a2a;
  --soft-gray: #f5f7fa;
  --text-dark: #2e3b4e;
  --border-soft: #e0e7ef;
  --card-shadow: 0 20px 40px -10px rgba(0, 20, 30, 0.1);
}

body.dark-mode {
  --soft-gray: #151e2c;
  --text-dark: #cfdbe9;
  --border-soft: #2c374a;
}

.contact-hero {
  background: var(--footer-bg);
  padding: 3rem 0 2rem 0;
  text-align: center;
  margin-top: 10px !important;
}

body.dark-mode .contact-hero {
  background: linear-gradient(135deg, #1a2332, #121a27);
}

.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

body.dark-mode .contact-hero h1 {
  color: #edeef2;
}

.contact-hero h1 span {
  color: var(--gold);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 6px;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 1rem auto 0;
  color: var(--text-color);
  font-weight: 300;
}

.contact-hero,
.contact-section-improved {
  max-width: 1175px;
  margin: 0 auto;
}

.prayer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 25px 0 10px;
}

.prayer-divider i {
  font-size: 1.8rem;
  color: var(--gold);
  opacity: 0.5;
}

.prayer-divider span {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* main contact grid */
.contact-section-improved {
  padding: 10px 0;
  background-color: var(--bg);
  transition: background-color 0.3s;
}

.contact-container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  align-items: start;
}

/* left cards: ministry & prayer */
.info-card {
  background: var(--card-bg, #ffffff);
  border-radius: 4px;
  padding: 25px 30px;
  box-shadow: var(--card-shadow);
  margin-bottom: 10px;
  transition: background 0.2s;
}

body.dark-mode .info-card {
  background: #1e2636;
  border-color: #31415a;
}

.info-card:last-child {
  margin-bottom: 0;
}

.info-icon-large {
  width: 70px;
  height: 70px;
  background: rgba(200, 168, 96, 0.1);
  border-radius: 60% 40% 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 20px;
}

.info-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
}

.info-card h2 i {
  color: var(--gold);
  margin-right: 8px;
}

.detail-block {
  display: flex;
  gap: 16px;
  margin: 28px 0;
  align-items: center;
}

.detail-icon {
  width: 54px;
  height: 54px;
  background: rgba(200, 168, 96, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
}

.detail-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--heading-color);
}

.detail-text p,
.detail-text a {
  color: var(--text-color, #4a5a6e);
  line-height: 1.5;
  text-decoration: none;
}

.detail-text a:hover {
  color: var(--gold);
}

.prayer-availability {
  background: rgba(200, 168, 96, 0.05);
  border-radius: 22px;
  padding: 24px;
  margin: 30px 0 10px;
  border-left: 5px solid var(--gold);
}

.prayer-availability p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 450;
}

.social-compact {
  display: flex;
  gap: 1px;
  margin-top: 30px;
}

.social-compact a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200, 168, 96, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 24px;
  transition: 0.25s;
  margin: 0 auto;
}

.social-compact a:hover {
  background: var(--gold);
  color: #0f1a2a;
  transform: translateY(-4px);
}

/* right side: beautiful contact form */
.form-card-improved {
  background: var(--card-bg, #ffffff);
  border-radius: 4px;
  padding: 32px 42px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.form-card-improved::before {
  content: "✝";
  font-size: 160px;
  color: rgba(200, 168, 96, 0.03);
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: serif;
  pointer-events: none;
  transform: rotate(15deg);
}

.form-card-improved h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.form-sub {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 35px;
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  background: rgba(200, 168, 96, 0.02);
  border-radius: 0 20px 20px 0;
}

.input-group-modern {
  margin-bottom: 24px;
}

.input-group-modern label {
  display: block;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--heading-color);
}

.input-group-modern input,
.input-group-modern textarea,
.input-group-modern select {
  width: 100%;
  padding: 10px 20px;
  background: var(--soft-gray);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  transition: all 0.25s;
}

.input-group-modern input:focus,
.input-group-modern textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(200, 168, 96, 0.2);
  background: var(--card-bg);
}

.inline-flex {
  display: flex;
  gap: 20px;
}

.inline-flex .input-group-modern {
  flex: 1;
}

.prayer-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0 20px;
}

.prayer-checkbox input {
  width: 22px;
  height: 22px;
  accent-color: var(--gold);
}

.prayer-checkbox label {
  color: var(--text-color);
  font-weight: 400;
}

.submit-btn-faith {
  background: var(--gold);
  color: #0f1a2a;
  border: none;
  padding: 10px 30px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.2rem;
  width: fit-content;
  cursor: pointer;
  transition: 0.3s;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 15px 30px -8px rgba(200, 168, 96, 0.4);
}

.submit-btn-faith:hover {
  background: #b28b3c;
  color: white;
  transform: scale(1.02);
}

.faith-note {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 24px;
  color: var(--text-muted, #65768a);
}

.faith-note i {
  color: var(--gold);
}

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

  .contact-hero h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 480px) {
  .inline-flex {
    flex-direction: column;
    gap: 0;
  }

  .form-card-improved {
    padding: 30px 20px;
  }

  .contact-hero h1 {
    font-size: 2rem;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }

  .contact-hero h1 span {
    color: var(--gold);
    border-bottom: 3px solid var(--gold);
    padding-bottom: 1px;

  }

  .info-card h2 {
    text-align: center;
  }

  .form-card-improved h3 {
    text-align: center;
    font-size: 28px;
  }


}

  /* remove duplication, keep footer/header consistent */
  .featureddonate,
  .hero {
    display: none;
  }

  /* hiding the old generic section to keep only contact */