:root {
  --brand: #1FB6D5;
  --brand-dark: #0C8FB0;
  --brand-glow: rgba(31, 182, 213, 0.35);

  --bg: #F3F8FC;
  --surface: rgba(255, 255, 255, 0.86);
  --text: #0F172A;
  --muted: #64748B;
  --border: rgba(15, 23, 42, 0.10);

  --nav-h: 80px;
  --radius: 34px;

  /* ✅ nav bg that actually works (instead of rgba(var(--bg),...)) */
  --nav-bg: rgba(243, 248, 252, 0.60);
}

/* Background Orbs */
.bg-blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; filter: blur(80px); }
.blob { position: absolute; width: 600px; height: 600px; background: var(--brand-glow); border-radius: 50%; animation: move 20s infinite alternate; }
.blob-1 { top: -150px; left: -150px; }
.blob-2 { bottom: -200px; right: -150px; background: rgba(31, 182, 213, 0.15); animation-delay: -5s; }
@keyframes move { from { transform: translate(0, 0) scale(1); } to { transform: translate(120px, 80px) scale(1.1); } }


/* ✅ Bootstrap text fixes for dark mode */
.text-muted{ color: var(--muted) !important; }
.lead{ color: var(--muted) !important; }

/* Hero Section */
.page-header { padding: calc(var(--nav-h) + 60px) 0 40px; text-align: center; }
.page-title { font-weight: 900; letter-spacing: -0.05em; font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--text); }
.page-title span { color: var(--brand); }

/* Content Cards */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  color: var(--text);
}

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 99px;
  background: rgba(31, 182, 213, 0.12);
  color: var(--brand-dark);
  font-weight: 800; font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Split Cards */
.choice-card {
  padding: 30px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.4);
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--text);
}
html[data-theme="dark"] .choice-card{ background: rgba(255,255,255,0.08); }
.choice-card:hover { transform: translateY(-5px); border-color: var(--brand); }

.btn-racf { border-radius: 16px; padding: 14px 24px; font-weight: 800; transition: 0.3s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-brand { background: var(--brand); color: white; border: none; }
.btn-brand:hover { background: var(--brand-dark); color: white; transform: scale(1.02); }
.btn-outline { border: 2px solid var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: white; }

/* Category Grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; margin-top: 30px; }
.cat-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: 18px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.2s;
  color: var(--text);
}
.cat-item:hover { border-color: var(--brand); color: var(--brand); background: white; }
html[data-theme="dark"] .cat-item:hover{ background: rgba(255,255,255,0.12); }

/* ✅ Accordion fixes for dark mode */
.accordion-button{
  color: var(--text) !important;
}
html[data-theme="dark"] .accordion-button{
  background: transparent !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .accordion-button::after{
  filter: invert(1) opacity(.85);
}
.accordion-body{
  color: var(--muted) !important;
}
html[data-theme="dark"] .accordion-item{
  border-color: var(--border) !important;
}
