/* -----------------------------------------------------------
   DB MINISTRIES — CLEAN, CONSOLIDATED, PRODUCTION-READY CSS
   (Deep overhaul of original file)
   ----------------------------------------------------------- */

/* -----------------------------------------------------------
   DESIGN TOKENS
----------------------------------------------------------- */
:root {
  /* BRAND COLORS */
  --green-1: #0b3d2e;
  --green-2: #083428;

  --gold-1: #d4af37;
  --gold-2: #f0d38a;

  --bg: #f7f7f5;
  --text: #0d1b18;

  /* EFFECTS */
  --glass: rgba(0, 0, 0, 0.35);
  --glass-light: rgba(0, 0, 0, 0.25);
  --glass-dark: rgba(0, 0, 0, 0.45);

  /* RADII */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* SPACING */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;

  /* TYPE */
  --h-font: Georgia, "Times New Roman", serif;
  --b-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* WIDTH */
  --max-width: 1100px;
}
/* -----------------------------------------------------------
   COMPONENT SYSTEM (Step 2)
   Reusable, modular classes that standardize UI patterns
----------------------------------------------------------- */

/* ===========================
   LAYOUT COMPONENTS
=========================== */

/* Page-width wrapper */
.component-container {
  width: calc(100% - 32px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px;
}

/* Standard vertical space sections */
.component-section {
  padding: var(--space-xl) 0;
}

/* Section modifier: dark green panel */
.component-section--dark {
  background: rgba(11,61,46,.92);
}

/* Section modifier: glass panel */
.component-section--glass {
  background: var(--glass);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.18);
  padding: 24px 22px;
}



/* ===========================
   TYPOGRAPHIC BLOCKS
=========================== */

.component-title {
  font-family: var(--h-font);
  color: #fff;
  letter-spacing: 0.5px;
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.component-subtitle {
  color: #e6e6e6;
  margin-bottom: var(--space-md);
  max-width: 600px;
}



/* ===========================
   CARD SYSTEM
=========================== */

/* Base reusable card */
.component-card {
  background: var(--glass);
  padding: 20px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.18);
  color: #f5f5f5;
}

/* Light-glass card */
.component-card--light {
  background: var(--glass-light);
}

/* Event / Feature card */
.component-card--feature {
  padding: 18px;
  background: var(--glass);
  border-radius: var(--r-md);
}

/* Sidebar / Compact card */
.component-card--compact {
  padding: 20px 18px;
  background: rgba(0,0,0,.4);
  border: 1px dashed rgba(255,255,255,.6);
  border-radius: var(--r-md);
}

/* Visit / Giving / Inner-section card */
.component-card--inner {
  background: var(--glass);
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.18);
}



/* ===========================
   VIDEO COMPONENT
=========================== */

.component-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.component-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



/* ===========================
   SCRIPTURE BLOCK
=========================== */

.component-scripture {
  background: rgba(0,0,0,.3);
  padding: 18px;
  border-radius: var(--r-md);
  border-left: 4px solid var(--gold-1);
  font-style: italic;
  color: #fff;
  max-width: 700px;
  margin: var(--space-md) auto;
}

.component-scripture span {
  display: block;
  margin-top: 6px;
  font-size: .85rem;
  color: var(--gold-2);
  letter-spacing: .1em;
  text-transform: uppercase;
}



/* ===========================
   HERO SYSTEM
=========================== */

.component-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: 72px 0 56px;
}

.component-hero-content {
  background: rgba(11,61,46,.88);
  border: 2px solid rgba(212,175,55,.35);
  padding: 32px 28px;
  border-radius: var(--r-lg);
  box-shadow: 0 18px 40px rgba(0,0,0,.6);
  max-width: 620px;
}

.component-hero-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  color: var(--gold-2);
  margin-bottom: 6px;
}



/* ===========================
   PASTOR IMAGE / PORTRAIT
=========================== */

.component-portrait {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
}

.component-portrait-frame {
  position: relative;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(212,175,55,.9), rgba(11,61,46,.9));
  box-shadow: 0 20px 50px rgba(0,0,0,.8);
  animation: float-slow 6s ease-in-out infinite;
  will-change: transform;
}

.component-portrait-frame img {
  max-width: 260px;
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,.6);
}


/* ===========================
   SHARE BLOCK
=========================== */

.component-share {
  text-align: center;
  margin-top: var(--space-lg);
}

.component-share a {
  margin: 0 8px;
  color: var(--gold-2);
  font-weight: bold;
}



/* ===========================
   NAVIGATION BLOCKS
=========================== */

.component-nav {
  margin-top: var(--space-lg);
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}



/* ===========================
   MODAL COMPONENT
=========================== */

