/* 
========================================================================
 TENT REVIVAL USA - STYLE SHEET (DARK FLYER THEME)
 ========================================================================
 Feel free to edit the CSS Variables below to adjust colors, fonts, 
 and layout settings. Everything is organized to be easy to customize.
========================================================================
*/

@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap");

:root {
  /* --- COLOR SYSTEM (DARK FLYER THEME - STYLE.MD COMPLIANT) --- */
  /* ☀️ Нові змінні для ефекту Сонця */
  --sun-core: #ffffff;
  --sun-corona-inner: #ffcc00;
  --sun-corona-mid: #ff9900;
  --sun-corona-outer: #ff5500;
  --tru-gold: #f2a900;

  /* Main Backgrounds */
  --bg-primary: #05070F;      /* Deep midnight black, matching the flyer */
  --bg-secondary: #0C0F1D;    /* Dark slate for cards and alternates */
  --bg-white: #111425;        /* Dark blue-gray for container backgrounds */

  /* Text & Ink */
  --text-primary: #FFFFFF;    /* Pure White for maximum legibility on dark background */
  --text-secondary: #B8B3A6;  /* Soft sand for paragraphs/descriptions */
  --text-muted: #8E897E;      /* Muted sand for captions/dates */
  --text-light: #FFFFFF;      /* White text globally */

  /* Accents & Brand Colors (Flyer Glow Flame, Gold, Amber - mapped to style.md) */
  --accent-flame: #E76F51;          /* Accent: terracotta orange from style.md */
  --accent-flame-hover: #D65E40;    
  --accent-flame-light: rgba(231, 111, 81, 0.12); 
  --accent-gold: #F4A261;           /* Secondary: warm sand/orange from style.md */
  --accent-gold-hover: #E59251;     
  --accent-gold-light: rgba(244, 162, 97, 0.08); 
  --accent-gold-border: rgba(244, 162, 97, 0.25); 

  /* Brand Primary from style.md */
  --color-primary: #234E70;         /* Primary: trust, depth, professionalism */
  --color-primary-hover: #193852;
  --color-primary-light: rgba(35, 78, 112, 0.15);

  /* Structural Colors */
  --border-light: rgba(244, 162, 97, 0.15); /* Gold border */
  --border-focus: #E76F51;                  /* Focus color */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);

  /* --- LAYOUT CONFIG --- */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* --- TYPOGRAPHY --- */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Default transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ========================================================================
   1. RESET & BASE STYLES
   ======================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Premium Focus Outline Reset (replaces browser default blue rings) */
a:focus,
button:focus,
[role="button"]:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--accent-flame);
  outline-offset: 4px;
}

.logo-brand:focus,
.logo-brand:focus-visible,
.logo-brand:active {
  outline: none !important;
  box-shadow: none !important;
}

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(217, 83, 30, 0.025), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(179, 128, 41, 0.025), transparent 60%);
}

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

/* Global Container Wrapper */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  width: 100%;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

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

/* ========================================================================
   2. TYPOGRAPHY
   ======================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 6.5vw, 4.5rem);
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(1.6rem, 4.5vw, 3.2rem);
  margin-bottom: 12px;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  margin-bottom: 8px;
}

h4 {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 65ch;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
  font-family: var(--font-sans);
}

/* Accent texts */
.text-highlight {
  color: var(--accent-flame);
  font-style: italic;
  font-family: var(--font-serif);
}

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

/* ========================================================================
   3. BUTTONS & UI ACTIONS
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

/* Terracotta / Flame Button (Primary Action) */
.btn-primary {
  background-color: var(--accent-flame);
  color: var(--text-light);
  box-shadow: 0 8px 24px -6px rgba(217, 83, 30, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-flame-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(217, 83, 30, 0.55);
}

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

/* Ghost / Transparent Gold Button (Secondary Action) */
.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-width: 3px;
  border-color: var(--accent-flame);
  box-shadow: inset 0 0 0 1.5px rgba(231, 111, 81, 0.18);
}

