/* ================================================================
   KIDDAROO BOOKS — Complete Modern Redesign
   ================================================================ */

/* ── Google Fonts loaded via HTML ── */
/* Baloo 2 (headings) + Nunito (body) */

/* ── CSS Variables ────────────────────────────────────────────── */
:root {
  --primary:    #7C3AED;
  --primary-dk: #6D28D9;
  --primary-lt: #EDE9FE;
  --coral:      #F97316;
  --yellow:     #FBBF24;
  --green:      #10B981;
  --blue:       #3B82F6;
  --pink:       #EC4899;
  --dark:       #1E1B4B;
  --body-bg:    #FFFFFF;
  --card-bg:    #FFFFFF;
  --light:      #F5F3FF;
  --cream:      #FFF7ED;
  --text:       #374151;
  --text-muted: #6B7280;
  --border:     #E5E7EB;
  --radius:     1rem;
  --shadow:     0 4px 24px rgba(124,58,237,.10);
  --shadow-lg:  0 12px 48px rgba(124,58,237,.18);
}

/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--body-bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: color .2s; }

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4 {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

/* ── Utility ──────────────────────────────────────────────────── */
.section        { padding: 5rem 0; }
.section-sm     { padding: 3rem 0; }
.section-light  { background: var(--light); background-image: radial-gradient(circle, rgba(124,58,237,.07) 1.5px, transparent 1.5px); background-size: 28px 28px; }
.section-cream  { background: var(--cream); }

.section-badge {
  display: inline-block;
  background: var(--primary-lt);
  color: var(--primary);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35em 1.1em;
  border-radius: 999px;
  margin-bottom: .9rem;
}

.section-title   { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: .75rem; }
.section-sub     { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.dots-pattern    { background-image: radial-gradient(circle, rgba(124,58,237,.12) 1.5px, transparent 1.5px); background-size: 28px 28px; }

/* ── Spinner ──────────────────────────────────────────────────── */
#spinner {
  position: fixed; inset: 0; z-index: 99999;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease .2s, visibility 0s linear .8s;
  opacity: 1; visibility: visible;
}
#spinner.hide { opacity: 0; visibility: hidden; }
.spinner-ring {
  width: 52px; height: 52px;
  border: 5px solid var(--primary-lt);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spinRing .8s linear infinite;
}
@keyframes spinRing { to { transform: rotate(360deg); } }

/* ── Back to Top ──────────────────────────────────────────────── */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 9999;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), #4F46E5);
  color: #fff; border-radius: 14px; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(124,58,237,.38);
  font-size: 1.1rem; opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .25s;
}
.back-to-top.show   { opacity: 1; pointer-events: auto; }
.back-to-top:hover  { transform: translateY(-4px); color: #fff; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  border-radius: 999px;
  padding: .65rem 1.9rem;
  transition: transform .2s, box-shadow .25s;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .45rem;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%);
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(124,58,237,.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dk) 0%, #4338CA 100%);
  box-shadow: 0 6px 28px rgba(124,58,237,.42); color: #fff;
}

