/* ===========================
   Base / Reset
   =========================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333333;
  background-color: #ffffff;
}

a {
  color: #304CB2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

/* ===========================
   Header / Navigation
   =========================== */
.site-header {
  border-bottom: 1px solid #e5e5e5;
  background: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

/* Logo */
.logo-img,
.logo img {
  max-height: 76px;
  width: auto;
}

/* SDVOSB badge */
.sdvosb-badge {
  max-height: 120px;
  width: auto;
}

/* Main nav */
.main-nav a {
  margin-left: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a.active,
.main-nav a.nav-active {
  font-weight: 600;
  border-bottom: 2px solid #304CB2;
}

/* Tri-color bars (top + footer) */
.tri-bar,
.tri-bar-footer {
  height: 6px;
  background-image: linear-gradient(
    to right,
    #304CB2 0%, #304CB2 33%,
    #FFBF27 33%, #FFBF27 66%,
    #D5152E 66%, #D5152E 100%
  );
}

/* ===========================
   Home Hero
   =========================== */
.hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  overflow: hidden;
  background-color: #ffffff;
}

/* Subtle slanted background behind hero content */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/slant.png") center/cover no-repeat;
  opacity: 0.18;          /* softened so text stays readable */
  z-index: -1;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}

.hero-text {
  flex: 1 1 320px;
}

.hero-badge {
  flex: 0 0 260px;
  text-align: center;
}

.hero-badge img {
  max-width: 220px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #304CB2;
  font-weight: 600;
}

.hero h1 {
  margin: 0.5rem 0;
  font-size: 2.4rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.25rem 0 0.75rem;
}

.hero-body {
  max-width: 40rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Hero buttons */
.hero-actions .btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid #304CB2;
  margin-right: 0.75rem;
}

.btn.primary {
  background-color: #304CB2;
  color: #ffffff;
}

.btn.primary:hover {
  background-color: #22348a;
  text-decoration: none;
}

.btn.ghost {
  background-color: transparent;
  color: #304CB2;
}

.btn.ghost:hover {
  background-color: #f3f5ff;
  text-decoration: none;
}









/* ===========================
   Brand Slab Row (Home + Manifesto)
   =========================== */

.brand-slab-row {
  padding: 3rem 0;
}

.brand-row {
  display: flex;
  align-items: center;      /* vertically center text + image */
  gap: 2.5rem;
  flex-wrap: wrap;          /* wraps nicely on smaller screens */
}

/* Left column: text */
.brand-text {
  flex: 1 1 320px;
  max-width: 34rem;         /* keeps lines nicely readable */
}

.brand-text h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.brand-text p {
  margin: 0 0 0.75rem;
}

/* Right column: image */
.brand-image {
  flex: 0 0 auto;
}

.brand-slab-img {
  display: block;
  width: 100%;
  max-width: 520px;         /* your chosen size */
  margin: 0 auto;
  border-radius: 18px;      /* your chosen rounding */
  box-shadow: none;         /* clean, no frame */
}

/* Stack on mobile */
@media (max-width: 768px) {
  .brand-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-text {
    max-width: 100%;
  }

  .brand-image {
    width: 100%;
  }

  .brand-slab-img {
    max-width: 100%;
  }
}








/* Mission & Vision slant divider */
.mission-slab {
  width: 100%;
  height: 22px; /* <= adjust thickness here */
  background: url("../assets/slant.png") center/cover no-repeat;
  margin: 0.75rem 0 1.5rem; /* spacing above/below */
  border-radius: 6px;        /* optional softer corners */
}




.mission-slab::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: rgba(255,255,255,0.08);
}













/* Manifesto Page Hero */
.manifesto-hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.manifesto-hero-text {
  flex: 1 1 360px;
}

.manifesto-hero-image {
  flex: 0 0 auto;
}

.manifesto-hero-img {
  max-width: 460px;  
  width: 100%;
  border-radius: 18px;
}








/* ===========================
   Panels / Generic Card Grid
   =========================== */
.panel {
  padding: 3rem 0;
}

.panel.alt {
  background-color: #f8f9fb;
}

