:root {
  --bg: #fcfaf7;
  --surface: #ffffff;
  --surface-alt: #f7f1f5;
  --ink: #2a2430;
  --muted: #645b67;
  --brand: #6b4a7a;
  --brand-deep: #32193f;
  --brand-soft: #efe6f3;
  --accent: #d46a7e;
  --line: #e7ddd2;
  --shadow: 0 18px 40px rgba(44, 24, 56, 0.09);
  --radius-lg: 28px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(233, 222, 240, 0.45), transparent 40%),
    linear-gradient(180deg, #fffdfb 0%, var(--bg) 100%);
  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.founder-photo {
  width: 100%;
  max-width: 440px;
  margin-top: 3rem;
}

h1, h2, h3, h4 {
  margin: 0 0 0.7rem;
  line-height: 1.1;
  font-family: 'Cormorant Garamond', serif;
  color: var(--brand-deep);
}

h1 {
  font-size: clamp(3rem, 5vw, 5.3rem);
}

h2 {
  font-size: clamp(2.1rem, 3.3vw, 3.3rem);
}

h3 {
  font-size: 1.7rem;
}

p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--muted);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(820px, 100%);
}

.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(252, 250, 247, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 221, 210, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 88px;
}

/* ============================= */
/* BRAND / LOGO AREA */
/* ============================= */

/* Container holding the logo and the text block */
.brand {
  display: flex;              /* Places logo and text side-by-side */
  align-items: flex-start;   /* align text block with top of logo */
  gap: 1.45rem;               /* Space between logo and title block */
  min-width: fit-content;     /* Prevents the logo/text from collapsing */
  flex-shrink: 0;             /* Prevents header nav from squeezing brand */
}

/* Logo image styling */
.brand img {
  width: 56px;                /* Fixed width so header height stays consistent */
  height: 56px;               /* Keeps logo square */
  object-fit: contain;        /* Ensures logo scales properly inside box */
}


/* ============================= */
/* TITLE + TAGLINE BLOCK */
/* ============================= */

/* Wrapper around "Daughter of a King" and tagline */
.brand-text {
  display: flex;              /* Allows vertical stacking of title + tagline */
  flex-direction: column;     /* Stack title above tagline */
  align-items: center;        /* Center tagline under the title */
  transform: translateY(2px);   /* subtle optical alignment adjustment */
  min-width: 0;               /* Prevents overflow issues in flex layouts */
}


/* ============================= */
/* MAIN TITLE */
/* ============================= */

/* "Daughter of a King" styling */
.brand-name {
  font-family: "Cormorant Garamond", serif; /* Elegant serif used across site */
  font-size: 1.8rem;                         /* Large enough to feel like a brand */
  font-weight: 600;                          /* Slightly bold for readability */
  letter-spacing: 0.02em;                    /* Subtle spacing for premium feel */
  color: var(--brand-deep);                  /* Primary dark purple brand color */
  text-align: center;                        /* Ensures title centers above tagline */
  white-space: nowrap;                       /* Prevents line break between words */
  line-height: 1.05;                         /* Tightens vertical spacing above tagline */
}


/* ============================= */
/* TAGLINE */
/* ============================= */

/* "Faith ✿ Hope ✿ Healing" line */
.brand-tag {
  font-size: 0.72rem;        /* Smaller than title to create hierarchy */
  letter-spacing: 0.09em;    /* Wide spacing for feminine / airy feel */
  color: var(--accent);      /* Soft pink accent color */
  margin-top: 1px;           /* Small gap between title and tagline */
  text-align: center;        /* Keeps tagline perfectly centered */
}


/* ============================= */
/* FLOWER SEPARATORS */
/* ============================= */

/* Decorative flower between Faith / Hope / Healing */
.flower {
  color: var(--brand-deep);  /* Uses dark purple to balance pink text */
  font-size: 0.75em;         /* Slightly smaller so flowers don't dominate */
  margin: 0 5px;             /* Horizontal spacing around flower */
  opacity: 0.65;             /* Softens decoration so text remains primary */
}

