/* ============================
   OUR STORY PAGE (below hero)
   ============================ */

:root{
  --brand:#12095d;
  --brand-soft:#ecebff;
  --accent:#fbbf24;
  --ink:#111827;
  --muted:#6b7280;
  --card:#ffffff;
  --bg:#f9fafb;
}

*{
  box-sizing:border-box;
}

body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--ink);
  background:#fff;
}

/* ---------- HERO (banner) – keep simple ---------- */
.hero{
  background:#ffffff url('../images/hero-bg-pattern.svg') center/cover no-repeat;
  color:#0d2c55;
  text-align:center;
  padding: clamp(56px, 7vw, 96px) 16px 52px;
}

.headline-hero{
  font-size:clamp(28px, 4.6vw, 40px);
  font-weight:800;
  margin-bottom:10px;
}

.desc-hero{
  font-size:clamp(14px, 1.6vw, 18px);
  max-width:60ch;
  margin:0 auto 18px;
  color:#334155;
}

.btn{
  background:var(--brand);
  color:#fff;
  display:inline-block;
  padding:11px 20px;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
  font-size:15px;
  border:none;
  cursor:pointer;
  transition:background .25s ease, transform .15s ease, box-shadow .15s ease;
}

.btn:hover{
  background:#0b0673;
  transform:translateY(-1px);
  box-shadow:0 10px 25px rgba(15,23,42,0.18);
}

.btn:focus-visible{
  outline:3px solid #c4b5fd;
  outline-offset:3px;
}

/* =====================================
   OUR STORY SECTIONS
   ===================================== */

.our-story{
  padding: clamp(40px, 6vw, 72px) 16px 48px;
  background:#ffffff;
}

.our-story > h2{
  text-align:center;
  font-size:clamp(26px, 3.2vw, 34px);
  color:var(--brand);
  font-weight:800;
  letter-spacing:.02em;
  margin-bottom:10px;
}

.our-story > h2::after{
  content:"";
  display:block;
  margin:10px auto 0;
  width:70px;
  height:3px;
  border-radius:999px;
  background:var(--brand); /* flat color */
}

/* story content rows */
.our-story .section{
  max-width:1100px;
  margin: clamp(26px, 4vw, 40px) auto;
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  align-items:center;
  text-align:left;
  padding:24px 18px;
  border-radius:18px;
  background:var(--card);
  box-shadow:0 16px 40px rgba(15,23,42,0.07);
}

.our-story .section .text{
  max-width:700px;
  line-height:1.8;
  color:var(--muted);
  font-size:16.5px;
}

.our-story .section .text p + p{
  margin-top:10px;
}

.our-story .section img{
  width:100%;
  max-width:480px;
  border-radius:16px;
  object-fit:cover;
  aspect-ratio:4/3;
  box-shadow:0 14px 30px rgba(15,23,42,0.12);
}

/* tablet / desktop layout */
@media (min-width: 880px){
  .our-story .section{
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    padding:32px 32px;
    gap:32px;
  }

  /* keep your intentional left/right alternation */
  .our-story .section:nth-of-type(odd) img{ order:1; }
  .our-story .section:nth-of-type(odd) .text{ order:2; }

  .our-story .section:nth-of-type(even) .text{ order:1; }
  .our-story .section:nth-of-type(even) img{ order:2; }
}

/* small screens – center text nicely */
@media (max-width: 879px){
  .our-story .section{
    text-align:center;
  }
  .our-story .section .text{
    text-align:left;
    margin:0 auto;
  }
}

/* =====================================
   BELIEFS STRIP
   ===================================== */

.beliefs-wrapper{
  background:#f3f4ff;          /* flat light background */
  padding: clamp(40px, 5vw, 56px) 16px;
}

.beliefs{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap:20px;
}

.beliefs .belief{
  background:var(--card);
  border-radius:18px;
  padding:22px 20px 20px;
  box-shadow:0 10px 30px rgba(15,23,42,0.06);
  text-align:center;
  transition:transform .2s ease, box-shadow .2s ease, border .2s ease;
  border:1px solid rgba(148,163,184,0.18);
}