.btn-secondary:hover {
  background-color: rgba(244, 162, 97, 0.08);
  border-width: 4px;
  border-color: var(--accent-flame-hover);
  color: var(--text-primary);
  box-shadow:
    inset 0 0 0 2px rgba(231, 111, 81, 0.28),
    0 12px 28px -12px rgba(231, 111, 81, 0.72);
}

/* Full Width Button (Useful on Mobile) */
.btn-block {
  width: 100%;
}

.btn-secondary.btn-block,
.partner-give-card .btn-secondary,
.share-buttons .btn-secondary {
  border-width: 3px;
  border-color: var(--accent-flame);
}

/* ========================================================================
   4. NAVIGATION & HEADER
   ======================================================================== */
header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition-normal), border-color var(--transition-normal), padding var(--transition-normal);
  padding: 16px 0;
}

header.scrolled,
header.menu-open {
  background-color: rgba(12, 15, 29, 0.96); /* Translucent Dark Slate */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
}

.nav-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  color: var(--text-light); /* Light text on the dark sunset photo top */
  transition: color var(--transition-normal);
}

header.scrolled .nav-bar,
header.menu-open .nav-bar {
  color: var(--text-primary); /* White text remains on dark translucent header */
}

.logo-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: currentColor;
  font-family: var(--font-sans);
  transition: transform var(--transition-fast), opacity var(--transition-fast), color var(--transition-normal);
  width: clamp(150px, 42vw, 230px);
  height: clamp(44px, 12vw, 64px);
  user-select: none;
}

.logo-brand:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.logo-row-top,
.logo-row-bottom {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 6px;
}

.logo-line {
  flex-grow: 1;
  height: 1.5px;
  background-color: currentColor;
  opacity: 0.7;
}

.logo-text-small {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  padding-left: 0.32em; /* Offsets right letter-spacing for true centering */
  text-transform: uppercase;
  color: currentColor;
  line-height: 1;
}

.logo-row-middle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 800;
  margin: 3px 0 2px 0;
  text-transform: uppercase;
  color: currentColor;
  gap: 1.5px; /* Tight letter spacing like the official flyer */
}

.logo-letter {
  display: inline-block;
  line-height: 1;
}

.logo-tent-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.45rem;
  position: relative;
  top: -1.5px; /* Align slightly for better visual baseline */
}

.logo-tent-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-bar .logo-brand {
  margin: 4px auto;
}

@media (max-width: 991px) {
  header {
    padding: 8px 0;
  }

  .nav-bar .logo-brand {
    width: clamp(132px, 34vw, 166px);
    height: clamp(36px, 9vw, 44px);
    margin: 0 auto;
  }
}

.nav-bar .logo-row-middle {
  font-size: clamp(1.2rem, 4vw, 2.0rem);
  gap: 2.5px;
  margin: 4px 0 3px 0;
}

.nav-bar .logo-text-small {
  font-size: clamp(0.45rem, 1.5vw, 0.65rem);
  letter-spacing: 0.35em;
  padding-left: 0.35em;
}

.nav-bar .logo-tent-wrap {
  width: clamp(1.0rem, 3.2vw, 1.6rem);
  height: clamp(1.15rem, 3.7vw, 1.85rem);
  top: -2px;
}

@media (min-width: 992px) {
  .nav-bar .logo-brand {
    width: 300px;
    height: 78px;
  }

  .nav-bar .logo-row-middle {
    font-size: 2.6rem;
    gap: 3.5px;
    margin: 5px 0 4px 0;
  }

  .nav-bar .logo-text-small {
    font-size: 0.8rem;
    letter-spacing: 0.38em;
    padding-left: 0.38em;
  }

  .nav-bar .logo-tent-wrap {
    width: 2.1rem;
    height: 2.45rem;
    top: -2.5px;
  }
}

/* Nav Links for Desktop */
.nav-menu {
  display: none;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(252, 251, 247, 0.85);
  transition: color var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  color: #FFC6A5; /* Warm glow on dark photo */
}

header.scrolled .nav-link,
header.menu-open .nav-link {
  color: var(--text-secondary);
}

header.scrolled .nav-link:hover,
header.menu-open .nav-link:hover {
  color: var(--accent-flame);
}

/* Dropdown Menu Styles (Desktop) */
.has-dropdown {
  position: relative;
}

