:root {
  --blue:   #4daaff;
  --orange: #f97316;
  --purple: #a855f7;
  --green:  #10b981;
  --red:    #ef4444;
  --dark:   #0e0e0e;
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Hero with animated gradient ---- */
.vb-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  text-align: center;
  padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 60px);
  background: linear-gradient(135deg, #fff 0%, #fff 20%, #faf5ff 38%, #eff6ff 52%, #f0fdf4 66%, #fff7ed 80%, #fef2f2 100%);
  background-size: 300% 300%;
  animation: vbHeroBgShift 12s ease-in-out infinite;
  margin-bottom: clamp(32px, 5vw, 64px);
  overflow: hidden;
  box-sizing: border-box;
}

@keyframes vbHeroBgShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.vb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255,255,255,.6) 0%, transparent 70%);
  pointer-events: none;
}

/* Floating orbs */
.vb-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}
.vb-hero-orb--1 {
  width: 220px; height: 220px;
  background: #a855f7;
  top: -50px; left: 10%;
  animation: vbOrbFloat1 10s ease-in-out infinite alternate;
}
.vb-hero-orb--2 {
  width: 180px; height: 180px;
  background: #4daaff;
  bottom: -30px; right: 12%;
  animation: vbOrbFloat2 8s ease-in-out infinite alternate;
}
.vb-hero-orb--3 {
  width: 140px; height: 140px;
  background: #f97316;
  top: 40%; left: 58%;
  animation: vbOrbFloat3 9s ease-in-out infinite alternate;
}
@keyframes vbOrbFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, -25px) scale(1.15); }
}
@keyframes vbOrbFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-25px, 18px) scale(1.1); }
}
@keyframes vbOrbFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -30px) scale(1.12); }
}

/* Hero particles */
.vb-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.vb-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: vbParticleFloat linear infinite;
}
@keyframes vbParticleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  15%  { opacity: 0.7; }
  85%  { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1.2); }
}

.vb-hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }

.vb-tag {
  display: inline-block !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(13px, 1.8vw, 16px) !important;
  font-weight: 600 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: #4daaff !important;
  padding: 6px 20px !important;
  border-radius: 100px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 4px 16px rgba(77,170,255,.35) !important;
  animation: vbHeroFadeUp 0.7s var(--ease) 0.1s both;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.vb-tag:hover {
  transform: scale(1.07) !important;
  box-shadow: 0 6px 24px rgba(77,170,255,.5) !important;
}

.vb-hero h1 {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(32px, 5.5vw, 56px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #0e0e0e !important;
  margin: 0 0 20px !important;
  letter-spacing: -.01em !important;
  animation: vbHeroFadeUp 0.7s var(--ease) 0.25s both;
}
.vb-hero h1 span {
  font-weight: 700 !important;
  background: linear-gradient(90deg, #4daaff, #a855f7, #f97316, #4daaff) !important;
  background-size: 300% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: vbShimmerText 5s linear infinite;
}
@keyframes vbShimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

.vb-hero p {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(16px, 2.5vw, 22px) !important;
  font-weight: 400 !important;
  color: #444 !important;
  line-height: 1.6 !important;
  margin: 0 0 28px !important;
  animation: vbHeroFadeUp 0.7s var(--ease) 0.4s both;
}
.vb-divider {
  width: 80px !important; height: 4px !important;
  background: linear-gradient(90deg, #4daaff, #a855f7, #f97316, #4daaff) !important;
  background-size: 300% 100% !important;
  border-radius: 100px !important; margin: 0 auto !important;
  animation: vbHeroFadeUp 0.7s var(--ease) 0.55s both, vbDividerCycle 4s linear infinite 1s;
}
@keyframes vbDividerCycle {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

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

/* ---- Wrapper ---- */
.vb-wrapper {
  max-width: min(1600px, 94vw) !important;
  margin: 0 auto !important;
  padding: clamp(32px, 6vw, 80px) clamp(16px, 3vw, 48px) !important;
  font-family: 'Outfit', sans-serif !important;
  box-sizing: border-box !important;
}
.vb-wrapper *, .vb-wrapper *::before, .vb-wrapper *::after { box-sizing: border-box !important; }
.vb-wrapper img { max-width: 100% !important; height: auto !important; display: block !important; }

/* ---- Section titles with hover underline ---- */
h2.section-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(28px, 4.5vw, 44px) !important;
  font-weight: 800 !important;
  margin: clamp(48px, 7vw, 80px) 0 clamp(24px, 4vw, 40px) !important;
  color: var(--dark) !important;
  text-align: center !important;
  border-top: 1px solid #e5e7eb !important;
  padding-top: clamp(48px, 7vw, 80px) !important;
  display: inline-block !important;
  position: relative !important;
  width: 100% !important;
}
h2.section-title:first-of-type { border-top: none !important; padding-top: 0 !important; margin-top: 0 !important; }

h2.section-title::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -4px;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 100px;
  transition: width 0.5s var(--ease), left 0.5s var(--ease);
}
h2.section-title:hover::after {
  width: 160px;
  left: calc(50% - 80px);
}

/* ---- Grid ---- */
.large-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)) !important;
  gap: clamp(20px, 3vw, 32px) !important;
  margin-bottom: clamp(32px, 5vw, 60px) !important;
  align-items: start !important;
}
@media (max-width: 600px) { .large-grid { grid-template-columns: 1fr !important; } }