/* ============================= */
/* TOP NAVIGATION */
/* ============================= */

.site-nav {
  display: flex;            /* Places navigation links in a horizontal row */
  align-items: center;      /* Vertically centers links within nav container */
  gap: 1.1rem;              /* Space between navigation links */
  flex-wrap: nowrap;        /* Prevents nav items from wrapping to a second line */
}

.site-nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--muted);
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-deep);
  margin: 5px 0;
  border-radius: 999px;
}

.hero-section,
.page-hero {
  padding: 6.4rem 0 4.2rem;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lead,
.section-intro {
  font-size: 1.05rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy .lead {
  max-width: 700px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(79, 47, 97, 0.08);
  color: var(--brand);
  border: 1px solid rgba(79, 47, 97, 0.14);
}

.btn-full {
  width: 100%;
}

.hero-card,
.panel,
.card,
.cta-card,
.list-panel,
.soft-panel,
.accent-panel,
.mini-card {
  border-radius: var(--radius-lg);
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247, 241, 250, 0.96));
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(233, 222, 240, 0.9);
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 0.7;
  color: rgba(79, 47, 97, 0.18);
  margin-bottom: 1rem;
}

.quote-attribution {
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0;
}

.section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.section-tint {
  background: linear-gradient(180deg, rgba(233, 222, 240, 0.22), rgba(244, 238, 231, 0.68));
  border-top: 1px solid rgba(231, 221, 210, 0.55);
  border-bottom: 1px solid rgba(231, 221, 210, 0.55);
}

/* New purple section on index.html */

.section-purple {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 55%),
    linear-gradient(
      180deg,
      rgba(107, 74, 122, 0.85) 0%,
      var(--brand) 40%,
      var(--brand-deep) 100%
    );

  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.section-purple h2 {
  color: #ffffff;
}

.section-purple .section-label {
  color: var(--accent);
  text-shadow:
    0 1px 0 rgba(50, 25, 63, 0.6),
    0 2px 3px rgba(50, 25, 63, 0.35);
}

/* white text for intro text in the section */
.section-purple > .container > p {
  color: rgba(255,255,255,0.85);
}

/* cards stay white */
.section-purple .card {
  background: var(--surface);
  color: var(--ink);
}

/* restore normal text color inside cards */
.section-purple .card p {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 2rem;
}

/* End New purple section on index.html */

.cards {
  display: grid;
  gap: 1.35rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.panel,
.list-panel,
.soft-panel {
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(231, 221, 210, 0.82);
}

.card {
  padding: 1.65rem;
}

.card h2,
.card h3 {
  font-size: 1.9rem;
}

.split-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

/* Founder section */

.founder-photo {
  width: 100%;
  max-width: 405px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

/* improve vertical rhythm in founder text */

.split-grid.align-start h2 {
  margin-top: 0.35rem;
}

.split-grid.align-start p {
  margin-bottom: 1.1rem;
}

/* emphasize welcome lines */

.split-grid.align-start p strong {
  color: var(--brand-deep);
  font-weight: 600;
    display: block;
    margin-top: 1rem;
}

.align-start {
  align-items: start;
}

.list-panel,
.soft-panel,
.panel {
  padding: 1.8rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--muted);
  font-weight: 500;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
}

.compact li {
  font-weight: 600;
}

.accent-panel {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: rgba(255,255,255,0.9);
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(79, 47, 97, 0.25);
  border: 1px solid rgba(255,255,255,0.15);
}

.accent-panel h2,
.accent-panel p,
.accent-panel .text-link {
  color: #fff;
}

.accent-panel .section-label {
  color: var(--accent);
    text-shadow:
    0 1px 0 rgba(50, 25, 63, 0.6),
    0 2px 4px rgba(50, 25, 63, 0.35);
}

.light {
  color: rgba(255, 255, 255, 0.74);
}

.cta-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244, 238, 231, 0.96));
  box-shadow: var(--shadow);
  border: 1px solid rgba(231, 221, 210, 0.88);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
}

.text-link {
  color: var(--brand);
  font-weight: 700;
  display: inline-block;
  margin-top: 0.5rem;
}