.dropdown-icon {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.has-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 0;
  min-width: 190px;
  box-shadow: var(--shadow-md);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 1000;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  color: var(--accent-flame);
  background-color: var(--bg-secondary);
}

/* Hamburger Burger Button */
.burger-btn {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(252, 251, 247, 0.25);
  background: transparent;
  color: var(--text-light);
  font-size: 1.25rem;
  transition: all var(--transition-fast), color var(--transition-normal), border-color var(--transition-normal);
}

.burger-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(252, 251, 247, 0.5);
}

header.scrolled .burger-btn,
header.menu-open .burger-btn {
  color: var(--text-primary);
  border-color: var(--border-light);
}

header.scrolled .burger-btn:hover,
header.menu-open .burger-btn:hover {
  background-color: var(--bg-secondary);
  border-color: var(--accent-gold);
}

.nav-desktop-cta {
  display: none;
}

/* Mobile Menu Slidedown */
.mobile-menu-drawer {
  display: none;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-md);
}

.mobile-menu-drawer.open {
  display: block;
}

@media (max-width: 991px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .mobile-menu-drawer {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 110;
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    background-color: rgba(5, 7, 15, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  }

  .mobile-menu-drawer.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.mobile-menu-drawer ul {
  list-style: none;
  padding: 16px 24px 24px;
  display: grid;
  gap: 8px;
}

.mobile-menu-drawer a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.mobile-menu-drawer a:hover {
  background-color: var(--bg-secondary);
  color: var(--accent-flame);
}

.mobile-menu-drawer-cta {
  margin-top: 12px;
}

/* Mobile Nested Navigation Menu Styles */
.mobile-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-group-title {
  display: block;
  padding: 12px 14px 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.mobile-submenu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 1px dashed rgba(244, 162, 97, 0.2);
  margin: 0 14px 8px;
}

.mobile-submenu a {
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 400;
}

/* Desktop Navigation Media Queries */
@media (min-width: 992px) {
  .nav-bar {
    flex-direction: column;
    gap: 12px;
    padding: 16px 0 10px 0;
  }
  .nav-menu {
    display: flex;
  }
  .nav-desktop-cta {
    display: inline-flex;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
  }
  .burger-btn {
    display: none;
  }
}

/* ========================================================================
   5. HERO SECTION
   ======================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 24px; /* Clears the fixed header and keeps a small gap below the hero image card */
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-grow: 1;
}

@media (max-width: 767px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 12px;
  }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero h1 {
  margin: 14px 0 20px;
  color: var(--text-light);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.hero .lead {
  margin: 0 auto 32px;
  color: #ECE9E2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-ctas {
  display: flex;
  gap: 12px;
}

/* Stylized Tent SVG visual at the bottom of hero */
.hero-tent-graphic {
  display: none;
}

@media (min-width: 992px) {
  .hero {
    padding: 170px 0 32px; /* Increased top padding from 130px to 170px to completely clear the tall desktop header */
  }
}

/* ========================================================================
   6. COMMON SECTION LAYOUTS & CARDS
   ======================================================================== */
section {
  padding: 64px 0;
  position: relative;
  scroll-margin-top: 80px;
}

/* Top-border divider for sections directly after Hero */
.section-divider-top {
  border-top: 1px solid var(--border-light);
}

@media (min-width: 992px) {
  section {
    scroll-margin-top: 130px;
  }
}

/* Alternating Section Backgrounds */
.section-alt {
  background-color: var(--bg-secondary);
}

/* Section Header (Centered) */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 42px;
}

.section-header p {
  margin-top: 14px;
}

#testimonies {
  padding-bottom: 52px;
}

#location {
  padding-top: 54px;
}

#details {
  padding-bottom: 46px;
}

@media (max-width: 640px) {
  section {
    padding: 52px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  #testimonies {
    padding-bottom: 42px;
  }

  #location {
    padding-top: 42px;
  }

  #details {
    padding-bottom: 36px;
  }
}

/* Responsive Grid System */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) {
  .get-involved-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .get-involved-grid .involvement-card {
    flex: 1 1 calc(33.333% - 24px);
    max-width: calc(33.333% - 16px);
  }
}