.component-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.component-modal-content {
  background: rgba(11,61,46,.95);
  padding: 28px;
  border-radius: var(--r-lg);
  border: 2px solid var(--gold-1);
  width: 90%;
  max-width: 480px;
  color: #fff;
  position: relative;
  text-align: center;
}

.component-modal-content.modal-content--large {
  max-width: 700px;
  max-height: 98vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
}

.prayer-form-wrapper {
  width: 100%;
  height: auto;
  min-height: 750px;
  overflow: visible;
  margin-top: 10px;
}

.prayer-form-wrapper iframe {
  width: 100%;
  height: 750px;
  border: none;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .component-modal-content.modal-content--large {
    width: 95%;
    max-height: 95vh;
    padding: 20px;
  }
  
  .prayer-form-wrapper {
    height: 80vh;
    min-height: 600px;
  }
}

.component-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--gold-1);
}


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

html, body { height: 100%; }

body {
  font-family: var(--b-font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* -----------------------------------------------------------
   BACKGROUND VIDEO + OVERLAY
----------------------------------------------------------- */
#bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,.45), rgba(0,0,0,.7));
  z-index: -1;
}

/* -----------------------------------------------------------
   LAYOUT CONTAINERS
----------------------------------------------------------- */
.container {
  width: calc(100% - 32px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px;
}

.page-main {
  padding-top: 0;
}

.section {
  padding: var(--space-xl) 0;
}

.section-sub {
  color: #e6e6e6;
  max-width: 600px;
  margin-bottom: var(--space-md);
}

/* -----------------------------------------------------------
   TYPOGRAPHY
----------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--h-font);
  color: #fff;
  letter-spacing: 0.5px;
}

p, li, a {
  font-size: 0.98rem;
}

a { color: var(--gold-2); }
a:hover { color: #fff; }

.inline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/* ===========================
   MEMBERS GRID
   Basic, responsive grid + card styles for `#members`
=========================== */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.member-card {
  text-align: center;
  padding: 18px;
  background: linear-gradient(180deg, rgba(11,61,46,.7), rgba(11,61,46,.6));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
}

.member-photo {
  width: 120px;
  height: 160px;
  margin: 0 auto 12px;
  border-radius: 999px;
  overflow: hidden;
  display: block;
  border: 3px solid var(--gold-1);
  box-shadow: 0 8px 20px rgba(0,0,0,.6);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-role {
  color: var(--gold-2);
  margin-top: 6px;
  font-size: 0.95rem;
}

.member-note {
  color: #e6e6e6;
  margin-top: var(--space-md);
  text-align: center;
}

/* -----------------------------------------------------------
   BUTTONS
----------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn.primary {
  background: var(--gold-1);
  color: var(--green-1);
  border-color: var(--gold-2);
}
.btn.primary:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--gold-2);
  border-color: rgba(240,211,138,.7);
}
.btn.ghost:hover {
  background: rgba(0,0,0,.25);
  transform: translateY(-2px);
}

.btn.small { padding: 8px 18px; font-size: .9rem; }
.btn.large { padding: 14px 32px; font-size: 1rem; }

/* -----------------------------------------------------------
   HEADER / NAV
----------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: linear-gradient(90deg, var(--green-1), var(--green-2));
  color: var(--gold-1);
  border-bottom: 4px solid rgba(212,175,55,.25);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.mobile-header-spacer {
  display: block;
  height: 100px;
}

@media (max-width: 768px) {
  .mobile-header-spacer {
    height: 80px;
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
}
/* FORCE IMAGE TO THE LEFT OF TEXT IN HEADER */
.brand-with-logo {
  display: flex;
  flex-direction: row;      /* Image first, text second */
  align-items: center;
  gap: 12px;                /* Space between seal and text */
}

.brand-link {
  display: flex;
  flex-direction: row;      /* Ensures seal stays on left */
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  order: -1;                /* GUARANTEE seal always appears first */
  width: 58px;
  height: auto;
}


.brand-with-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 58px;
  height: auto;
  display: block;
}


.brand {
  font-family: "The Nautigal", cursive;
  font-weight: 700;
  font-size: 3.4rem;
}
.brand a {
  text-decoration: none;
  color: var(--gold-1);
}

.header-social {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-right: 20px;
}

.header-social a {
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.header-social img {
  display: block;
}

.hamburger-toggle {
  display: block;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(240,211,138,.6);
  color: var(--gold-1);
  font-size: 1.8rem;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.25s ease;
}

.hamburger-toggle:hover {
  background: var(--gold-1);
  color: var(--green-1);
}

.main-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: absolute;
  top: 60px;
  right: 0;
  background: rgba(11,61,46,.98);
  padding: 16px;
  border-radius: 8px;
  border: 2px solid rgba(240,211,138,.6);
  z-index: 1000;
}

.main-nav.hidden {
  display: none;
}

.main-nav a {
  padding: 8px 14px;
  background: rgba(0,0,0,.25);
  border-radius: 999px;
  border: 1px solid rgba(240,211,138,.6);
  text-transform: uppercase;
  font-size: .85rem;
  font-weight: 600;
  transition: 0.25s ease;
}

.main-nav a:hover {
  background: var(--gold-1);
  color: var(--green-1);
  transform: translateY(-2px);
}

.nav-give {
  background: var(--gold-1);
  color: var(--green-1);
}
.nav-give:hover { background: #fff; }

/* -----------------------------------------------------------
   CTA BANNER
----------------------------------------------------------- */
.cta-banner {
  background: var(--gold-1);
  width: 100%;
  padding: 32px 0 16px 0;
  position: relative;
  z-index: 50;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.cta-banner-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.cta-btn {
  background: #0e5641;
  color: #ffffff;
  padding: 14px 32px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translateY(-2px) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.05);
  }
}

@media (max-width: 768px) {
  .cta-banner-inner {
    flex-direction: column;
    gap: 16px;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* -----------------------------------------------------------
   HERO
----------------------------------------------------------- */
.hero { padding: 20px 0 56px; }

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  background: rgba(11,61,46,.88);
  border: 2px solid rgba(212,175,55,.35);
  padding: 32px 28px;
  border-radius: var(--r-lg);
  box-shadow: 0 18px 40px rgba(0,0,0,.6);
  max-width: 620px;
}

.hero-content {
    position: relative;
    text-align: center;
}

.hero-seal-centered {
    width: 340px;     /* Bigger size */
    height: auto;
    display: block;
    margin: 0 auto 16px auto; /* Center + spacing below */
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.55));
}



.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  color: var(--gold-2);
  margin-bottom: 6px;
}

