/* ============================================================
   Vibrance Learning – Main Stylesheet
   ============================================================ */
:root {
  --primary: #1A7F4E;
  --primary-light: #22A060;
  --primary-dark: #125C38;
  --accent: #F5A623;
  --accent-hover: #E09415;
  --secondary: #E8673C;
  --sky: #3A8ECC;
  --purple: #7B5EA7;
  --bg: #FAFDF8;
  --bg-card: #FFFFFF;
  --text: #1A2B22;
  --text-muted: #5A7265;
  --border: #D8EBE0;
  --border-light: #EDF6F0;
  --shadow: 0 2px 16px rgba(26,127,78,0.10);
  --shadow-hover: 0 8px 32px rgba(26,127,78,0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ---- UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem,4vw,2.8rem); color: var(--primary-dark); margin-bottom: 12px; line-height: 1.2; }
.section-sub { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 48px; max-width: 600px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; background: var(--border-light); color: var(--primary); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-family: var(--font-body); font-size: .95rem; font-weight: 700; cursor: pointer; transition: all .25s; text-decoration: none; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,127,78,.35); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,166,35,.4); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ---- TOP BAR ---- */
.vl-topbar { background: var(--primary-dark); color: #fff; padding: 7px 0; font-size: .82rem; }
.vl-topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.vl-topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.vl-topbar a:hover { color: #fff; }
.topbar-left,.topbar-right { display: flex; align-items: center; gap: 16px; }

/* ---- HEADER ---- */
.site-header { background: #fff; border-bottom: 2px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(26,127,78,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 24px; }

/* LOGO */
.site-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo img { height: 52px; width: auto; max-width: 260px; object-fit: contain; display: block; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo-link img { height: 52px; width: auto; max-width: 260px; object-fit: contain; display: block; }
/* Fallback text logo — shown only when image logo is absent */
.logo-fallback { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 44px; height: 44px; background: radial-gradient(circle at 35% 35%, #F5A623 0%, #E8673C 50%, #1A7F4E 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; color: #fff; font-family: var(--font-heading); flex-shrink: 0; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: var(--primary-dark); }
.logo-tagline { font-size: .7rem; color: var(--text-muted); letter-spacing: .5px; text-transform: uppercase; }

/* NAVIGATION */
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a { padding: 8px 14px; font-size: .9rem; font-weight: 600; color: var(--text); text-decoration: none; border-radius: 8px; transition: all .2s; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--primary); background: var(--border-light); }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .menu-item-has-children > a::after { content: ' ▾'; font-size: .7rem; }
.primary-nav .sub-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 8px 0; box-shadow: var(--shadow-hover); z-index: 999; list-style: none; }
.primary-nav .menu-item-has-children:hover .sub-menu { display: block; }
.primary-nav .sub-menu a { display: block; padding: 9px 18px; font-size: .88rem; color: var(--text); border-radius: 0; }
.primary-nav .sub-menu a:hover { background: var(--border-light); color: var(--primary); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-wrap { position: relative; }
.vl-search-bar { display: flex; align-items: center; background: var(--bg); border: 1.5px solid var(--border); border-radius: 50px; padding: 6px 16px; gap: 8px; transition: all .2s; }
.vl-search-bar:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(26,127,78,.1); }
.vl-search-bar input { border: none; background: transparent; outline: none; font-size: .9rem; font-family: var(--font-body); width: 180px; color: var(--text); }
.vl-search-bar input::placeholder { color: var(--text-muted); }
.search-icon { color: var(--text-muted); font-size: 15px; }
.search-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; margin-top: 4px; box-shadow: var(--shadow-hover); z-index: 500; display: none; max-height: 300px; overflow-y: auto; }
.suggestion-item { padding: 10px 16px; cursor: pointer; font-size: .88rem; color: var(--text); transition: background .15s; display: flex; align-items: center; gap: 10px; }
.suggestion-item:hover { background: var(--border-light); }
.sug-tag { font-size: .72rem; background: var(--border-light); color: var(--primary); padding: 2px 8px; border-radius: 20px; font-weight: 700; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* ---- HERO ---- */
.vl-hero { background: linear-gradient(135deg, #0D4D2E 0%, #1A7F4E 45%, #22A060 75%, #2DB872 100%); color: #fff; overflow: hidden; position: relative; min-height: 580px; display: flex; align-items: center; }
.vl-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-circle { position: absolute; border-radius: 50%; opacity: .12; }
.hero-circle-1 { width: 500px; height: 500px; background: #F5A623; top: -200px; right: -100px; }
.hero-circle-2 { width: 300px; height: 300px; background: #E8673C; bottom: -100px; left: 10%; }
.hero-circle-3 { width: 200px; height: 200px; background: #fff; top: 30%; left: -50px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 80px 0; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,166,35,.25); border: 1px solid rgba(245,166,35,.5); color: #F5E4A8; border-radius: 50px; padding: 6px 16px; font-size: .8rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 20px; }
.vl-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem,5vw,3.6rem); line-height: 1.15; margin-bottom: 18px; font-weight: 900; }
.vl-hero h1 span { color: #F5A623; }
.vl-hero p { font-size: 1.1rem; opacity: .88; margin-bottom: 32px; max-width: 480px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-hero-white { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-hero-white:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); color: #fff; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.2); flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: #F5A623; line-height: 1; }
.hero-stat .lbl { font-size: .78rem; opacity: .75; margin-top: 2px; }
.hero-visual { position: relative; }
.hero-books { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; transform: rotate(3deg); }
.book-card-mini { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .3s; }
.book-card-mini:nth-child(2) { transform: translateY(-12px); }
.book-card-mini:nth-child(5) { transform: translateY(-8px); }
.book-img-placeholder { width: 100%; aspect-ratio: .73; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: .75rem; text-align: center; padding: 8px; color: #fff; }
.book-label { background: #fff; color: #333; padding: 4px 6px; font-size: .62rem; font-weight: 700; text-align: center; line-height: 1.3; }
.bk1 { background: linear-gradient(135deg,#E83E6C,#C0226B); }
.bk2 { background: linear-gradient(135deg,#3A8ECC,#1A5FA0); }
.bk3 { background: linear-gradient(135deg,#F5A623,#E8673C); }
.bk4 { background: linear-gradient(135deg,#7B5EA7,#5A3D89); }
.bk5 { background: linear-gradient(135deg,#1A7F4E,#0D4D2E); }
.bk6 { background: linear-gradient(135deg,#E8673C,#C04420); }

/* ---- TRUST BAND ---- */
.trust-band { background: #fff; border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--text-muted); }
.trust-item strong { color: var(--primary-dark); font-weight: 700; }
.trust-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--border-light); display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* ---- CATEGORIES ---- */
.vl-categories { background: var(--bg); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 16px; }
.cat-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 22px 16px; text-align: center; cursor: pointer; transition: all .25s; text-decoration: none; display: block; }
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.cat-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 22px; }
.cat-name { font-weight: 700; font-size: .9rem; color: var(--text); margin-bottom: 4px; }
.cat-count { font-size: .78rem; color: var(--text-muted); }

/* ---- BOOK SERIES SECTION ---- */
.vl-series { background: #fff; }
.filters-bar { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-group label { font-size: .78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.filter-group select { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .88rem; font-family: var(--font-body); color: var(--text); background: #fff; cursor: pointer; outline: none; min-width: 140px; }
.filter-group select:focus { border-color: var(--primary); }
.books-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 24px; }
.book-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .25s; cursor: pointer; }
.book-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--primary); }
.book-cover { aspect-ratio: .73; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; position: relative; overflow: hidden; }
.book-series-badge { position: absolute; top: 10px; left: 10px; font-size: .65rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; background: rgba(255,255,255,.9); color: var(--primary); padding: 3px 8px; border-radius: 20px; }
.book-cover-title { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; color: #fff; text-align: center; line-height: 1.3; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.book-cover-subtitle { font-size: .72rem; color: rgba(255,255,255,.85); text-align: center; margin-top: 4px; font-weight: 600; }
.book-info { padding: 14px; }
.book-title { font-weight: 700; font-size: .9rem; color: var(--text); margin-bottom: 6px; }
.book-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.book-class { font-size: .75rem; color: var(--text-muted); }
.book-price { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; color: var(--primary); }
.book-actions { display: flex; gap: 8px; }
.btn-sm { padding: 7px 14px; font-size: .78rem; border-radius: 30px; font-weight: 700; cursor: pointer; border: none; font-family: var(--font-body); transition: all .2s; }
.btn-view { background: var(--border-light); color: var(--primary); }
.btn-view:hover { background: var(--primary); color: #fff; }
.btn-enquire { background: var(--accent); color: #fff; }
.btn-enquire:hover { background: var(--accent-hover); }

/* ---- NEP SECTION ---- */
.vl-nep { background: var(--bg); }
.nep-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.nep-visual { background: linear-gradient(135deg,#1A7F4E,#3A8ECC); border-radius: 20px; padding: 40px; color: #fff; position: relative; overflow: hidden; }
.nep-visual::after { content: 'NCF 2022'; position: absolute; bottom: -20px; right: -10px; font-family: var(--font-display); font-size: 5rem; font-weight: 900; opacity: .12; color: #fff; }
.nep-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.pillar { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 14px; font-size: .82rem; font-weight: 700; }
.pillar-icon { font-size: 18px; margin-bottom: 6px; }
.nep-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.nep-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text); }
.nep-list li::before { content: '✓'; width: 24px; height: 24px; min-width: 24px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; margin-top: 1px; }

/* ---- FEATURES ---- */
.vl-features { background: linear-gradient(135deg, #0D4D2E 0%, #1A7F4E 100%); color: #fff; }
.vl-features .section-title { color: #fff; }
.vl-features .section-sub { color: rgba(255,255,255,.75); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 24px; }
.feat-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 28px; transition: all .25s; }
.feat-card:hover { background: rgba(255,255,255,.18); transform: translateY(-4px); }
.feat-icon { width: 52px; height: 52px; background: rgba(245,166,35,.25); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.feat-card h3 { font-weight: 800; font-size: 1rem; margin-bottom: 8px; }
.feat-card p { font-size: .85rem; opacity: .8; line-height: 1.6; }

/* ---- TESTIMONIALS ---- */
.vl-testimonials { background: #fff; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 24px; }
.testi-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all .25s; }
.testi-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.testi-stars { color: #F5A623; font-size: 1rem; margin-bottom: 12px; }
.testi-text { font-size: .9rem; color: var(--text); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; }
.testi-name { font-weight: 700; font-size: .88rem; color: var(--text); }
.testi-role { font-size: .75rem; color: var(--text-muted); }

/* ---- CTA SECTION ---- */
.vl-cta { background: linear-gradient(135deg,#F5A623 0%,#E8673C 50%,#C0226B 100%); padding: 80px 0; text-align: center; color: #fff; position: relative; overflow: hidden; }
.vl-cta::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 30px 30px; }
.vl-cta h2 { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 16px; position: relative; }
.vl-cta p { font-size: 1.1rem; opacity: .9; margin-bottom: 36px; position: relative; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }
.btn-cta-white { background: #fff; color: #E8673C; font-weight: 800; }
.btn-cta-white:hover { background: #fff8f0; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.15); color: #E8673C; }
.btn-cta-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-cta-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); color: #fff; }

/* ---- CONTACT ---- */
.vl-contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 36px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-group input,.form-group select,.form-group textarea { width: 100%; padding: 11px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; font-family: var(--font-body); color: var(--text); background: #fff; transition: border-color .2s; outline: none; }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,127,78,.1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 20px; }
.info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-icon { width: 40px; height: 40px; min-width: 40px; background: var(--border-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.info-label { font-size: .78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.info-value { font-size: .92rem; font-weight: 700; color: var(--text); }
.distributor-box { background: var(--border-light); border-radius: var(--radius); padding: 20px; margin-top: 24px; }
.distributor-box h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 10px; }
.distributor-box p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }

/* ---- FOOTER ---- */
.site-footer { background: #0D1F16; color: rgba(255,255,255,.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
/* Footer logo — ensure visibility on dark background */
.footer-brand .site-logo img,
.footer-brand .custom-logo-link img { height: 48px; width: auto; max-width: 220px; object-fit: contain; filter: brightness(0) invert(1); }
/* If logo already has good contrast (e.g. white text version), remove filter above via Customizer */
.footer-logo-wrap { margin-bottom: 16px; }
.footer-logo-fallback { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-fallback .logo-name { color: #fff; }
.footer-logo-fallback .logo-tagline { color: rgba(255,255,255,.45); }
.footer-brand p { font-size: .85rem; line-height: 1.7; opacity: .7; margin-top: 12px; }
.footer-nep-badges { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.footer-badge { background: rgba(26,127,78,.4); border: 1px solid rgba(26,127,78,.6); color: #9FE8C0; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.footer-col h4 { color: #fff; font-size: .88rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-heading); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: .84rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: #F5A623; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-links { display: flex; gap: 20px; }

/* ---- MODAL ---- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal { background: #fff; border-radius: 20px; max-width: 780px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; border-bottom: 1.5px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 10; }
.modal-header h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--text); }
.modal-close { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--bg); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all .2s; color: var(--text); }
.modal-close:hover { background: var(--primary); color: #fff; }
.modal-body { padding: 28px; }
.modal-book { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.modal-cover { aspect-ratio: .73; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; color: #fff; text-align: center; }
.modal-detail .price-tag { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 12px; }
.modal-tabs { display: flex; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.modal-tab { padding: 8px 18px; font-size: .83rem; font-weight: 700; cursor: pointer; border: none; background: transparent; font-family: var(--font-body); color: var(--text-muted); transition: all .2s; flex: 1; border-right: 1px solid var(--border); }
.modal-tab:last-child { border-right: none; }
.modal-tab.active { background: var(--primary); color: #fff; }
.modal-tab-content { display: none; }
.modal-tab-content.active { display: block; }
.modal-tab-content p { font-size: .9rem; color: var(--text); line-height: 1.7; }
.modal-tab-content ul { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 0; }
.modal-tab-content ul li { font-size: .88rem; color: var(--text); padding-left: 20px; position: relative; line-height: 1.5; }
.modal-tab-content ul li::before { content: '▸'; position: absolute; left: 0; color: var(--primary); font-size: .75rem; }
.meta-table { width: 100%; margin-bottom: 16px; border-collapse: collapse; }
.meta-table td { padding: 5px 0; font-size: .85rem; vertical-align: top; }
.meta-table td:first-child { color: var(--text-muted); width: 110px; font-weight: 600; }
.meta-table td:last-child { color: var(--text); font-weight: 700; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.flipbook-preview { background: linear-gradient(135deg,#e3f0fa,#d6ffe9); border: 1.5px dashed var(--primary); border-radius: 12px; padding: 20px; text-align: center; margin-top: 12px; }
.flipbook-preview p { font-size: .82rem; color: var(--primary-dark); font-weight: 600; margin-top: 6px; }

/* ---- MOBILE NAV ---- */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1500; }
.mobile-nav-overlay.open { display: block; }
.mobile-nav-panel { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: #fff; padding: 24px; overflow-y: auto; }
.mobile-nav-close { font-size: 1.5rem; cursor: pointer; color: var(--text); margin-bottom: 24px; display: block; background: none; border: none; font-family: var(--font-body); }
.mobile-nav-panel a { display: block; padding: 12px 0; font-size: 1rem; font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-nav-panel a:hover { color: var(--primary); }

/* ---- TOAST ---- */
.vl-toast { position: fixed; bottom: 24px; right: 24px; background: var(--primary); color: #fff; padding: 12px 24px; border-radius: 50px; font-size: .88rem; font-weight: 700; z-index: 9999; transform: translateY(80px); opacity: 0; transition: all .35s; pointer-events: none; }
.vl-toast.show { transform: translateY(0); opacity: 1; }

/* ---- SCROLL ANIMATIONS ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.anim-ready { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.anim-visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .nep-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .primary-nav { display: none; }
  .hamburger { display: flex; }
  .vl-search-bar input { width: 120px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-book { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .vl-hero h1 { font-size: 2rem; }
  .hero-stats { gap: 16px; }
  .header-actions .btn { display: none; }
}
