:root {
  /* Exact Crest Palette */
  --crest-maroon: #8B1E2D;
  --crest-maroon-dark: #6E1420;
  --crest-blue: #0284C7;
  --crest-blue-dark: #0369A1;
  --crest-gold: #D4A017;
  --crest-gold-bright: #FACC15;
  --bg-light: #F8FAFC;
  --surface: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --radius: 12px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header {
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--crest-maroon);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-motto {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--crest-blue-dark);
  letter-spacing: 0.06em;
  margin-top: 3px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--crest-maroon);
}

.btn-primary {
  background-color: var(--crest-maroon);
  color: #ffffff !important;
  padding: 0.7rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(139, 30, 45, 0.25);
}

.btn-primary:hover {
  background-color: var(--crest-maroon-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid var(--crest-gold-bright);
  color: #ffffff !important;
  padding: 0.7rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, var(--crest-maroon) 0%, #4A0E17 100%);
  color: white;
  text-align: center;
  padding: 5rem 1rem;
}

.hero-crest-preview {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.hero-tag {
  background: var(--crest-gold);
  color: #1E293B;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  color: #F1F5F9;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 650px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scripture Philosophy Banner */
.scripture-banner {
  background: var(--crest-gold);
  color: #1E293B;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-bottom: 3px solid var(--crest-maroon);
}

.scripture-banner blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
  max-width: 850px;
  margin: 0 auto 0.5rem;
}

.scripture-banner cite {
  font-size: 0.95rem;
  font-weight: 700;
  font-style: normal;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--crest-maroon);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* 10 Core Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--crest-blue);
  padding: 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
}

.value-card:hover {
  transform: translateY(-3px);
  border-left-color: var(--crest-maroon);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Two Column Layout */
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--crest-maroon);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.75rem;
}

.info-card ul {
  list-style: none;
}

.info-card li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}

.info-card li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--crest-blue);
  font-size: 1rem;
}

/* Contact Form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--crest-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.hp-field {
  display: none !important;
}

/* Footer */
footer {
  background: var(--crest-maroon-dark);
  color: #E2E8F0;
  border-top: 4px solid var(--crest-gold);
  margin-top: auto;
  padding: 3.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-brand-wrap img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  padding: 2px;
}

.footer-col h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.footer-col a {
  color: var(--crest-gold-bright);
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #CBD5E1;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--crest-maroon);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  nav ul.show {
    display: flex;
  }
}