/* =============================
   EXPLAINER & ANIMATION – CLEAN PAGE CSS
   Navbar & Footer styles REMOVED (now global)
============================= */
:root {
  --primary: #1E3F5C;
  --primary-light: #37A2B5;
  --secondary: #1E3F5C;
  --secondary-dark: #0b233e;
  --text-dark: #111827;
  --text-light: #f1f2f5;
  --text-muted: #64748b;
  --bg-light: #f5f8fb;
  --border: #e5e8ed;
  --shadow: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .12);
  --transition: all .3s ease;
  --radius: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Unified Typography – Lato for headings, Inter for body */
h1, h2, h3, h4, h5, h6,
.section-title, .hero-type, .back-body h3, .front-body h3,
.text h3, .cta h2 {
  font-family: 'Lato', sans-serif !important;
  font-weight: 900;
  letter-spacing: 0.4px;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.2rem); }
h2.section-title, h2 { font-size: clamp(2.1rem, 5.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3.8vw, 1.5rem); }

p, li, .bullets li {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.6vw, 1.1rem);
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ============================= HERO ============================= */
.hero {
  position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center;
  padding: 0 6vw; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.35) 100%);
  z-index: -1;
}
.hero-inner { max-width: 960px; color: #f7f8fa; }
.type-glow {
  color:#031a58  !important;  /* ← change to your desired color */
  text-shadow: none;
  background: none;
  -webkit-background-clip: unset;
}


/* ============================= SECTIONS ============================= */
.section { padding: 70px 6vw; }
.section-title { text-align: center; margin-bottom: 50px; color: #0f172a; }

.cards-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px;
  max-width: var(--max); margin: 0 auto;
}
@media (max-width: 820px) { .cards-grid { grid-template-columns: 1fr; } }

/* ============================= FLIP CARDS ============================= */
.flip-card { perspective: 1100px; }
.flip-inner {
  position: relative; width: 100%; height: 380px; border-radius: var(--radius);
  transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1);
  box-shadow: var(--shadow-lg); background: #fff;
}
@media (max-width: 820px) { .flip-inner { height: 340px; } }
@media (max-width: 520px) { .flip-inner { height: 320px; } }

.flip-card:hover .flip-inner { transform: rotateY(180deg); }
.flip-face { 
  position: absolute; inset: 0; display: flex; flex-direction: column; 
  border-radius: var(--radius); backface-visibility: hidden; overflow: hidden; 
}
.flip-front img { width: 100%; height: 58%; object-fit: cover; }
.front-body { padding: 16px 18px; }
.front-body h3 { margin: 4px 0 6px; color: #0f172a; }
.front-body p { color: #566176; }

.flip-back { background: #0f172a; color: #f9fafb; transform: rotateY(180deg); }
.back-body { padding: 20px; }
.back-body h3 { margin: 4px 0 10px; }
.back-body p { margin: 0 0 10px; color: #e5e7eb; }
.bullets { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.bullets li { position: relative; padding-left: 20px; color: #e8eef7; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,#fff 0 35%,transparent 38%), linear-gradient(135deg,#06b6d4,#37a2b5);
  box-shadow: 0 2px 8px rgba(3,105,161,.28);
}

/* ============================= SHOWCASE ============================= */
.showcase-section { background: #fff; border-top: 1px solid var(--border); padding: 60px 0; }
.show-item {
  display: flex; align-items: center; gap: 32px; max-width: var(--max); margin: 0 auto 40px; padding: 0 6vw;
}
.show-item img {
  width: 44%; height: 360px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow);
  transition: transform .5s ease;
}
.show-item .text { width: 56%; }
.show-item .text h3 { color: #0f172a; margin-bottom: 6px; }
.show-item .text p { color: #556177; }

.show-item.reverse { flex-direction: row-reverse; }
.show-item:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .show-item, .show-item.reverse { flex-direction: column; }
  .show-item img, .show-item .text { width: 100%; }
  .show-item img { height: 300px; }
}

/* ============================= CTA ============================= */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 84px 6vw;
  background:
    radial-gradient(circle at 18% 18%, rgba(251, 191, 36, 0.18), transparent 26%),
    radial-gradient(circle at 82% 26%, rgba(244, 114, 182, 0.16), transparent 24%),
    radial-gradient(circle at 72% 82%, rgba(56, 189, 248, 0.18), transparent 26%),
    linear-gradient(135deg, #25133d 0%, #102942 48%, #0e4a62 100%);
  color: #fff;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.cta::before {
  width: 360px;
  height: 360px;
  top: -170px;
  left: -100px;
  background: rgba(255,255,255,.05);
  filter: blur(10px);
}

.cta::after {
  width: 260px;
  height: 260px;
  right: -70px;
  bottom: -120px;
  background: rgba(251, 191, 36, 0.14);
  filter: blur(10px);
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin: 0 0 12px;
  color: #fff7ed;
  font-size: clamp(2.2rem, 5vw, 3.3rem);
}

.cta h2::after {
  content: "";
  display: block;
  width: 96px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #fbbf24, #f472b6, #38bdf8);
}

.cta p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(255, 247, 237, 0.9);
  font-size: clamp(1rem, 2.3vw, 1.12rem);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  color: #5b185e;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn-cta::after {
  content: "->";
  font-size: .95rem;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 36px rgba(0,0,0,.28);
  background: linear-gradient(135deg, #fff1d6, #ffffff);
}

@media (max-width: 700px) {
  .cta {
    padding: 64px 20px;
  }

  .cta p {
    margin-bottom: 24px;
  }
}

/* ============================= REDUCED MOTION ============================= */
@media (prefers-reduced-motion: reduce) {
  .flip-inner, * { transition: none !important; }
}