/* Premium Card Styles */
.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold-border);
}

/* Card Icon Box */
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--accent-gold-light);
  border: 1px solid var(--accent-gold-border);
  color: var(--accent-gold);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.card-icon-flame {
  background-color: var(--accent-flame-light);
  border-color: rgba(217, 83, 30, 0.15);
  color: var(--accent-flame);
}

.card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================================================
   7. ABOUT THE REVIVAL
   ======================================================================== */
.about-layout {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about-text {
  order: 2;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text .about-subtext {
  margin-bottom: 28px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.about-text .about-link {
  color: var(--accent-gold);
  font-weight: 600;
  text-decoration: underline;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.about-visual {
  order: 1;
  position: relative;
}

.about-image-stack {
  position: relative;
  aspect-ratio: 4/3;
  width: 100%;
}

.about-image-placeholder {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--accent-gold-light) 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.about-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(circle at 50% 50%, var(--accent-flame) 0%, transparent 60%);
}

.about-image-placeholder i {
  font-size: 4rem;
  color: var(--accent-gold);
  filter: drop-shadow(0 4px 10px rgba(179, 128, 41, 0.2));
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
  .about-text {
    order: 1;
  }
  .about-visual {
    order: 2;
  }
}

/* ========================================================================
   8. SCHEDULE
   ======================================================================== */
.schedule-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.schedule-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  border-bottom: 1px solid var(--border-light);
  gap: 16px;
  transition: background-color var(--transition-fast);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.schedule-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.schedule-day-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: var(--accent-gold-light);
  border: 1px solid var(--accent-gold-border);
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.schedule-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.schedule-date {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 2px;
}

.schedule-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--accent-flame);
  font-size: 1.05rem;
}

@media (min-width: 576px) {
  .schedule-row {
    flex-direction: row;
    align-items: center;
  }
}

/* ========================================================================
   9. LOCATION & DIRECTIONS
   ======================================================================== */
.location-layout {
  display: grid;
  gap: 40px;
}

.location-info-panel {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

/* Direction buttons group (Google Maps + Apple Maps) */
.directions-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.btn-apple-maps,
.btn-google-maps {
  border-color: var(--border-light);
}

.location-info-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 0 0 32px;
}

.location-info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.location-info-list i {
  color: var(--accent-flame);
  margin-top: 4px;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .location-layout {
    grid-template-columns: 1fr;
    align-items: center;
  }
}

/* ========================================================================
   10. FAQ SECTION
   ======================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--accent-gold-border);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-trigger i {
  color: var(--accent-gold);
  transition: transform var(--transition-normal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
  padding: 0 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-bottom: 20px;
}

/* Open FAQ State */
.faq-item.open {
  border-color: var(--accent-gold-border);
  box-shadow: var(--shadow-sm);
}

.faq-item.open .faq-trigger i {
  transform: rotate(45deg);
  color: var(--accent-flame);
}

.faq-item.open .faq-answer {
  max-height: 200px; /* Adapt as needed */
  transition: max-height var(--transition-normal) ease-in, padding var(--transition-normal) ease-in;
}

/* ========================================================================
   11. SHARE & CONTACT
   ======================================================================== */
.share-banner {
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 56px 24px;
  background: radial-gradient(circle at 50% 0%, rgba(247, 198, 106, 0.15) 0%, var(--bg-white) 100%);
  border: 1px solid var(--accent-gold-border);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.share-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.share-banner p {
  max-width: 50ch;
  margin: 12px auto 28px;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ========================================================================
   12. FINAL CALL TO ACTION (CTA)
   ======================================================================== */
.final-cta {
  text-align: center;
  background: radial-gradient(circle at 50% 100%, var(--accent-flame-light) 0%, var(--bg-secondary) 80%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 100px 0;
}

.final-cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  max-width: 18ch;
  margin: 0 auto 16px;
}

.final-cta p {
  margin: 0 auto 32px;
}

@media (max-width: 640px) {
  .final-cta {
    padding: 72px 0 82px;
  }
}

/* ========================================================================
   13. FOOTER
   ======================================================================== */
footer {
  padding: 80px 0 120px;
  background-color: #0A0C18; /* Darkest slate — slightly lighter than --bg-primary */
  color: var(--text-light);
  border-top: 1px solid rgba(247, 198, 106, 0.08);
}

footer p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

.footer-logo {
  color: var(--text-light);
  margin-bottom: 16px;
  width: clamp(90px, 25vw, 138px);
  height: clamp(26px, 7vw, 38px);
}

.footer-logo .logo-image {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.footer-column h4 {
  font-family: var(--font-sans);
  color: var(--text-light);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent-flame-light);
}

.footer-links a.footer-faith-link {
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  border-color: var(--accent-flame);
  color: var(--accent-flame-light);
  background-color: rgba(255, 255, 255, 0.03);
}

.footer-copyright {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  align-items: center;
  text-align: center;
}

.footer-copyright-left,
.footer-copyright-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.blu-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-blu-logo {
  height: 36px;
  width: auto;
  vertical-align: middle;
  object-fit: contain;
  position: relative;
  top: -5px;
  left: -9px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
  }
  .footer-copyright {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .footer-copyright-left {
    align-items: flex-start;
    text-align: left;
  }
  .footer-copyright-right {
    align-items: flex-end;
    text-align: right;
  }
  .blu-credit {
    transform: translateX(18px);
  }
}

/* ========================================================================
   14. STICKY MOBILE CTA
   ======================================================================== */
.sticky-mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sticky-mobile-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-mobile-cta .btn {
  flex: 1;
  box-shadow: 0 12px 32px rgba(37, 35, 32, 0.25), 0 8px 24px -6px rgba(217, 83, 30, 0.5);
}

@media (min-width: 992px) {
  .sticky-mobile-cta {
    display: none !important;
  }
}

/* Divider Decoration */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-light) 50%, transparent 100%);
  margin: 0 auto;
  max-width: 800px;
}

