/* ==================================================================
    LIGHT & MODERN THEME OVERHAUL
    Clean, crisp, light-first styling for WRCTutoring
================================================================== */

/* Force clean, crisp light theme regardless of system dark-mode preference */
:root,
[data-bs-theme="auto"],
[data-bs-theme="dark"],
[data-bs-theme="light"],
html,
body {
  --bs-body-bg: #ffffff !important;
  --bs-body-bg-rgb: 255, 255, 255 !important;
  --bs-body-color: #334155 !important;
  --bs-body-color-rgb: 51, 65, 85 !important;
  --bs-secondary-color: #64748b !important;
  --bs-tertiary-color-rgb: 100, 116, 139 !important;
  --bs-tertiary-bg: #f8fafc !important;
  --bs-secondary-bg: #f1f5f9 !important;
  --bs-border-color: #e2e8f0 !important;
  --bs-primary: #2563eb !important;
  --bs-primary-rgb: 37, 99, 235 !important;
  --block-background: #f8fafc;
  --output-background: #f1f5f9;
  color-scheme: light !important;
  background-color: #ffffff !important;
}

/* Global Styles */
body {
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
  background-color: #ffffff;
  color: #334155;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==================================================================
    MODERN FROSTED-GLASS NAVBAR
================================================================== */

.navbar,
header[data-bs-theme="dark"] .navbar,
.navbar-dark.bg-dark {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04) !important;
}

.navbar .navbar-brand,
.navbar-dark .navbar-brand {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.navbar .nav-link,
.navbar-dark .navbar-nav .nav-link {
  color: #475569 !important;
  font-weight: 500 !important;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 0.375rem;
  transition: all 0.15s ease;
}

.navbar .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:hover {
  color: #2563eb !important;
  background-color: rgba(37, 99, 235, 0.06);
}

.navbar .nav-link.active,
.navbar-dark .navbar-nav .nav-link.active {
  color: #2563eb !important;
  font-weight: 600 !important;
}

.navbar .btn-outline-light {
  color: #2563eb !important;
  border-color: #2563eb !important;
  background-color: transparent !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
  transition: all 0.2s ease;
}

.navbar .btn-outline-light:hover {
  color: #ffffff !important;
  background-color: #2563eb !important;
  border-color: #2563eb !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.navbar-toggler {
  border-color: #cbd5e1 !important;
}

.navbar-toggler-icon {
  filter: invert(1) grayscale(100%) !important;
}

/* ==================================================================
    CUSTOMIZE THE CAROUSEL
================================================================== */

.carousel {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  margin-bottom: 3.5rem;
  border-radius: 0;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: none;
}

/* Subtle graph/grid pattern overlay for academic STEM depth */
.carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
  z-index: 1;
}

.carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.carousel-item {
  position: relative;
  height: 34rem;
  background: radial-gradient(120% 100% at 50% 18%, #edf5ff 0%, #f8fafc 52%, #f1f5f9 100%);
  overflow: hidden;
}

/* Soft ambient lighting disc centered behind the hero text */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 92vw);
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.12) 0%, rgba(99, 102, 241, 0.05) 45%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 1;
}

/* Subtle corner accent glow */
.carousel-item::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.carousel-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.carousel-caption {
  position: static !important;
  padding: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  max-width: 740px;
  margin: 0 auto !important;
  text-align: center !important;
}