.hero-logo {
  width: 80px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.hero-sub {
  color: #f6f6f6;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

/* -----------------------------------------------------------
   PASTOR IMAGE
----------------------------------------------------------- */
.pastor-picture {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
}

.pastor-frame {
  position: relative;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(212,175,55,.9), rgba(11,61,46,.9));
  box-shadow: 0 20px 50px rgba(0,0,0,.8);
  animation: float-slow 6s ease-in-out infinite;
  will-change: transform;
}

.pastor-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.35);
}

.pastor-frame img {
  max-width: 260px;
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,.6);
}

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

/* -----------------------------------------------------------
   ABOUT
----------------------------------------------------------- */
.about { background: rgba(11,61,46,.92); }

.section-grid {
  display: grid;
  gap: 24px;
}

.main-content {
  background: var(--glass-light);
  padding: 24px 22px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.12);
  color: #f5f5f5;
}

.main-content p { margin-bottom: 12px; }

.scripture {
  background: rgba(0,0,0,.3);
  padding: 14px 16px;
  font-size: 1rem;
  font-style: italic;
  border-left: 4px solid var(--gold-1);
  margin-bottom: 16px;
}

.scripture-ref {
  display: block;
  margin-top: 4px;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* -----------------------------------------------------------
   SIDEBAR
----------------------------------------------------------- */
.sidebar {
  background: rgba(0,0,0,.4);
  padding: 20px 18px;
  border-radius: var(--r-md);
  border: 1px dashed rgba(255,255,255,.6);
  color: #f5f5f5;
}

.sidebar h3 { margin-bottom: 10px; }

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

.sidebar-links li + li { margin-top: 6px; }

/* -----------------------------------------------------------
   MEDIA HIGHLIGHT
----------------------------------------------------------- */
.media-highlight {
  background: rgba(8,52,40,.9);
}

.media-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.media-thumb { display: flex; }

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-body {
  background: var(--glass);
  padding: 20px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.18);
  color: #f5f5f5;
}

.media-body p { margin-bottom: 14px; }

/* -----------------------------------------------------------
   EVENTS
----------------------------------------------------------- */
.events { background: rgba(11,61,46,.92); }

.feature-grid {
  display: grid;
  gap: 18px;
}

.feature-card {
  background: var(--glass);
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.16);
  color: #f5f5f5;
}

/* -----------------------------------------------------------
   VISIT
----------------------------------------------------------- */
.visit-cta { background: rgba(8,52,40,.94); }

.visit-inner {
  background: var(--glass);
  padding: 24px 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.18);
  color: #f5f5f5;
}

.visit-details {
  list-style: none;
  margin: 16px 0 18px;
}