/* ========================================================================
   15. UTILITIES & ACCESSIBILITY
   ======================================================================== */
/* Scroll Reveal / Fade In Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow) ease-out, transform var(--transition-slow) ease-out;
}

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

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========================================================================
   16. FEATURED SPEAKER & PHOTO GALLERY STYLING (INTEGRATED)
   ======================================================================== */
/* Speaker Section Grid */
.speaker-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .speaker-layout {
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
  }
}

.speaker-visual {
  width: 100%;
}

.speaker-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  aspect-ratio: 4/5;
  background-color: var(--bg-secondary);
}

.speaker-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.speaker-image-wrapper:hover .speaker-image {
  transform: scale(1.02);
}

.lead-speaker {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
  font-family: var(--font-sans);
}

/* Elegant Speaker Quote Block */
.speaker-quote {
  margin-top: 28px;
  padding: 24px 24px 24px 28px;
  border-left: 4px solid var(--accent-flame);
  background-color: var(--bg-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.speaker-quote p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.45;
  margin: 0 0 10px 0;
}

.speaker-quote cite {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  font-style: normal;
}

.quote-icon {
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 2.2rem;
  color: var(--accent-flame-light);
  opacity: 0.8;
  pointer-events: none;
}

/* Tent Identification Photo Card */
.location-gallery {
  width: 100%;
  margin-top: 50px;
}

.location-title {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.location-lead {
  margin-bottom: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  aspect-ratio: 16/9;
  background-color: var(--bg-secondary);
}

@media (min-width: 768px) {
  .gallery-card {
    aspect-ratio: 21/9;
  }
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-card:hover .gallery-image {
  transform: scale(1.015);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(37, 35, 32, 0) 0%, rgba(37, 35, 32, 0.82) 100%);
  color: var(--text-light);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-caption h4 {
  font-family: var(--font-sans);
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  letter-spacing: 0.05em;
}

.gallery-caption p {
  color: #ECE9E2;
  font-size: 0.92rem;
  margin: 0;
  font-family: var(--font-sans);
}

/* ========================================================================
   17. FLYER-THEMED HERO LAYOUT STYLES
   ======================================================================== */
.flyer-headline {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0 auto 24px;
}

@media (min-width: 768px) {
  .flyer-headline {
    font-size: 2.6rem;
    line-height: 1.15;
  }
}

/* Glowing Neon Effect for JESUS */
.glow-text {
  font-family: var(--font-sans);
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  display: block;
  letter-spacing: 0.02em;
  margin: 6px 0;
  line-height: 1;
  text-shadow: 
    0 0 8px rgba(255, 123, 37, 0.9),
    0 0 18px rgba(255, 123, 37, 0.7),
    0 0 32px rgba(247, 198, 106, 0.5),
    0 0 45px rgba(247, 198, 106, 0.3);
  animation: glowPulse 3s infinite alternate;
}

@media (min-width: 768px) {
  .glow-text {
    font-size: 5.5rem;
    margin: 8px 0;
  }
}

@keyframes glowPulse {
  from {
    text-shadow: 
      0 0 8px rgba(255, 123, 37, 0.9),
      0 0 18px rgba(255, 123, 37, 0.7),
      0 0 32px rgba(247, 198, 106, 0.5),
      0 0 45px rgba(247, 198, 106, 0.3);
  }
  to {
    text-shadow: 
      0 0 12px rgba(255, 123, 37, 1),
      0 0 24px rgba(255, 123, 37, 0.85),
      0 0 40px rgba(247, 198, 106, 0.65),
      0 0 60px rgba(247, 198, 106, 0.45);
  }
}

/* Hero Centered Photo block (matching flyer) */
.hero-photo-container {
  max-width: 100%;
  width: 100%;
  height: clamp(520px, 62vw, 680px);
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-slow);
}

@media (max-width: 767px) {
  .hero-photo-container {
    height: calc(100dvh - 72px - 24px - env(safe-area-inset-bottom));
    min-height: 480px;
    max-height: 640px;
  }
}

.hero-photo-container picture,
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Overlay text and container layout over hero photo */
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: 
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.10) 40%,
      rgba(0, 0, 0, 0.40) 100%);
  padding: clamp(16px, 3.5vw, 36px) clamp(16px, 4vw, 40px) calc(clamp(16px, 3.5vw, 36px) + env(safe-area-inset-bottom));
  box-sizing: border-box;
  z-index: 10;
}