.stacked-cards {
  display: grid;
  gap: 1rem;
}

.mini-card {
  background: var(--surface);
  border: 1px solid rgba(231, 221, 210, 0.78);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  color: var(--muted);
}

.site-footer {
  padding: 3.4rem 0;
  border-top: 1px solid rgba(231, 221, 210, 0.82);
  background: rgba(255,255,255,0.68);
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 0.8rem;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #747474;
}

.footer-bottom .footer-copyright {
  font-size: 0.7rem;
  color: #a9a1b0;
}

/* ======================================================
   CONTACT FORM STYLING
   Styles for the DOAK Ministries contact page form
   ====================================================== */


/* Form group spacing
   Controls spacing between each field block */
.contact-form .form-group{
  margin-bottom:1.5rem;
}


/* Form labels
   Ensures labels sit above inputs and are readable */
.contact-form label{
  display:block;
  margin-bottom:6px;
  font-weight:600;
}


/* Text inputs and textarea fields
   Ensures consistent width and spacing */
.contact-form input,
.contact-form textarea{
  width:100%;
  padding:12px;
  border:1px solid var(--line);
  border-radius:6px;
  font-family:inherit;
}


/* Textarea behavior
   Allows vertical resizing but prevents horizontal distortion */
.contact-form textarea{
  resize:vertical;
}

/* ======================================================
   CONTACT PAGE CONTEXT TEXT
   Support message above the form
   ====================================================== */

.contact-context{
  margin:0 auto 2rem auto;
  max-width:650px;
  line-height:1.7;
  color:#444;
  text-align:center; /* Center all text inside this block */
}

.contact-context p{
  margin-bottom:1rem;
}

.contact-reassurance{
  font-weight:600;
}

.contact-hotline{
  font-size:.95rem;
  color:#555;
}

/* ======================================================
   MEDIA START
   ====================================================== */

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(231, 221, 210, 0.95);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .split-grid,
  .cta-card,
  .footer-grid,
  .three-up {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 78px;
    position: relative;
  }
}

/* =========================================================
   MOBILE STYLES
   Applies to screens 720px and smaller
   This controls spacing, typography, and layout adjustments
   for phones so the site remains readable and balanced.
   ========================================================= */

@media (max-width: 720px) {

  /* -------------------------------------------------------
     HERO SECTION SPACING
     Reduce top/bottom padding so the hero fits better
     on small screens without excessive whitespace
  ------------------------------------------------------- */
  .hero-section,
  .page-hero {
    padding: 4.5rem 0 2.8rem;
  }


  /* -------------------------------------------------------
     STANDARD SECTION SPACING
     Slightly tighter than desktop to keep content flowing
  ------------------------------------------------------- */
  .section {
    padding: 3rem 0;
  }


  /* -------------------------------------------------------
     MAIN HERO TITLE (H1)
     Uses clamp so text scales nicely across phones
     Prevents text from becoming too large or too small
  ------------------------------------------------------- */
  h1 {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }


  /* -------------------------------------------------------
     SECONDARY HEADINGS (H2)
     Keeps visual hierarchy under the hero heading
  ------------------------------------------------------- */
  h2 {
    font-size: clamp(1.9rem, 7vw, 2.5rem);
  }


  /* -------------------------------------------------------
     BUTTONS
     Make buttons full width on mobile for easier tapping
     (standard mobile UX pattern)
  ------------------------------------------------------- */
  .btn,
  .btn-full {
    width: 100%;
  }


  /* -------------------------------------------------------
     HERO BUTTON STACKING
     Stack buttons vertically instead of side-by-side
     to prevent crowding on narrow screens
  ------------------------------------------------------- */
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }


  /* =======================================================
     HEADER / BRAND ADJUSTMENTS
     These tweaks improve the balance of the logo, title,
     and hamburger menu on phones.
     ======================================================= */


  /* -------------------------------------------------------
     LOGO SIZE
     Desktop uses ~56px which is large for phones.
     Reduce slightly so text and menu align better.
  ------------------------------------------------------- */
  .brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
  }

  /* -------------------------------------------------------
     BRAND CONTAINER
     Reduce space between logo and text for tighter layout
  ------------------------------------------------------- */
  .brand {
    display: flex;
    gap: 0.7rem;
    align-items: center;
  }

  /* -------------------------------------------------------
     SITE NAME
     Slightly smaller on phones to avoid wrapping
  ------------------------------------------------------- */
  .brand-name {
    font-size: 1.rem;
  }

  /* -------------------------------------------------------
     TAGLINE (Faith ✿ Hope ✿ Healing)
     Smaller and slightly tighter spacing for readability
  ------------------------------------------------------- */
  .brand-tag {
    font-size: 0.65rem;
    letter-spacing: 0.10em;
    margin-top: 2px;
    text-align: center;
  }

  /* -------------------------------------------------------
     BRAND TEXT STACKING
     Keeps title + tagline visually compact
  ------------------------------------------------------- */
  .brand-text {
    height: 44px;                /* match logo height */
    display: flex;
    flex-direction: column;
    justify-content: center;     /* center stack instead of stretching */
    line-height: 1.1;
    transform: none;            /* remove desktop optical offset */
  }


  /* -------------------------------------------------------
     CARD COMPONENT SPACING
     Reduce padding so cards feel proportional on phones
  ------------------------------------------------------- */
  .hero-card,
  .card,
  .panel,
  .cta-card,
  .list-panel,
  .soft-panel,
  .accent-panel {
    padding: 1.35rem;
  }

}