/* Hero Pills & Trust Markers */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(191, 219, 254, 0.85);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e40af;
  letter-spacing: -0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-pill .hero-pill-tag {
  background: #2563eb;
  color: #ffffff;
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.85rem;
  margin-top: 1.25rem;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-trust-list .check-icon {
  color: #16a34a;
  font-weight: 700;
}

/* When a slide has a background image: crisp white text with soft shadow */
.carousel-item:has(img) .carousel-caption h1 {
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.carousel-item:has(img) .carousel-caption p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.2rem;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* When a slide has no image: crisp dark slate text matching the consistent light theme */
.carousel-item:not(:has(img)) .carousel-caption h1 {
  color: #0f172a !important;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: 2.5rem;
  text-shadow: none !important;
}

.carousel-item:not(:has(img)) .carousel-caption p {
  color: #475569 !important;
  font-size: 1.2rem;
  line-height: 1.5;
  text-shadow: none !important;
}

/* Carousel Indicators (Round, low-opacity, shaded active state) */
.carousel-indicators {
  position: absolute !important;
  right: 0 !important;
  bottom: 1.25rem !important;
  left: 0 !important;
  z-index: 15 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  gap: 0.6rem !important;
  list-style: none !important;
  pointer-events: auto !important;
}

.carousel-indicators [data-bs-target] {
  box-sizing: content-box !important;
  flex: 0 0 auto !important;
  width: 9px !important;
  height: 9px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-top: 8px solid transparent !important;
  border-bottom: 8px solid transparent !important;
  border-radius: 50% !important;
  background-color: #2563eb !important;
  background-clip: padding-box !important;
  opacity: 0.18 !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease, background-color 0.2s ease !important;
}

.carousel-indicators [data-bs-target]:hover {
  opacity: 0.5 !important;
}

.carousel-indicators .active {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background-color: #2563eb !important;
  opacity: 0.85 !important;
}

/* Carousel Controls (Arrows) - Positioned further out & perfectly aligned click target */
.carousel-control-prev,
.carousel-control-next {
  width: 3.5rem !important;
  height: 3.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  bottom: auto !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  opacity: 0.9 !important;
  z-index: 15 !important;
  transition: all 0.2s ease !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.carousel-control-prev {
  left: 2rem !important;
}

.carousel-control-next {
  right: 2rem !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: #ffffff !important;
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25) !important;
  border-color: #2563eb !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 1.4rem !important;
  height: 1.4rem !important;
  filter: invert(30%) sepia(80%) saturate(1500%) hue-rotate(205deg) !important;
}

/* Responsive Carousel for Mobile */
@media (max-width: 768px) {
  /* Hide prev/next arrow buttons on mobile to prevent blocking content; swipe is enabled */
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }

  .carousel-item {
    height: 25.5rem;
  }

  .carousel-caption {
    padding: 0 1rem !important;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    background: transparent !important;
  }

  .carousel-caption h1 {
    font-size: 1.6rem !important;
    margin-bottom: 0.5rem;
    line-height: 1.25;
  }

  .carousel-caption p {
    font-size: 0.95rem !important;
    margin-bottom: 0.85rem;
    line-height: 1.45;
  }

  .carousel-caption .btn {
    font-size: 0.92rem;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
  }

  .hero-pill {
    margin-bottom: 0.75rem;
    font-size: 0.76rem;
    padding: 0.22rem 0.7rem;
  }

  .hero-trust-list {
    margin-top: 0.85rem;
    font-size: 0.78rem;
    gap: 0.35rem 0.65rem;
  }

  .carousel-indicators {
    bottom: 0.85rem !important;
    gap: 0.5rem !important;
  }

  .carousel-indicators [data-bs-target] {
    width: 8px !important;
    height: 8px !important;
    border-top: 6px solid transparent !important;
    border-bottom: 6px solid transparent !important;
    opacity: 0.2 !important;
  }

  .carousel-indicators .active {
    width: 8px !important;
    height: 8px !important;
    opacity: 0.85 !important;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    height: 24.5rem;
  }

  .carousel-caption {
    padding: 0 0.75rem !important;
  }

  .carousel-caption h1 {
    font-size: 1.38rem !important;
    letter-spacing: -0.02em;
  }

  .carousel-caption p {
    font-size: 0.86rem !important;
    line-height: 1.4;
  }

  .hero-trust-list {
    font-size: 0.74rem;
  }

  .carousel-indicators {
    bottom: 0.75rem !important;
    gap: 0.45rem !important;
  }
}

/* ==================================================================
    BUTTONS
================================================================== */

.btn {
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
}

.btn-primary {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.25);
}

.btn-info {
  background-color: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

.btn-info:hover {
  background-color: #0369a1 !important;
  border-color: #0369a1 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-danger {
  background-color: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}

.btn-danger:hover {
  background-color: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-warning {
  background-color: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #ffffff !important;
}

.btn-warning:hover {
  background-color: #d97706 !important;
  border-color: #d97706 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ==================================================================
    MARKETING CONTENT & CARDS
================================================================== */

.marketing .col-lg-4 {
  margin-bottom: 2rem;
  text-align: center;
}

.marketing .col-lg-4 img,
.marketing .col-lg-4 svg {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.25rem;
}

.marketing .col-lg-4 h2 {
  font-weight: 700;
  color: #0f172a;
}

.marketing .col-lg-4 p {
  color: #475569;
}

.card {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 1rem !important;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04) !important;
}

.card .card-body {
  background-color: #ffffff !important;
}

.card-text {
  color: #475569;
}

/* Featurettes */
.featurette-divider {
  margin: 5rem 0;
  border: none;
  border-top: 1px solid #e2e8f0;
  opacity: 1;
}

.featurette-heading {
  margin-top: 0 !important;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.featurette .lead {
  color: #475569;
  font-size: 1.15rem;
  margin-bottom: 0;
}

@media (min-width: 40em) {
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 42px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 0 !important;
  }
}

/* ==================================================================
    CALENDLY SECTION
================================================================== */

#schedule {
  padding: 3rem 1.5rem;
  background-color: #f8fafc;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

#schedule h2 {
  color: #0f172a;
}

#schedule p {
  color: #64748b;
}

/* ==================================================================
    TYPOGRAPHY & HEADINGS
================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h1 a:visited,
h2 a:visited,
h3 a:visited,
h4 a:visited,
h5 a:visited {
  color: inherit !important;
}

/* ==================================================================
    FRANKLIN CONTENT & CASE STUDIES
================================================================== */

.franklin-content {
  color: #334155;
  line-height: 1.7;
}