.hero-overlay-top {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 767px) {
  .hero-overlay-top {
    margin-top: 28px;
  }
  .tru-top {
    margin-bottom: 4px;
  }
  .tru-main {
    margin-bottom: 4px;
    line-height: 0.65;
  }
}

.hero h1.tru-text-block {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  color: var(--tru-gold);
  font-family: "Anton", Impact, "Arial Black", "Noto Sans Display", "Arial Narrow", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.tru-line {
  display: block;
  white-space: nowrap;
  font-weight: 900;
  transform: scaleX(1.06);
  transform-origin: center;
  text-shadow:
    0 0 3px rgba(242, 169, 0, 0.16),
    0 0 8px rgba(242, 169, 0, 0.08);
}

.tru-top {
  font-size: clamp(28px, 5.75vw, 62px);
  line-height: 0.92;
  letter-spacing: 0.095em;
  margin-bottom: clamp(10px, 2.2vw, 24px);
}

.tru-main {
  font-size: clamp(88px, 20vw, 210px);
  line-height: 0.70;
  letter-spacing: 0.025em;
  margin-bottom: clamp(14px, 2.8vw, 32px);
  color: var(--sun-core);
  animation: truSunGlow 4s infinite alternate ease-in-out;
}

.tru-bottom {
  font-size: clamp(30px, 6.2vw, 67px);
  line-height: 0.90;
  letter-spacing: 0.155em;
}

@keyframes truSunGlow {
  0% {
    text-shadow:
      0 0 4px rgba(255, 255, 255, 0.7),
      0 0 8px var(--sun-corona-inner),
      0 0 16px var(--sun-corona-mid),
      0 0 30px rgba(255, 85, 0, 0.3);
    transform: scaleX(1.06) scale(0.99);
  }
  100% {
    text-shadow:
      0 0 6px rgba(255, 255, 255, 0.95),
      0 0 12px var(--sun-corona-inner),
      0 0 25px var(--sun-corona-mid),
      0 0 50px var(--sun-corona-outer),
      0 0 85px rgba(255, 153, 0, 0.4),
      0 0 125px rgba(242, 169, 0, 0.2);
    transform: scaleX(1.06) scale(1.01);
  }
}

.hero-overlay-bottom {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-photo-overlay {
    align-items: center;
  }
  .hero-overlay-top {
    transform: none;
  }
  .hero h1.tru-text-block {
    text-align: center;
  }
  .hero-overlay-bottom {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transform: translateX(3%);
  }
}

/* Hero Details List (vertical layout with clean glassmorphic container) */
.hero-details-list {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

@media (max-width: 767px) {
  .hero-details-list {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
  }
}

@media (min-width: 992px) {
  .hero-details-list {
    margin: 0;
  }
}

.hero-details-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.hero-details-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-details-icon {
  width: 24px;
  font-size: 1.2rem;
  color: #FFC6A5; /* Warm light accent */
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-details-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary); /* White */
  text-align: left;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

/* Hero Buttons */
.hero-ctas {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
}

.hero-ctas .btn {
  flex: 1;
  width: auto;
  justify-content: center;
  white-space: nowrap;
  padding: 12px 10px;
  font-size: 0.88rem;
}

@media (min-width: 576px) {
  .hero-ctas {
    gap: 12px;
    width: auto;
    max-width: none;
  }
  .hero-ctas .btn {
    flex: none;
    width: auto;
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

@media (min-width: 992px) {
  .hero-ctas {
    margin: 0;
  }
}

/* ========================================================================
   ADDITIONAL BLU COMPONENT STYLES (NEW SECTIONS)
   ======================================================================== */

/* Scroll margins for internal anchor blocks to clear fixed navigation header */
.about-section-block,
.story-box {
  scroll-margin-top: 100px;
}

@media (min-width: 992px) {
  .about-section-block,
  .story-box {
    scroll-margin-top: 160px;
  }
  #vision {
    scroll-margin-top: 175px;
  }
}

/* Tolik's Story Box */
.story-box {
  background-color: var(--color-primary-light);
  border: 1px solid rgba(244, 162, 97, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.story-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Church Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  margin-top: 32px;
}

@media (max-width: 991px) {
  #partners {
    padding-bottom: 126px;
  }
}

@media (min-width: 520px) and (max-width: 767px) {
  .partners-grid .partner-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc((100% - 2rem) / 2);
  }
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%) opacity(0.7);
  width: 100%;
}

.partner-card:hover {
  transform: translateY(-5px);
  filter: grayscale(0%) opacity(1);
}

.partner-logo-box {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--bg-white);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--border-light);
}