.visit-details li + li { margin-top: 6px; }

/* -----------------------------------------------------------
   PRAYER
----------------------------------------------------------- */
.prayer { background: rgba(11,61,46,.9); }
.prayer-note { margin-bottom: 12px; color: #f0f0f0; }

/* -----------------------------------------------------------
   GIVING
----------------------------------------------------------- */
.give { background: rgba(8,52,40,.96); }

.give-inner {
  background: var(--glass);
  padding: 24px 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.2);
  color: #f5f5f5;
}

.give-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* -----------------------------------------------------------
   GIVING MODAL
----------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: rgba(11,61,46,.95);
  border-radius: var(--r-lg);
  border: 2px solid var(--gold-1);
  padding: 28px;
  width: 90%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  text-align: center;
  color: #fff;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gold-1);
}

.giving-method {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.18);
}

/* Bio modal styles */
.bio-content {
  text-align: left;
  margin-top: 20px;
}

.bio-content p {
  text-indent: 2em;
  margin-bottom: 16px;
}

/* -----------------------------------------------------------
   WATCH PAGE
----------------------------------------------------------- */
.sermon-title {
  text-align: center;
  color: #fff;
  margin-top: 22px;
  font-size: 2rem;
}

.sermon-meta {
  text-align: center;
  color: var(--gold-2);
  margin-top: 6px;
}

.sermon-scripture {
  margin: 24px auto;
  max-width: 620px;
  background: var(--glass);
  padding: 18px;
  border-radius: var(--r-md);
  border-left: 4px solid var(--gold-1);
  font-style: italic;
  color: #fff;
}

.sermon-description {
  max-width: 700px;
  margin: 18px auto;
  text-align: center;
  color: #fff;
}

.share-buttons {
  margin-top: 26px;
  text-align: center;
}
.share-link {
  color: var(--gold-2);
  margin: 0 8px;
  font-weight: bold;
}
.share-link:hover { text-decoration: underline; }

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */
.site-footer {
  padding: 18px 0;
  background: linear-gradient(90deg, var(--green-1), var(--green-2));
  border-top: 4px solid rgba(212,175,55,.25);
  color: var(--gold-1);
}

/* Footer inner layout: logo left, text to the right */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.footer-content {
  text-align: left;
}

.footer-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
}

.footer-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.footer-sub a {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.footer-sub a:hover {
  opacity: 0.7;
}

.footer-sub img {
  display: block;
}

/* -----------------------------------------------------------
   RESPONSIVE BREAKPOINTS
----------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-flex {
    flex-direction: column-reverse;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .brand { font-size: 2.8rem; }
  
  .hamburger-toggle {
    position: absolute;
    top: 10px;
    right: 0;
  }
  
  .main-nav {
    width: 100%;
    flex-direction: column;
    position: static;
    margin-top: 10px;
  }

  .media-card { grid-template-columns: 1fr; }

  .visit-inner,
  .give-inner,
  .main-content,
  .sidebar,
  .media-body { padding: 18px 16px; }
}

@media (max-width: 520px) {
  .page-main { padding-top: 112px; }
  .hero { padding-top: 52px; }
  .hero-content { padding: 24px 20px; }
  .hero h1 { font-size: 2.05rem; }
  .footer-inner { flex-direction: column; gap: 10px; }
  .footer-content { text-align: center; }
}
/* CONTACT FORM GRID — TWO COLUMN LAYOUT */
.contact-form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25);
  color: #fff;
  margin-top: 6px;
  font-size: 1rem;
}

.contact-input:focus {
  outline: none;
  border-color: var(--gold-1);
  background: rgba(0,0,0,.35);
}

/* RESPONSIVE — STACK COLUMNS ON SMALL SCREENS */
@media (max-width: 720px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

/* CONTACT PAGE IMAGES */
.contact-flex-container {
  display: flex;
  gap: 24px;
  align-items: center;
}

.contact-image {
  border: 3px solid var(--gold-1);
  transition: all 0.3s ease;
}

.contact-image:hover {
  box-shadow: 0 0 20px var(--gold-1), 0 8px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-flex-container {
    flex-direction: column;
  }
  
  .contact-image {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  
  h1, h2 {
    text-align: center;
  }
  
  .header-social {
    justify-content: center;
    width: 100%;
  }
  
  .brand {
    font-size: 1.2rem;
    max-width: calc(100vw - 140px);
    white-space: nowrap;
    overflow: hidden;
  }
  
  .brand h1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .brand-logo {
    width: 30px;
    flex-shrink: 0;
  }
  
  .brand-with-logo {
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
  }
  
  .hamburger-toggle {
    flex-shrink: 0;
  }
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