.panel h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.panel-intro {
  max-width: 40rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Generic grid helpers */
.grid {
  display: grid;
  gap: 1.5rem;
}

.four-cols {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.three-cols {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Generic card */
.card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e3e5ee;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

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

.panel-footer {
  margin-top: 2rem;
  font-size: 0.95rem;
}

/* ===========================
   Page-Level Layout (Subpages)
   =========================== */
.page-hero {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid #e0e4f0;
}

.hero-subpage {
  padding-bottom: 1.5rem;
}

.page-hero h1,
.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-intro {
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

/* Shared page section container */
.page-section {
  padding: 2.5rem 0 3rem;
}



/* SDVOSB hero visual section – tighter spacing */
.page-section.sdvosb-hero-visual {
  padding-top: 1rem;
  padding-bottom: 0.75rem;
}

/* Tighten the space above the SDVOSB content grid */
.page-section.sdvosb-hero-visual + .page-section {
  padding-top: 1rem;
}





/* ===========================
   Services Page
   =========================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.service-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #304CB2;
}

.service-block p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.service-block ul {
  padding-left: 1.1rem;
  margin: 0;
}

.service-block li {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

/* ===========================
   SDVOSB Layout Helpers
   =========================== */

/* Optional hero row with text + badge (if you use it) */
.sdvosb-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.sdvosb-hero-text {
  flex: 2;
}

.sdvosb-hero-badge {
  flex: 1;
  text-align: right;
}

.sdvosb-hero-badge img {
  max-width: 220px;
  height: auto;
}

/* Closing highlight row (text + badge) */
.sdvosb-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.sdvosb-highlight-text {
  flex: 1 1 260px;
}

.sdvosb-highlight-badge {
  flex: 0 0 auto;
  text-align: center;
}

/* Badge sizing (global) */
.sdvosb-badge {
  max-height: 140px;
  width: auto;
}

/* ===========================
   Mission & Vision Layout
   =========================== */
.mission-vision-layout {
  padding: 2.5rem 0 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.mission-vision-layout h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #304CB2;
}

/* Mission & Vision – slant bar band */
.mv-slab {
  padding: 1.75rem 0 0.5rem;
}

.mv-slab-img {
  display: block;
  width: 100%;
  max-width: 100px;   /* you can bump to 640px if you want it larger */
  margin: 0 auto;
  border-radius: 18px; /* matches the heart slab feel */
}




/* Closing line on Mission & Vision page */
.mv-closing {
  padding: 0 0 3rem;
}

.mv-closing p {
  font-size: 1.05rem;
  font-weight: 500;
}

/* ===========================
   Founder Page – Four Loves
   =========================== */
.founder-loves {
  margin-top: 1.5rem;
}

.founder-loves-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr)); /* 2 x 2 on desktop */
  gap: 2rem;
}

/* Base Love card styling */
.love-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 0.75rem;
  border: 1px solid #e3e5ee;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  overflow: hidden; /* keeps city image neatly clipped */
}

.love-card-body {
  padding: 1.4rem 1.5rem 1.1rem;
  min-height: 4.5rem;      /* helps equalize the text area */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.love-card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #304CB2;
}

.love-card-body p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Cityscape strip at the bottom of each card */
.love-card-city {
  height: 330px;                 /* your preference to show full cityscape */
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
}

/* City-specific backgrounds (css/ → ../assets/) */
.love-craft-city {
  background-image: url("../assets/austin.png");
}

.love-people-city {
  background-image: url("../assets/san_antonio.png");
}

.love-mission-city {
  background-image: url("../assets/dallas.png");
}

.love-progress-city {
  background-image: url("../assets/houston.png");
}

/* Subtle dark overlay for readability */
.love-card-city::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.18),
    rgba(0,0,0,0.02)
  );
}

/* ===========================
   Contact Page Layout
   =========================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-details h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #304CB2;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

.contact-list li {
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
}

.contact-note h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #304CB2;
}

.contact-note p {
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* ===========================
   Pull Quotes (Forged Glow)
   =========================== */

/* Main pull quote (e.g., “You are welcome here…” ) */
.pull-quote {
  position: relative;
  margin: 2.5rem auto;
  padding: 1.9rem 2.2rem;
  max-width: 720px;

  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
  text-align: center;

  color: #222222;
  border-radius: 8px;
  border: 4px solid #304CB2;  /* strong MoGhraOps blue frame */

  /* Soft “forged” wash inside the box */
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 191, 39, 0.14) 0%,   /* warm gold highlight */
      rgba(255, 191, 39, 0.00) 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(213, 21, 46, 0.10) 0%,    /* forge red */
      rgba(213, 21, 46, 0.00) 55%
    ),
    #ffffff;

  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