.partner-logo-box svg {
  max-width: 100%;
  max-height: 100%;
  color: var(--accent-gold);
}

.partner-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-card h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.partner-card span {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 500;
}

/* ========================================================================
   TENT SLIDESHOW STYLES
   ======================================================================== */
.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  aspect-ratio: 16/9;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

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

.slide.active {
  display: block;
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  pointer-events: none;
}

.prev, .next {
  cursor: pointer;
  pointer-events: auto;
  background-color: rgba(0,0,0,0.5);
  color: white;
  padding: 16px;
  border-radius: 50%;
  border: 0;
  user-select: none;
  transition: background-color 0.3s;
}

.prev:hover, .next:hover {
  background-color: var(--accent-flame);
}

.slideshow-dots {
  text-align: center;
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: rgba(255,255,255,0.5);
  border: 0;
  border-radius: 50%;
  display: inline-block;
  padding: 0;
  transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
  background-color: var(--accent-flame);
}


/* Testimonies Card styling */
.testimony-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}
.testimony-text,
.testimony-text p {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary) !important;
  position: relative;
}
.testimony-text::before {
  content: '“';
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-primary-light);
  position: absolute;
  top: -20px;
  left: -10px;
  z-index: 0;
}
.testimony-author {
  display: block;
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-align: right;
}

/* Involvement Cards & Forms styling */
.involvement-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.involvement-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.involvement-card-header .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.involvement-card h3 {
  margin-bottom: 0;
  color: var(--accent-gold);
}

.involvement-card p {
  margin-bottom: 24px;
  flex-grow: 1;
}
.involvement-form {
  display: grid;
  gap: 18px;
}
.form-group {
  display: grid;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-flame);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-flame-light);
}