/* ---- Card with animated border & 3D tilt ---- */
.big-card {
  background: #fff !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 30px rgba(0,0,0,.07) !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform .45s var(--ease), box-shadow .45s ease, border-color .4s ease !important;
  position: relative;
  will-change: transform;
}

.big-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(77,170,255,0.3), rgba(168,85,247,0.3), rgba(249,115,22,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.big-card:hover::after { opacity: 1; }

.big-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 24px 52px rgba(77,170,255,.12), 0 10px 24px rgba(0,0,0,.1) !important;
  border-color: rgba(77,170,255,.18) !important;
}

/* ---- Card image with shine sweep ---- */
.card-img {
  width: 100% !important;
  background: #f1f5f9 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  cursor: zoom-in !important;
  overflow: hidden !important;
  position: relative;
}
.card-img img {
  width: 100% !important; height: auto !important; object-fit: cover !important;
  transition: transform .6s var(--ease), filter .5s ease !important;
}
.card-img:hover img {
  transform: scale(1.05) !important;
  filter: brightness(1.04) saturate(1.08);
}

.card-img::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.4) 50%, transparent 80%);
  pointer-events: none;
  z-index: 2;
  transition: none;
}
.card-img:hover::after {
  animation: vbShineSweep 0.75s ease forwards;
}
@keyframes vbShineSweep {
  0%   { left: -100%; }
  100% { left: 120%; }
}

.card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}
.card-img:hover::before { opacity: 1; }