.beliefs .belief:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(15,23,42,0.12);
  border-color:#c4b5fd;
}

.belief i{
  width:44px;
  height:44px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  margin-bottom:12px;
  color:#fff;
  background:var(--brand);   /* flat brand color */
}

.belief h4{
  font-size:17px;
  font-weight:700;
  color:var(--brand);
  margin-bottom:6px;
}

.belief p{
  font-size:14.5px;
  color:var(--muted);
  line-height:1.6;
}

/* =====================================
   CTA BANNER – Softer card style
   ===================================== */

.cta-banner-wrapper{
  background:#ffffff; /* soft neutral that matches the rest of the site */
  padding: clamp(40px, 6vw, 64px) 16px 56px;
  margin-bottom: 50px;
}

.cta-section-alt{
  max-width:1200px;
  margin:0 auto;
  padding:32px 24px;
  background:#ffffff;                 /* white card */
  border-radius:24px;
  box-shadow:0 18px 45px rgba(15,23,42,0.08);
  border:1px solid rgba(148,163,184,0.25);
  display:grid;
  grid-template-columns:1fr;
  gap:26px;
  align-items:center;
  position:relative;
  overflow:hidden;
}

/* subtle accent strip on the left edge of the card */
.cta-section-alt::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:4px;
  border-radius:999px;
  background:#12095d; /* brand color, flat */
}

/* CONTENT */
.cta-section-alt .cta-text{
  text-align:left;
  padding-left:10px; /* room away from accent strip */
}

.cta-section-alt h3{
  font-size:clamp(24px, 3vw, 30px);
  font-weight:800;
  margin-bottom:6px;
  color:#12095d;
}

.cta-section-alt p{
  font-size:16px;
  line-height:1.7;
  max-width:60ch;
  color:#4b5563;
  margin-bottom:18px;
}

.cta-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* flattened buttons but still warm & inviting */
.cta-buttons .btn{
  background:#fbbf24;      /* warm yellow accent */
  color:#1f2937;
  font-size:15px;
  padding:11px 22px;
  border-radius:999px;
  box-shadow:none;
}

.cta-buttons .btn:hover{
  background:#facc15;
  color:#111827;
}

/* IMAGE SIDE */
.cta-section-alt .cta-image{
  display:flex;
  justify-content:center;
}

.cta-section-alt .cta-image img{
  width:100%;
  max-width:380px;
  aspect-ratio:4/3;
  border-radius:20px;
  object-fit:cover;
  box-shadow:0 18px 40px rgba(15,23,42,0.18);
}

/* desktop side-by-side */
@media (min-width: 900px){
  .cta-section-alt{
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap:32px;
    padding:36px 32px;
  }
}

/* center text/buttons on small screens */
@media (max-width: 899px){
  .cta-section-alt,
  .cta-section-alt .cta-text{
    text-align:center;
  }
  .cta-section-alt .cta-text{
    padding-left:0;
  }
  .cta-buttons{
    justify-content:center;
  }

  .cta-section-alt::before{
    /* on mobile, use a small top bar instead of a left strip */
    top:0;
    bottom:auto;
    left:18px;
    right:18px;
    height:3px;
    width:auto;
    border-radius:999px;
  }
}


/* =====================================
   BACK TO TOP BUTTON
   ===================================== */

#backToTop{
  position:fixed;
  right:22px;
  bottom:24px;
  width:46px;
  height:46px;
  border-radius:999px;
  border:none;
  background:rgba(18,9,93,0.86);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  cursor:pointer;
  z-index:999;
  box-shadow:0 18px 40px rgba(15,23,42,0.35);
  opacity:0;
  visibility:hidden;
  transform:translateY(14px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease, transform .1s ease-out;
  pointer-events:none;
}

#backToTop.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  pointer-events:auto;
}

#backToTop:hover{
  background:#0b0673;
  transform:translateY(-1px) scale(1.03);
}