/* Optional helper if you ever need non-italic text in a pull quote */
.pull-quote-closing {
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 500;
}

/* Outer forged glow plate */
.pull-quote::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 12px;
  z-index: -1;
  box-shadow:
    0 0 18px rgba(48, 76, 178, 0.5),   /* blue halo */
    0 0 26px rgba(255, 191, 39, 0.45), /* gold heat */
    0 0 32px rgba(213, 21, 46, 0.55);  /* red forge */
}

/* Smaller pull quote (e.g., “You will find a heartfelt welcome here.”) */
.pull-quote-small {
  position: relative;
  margin: 2rem auto 2.5rem;
  padding: 1.5rem 2rem;
  max-width: 620px;

  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;

  color: #222222;
  border-radius: 8px;
  border: 3px solid #304CB2;

  background:
    radial-gradient(
      circle at top left,
      rgba(255, 191, 39, 0.15) 0%,
      rgba(255, 191, 39, 0.00) 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(213, 21, 46, 0.12) 0%,
      rgba(213, 21, 46, 0.00) 55%
    ),
    #ffffff;

  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}

/* Glow plate for small quote */
.pull-quote-small::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 12px;
  z-index: -1;
  box-shadow:
    0 0 14px rgba(48, 76, 178, 0.45),
    0 0 20px rgba(255, 191, 39, 0.40),
    0 0 26px rgba(213, 21, 46, 0.50);
}


.founder-signature {
  margin-top: 1.5rem;
  line-height: 1.4;
}

.sig-name {
  font-size: 1.1rem;
}

.sig-title,
.sig-company {
  font-size: 0.95rem;
  color: #444;
}


/* =====================
   SDVOSB PAGE STYLES
   ===================== */
.sdvosb-cta-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.sdvosb-cta-text {
  flex: 2 1 260px;
  min-width: 260px;
}

.sdvosb-cta-badge {
  flex: 0 0 auto;
}

/* SDVOSB hero visual */
.sdvosb-hero-visual-inner {
  text-align: center;
}

.sdvosb-hero-image {
  max-width: 320px;    /* tweak this if you want it larger/smaller */
  width: 100%;
  height: auto;
  display: inline-block;
}


/* ===========================
   Footer
   =========================== */
.site-footer {
  margin-top: 3rem;
  background-color: #ffffff;
  border-top: 1px solid #e5e5e5;
}

.footer-inner {
  padding: 1.5rem 0 2.25rem;
  text-align: center;
}

.footer-tagline {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.footer-meta {
  font-size: 0.85rem;
  color: #666666;
}

.footer-meta a {
  color: #304CB2;
}

.footer-meta a:hover {
  text-decoration: underline;
}

/* ===========================
   Heart Lockup (all pages)
   =========================== */
.contact-heart {
  padding: 2.5rem 0 1.75rem;
  text-align: center;
  background: transparent;
}

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

.heart-logo {
  max-width: 150px;
  width: 100%;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(213, 21, 46, 0.55));
  animation: heartPulse 5s ease-in-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect */
.heart-logo:hover {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 4px rgba(255, 191, 39, 0.85))   /* warm gold inner glow */
    drop-shadow(0 0 18px rgba(48, 76, 178, 0.75))   /* blue halo */
    drop-shadow(0 0 24px rgba(213, 21, 46, 0.9));   /* red outer forge */
}

/* Soft "breathing" glow using MoGhraOps colors */
@keyframes heartPulse {
  0% {
    filter: drop-shadow(0 0 6px rgba(213, 21, 46, 0.45));
  }
  35% {
    filter:
      drop-shadow(0 0 10px rgba(255, 191, 39, 0.65))
      drop-shadow(0 0 16px rgba(213, 21, 46, 0.6));
  }
  70% {
    filter:
      drop-shadow(0 0 14px rgba(48, 76, 178, 0.75))
      drop-shadow(0 0 20px rgba(213, 21, 46, 0.75));
  }
  100% {
    filter: drop-shadow(0 0 6px rgba(213, 21, 46, 0.45));
  }
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    margin-top: 0.5rem;
  }

  .main-nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-badge {
    margin-top: 1rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .heart-logo {
    max-width: 130px;  /* slightly smaller on mobile */
  }

  .founder-loves-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .sdvosb-hero,
  .sdvosb-highlight {
    flex-direction: column;
    align-items: flex-start;
  }

  .sdvosb-hero-badge,
  .sdvosb-highlight-badge {
    text-align: left;
  }
}