.card-content {
  padding: clamp(24px, 3vw, 36px) !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* ---- Tag with hover effect ---- */
.tag {
  display: inline-block !important;
  font-family: 'Outfit', sans-serif !important;
  padding: 5px 14px !important;
  border-radius: 100px !important;
  font-size: clamp(11px, 1.4vw, 13px) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .1em !important;
  margin-bottom: 14px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.tag:hover {
  transform: translateY(-2px) scale(1.04);
}

/* ---- Headings with hover underline ---- */
.big-card h3 {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(20px, 2.8vw, 24px) !important;
  font-weight: 700 !important;
  margin: 0 0 14px !important;
  line-height: 1.3 !important;
  color: var(--dark) !important;
  transition: color 0.3s ease !important;
  display: inline-block !important;
  position: relative !important;
}

.big-card h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2.5px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.big-card:hover h3::after { transform: scaleX(1); }
.big-card:hover h3 { color: var(--blue) !important; }

/* Body */
.big-card p {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(17px, 2.3vw, 19px) !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  color: #475569 !important;
  margin: 0 0 14px !important;
}

/* ---- List items with hover slide ---- */
.big-card ul { margin: 0 0 14px !important; padding-left: 1.3rem !important; }
.big-card ul li {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(15px, 1.9vw, 17px) !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: #475569 !important;
  margin-bottom: 6px !important;
  transition: color 0.25s ease, transform 0.25s ease, padding-left 0.25s ease !important;
  cursor: default;
}
.big-card ul li:hover {
  color: var(--blue) !important;
  transform: translateX(5px);
  padding-left: 4px !important;
}

/* Poster hook */
.poster-hook {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(16px, 2vw, 18px) !important;
  font-style: italic !important;
  color: #0e0e0e !important;
  margin-bottom: 14px !important;
  display: block !important;
  line-height: 1.5 !important;
  transition: color 0.3s ease !important;
}
.big-card:hover .poster-hook { color: var(--purple) !important; }

/* ---- Info block with hover glow ---- */
.info-block {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  padding: 16px 18px !important;
  border-radius: 12px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(15px, 1.9vw, 17px) !important;
  font-weight: 400 !important;
  color: #334155 !important;
  margin: 16px 0 !important;
  line-height: 1.7 !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease !important;
}
.info-block strong { font-weight: 700 !important; color: var(--dark) !important; }

.big-card:hover .info-block {
  border-color: rgba(77,170,255,.25) !important;
  box-shadow: 0 4px 16px rgba(77,170,255,.08) !important;
  transform: translateX(3px);
}

/* ---- Quote box with animated border ---- */
.quote-box {
  margin-top: auto !important;
  padding: 14px 18px !important;
  border-left: 4px solid #ddd !important;
  border-radius: 0 10px 10px 0 !important;
  font-family: 'Outfit', sans-serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: clamp(15px, 1.9vw, 17px) !important;
  color: #64748b !important;
  line-height: 1.7 !important;
  background: linear-gradient(135deg, #fafafa 0%, #f8f0ff 100%) !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.quote-box::before {
  content: '\201C';
  position: absolute;
  top: -8px; left: 12px;
  font-size: 56px;
  font-family: 'Outfit', sans-serif;
  color: rgba(168,85,247,0.08);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s ease;
}

.big-card:hover .quote-box {
  box-shadow: 0 6px 20px rgba(168,85,247,.1) !important;
  transform: translateX(4px);
}

.big-card:hover .quote-box::before {
  color: rgba(168,85,247,0.18);
}

/* Theme colours */
.theme-student .tag  { background: #fef2f2 !important; color: var(--red) !important; }
.theme-business .tag { background: #fff7ed !important; color: var(--orange) !important; }
.theme-care .tag     { background: #faf5ff !important; color: var(--purple) !important; }
.theme-work .tag     { background: #eff6ff !important; color: var(--blue) !important; }
.theme-vr .tag       { background: #f0fdf4 !important; color: var(--green) !important; }

.theme-student .tag:hover  { box-shadow: 0 4px 12px rgba(239,68,68,.15); }
.theme-business .tag:hover { box-shadow: 0 4px 12px rgba(249,115,22,.15); }
.theme-care .tag:hover     { box-shadow: 0 4px 12px rgba(168,85,247,.15); }
.theme-work .tag:hover     { box-shadow: 0 4px 12px rgba(77,170,255,.15); }
.theme-vr .tag:hover       { box-shadow: 0 4px 12px rgba(16,185,129,.15); }

.theme-care .quote-box  { border-color: var(--purple) !important; }
.theme-work .quote-box  { border-color: var(--blue) !important; }
.theme-vr .quote-box    { border-color: var(--green) !important; }

.theme-care:hover .quote-box  { border-color: var(--purple) !important; }
.theme-work:hover .quote-box  { border-color: var(--blue) !important; }
.theme-vr:hover .quote-box    { border-color: var(--green) !important; }

.theme-student  { border-top: 4px solid var(--red) !important; }
.theme-business { border-top: 4px solid var(--orange) !important; }
.theme-care     { border-top: 4px solid var(--purple) !important; }
.theme-work     { border-top: 4px solid var(--blue) !important; }
.theme-vr       { border-top: 4px solid var(--green) !important; }

/* Theme-specific h3 hover colors */
.theme-student:hover h3  { color: var(--red) !important; }
.theme-business:hover h3 { color: var(--orange) !important; }
.theme-care:hover h3     { color: var(--purple) !important; }
.theme-vr:hover h3       { color: var(--green) !important; }

.theme-student h3::after  { background: linear-gradient(90deg, var(--red), #fca5a5) !important; }
.theme-business h3::after { background: linear-gradient(90deg, var(--orange), #fdba74) !important; }
.theme-care h3::after     { background: linear-gradient(90deg, var(--purple), #d8b4fe) !important; }
.theme-vr h3::after       { background: linear-gradient(90deg, var(--green), #6ee7b7) !important; }

/* ---- Scroll reveal with directions ---- */
.ws-sr {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.ws-sr.ws-visible { opacity: 1 !important; transform: translateY(0) !important; }

.ws-sr-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.ws-sr-left.ws-visible { opacity: 1 !important; transform: translateX(0) !important; }

.ws-sr-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.ws-sr-right.ws-visible { opacity: 1 !important; transform: translateX(0) !important; }

.ws-sr-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.ws-sr-scale.ws-visible { opacity: 1 !important; transform: scale(1) !important; }

@media (prefers-reduced-motion: reduce) {
  .ws-sr, .ws-sr-left, .ws-sr-right, .ws-sr-scale {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .vb-hero { animation: none !important; }
  .vb-hero-orb { animation: none !important; display: none; }
  .vb-particle { animation: none !important; display: none; }
  .vb-hero h1 span { animation: none !important; }
  .vb-divider { animation: vbHeroFadeUp 0.7s var(--ease) 0.55s both !important; }
  .card-img::after { display: none; }
  .big-card::after { display: none; }
}

/* ---- Lightbox ---- */
.wb-lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  align-items: center;
  justify-content: center;
}
.wb-lb.wb-open { display: flex; }
.wb-lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,10,14,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.wb-lb-stage {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  animation: wbIn .3s var(--ease) both;
}
@keyframes wbIn { from { opacity:0; transform:scale(.92); } to { opacity:1; transform:scale(1); } }
.wb-lb-img {
  max-width: 100%; max-height: 80vh;
  width: auto; height: auto;
  border-radius: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  display: block; object-fit: contain;
  transition: opacity .15s ease;
}
.wb-lb-caption {
  color: rgba(255,255,255,.65);
  font-family: 'Outfit', sans-serif;
  font-size: 15px; text-align: center; margin: 0; line-height: 1.5;
}
.wb-lb-close, .wb-lb-prev, .wb-lb-next {
  position: fixed;
  background: rgba(255,255,255,.14);
  border: none; color: #fff; cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
  z-index: 3; padding: 0; font-family: sans-serif; line-height: 1;
}
.wb-lb-close { top: 18px; right: 18px; width: 44px; height: 44px; font-size: 20px; }
.wb-lb-prev, .wb-lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 36px; }
.wb-lb-prev { left: 18px; }
.wb-lb-next { right: 18px; }
.wb-lb-close:hover { background: rgba(255,255,255,.28); }
.wb-lb-prev:hover { background: rgba(255,255,255,.28); transform: translateY(-50%) scale(1.08); }
.wb-lb-next:hover { background: rgba(255,255,255,.28); transform: translateY(-50%) scale(1.08); }
@media (max-width: 640px) { .wb-lb-prev { left: 8px; } .wb-lb-next { right: 8px; } }