.btn-coral {
  background: linear-gradient(135deg, var(--coral) 0%, #EF4444 100%);
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(249,115,22,.3);
}
.btn-coral:hover { background: linear-gradient(135deg, #EA580C, #DC2626); color: #fff; }

.btn-yellow {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--coral) 100%);
  color: var(--dark) !important;
  box-shadow: 0 4px 18px rgba(251,191,36,.35);
}
.btn-yellow:hover { box-shadow: 0 6px 28px rgba(251,191,36,.5); color: var(--dark); }

.btn-outline-white {
  border: 2px solid rgba(255,255,255,.45);
  color: #fff !important;
  background: transparent;
  border-radius: 999px; padding: .63rem 1.9rem;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); color: #fff; }

.btn-ghost-primary {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  background: transparent;
}
.btn-ghost-primary:hover { background: var(--primary); color: #fff !important; }

.btn-lg { padding: .9rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1.1rem; font-size: .82rem; }

/* ── Navbar (fixed, transparent over hero) ────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  padding: 1rem 0;
  border-bottom: none;
  transition: background .35s ease, backdrop-filter .35s ease, box-shadow .3s ease, padding .3s ease, border-color .3s ease;
}

/* Brand */
.navbar-brand {
  display: flex; align-items: center; text-decoration: none;
  margin-left: .25rem; margin-right: .75rem;
}
.nav-brand-icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: .35rem .9rem;
  box-shadow: 0 2px 12px rgba(30,27,75,.12);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav-brand-icon img {
  display: block; height: 60px; width: auto; object-fit: contain;
  transition: height .3s ease;
}

/* Nav links — white on transparent */
.navbar-nav { gap: .15rem; }
.navbar-nav .nav-link {
  font-family: 'Nunito', sans-serif; font-weight: 700;
  color: rgba(255,255,255,.88) !important; padding: .45rem .95rem !important;
  border-radius: 999px; font-size: .93rem;
  transition: background .2s, color .2s, padding .3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { background: rgba(255,255,255,.16) !important; color: #fff !important; }

.nav-cta-btn {
  background: linear-gradient(135deg, var(--primary), #4F46E5);
  color: #fff !important; padding: .5rem 1.4rem !important;
  border-radius: 999px; font-weight: 800 !important;
  box-shadow: 0 4px 16px rgba(124,58,237,.3);
  transition: background .2s, padding .3s ease, box-shadow .3s ease;
}
.nav-cta-btn:hover { background: linear-gradient(135deg, var(--primary-dk), #4338CA) !important; color: #fff !important; }

.navbar-toggler { border: none; padding: .35rem .5rem; }
.navbar-toggler:focus { box-shadow: none; outline: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Scrolled — compact, soft frosted white */
.navbar.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px rgba(30,27,75,.1);
  padding: .45rem 0;
  border-bottom: 1px solid rgba(124,58,237,.07);
}
.navbar.scrolled .nav-brand-icon {
  background: rgba(255,255,255,.92);
  box-shadow: 0 2px 12px rgba(30,27,75,.12);
  padding: .35rem .9rem;
}
.navbar.scrolled .nav-brand-icon img { height: 60px; }
.navbar.scrolled .navbar-nav .nav-link { color: var(--dark) !important; padding: .4rem .85rem !important; }
.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active { background: var(--primary-lt) !important; color: var(--primary) !important; }
.navbar.scrolled .nav-cta-btn { padding: .4rem 1.2rem !important; }
.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%287C%2C58%2C237%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile collapse — always solid */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(14,8,50,.94);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 1rem; padding: 1rem 1.25rem; margin-top: .6rem;
    box-shadow: 0 8px 40px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.1);
  }
  .navbar.scrolled .navbar-collapse {
    background: #fff;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border: 1px solid var(--border);
    box-shadow: 0 8px 40px rgba(30,27,75,.14);
  }
  .navbar.scrolled .navbar-nav .nav-link { color: var(--dark) !important; }
  .navbar.scrolled .navbar-nav .nav-link:hover,
  .navbar.scrolled .navbar-nav .nav-link.active { background: var(--primary-lt) !important; color: var(--primary) !important; }
  .navbar-nav .nav-link { padding: .5rem .75rem !important; }
  .nav-cta-btn { margin-top: .5rem; justify-content: center; width: 100%; }
}

/* ── Page Hero (inner pages) ──────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #1E1B4B 0%, #4C1D95 45%, #7C3AED 100%);
  padding: 7.5rem 0 0; position: relative; overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.page-hero-content { position: relative; z-index: 2; padding-bottom: 3rem; }
.page-hero-title { color: #fff; font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: .5rem; }
.page-hero .breadcrumb { justify-content: center; margin-bottom: 0; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.95); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.page-hero-wave { display: block; width: 100%; margin-bottom: -2px; }

/* ── Hero (Home) ──────────────────────────────────────────────── */
.hero-section {
  position: relative; min-height: 100vh;
  background: linear-gradient(135deg, #1E1B4B 0%, #4C1D95 40%, #7C3AED 100%);
  overflow: hidden; display: flex; align-items: center;
}

.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .35;
  animation: blobDrift 9s ease-in-out infinite;
}
.hero-blob-1 { width: 650px; height: 650px; background: #EC4899; top: -200px; right: -80px; animation-delay: 0s; }
.hero-blob-2 { width: 450px; height: 450px; background: #F97316; bottom: -120px; left: -60px; animation-delay: 3s; }
.hero-blob-3 { width: 320px; height: 320px; background: #3B82F6; top: 35%; left: 38%; animation-delay: 1.5s; }

@keyframes blobDrift {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50%       { transform: scale(1.12) translate(22px, -18px); }
}

.hero-dot-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}

.sun-glow {
  position: absolute; top: -70px; right: -50px;
  width: 300px; height: 300px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, rgba(251,191,36,.5) 0%, rgba(251,191,36,0) 70%);
  filter: blur(4px);
}

.shape-float {
  position: absolute; opacity: .22;
  animation: shapeFloat 6s ease-in-out infinite;
}
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-28px) rotate(12deg); }
}

/* Playful hero world: sun, clouds, rainbow, balloons, rocket, stars… */
.hero-decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.doodle-float {
  position: absolute;
  filter: drop-shadow(0 6px 14px rgba(20,10,50,.28));
  animation: shapeFloat 7s ease-in-out infinite;
  will-change: transform;
}
.doodle-spin-slow svg { animation: doodleSpin 16s linear infinite; transform-origin: center; }
@keyframes doodleSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.twinkle-star {
  position: absolute;
  animation: twinkle 2.6s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes twinkle {
  0%, 100% { opacity: .3; transform: scale(.7); }
  50%       { opacity: 1;  transform: scale(1.15); }
}

.hero-container { position: relative; z-index: 2; }

/* Hero content */
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-weight: 800; font-size: .75rem;
  padding: .45em 1.25em; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 8px; height: 8px; background: var(--yellow);
  border-radius: 50%; flex-shrink: 0;
  animation: blinkDot 1.4s ease-in-out infinite;
}
@keyframes blinkDot { 0%,100%{opacity:1} 50%{opacity:.25} }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: #fff; margin-bottom: 1.25rem; line-height: 1.1;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--yellow) 0%, #F97316 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.78); max-width: 500px; margin-bottom: 2.25rem; }
.hero-actions  { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.75rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2.25rem; }
.hero-stat-num   { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 2rem; color: #fff; display: block; line-height: 1; }
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.68); font-weight: 600; }

/* Hero book visuals */
.hero-books-wrap {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 0; position: relative; padding: 2rem 1rem 2rem;
}
.h-book {
  width: 130px; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  transition: transform .3s; position: relative; flex-shrink: 0;
}
.h-book img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.h-book:nth-child(1) { transform: rotate(-9deg) translateX(18px) translateY(10px); }
.h-book:nth-child(2) { transform: rotate(0deg) translateY(-18px); z-index: 3; width: 148px; }
.h-book:nth-child(3) { transform: rotate(9deg) translateX(-18px) translateY(10px); }
.h-book:hover { transform: rotate(0deg) translateY(-30px) scale(1.05) !important; z-index: 10; }
.h-book:hover img { transform: scale(1.07); }

.h-book-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,10,50,.9) 0%, transparent 100%);
  padding: .9rem .65rem .6rem;
}
.h-book-title { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: .78rem; color: #fff; line-height: 1.25; }
.h-book-age   { font-size: .58rem; color: rgba(255,255,255,.7); margin-top: .15rem; font-weight: 700; }

/* ── Stats Bar ────────────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%);
  padding: 2.75rem 0;
}
.stat-item     { text-align: center; }
.stat-number   { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 2.5rem; color: #fff; display: block; line-height: 1; }
.stat-label    { color: rgba(255,255,255,.78); font-size: .82rem; font-weight: 700; margin-top: .2rem; display: block; }
.stat-divider  { width: 1px; height: 3.5rem; background: rgba(255,255,255,.2); margin: auto; }

/* ── Wave Dividers ────────────────────────────────────────────── */
.wave-top, .wave-bottom { display: block; width: 100%; line-height: 0; overflow: hidden; }
.wave-top svg, .wave-bottom svg { display: block; width: 100%; }

/* ── Book Cards ───────────────────────────────────────────────── */
.book-card {
  background: #fff; border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 3px 20px rgba(30,27,75,.07);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}
.book-card:hover { transform: translateY(-10px); box-shadow: 0 14px 48px rgba(124,58,237,.17); }

.book-cover-wrap {
  aspect-ratio: 3/4; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.book-cover-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.book-card:hover .book-cover-wrap img { transform: scale(1.05); }

.book-subject-bar { padding: .8rem .9rem; }
.book-subject-label {
  display: block; width: 100%; text-align: center;
  background: var(--primary-lt); color: var(--primary);
  font-family: 'Baloo 2', cursive; font-weight: 800; font-size: .82rem;
  padding: .55rem 1rem; border-radius: 999px;
}

.book-cover-art {
  width: 100%; height: 100%; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem; color: rgba(255,255,255,.92); text-align: center;
  position: relative;
}
.book-cover-art::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 10px; background: rgba(0,0,0,.2);
}
.book-cover-art .bk-title { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1rem; margin-top: .6rem; line-height: 1.3; }
.book-cover-art .bk-author { font-size: .68rem; opacity: .78; margin-top: .2rem; font-weight: 600; }

.bk-fantasy    { background: linear-gradient(160deg, #7C3AED 0%, #EC4899 100%); }
.bk-adventure  { background: linear-gradient(160deg, #F97316 0%, #EF4444 100%); }
.bk-nature     { background: linear-gradient(160deg, #065F46 0%, #10B981 100%); }
.bk-space      { background: linear-gradient(160deg, #1E1B4B 0%, #4F46E5 100%); }
.bk-ocean      { background: linear-gradient(160deg, #0369A1 0%, #06B6D4 100%); }
.bk-animals    { background: linear-gradient(160deg, #F59E0B 0%, #10B981 100%); }
.bk-bedtime    { background: linear-gradient(160deg, #6D28D9 0%, #EC4899 100%); }
.bk-activity   { background: linear-gradient(160deg, #D97706 0%, #F97316 100%); }

.book-badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: var(--yellow); color: var(--dark);
  font-weight: 800; font-size: .65rem; padding: .25em .75em;
  border-radius: 999px; letter-spacing: .05em;
}
.badge-new      { background: var(--green); color: #fff; }
.badge-hot      { background: var(--coral); color: #fff; }
.badge-sale     { background: var(--yellow); color: var(--dark); }
.badge-award    { background: var(--primary); color: #fff; }

.book-body { padding: 1.25rem; }
.book-title  { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.05rem; color: var(--dark); margin-bottom: .15rem; line-height: 1.3; }
.book-author { color: var(--text-muted); font-size: .82rem; margin-bottom: .75rem; }
.book-footer { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .85rem; }
.book-age-tag {
  background: var(--primary-lt); color: var(--primary);
  font-size: .7rem; font-weight: 800; padding: .2em .75em; border-radius: 999px;
}
.book-genre-tag {
  background: #FFF1ED; color: var(--coral);
  font-size: .7rem; font-weight: 800; padding: .2em .75em; border-radius: 999px;
}
.book-actions { display: flex; gap: .45rem; }
.book-actions .btn { flex: 1; font-size: .8rem; padding: .45rem .9rem; }

/* ── Feature / Why Cards ──────────────────────────────────────── */
.feature-card {
  background: #fff; border-radius: 1.5rem; padding: 2rem 1.75rem;
  text-align: center; transition: transform .3s, box-shadow .3s;
  box-shadow: 0 3px 18px rgba(30,27,75,.06); height: 100%;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.feature-icon {
  width: 70px; height: 70px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 1.25rem;
}
.fi-purple { background: var(--primary-lt); color: var(--primary); }
.fi-coral  { background: #FFF1ED;           color: var(--coral); }
.fi-green  { background: #ECFDF5;           color: var(--green); }
.fi-blue   { background: #EFF6FF;           color: var(--blue); }
.fi-yellow { background: #FFFBEB;           color: #D97706; }
.fi-pink   { background: #FDF2F8;           color: var(--pink); }

.feature-title { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.1rem; margin-bottom: .5rem; }
.feature-text  { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }

/* ── Partner Showcase (Why Kiddaroo Books) ───────────────────── */
.partner-card {
  background: #fff; border-radius: 1.75rem; padding: 2.75rem;
  box-shadow: 0 8px 48px rgba(30,27,75,.1);
}
.partner-feature { display: flex; gap: 1rem; align-items: flex-start; height: 100%; }
.partner-feature-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.partner-feature-title { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1rem; color: var(--dark); margin-bottom: .3rem; }
.partner-feature-text  { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ── Newsletter ───────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 50%, var(--pink) 100%);
  padding: 4.5rem 0; position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.newsletter-inner { position: relative; z-index: 1; }
.newsletter-title    { font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: #fff; margin-bottom: .4rem; }
.newsletter-subtitle { color: rgba(255,255,255,.78); font-size: 1rem; margin-bottom: 1.75rem; }
.newsletter-form     { display: flex; gap: .5rem; max-width: 460px; }
.newsletter-form input {
  flex: 1; border: none; border-radius: 999px;
  padding: .75rem 1.4rem; font-family: 'Nunito', sans-serif;
  font-size: .95rem; outline: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.14);
}
.newsletter-form .btn-sub {
  background: linear-gradient(135deg, var(--yellow), var(--coral));
  color: var(--dark); font-weight: 800; border: none;
  border-radius: 999px; padding: .75rem 1.6rem;
  white-space: nowrap; cursor: pointer; font-family: 'Nunito', sans-serif;
  font-size: .9rem; transition: transform .2s, box-shadow .2s;
}
.newsletter-form .btn-sub:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(251,191,36,.45); }

/* ── Digital Cards ────────────────────────────────────────────── */
.digital-card {
  background: #fff; border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 3px 20px rgba(30,27,75,.07);
  transition: transform .3s, box-shadow .3s; height: 100%;
}
.digital-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.digital-cover {
  aspect-ratio: 16/9; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.digital-cover img { width: 100%; height: 100%; object-fit: cover; }
.digital-cover-art {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  flex-direction: column; color: rgba(255,255,255,.9); text-align: center;
}
.play-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,.45));
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.digital-card:hover .play-overlay { background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.6)); }
.play-circle {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: transform .25s, background .2s;
}
.digital-card:hover .play-circle { transform: scale(1.12); background: #fff; }

.digital-body { padding: 1.25rem; }
.format-tag {
  display: inline-block; font-size: .65rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .22em .75em; border-radius: 999px; margin-bottom: .6rem;
}
.fmt-ebook       { background: #EFF6FF; color: var(--blue); }
.fmt-audio       { background: #FFF1ED; color: var(--coral); }
.fmt-interactive { background: #ECFDF5; color: var(--green); }
.fmt-video       { background: #FDF2F8; color: var(--pink); }

.digital-title  { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1rem; color: var(--dark); margin-bottom: .2rem; }
.digital-meta   { font-size: .8rem; color: var(--text-muted); margin-bottom: .75rem; }
.digital-footer { display: flex; align-items: center; justify-content: flex-end; }

/* ── App Section ──────────────────────────────────────────────── */
.app-section {
  background: linear-gradient(135deg, #1E1B4B 0%, #4C1D95 100%);
  padding: 5rem 0; position: relative; overflow: hidden;
}
.app-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.app-content { position: relative; z-index: 1; }
.app-title    { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: .75rem; }
.app-subtitle { color: rgba(255,255,255,.72); font-size: 1rem; margin-bottom: 2rem; }

.store-btn {
  display: inline-flex; align-items: center; gap: .85rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.22);
  color: #fff; padding: .8rem 1.6rem; border-radius: 1rem;
  text-decoration: none; transition: background .2s, border-color .2s;
}
.store-btn:hover { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.45); }
.store-icon { font-size: 1.9rem; line-height: 1; }
.store-sub  { font-size: .62rem; opacity: .7; display: block; }
.store-name { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.1rem; display: block; line-height: 1.1; }

/* phone mockup */
.phone-mockup {
  width: 240px; margin: 0 auto;
  background: linear-gradient(160deg, #6D28D9, #3B82F6);
  border-radius: 36px; padding: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  animation: phoneFloat 4s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
.phone-screen {
  background: #fff; border-radius: 28px; padding: 1.25rem;
  text-align: center; min-height: 340px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.phone-screen-header {
  width: 100%; height: 36px; background: linear-gradient(135deg, var(--primary), var(--pink));
  border-radius: 12px; margin-bottom: 1rem; display: flex; align-items: center;
  padding: 0 .75rem; gap: .4rem;
}
.phone-dot { width: 7px; height: 7px; border-radius: 50%; }
.phone-dot-1 { background: rgba(255,255,255,.5); }
.phone-dot-2 { background: rgba(255,255,255,.35); }
.phone-dot-3 { background: rgba(255,255,255,.2); }

/* ── About Page ───────────────────────────────────────────────── */
.about-img-col { position: relative; }
.about-main-img {
  border-radius: 2rem; overflow: hidden;
  box-shadow: 0 20px 60px rgba(124,58,237,.2);
}
.about-main-img img { width: 100%; display: block; }

.about-float-badge {
  position: absolute; background: #fff;
  border-radius: 1rem; padding: 1rem 1.25rem;
  box-shadow: 0 8px 32px rgba(124,58,237,.15);
  display: flex; align-items: center; gap: .75rem;
}
.about-float-badge.badge-1 { bottom: 2rem; left: -1.75rem; }
.about-float-badge.badge-2 { top: 2rem; right: -1.75rem; background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff; }
.afb-num   { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.75rem; line-height: 1; }
.afb-label { font-size: .7rem; color: var(--text-muted); font-family: 'Nunito', sans-serif; }
.badge-2 .afb-label { color: rgba(255,255,255,.8); }

.value-card {
  background: #fff; border-radius: 1.5rem; padding: 2rem 1.75rem;
  text-align: center; height: 100%;
  box-shadow: 0 3px 18px rgba(30,27,75,.06);
  transition: transform .3s, box-shadow .3s;
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin: 0 auto 1rem;
}

/* Team cards */
.team-card {
  background: #fff; border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 3px 20px rgba(30,27,75,.07);
  transition: transform .3s, box-shadow .3s; text-align: center;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-img-wrap {
  aspect-ratio: 1; overflow: hidden; position: relative;
}
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-img-wrap img { transform: scale(1.07); }
.team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(124,58,237,.65), transparent);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.25rem; opacity: 0; transition: opacity .3s;
}
.team-card:hover .team-overlay { opacity: 1; }
.team-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--primary);
  margin: 0 .2rem; font-size: .82rem;
  transition: background .2s, color .2s;
}
.team-socials a:hover { background: var(--primary); color: #fff; }
.team-body { padding: 1.25rem; }
.team-name { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.1rem; margin-bottom: .1rem; }
.team-role { font-size: .82rem; color: var(--text-muted); }

/* ── Contact Page ─────────────────────────────────────────────── */
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.35rem; background: #fff; border-radius: 1.25rem;
  box-shadow: 0 3px 20px rgba(30,27,75,.06);
  margin-bottom: 1rem; transition: transform .2s;
}
.contact-info-item:hover { transform: translateX(5px); }
.ci-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.ci-label { font-size: .7rem; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .2rem; }
.ci-value { font-weight: 700; color: var(--dark); font-size: .92rem; }

.contact-form-card {
  background: #fff; border-radius: 1.75rem; padding: 2.5rem;
  box-shadow: 0 8px 48px rgba(30,27,75,.1);
}
.form-label { font-weight: 800; font-size: .88rem; color: var(--dark); margin-bottom: .4rem; }
.form-control, .form-select {
  border-radius: .85rem !important; border: 2px solid var(--border) !important;
  padding: .7rem 1.1rem !important; font-family: 'Nunito', sans-serif !important;
  font-size: .95rem !important; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(124,58,237,.1) !important; outline: none;
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* ── Filter Tabs ──────────────────────────────────────────────── */
.filter-wrap { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn  {
  background: #fff; border: 2px solid var(--border);
  color: var(--text); font-family: 'Nunito', sans-serif; font-weight: 700;
  font-size: .82rem; padding: .4rem 1.15rem; border-radius: 999px;
  cursor: pointer; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Footer ───────────────────────────────────────────────────── */
footer {
  background: var(--dark); color: rgba(255,255,255,.65);
  position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--coral), var(--yellow), var(--green), var(--blue), var(--pink));
}
.footer-top { padding: 4rem 0 2rem; }

.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.footer-brand-icon {
  width: 78px; height: 78px; border-radius: 16px;
  background: #fff; border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8); font-size: 1.1rem;
}
.footer-brand-icon img { width: 62px; height: 62px; object-fit: contain; display: block; }
.footer-brand-name { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.4rem; color: rgba(255,255,255,.9); display: block; line-height: 1.1; }
.footer-brand-tag  { font-size: .6rem; color: rgba(255,255,255,.45); }
.footer-desc { font-size: .88rem; line-height: 1.75; margin-bottom: 1.25rem; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.75);
  margin-right: .45rem; font-size: .85rem;
  transition: background .2s, color .2s, transform .2s;
}
.footer-socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

.footer-heading { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1rem; color: #fff; margin-bottom: 1.1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .5rem; }
.footer-list a { color: rgba(255,255,255,.6); font-size: .88rem; transition: color .2s, padding-left .2s; display: inline-block; }
.footer-list a:hover { color: var(--yellow); padding-left: 5px; }

.footer-nl-form { display: flex; gap: .4rem; margin-top: .75rem; }
.footer-nl-form input {
  flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: .75rem; padding: .6rem 1rem;
  color: #fff; font-family: 'Nunito', sans-serif; font-size: .88rem; outline: none;
}
.footer-nl-form input::placeholder { color: rgba(255,255,255,.38); }
.footer-nl-form .btn-nl {
  background: linear-gradient(135deg, var(--primary), #4F46E5);
  color: #fff; border: none; border-radius: .75rem;
  padding: .6rem 1.1rem; font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: .82rem; cursor: pointer;
  transition: opacity .2s;
}
.footer-nl-form .btn-nl:hover { opacity: .88; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 1.35rem 0;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .5rem; font-size: .8rem;
}
.footer-bottom-links a { color: rgba(255,255,255,.45); margin-left: 1.25rem; font-size: .8rem; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--yellow); }

/* ── Animations ───────────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-section { min-height: auto; padding: 7rem 0 3.5rem; }
  .hero-books-wrap { display: none; }
  .about-float-badge { display: none; }
  .hero-decor .doodle-lg { display: none; }
  .sun-glow { width: 200px; height: 200px; }
}
@media (max-width: 767.98px) {
  .section { padding: 3.5rem 0; }
  .newsletter-form { flex-direction: column; }
  .stat-divider { display: none; }
  .hero-stats { gap: 1.5rem; }
  .contact-form-card { padding: 1.75rem; }
  .partner-card { padding: 1.75rem; }
  .store-btn { width: 100%; max-width: 260px; }
  .hero-decor { display: none; }
}
/* ── Section Background Patterns ─────────────────────────────── */

/* Coral dots — warm, playful */
.bg-dots-coral {
  background-color: #FFFBF7;
  background-image: radial-gradient(circle, rgba(249,115,22,.1) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
/* Blue dots — calm, digital */
.bg-dots-blue {
  background-color: #F0F8FF;
  background-image: radial-gradient(circle, rgba(59,130,246,.1) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
/* Purple dots — default light */
.bg-dots-purple {
  background-color: #FAFAFE;
  background-image: radial-gradient(circle, rgba(124,58,237,.09) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
/* Zigzag cream — cozy, warm */
.bg-zigzag {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14'%3E%3Cpolyline points='0,14 20,0 40,14' fill='none' stroke='rgba(249%2C115%2C22%2C.13)' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 40px 14px;
}
/* Confetti — scattered shapes (circles, squares, triangles) */
.bg-confetti {
  background-color: #F8F7FF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Ccircle cx='18' cy='18' r='5' fill='%237C3AED' opacity='.07'/%3E%3Ccircle cx='95' cy='52' r='6' fill='%23F97316' opacity='.08'/%3E%3Crect x='55' y='88' width='10' height='10' rx='3' fill='%23FBBF24' opacity='.08'/%3E%3Cpolygon points='115%2C10 122%2C26 108%2C26' fill='%2310B981' opacity='.07'/%3E%3Ccircle cx='30' cy='112' r='4' fill='%233B82F6' opacity='.08'/%3E%3Crect x='76' y='12' width='8' height='8' rx='2' fill='%23EC4899' opacity='.07'/%3E%3Ccircle cx='128' cy='125' r='5' fill='%237C3AED' opacity='.06'/%3E%3Cpolygon points='12%2C75 18%2C90 6%2C90' fill='%23F97316' opacity='.07'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}
/* Stars on light — whimsical */
.bg-stars {
  background-color: var(--light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110'%3E%3Cpath d='M55 8L57.8 36 82 34 66 50 74 76 55 60 36 76 44 50 28 34 52.2 36Z' fill='%237C3AED' opacity='.055'/%3E%3Ccircle cx='16' cy='76' r='4.5' fill='%23F97316' opacity='.07'/%3E%3Ccircle cx='94' cy='22' r='3.5' fill='%23FBBF24' opacity='.08'/%3E%3Crect x='88' y='82' width='8' height='8' rx='2' fill='%2310B981' opacity='.07'/%3E%3Ccircle cx='8' cy='30' r='3' fill='%23EC4899' opacity='.07'/%3E%3C/svg%3E");
  background-size: 110px 110px;
}
/* Mesh gradient — modern, digital */
.bg-mesh {
  background: linear-gradient(160deg, #F5F3FF 0%, #EFF6FF 55%, #F0FDF4 100%);
}
/* Soft cross-grid */
.bg-grid {
  background-color: #F8F7FF;
  background-image:
    linear-gradient(rgba(124,58,237,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
/* Diagonal warm stripes */
.bg-stripes {
  background-color: var(--cream);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(251,191,36,.07) 0,
    rgba(251,191,36,.07) 2px,
    transparent 0,
    transparent 50%
  );
  background-size: 14px 14px;
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2.1rem; }
  .page-hero-title { font-size: 1.9rem; }
}

/* ── AR Learning Promo (compact, inside Digital section) ───────── */
.ar-chip {
  background: #fff; border-radius: .9rem; padding: .65rem .95rem;
  font-size: .84rem; font-weight: 700; color: var(--dark);
  box-shadow: 0 2px 10px rgba(30,27,75,.06);
  display: flex; align-items: center; gap: .5rem; height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ar-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(30,27,75,.1); }

.ar-float-badge {
  position: absolute; background: #fff;
  border-radius: 1rem; padding: .85rem 1.1rem;
  box-shadow: 0 8px 32px rgba(124,58,237,.18);
  display: flex; align-items: center; gap: .65rem;
  max-width: 190px;
}
.ar-badge-1 { bottom: 1.5rem; left: -1.5rem; }
.ar-badge-2 { top: 1.5rem; right: -1.5rem; background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff; }
.ar-badge-2 .afb-label { color: rgba(255,255,255,.8); }

@media (max-width: 575.98px) {
  .ar-badge-1 { bottom: .75rem; left: .5rem; }
  .ar-badge-2 { top: .75rem; right: .5rem; }
  .ar-float-badge { padding: .6rem .8rem; max-width: 150px; }
}

/* ── Homepage visual rhythm ──────────────────────────────────── */
section,
.stats-bar,
.newsletter-section { position: relative; }

.section-books { isolation: isolate; overflow: hidden; }
.section-books::before,
.section-books::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  border: 2px solid rgba(249,115,22,.12);
  border-radius: 42% 58% 56% 44%;
}
.section-books::before {
  width: 190px; height: 190px; top: 8%; right: -70px;
  transform: rotate(24deg); animation: sectionDrift 13s ease-in-out infinite;
}
.section-books::after {
  width: 90px; height: 90px; bottom: 9%; left: -32px;
  background: rgba(251,191,36,.12); border: 0;
  animation: sectionDrift 10s ease-in-out 1s infinite reverse;
}
.section-books .book-card {
  border: 1px solid rgba(249,115,22,.08);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.section-books .book-item:nth-child(2) .book-card { transform: rotate(1.1deg); }
.section-books .book-item:nth-child(3) .book-card { transform: rotate(-.8deg); }
.section-books .book-item:nth-child(6) .book-card { transform: rotate(1deg); }
.section-books .book-card:hover { transform: translateY(-10px) rotate(0deg) scale(1.015); }

.hero-container .hero-title,
.hero-container .hero-subtitle,
.hero-container .hero-actions,
.hero-container .hero-stats {
  opacity: 0;
  animation: heroRise .7s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-container .hero-title { animation-delay: .12s; }
.hero-container .hero-subtitle { animation-delay: .24s; }
.hero-container .hero-actions { animation-delay: .36s; }
.hero-container .hero-stats { animation-delay: .48s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.stats-bar {
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 24px 24px;
}
.stats-bar::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 80px;
  right: -70px;
  bottom: -38px;
  border: 10px solid rgba(255,255,255,.08);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.reading-programs { isolation: isolate; overflow: hidden; }
.reading-programs::before {
  content: ''; position: absolute; width: 360px; height: 180px;
  right: -100px; top: -70px; border-radius: 50%;
  background: rgba(251,191,36,.18); transform: rotate(-12deg); z-index: -1;
}
.reading-programs::after {
  content: ''; position: absolute; left: 7%; bottom: 18px;
  width: 64px; height: 8px; border-radius: 999px;
  background: var(--coral); opacity: .18; transform: rotate(-16deg);
}
.reading-programs img { transform: rotate(2deg); transition: transform .45s ease, box-shadow .45s ease; }
.reading-programs img:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 24px 65px rgba(124,58,237,.3) !important;
}

.why-section {
  overflow: hidden;
  background-image: radial-gradient(circle at 12% 18%, rgba(236,72,153,.11) 0 3px, transparent 4px),
    radial-gradient(circle at 86% 78%, rgba(16,185,129,.12) 0 4px, transparent 5px),
    radial-gradient(circle, rgba(124,58,237,.06) 1.5px, transparent 1.5px);
  background-size: auto, auto, 28px 28px;
}
.why-section .feature-card {
  border-top: 4px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.why-section .col-lg-4:nth-child(1) .feature-card { border-top-color: var(--primary); }
.why-section .col-lg-4:nth-child(2) .feature-card { border-top-color: var(--coral); }
.why-section .col-lg-4:nth-child(3) .feature-card { border-top-color: var(--green); }
.why-section .col-lg-4:nth-child(4) .feature-card { border-top-color: var(--blue); }
.why-section .col-lg-4:nth-child(5) .feature-card { border-top-color: var(--yellow); }
.why-section .col-lg-4:nth-child(6) .feature-card { border-top-color: var(--pink); }
.why-section .feature-card:hover { transform: translateY(-8px) scale(1.015); }

.digital-section {
  overflow: hidden;
  background-image: radial-gradient(circle at 9% 26%, rgba(59,130,246,.13) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 72%, rgba(16,185,129,.13) 0 3px, transparent 4px),
    linear-gradient(160deg, #F5F3FF 0%, #EFF6FF 55%, #F0FDF4 100%);
  background-size: auto, auto, auto;
}
.digital-section::before {
  content: ''; position: absolute; top: 12%; left: -80px;
  width: 210px; height: 210px; border: 1px solid rgba(59,130,246,.18);
  border-radius: 38% 62% 57% 43%; transform: rotate(22deg);
  animation: sectionDrift 15s ease-in-out infinite; pointer-events: none;
}
.digital-grid { position: relative; z-index: 1; }
.digital-grid > div {
  min-height: 205px; box-shadow: 0 10px 28px rgba(30,27,75,.06);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.digital-grid > div:nth-child(1) { transform: translateY(8px); }
.digital-grid > div:nth-child(2) { transform: translateY(-4px); }
.digital-grid > div:nth-child(3) { transform: translateY(-4px); }
.digital-grid > div:nth-child(4) { transform: translateY(8px); }
.digital-grid > div:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 0 16px 36px rgba(30,27,75,.12);
}
.digital-section .col-lg-6:first-child.fade-up { transform: translateX(-26px); }
.digital-section .col-lg-6:last-child.fade-up { transform: translateX(26px); }
.digital-section .col-lg-6:first-child.fade-up.visible,
.digital-section .col-lg-6:last-child.fade-up.visible { transform: translateX(0); }

.partner-section { isolation: isolate; overflow: hidden; }
.partner-section::before {
  content: ''; position: absolute; top: 16%; right: 4%;
  width: 72px; height: 72px; border: 8px solid rgba(16,185,129,.16);
  border-radius: 50%;
}
.partner-card { border-left: 7px solid var(--yellow); position: relative; overflow: hidden; }
.partner-card::after {
  content: ''; position: absolute; right: -50px; bottom: -60px;
  width: 190px; height: 190px; border-radius: 50%;
  background: rgba(124,58,237,.06); pointer-events: none;
}
.partner-feature { transition: transform .25s ease; }
.partner-feature:hover { transform: translateX(5px); }

.about-section { overflow: hidden; }
.about-section::after {
  content: ''; position: absolute; right: 5%; top: 16%; width: 115px; height: 115px;
  border-radius: 50% 42% 58% 44%; background: rgba(236,72,153,.08);
  transform: rotate(18deg); pointer-events: none;
}
.about-section .about-main-img { transform: rotate(-1deg); transition: transform .45s ease; }
.about-section .about-main-img:hover { transform: rotate(0deg) translateY(-5px); }
.about-section .col-lg-6:last-child.fade-up { transform: translateX(26px); }
.about-section .col-lg-6:last-child.fade-up.visible { transform: translateX(0); }

.values-section .value-card {
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.values-section .value-card::after {
  content: ''; position: absolute; width: 90px; height: 90px;
  right: -35px; top: -35px; border-radius: 50%; background: rgba(124,58,237,.06);
}
.values-section .col-lg-3:nth-child(even) .value-card { transform: translateY(10px); }
.values-section .value-card:hover { transform: translateY(-6px); }

.team-section .team-card {
  border-radius: 2rem .8rem 2rem .8rem;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.team-section .col-lg-4:nth-child(2) .team-card { transform: translateY(18px); }
.team-section .col-lg-4:nth-child(3) .team-card { transform: translateY(5px); }
.team-section .team-card:hover { transform: translateY(-8px) rotate(-1deg); }
.team-section .team-card > div:first-child { position: relative; }
.team-section .team-card > div:first-child::after {
  content: ''; position: absolute; right: 8px; top: 5px;
  width: 38px; height: 7px; border-radius: 999px;
  background: var(--yellow); opacity: .35; transform: rotate(22deg);
}

.team-slider { max-width: 900px; margin: 0 auto; }
.team-slides {
  position: relative;
  min-height: 260px;
  background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 58%, #A855F7 100%);
  border-radius: 2.5rem 1rem 2.5rem 1rem;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(124,58,237,.22);
}
.team-slides::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 24px 24px;
}
.team-slides::after {
  content: '\201D';
  position: absolute;
  right: 8%;
  bottom: -2rem;
  color: rgba(255,255,255,.16);
  font-family: Georgia, serif;
  font-size: 13rem;
  line-height: 1;
}
.team-slide {
  display: none;
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 2rem;
  min-height: 260px;
  padding: 3rem 4rem;
  color: #fff;
}
.team-slide.is-active { display: flex; animation: teamSlideIn .45s ease both; }
.team-slide-icon {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2.5rem;
  box-shadow: 0 8px 20px rgba(30,27,75,.18);
}
.team-slide-content { position: relative; max-width: 620px; }
.team-slide .team-name { color: #fff; font-size: 1.45rem; margin-bottom: .45rem; }
.team-slide p { color: rgba(255,255,255,.84); font-size: 1rem; line-height: 1.75; margin: 0 0 .75rem; }
.team-quote-mark { color: var(--yellow); font-family: Georgia, serif; font-size: 4rem; line-height: .5; display: block; }
.team-slide-label { color: rgba(255,255,255,.62); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.team-slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.team-slider-arrow {
  width: 42px; height: 42px; border: 1px solid rgba(124,58,237,.25);
  border-radius: 50%; background: #fff; color: var(--primary); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.team-slider-arrow:hover { transform: translateY(-2px); background: var(--primary); color: #fff; }
.team-slider-dots { display: flex; align-items: center; gap: .45rem; }
.team-slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(124,58,237,.25); cursor: pointer; transition: width .2s ease, background .2s ease; }
.team-slider-dot.is-active { width: 25px; border-radius: 999px; background: var(--primary); }
@keyframes teamSlideIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }

.contact-strip { overflow: hidden; }
.contact-strip::before {
  content: ''; position: absolute; width: 240px; height: 90px;
  left: -80px; bottom: -28px; border-radius: 50%;
  background: rgba(249,115,22,.1); transform: rotate(-12deg);
}
.contact-strip .col-lg-3 > div { transition: transform .3s ease, box-shadow .3s ease; }
.contact-strip .col-lg-3 > div:hover { box-shadow: 0 14px 34px rgba(30,27,75,.1); }

.contact-section {
  background-color: #FAFAFE;
  background-image: linear-gradient(135deg, rgba(124,58,237,.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(249,115,22,.035) 25%, transparent 25%);
  background-size: 34px 34px;
}
.contact-section .contact-form-card { border-top: 5px solid var(--primary); }
.contact-section .col-lg-5 { align-self: flex-start; }
.contact-section .contact-info-item { transform: none; }
.contact-section .contact-info-item:hover { transform: translateX(5px); }

.faq-section { position: relative; overflow: hidden; }
.faq-section::before {
  content: ''; position: absolute; width: 150px; height: 150px;
  left: -55px; top: 12%; border-radius: 50%; border: 22px solid rgba(251,191,36,.1);
}
.faq-section .col-md-6 > div {
  border-left: 4px solid rgba(124,58,237,.22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.faq-section .col-md-6:nth-child(2) > div { border-left-color: rgba(249,115,22,.28); }
.faq-section .col-md-6:nth-child(3) > div { border-left-color: rgba(16,185,129,.28); }
.faq-section .col-md-6:nth-child(4) > div { border-left-color: rgba(59,130,246,.28); }
.faq-section .col-md-6 > div:hover { transform: translateY(-4px); }

@keyframes sectionDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(18deg); }
  50% { transform: translate3d(12px, -10px, 0) rotate(27deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .fade-up,
  .digital-section .col-lg-6:first-child.fade-up,
  .digital-section .col-lg-6:last-child.fade-up,
  .about-section .col-lg-6:last-child.fade-up { transform: none; }
}

@media (max-width: 767.98px) {
  .section-books::before { width: 120px; height: 120px; right: -55px; }
  .digital-grid > div:nth-child(n) { transform: none; min-height: 0; }
  .team-slides { min-height: 330px; border-radius: 1.75rem .8rem 1.75rem .8rem; }
  .team-slide { flex-direction: column; align-items: flex-start; gap: 1.25rem; min-height: 330px; padding: 2rem 1.5rem; }
  .team-slide-icon { width: 68px; height: 68px; flex-basis: 68px; font-size: 1.9rem; }
  .team-slide .team-name { font-size: 1.25rem; }
  .team-slide p { font-size: .92rem; }
  .values-section .col-lg-3:nth-child(even) .value-card,
  .team-section .col-lg-4:nth-child(2) .team-card,
  .team-section .col-lg-4:nth-child(3) .team-card { transform: none; }
  .contact-section .contact-info-item { transform: none; }
}