.franklin-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  padding-bottom: 0;
  margin-top: 1.5em;
  margin-bottom: 0.25em;
  border-bottom: none;
}

.franklin-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.4rem;
}

.franklin-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2563eb;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.franklin-content a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.franklin-content a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Table of Contents - Clean, unnumbered, modern badges */
.franklin-toc ol,
.franklin-toc ol ol,
.franklin-toc li {
  list-style: none !important;
  list-style-type: none !important;
}

.franklin-toc ol {
  padding-left: 0;
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.franklin-toc ol ol {
  padding-left: 1.25rem;
}

.franklin-toc li {
  margin: 0.4rem 0;
}

.franklin-toc a {
  display: inline-block;
  color: #2563eb;
  padding: 0.3rem 0.75rem;
  border-radius: 0.5rem;
  background-color: #f1f5f9;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

.franklin-toc a:hover {
  background-color: #e0e7ff;
  color: #1d4ed8;
  text-decoration: none;
  transform: translateX(2px);
}

/* ==================================================================
    FOOTER
================================================================== */

footer.container {
  padding-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.9rem;
}

footer a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

footer a:hover {
  color: #0f172a;
  text-decoration: underline;
}

.footer-icons ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.footer-icons li {
  display: inline-block;
  padding: 5px 0;
  font-size: 0.85em;
  text-transform: uppercase;
}

.footer-icons a {
  padding-right: 12px;
  font-weight: 600;
}

.page-foot {
  font-size: 85%;
  color: #94a3b8;
  text-align: center;
  margin-top: 4em;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5em;
  margin-bottom: 3em;
}

.page-foot a {
  color: #64748b;
  text-decoration: underline;
}

/* ==================================================================
    KATEX
================================================================== */

body {
  counter-reset: eqnum;
}

.katex {
  font-size: 1em !important;
}

.katex-display .katex {
  display: inline-block;
  white-space: normal;
}

.katex-display::after {
  counter-increment: eqnum;
  content: "(" counter(eqnum) ")";
  position: relative;
  float: right;
  padding-right: 5px;
}

.nonumber .katex-display::after {
  counter-increment: nothing;
  content: "";
}

/* ==================================================================
    CODE & HIGHLIGHT.JS
================================================================== */

code {
  background-color: #f1f5f9;
  color: #0f172a;
  padding: 0.15em 0.35em;
  border-radius: 4px;
  font-size: 13.5px;
}

.hljs {
  font-size: 14px;
  line-height: 1.45em;
  border-radius: 10px;
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0;
}

.hljs-meta {
  font-weight: bold;
}

.hljs-meta.shell_ {
  color: crimson;
}

.hljs-meta.prompt_ {
  color: rgb(25, 179, 51);
}

.code-output {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.fndef-content {
  line-height: 1.5em;
}

/* Franklin Base Boxes */
.franklin-content .colbox-blue {
  background-color: #eff6ff;
  padding: 10px 14px;
  margin: 10px 0;
  border-radius: 0 8px 8px 0;
  border-left: 4px solid #3b82f6;
  color: #1e3a8a;
}

/* ==================================================================
    STYLED TESTIMONIAL CARDS & SCORE BADGES
================================================================== */

.franklin-content blockquote {
  background: #f8fafc;
  border-left: 4px solid #2563eb;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  color: #1e293b;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.franklin-content blockquote p {
  margin-bottom: 0.25rem;
}

.franklin-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Metric / Score Badges in Case Studies */
.score-badge {
  display: inline-block;
  background-color: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
  margin-right: 0.5rem;
  margin-bottom: 0.75rem;
}

.score-badge-success {
  background-color: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

/* ==================================================================
    TUTOR PROFILE CARDS
================================================================== */

.tutor-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  margin-bottom: 2rem;
}

.tutor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -5px rgba(0, 0, 0, 0.08);
}

.tutor-header {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 1.75rem;
}

.tutor-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 3px solid #ffffff;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.qual-badge {
  display: inline-block;
  background-color: #eff6ff;
  color: #1e40af;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #dbeafe;
  margin-bottom: 0.5rem;
  margin-right: 0.35rem;
}

.qual-badge.gold {
  background-color: #fefce8;
  color: #854d0e;
  border-color: #fef08a;
}

.qual-badge.green {
  background-color: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.qual-badge.purple {
  background-color: #f5f3ff;
  color: #5b21b6;
  border-color: #ddd6fe;
}

.tutor-body {
  padding: 1.75rem;
}

.qual-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.qual-group-title:first-child {
  margin-top: 0;
}

.tutor-placeholder-card {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 1.25rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  color: #64748b;
}

.tutor-placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.qual-badge.purple {
  background-color: #f5f3ff;
  color: #5b21b6;
  border-color: #ddd6fe;
}

.tutor-body {
  padding: 1.75rem;
}

.qual-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.qual-group-title:first-child {
  margin-top: 0;
}

.tutor-placeholder-card {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 1.25rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  color: #64748b;
}

.tutor-placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