/* Contact page grid */

.contact-grid {
display:grid;
grid-template-columns:repeat(2,1fr);
gap:25px;
}

/* Equal height cards */

.contact-card {
display:flex;
flex-direction:column;
}

/* Push buttons to bottom */

.contact-card .btn {
margin-top:auto;
}

/* Button hover */

.btn {
transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
transform:translateY(-2px);
box-shadow:0 8px 18px rgba(0,0,0,.15);
}

/* Card hover */

.card {
transition:transform .25s ease, box-shadow .25s ease;
}

.card:hover {
transform:translateY(-4px);
box-shadow:0 14px 30px rgba(0,0,0,.15);
background:#fff9fb;
}

/* ============================= */
/* Contact Page Button Alignment */
/* ============================= */

/* Ensure buttons align at bottom of cards */
.contact-card {
display:flex;
flex-direction:column;
}

.contact-card .btn {
margin-top:auto;
}

/* Center button content */
.btn-full{
display:flex;
justify-content:center;
align-items:center;
text-align:center;
}

/* Smooth hover animation */
.btn{
transition:all .25s ease;
}

/* Button hover lift */
.btn:hover{
transform:translateY(-2px);
box-shadow:0 8px 18px rgba(0,0,0,.15);
}

/* Improve secondary button styling */
.btn-secondary{
background:#ece9ef;
color:#3c2447;
border:1px solid #e0d9e7;
}

/* Purple hover state */
.btn-secondary:hover{
background:#5b3a6d;
color:white;
border-color:#5b3a6d;
}

/* CONTACT PAGE CONTENT CENTERING */

.contact-card {
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
}

.contact-card h3,
.contact-card p,
.contact-card .section-label {
text-align:center;
max-width:90%;
}

.contact-card .btn{
margin-top:auto;
align-self:center;
}

/* Premium card hover effect */

.card {
transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
transform: translateY(-6px);
box-shadow: 0 22px 48px rgba(44, 24, 56, 0.18);
border-color: rgba(79, 47, 97, 0.35);
}

/* Contact card layout polish */

.contact-grid {
display:grid;
grid-template-columns:repeat(2,1fr);
gap:25px;
}

.contact-card {
display:flex;
flex-direction:column;
height:100%;
}

.contact-card p {
margin-bottom:1.2rem;
}

.contact-card .btn {
margin-top:auto;
}

/* Contact cards mobile layout */

@media (max-width: 768px) {

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

}

.section.section-tint {
padding-top: 80px;
padding-bottom: 100px;
}