/* Partner / Give box styling */
.partner-give-card {
  margin-top: 36px;
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--color-primary-light) 100%);
  border: 1px solid var(--border-light);
}
.partner-give-content {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 768px) {
  .partner-give-content {
    grid-template-columns: 1fr auto;
  }
}

/* ========================================================================
   ADDITIONAL STYLES FOR NEW SECTIONS & GRAPHICS
   ======================================================================== */



/* Testimonies Ministry Moments Gallery */
.gallery-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-item:nth-child(3) {
    grid-column: span 2;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .gallery-item:nth-child(3) {
    grid-column: span 1;
  }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 2/3;
  position: relative;
}

.gallery-item:nth-child(3) {
  aspect-ratio: auto;
}

@media (min-width: 768px) {
  .gallery-item:nth-child(3) {
    aspect-ratio: 4/3;
  }
}

@media (min-width: 992px) {
  .gallery-item {
    aspect-ratio: 2/3;
  }
  .gallery-item:nth-child(3) {
    aspect-ratio: 2/3;
  }
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

/* Volunteer Gallery Row */
.volunteer-gallery-row {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .volunteer-gallery-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.volunteer-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 2/3;
}

.volunteer-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

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

/* Collapsible Testimonies styles */
.testimony-text-wrapper {
  position: relative;
  max-height: 120px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.testimony-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--bg-secondary));
  pointer-events: none;
  transition: opacity 0.3s;
}
.btn-read-more {
  background: none;
  border: none;
  color: rgba(184, 179, 166, 0.5);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 8px 0;
  text-align: left;
  align-self: flex-start;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  transition: color var(--transition-fast);
}
.btn-read-more:hover {
  color: var(--text-primary);
}
.btn-read-more i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* Responsive Testimonies Grid */
.testimonies-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 56px;
  align-items: start;
}
@media (min-width: 768px) {
  .testimonies-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .testimonies-layout {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Height-Based Breakpoints for Small/Short Mobile Screens (e.g. iPhone SE, Safari Portrait Mode) */
@media (max-width: 430px) and (max-height: 760px) {
  .hero {
    padding-top: 60px;
    padding-bottom: 8px;
  }
  .hero-photo-container {
    height: calc(100dvh - 60px - 16px - env(safe-area-inset-bottom));
    min-height: 440px;
  }
  .hero-photo-overlay {
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }
  .tru-top {
    font-size: clamp(18px, 4.8vw, 25px);
    margin-bottom: 2px;
  }
  .tru-main {
    font-size: clamp(51px, 13.8vw, 74px);
    margin-bottom: 2px;
  }
  .tru-bottom {
    font-size: clamp(21px, 5.2vw, 28px);
  }
  .hero-overlay-bottom {
    gap: 8px;
  }
  .hero-details-list {
    padding: 6px 12px;
  }
  .hero-details-row {
    padding: 6px 0;
    gap: 8px;
  }
  .hero-details-text {
    font-size: 0.85rem;
  }
  .hero-ctas {
    gap: 6px;
  }
  .hero-ctas .btn {
    padding: 10px 8px;
    font-size: 0.82rem;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .hero {
    padding-top: 56px;
    padding-bottom: 6px;
  }
  .hero-photo-container {
    height: calc(100dvh - 56px - 12px - env(safe-area-inset-bottom));
    min-height: 400px;
  }
  .hero-photo-overlay {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  }
  .tru-top {
    font-size: clamp(16px, 4.6vw, 21px);
    margin-bottom: 2px;
  }
  .tru-main {
    font-size: clamp(44px, 17vw, 62px);
    margin-bottom: 2px;
  }
  .tru-bottom {
    font-size: clamp(18px, 4.8vw, 23px);
  }
  .hero-overlay-bottom {
    gap: 6px;
  }
  .hero-details-list {
    padding: 4px 10px;
  }
  .hero-details-row {
    padding: 4px 0;
  }
  .hero-details-text {
    font-size: 0.8rem;
  }
  .hero-ctas .btn {
    padding: 8px 6px;
    font-size: 0.78rem;
  }
}
