/* =============================
   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 {
  text-align: center; padding: 70px 6vw;
  background: linear-gradient(135deg, rgba(30,63,92,.94), rgba(11,35,62,.94));
  color: #fff;
}
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0 0 14px; opacity: .92; }
.btn-cta {
  display: inline-block; padding: 12px 22px; border-radius: 12px; background: #fff; color: var(--primary);
  font-weight: 800; text-decoration: none; border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 10px 22px rgba(0,0,0,.15); transition: transform .18s ease, box-shadow .18s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.2); }

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