/* ==========================================================================
   MINDCARE COMPONENT STYLES (V4 Polish)
   Interactive Accordions • Responsive Mobile Batch Cards • Live Chatbot
   ========================================================================== */

/* Universal Asset Safeguards */
img, picture, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  max-width: 100%;
  flex-shrink: 0;
  vertical-align: middle;
}
.service-icon-wrapper svg {
  width: 26px !important;
  height: 26px !important;
}
.fact-icon-badge svg {
  width: 22px !important;
  height: 22px !important;
}
.course-meta-item svg, .benefit-item svg, .about-story-card h4 svg, .dual-accredit-list li svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}
.team-avatar-img {
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  min-height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

/* --------------------------------------------------------------------------
   TOPBAR & COUNTDOWN BANNER
   -------------------------------------------------------------------------- */
.countdown-strip {
  background: linear-gradient(90deg, #07152b 0%, #0d274d 50%, #07152b 100%);
  color: #ffffff;
  padding: 0.45rem 0.75rem;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(0, 201, 167, 0.3);
  text-align: center;
  position: relative;
  z-index: 40;
  width: 100%;
  box-sizing: border-box;
}

.countdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0 0.25rem;
}

@media (min-width: 640px) {
  .countdown-strip {
    padding: 0.35rem 1rem;
  }
  .countdown-wrapper {
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0;
  }
}

.countdown-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: #f1f5f9;
  text-align: center;
  line-height: 1.3;
  flex-wrap: wrap;
}

.countdown-flame-icon {
  color: var(--color-brand-coral);
  flex-shrink: 0;
  display: inline-block;
}

.countdown-action-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-brand-emerald);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 201, 167, 0.45);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn-countdown-cta {
  font-size: 0.7rem !important;
  padding: 0.22rem 0.75rem !important;
  min-height: 26px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  background: var(--color-brand-emerald) !important;
  color: #060c1a !important;
  border: none !important;
  box-shadow: 0 0 12px rgba(0, 201, 167, 0.45) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-countdown-cta:hover {
  transform: translateY(-1px) scale(1.03) !important;
  box-shadow: 0 0 18px rgba(0, 201, 167, 0.75) !important;
}

.topbar {
  display: none;
  background-color: var(--color-primary-dark);
  color: #e2e8f0;
  font-size: var(--text-xs);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 992px) {
  .topbar {
    display: block;
  }
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.topbar-item:hover {
  color: var(--color-brand-teal-light);
}

/* --------------------------------------------------------------------------
   HEADER & NAVBAR
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: var(--z-sticky, 100);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.96);
}

[data-theme="dark"] .header.scrolled {
  background-color: rgba(10, 23, 46, 0.96);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .nav-wrapper {
    height: 72px;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .brand-logo img {
    height: 44px;
  }
}

.brand-title {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--color-brand-teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .brand-name {
    font-size: 1.25rem;
  }
  .brand-sub {
    font-size: 0.65rem;
  }
}

.nav-menu, .desktop-nav {
  display: none;
  align-items: center;
  gap: clamp(0.45rem, 1.05vw, 1.3rem);
}

@media (min-width: 1024px) {
  .nav-menu, .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition-fast);
  padding: 0.35rem 0;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-brand-teal);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-brand-teal);
  border-radius: var(--radius-full);
}

.header-cta-group, .nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-header-cta {
  display: none;
}

@media (min-width: 769px) {
  .btn-header-cta {
    display: inline-flex;
  }
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border-medium);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
}

.theme-toggle-btn:hover {
  color: var(--color-brand-teal);
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-bg);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: none !important;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: block !important;
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
  display: block !important;
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none !important;
}

.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: var(--color-brand-teal-bg);
  border-color: var(--color-brand-teal);
}

@media (min-width: 1024px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

/* --------------------------------------------------------------------------
   MOBILE DRAWER
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: var(--z-drawer);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 340px);
  background-color: var(--bg-surface);
  z-index: calc(var(--z-drawer) + 1);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.drawer-close-btn {
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.mobile-drawer-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mobile-drawer-link:hover, .mobile-drawer-link.active {
  background-color: var(--color-brand-teal-bg);
  color: var(--color-brand-teal);
}

/* --------------------------------------------------------------------------
   STICKY MOBILE BOTTOM BAR
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-mobile-bar);
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.08);
  height: 60px;
}

@media (min-width: 769px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: color var(--transition-fast);
}

.bottom-bar-item svg {
  width: 20px;
  height: 20px;
}

.bottom-bar-item.active, .bottom-bar-item:hover {
  color: var(--color-brand-teal);
}

.bottom-bar-item.highlight {
  color: var(--color-brand-teal);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   HERO SLIDESHOW SECTION (Mobile-First High-Conversion Presentation)
   -------------------------------------------------------------------------- */
.hero-slider-section {
  position: relative;
  background-color: var(--color-primary-dark);
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.hero-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 420px;
}

@media (min-width: 540px) {
  .hero-slider-viewport {
    min-height: 460px;
  }
}

@media (min-width: 768px) {
  .hero-slider-viewport {
    min-height: 520px;
  }
}

@media (min-width: 1024px) {
  .hero-slider-viewport {
    min-height: 580px;
  }
}

.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-slide-item {
  flex: 0 0 100%;
  width: 100%;
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  box-sizing: border-box;
}

@media (min-width: 540px) {
  .hero-slide-item {
    min-height: 460px;
  }
}

@media (min-width: 768px) {
  .hero-slide-item {
    min-height: 520px;
  }
}

@media (min-width: 1024px) {
  .hero-slide-item {
    min-height: 580px;
  }
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 1;
  transition: transform 6s ease-out;
  transform: scale(1.02);
  filter: brightness(0.95) contrast(1.03);
}

.hero-slide-item.active .hero-slide-bg {
  transform: scale(1.06);
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(6, 12, 26, 0.42) 0%,
    rgba(6, 12, 26, 0.72) 55%,
    rgba(6, 12, 26, 0.94) 100%
  );
}

@media (min-width: 840px) {
  .hero-slide-overlay {
    background: linear-gradient(
      90deg,
      rgba(6, 12, 26, 0.94) 0%,
      rgba(6, 12, 26, 0.76) 48%,
      rgba(6, 12, 26, 0.25) 100%
    );
  }
}

.hero-slide-content-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2.85rem;
  padding-left: clamp(1.25rem, 5vw, 2.5rem);
  padding-right: clamp(1.25rem, 5vw, 2.5rem);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .hero-slide-content-wrap {
    padding-top: 3.5rem;
    padding-bottom: 4.25rem;
    padding-left: clamp(2rem, 5vw, 3.5rem);
    padding-right: clamp(2rem, 5vw, 3.5rem);
  }
}

@media (min-width: 1024px) {
  .hero-slide-content-wrap {
    padding-top: 4.5rem;
    padding-bottom: 5.25rem;
  }
}

.hero-slide-content {
  max-width: 720px;
  width: 100%;
  box-sizing: border-box;
}

.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #38bdf8;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 100%;
  white-space: nowrap;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-slide-badge.badge-coral-glow {
  background: rgba(255, 87, 34, 0.2);
  border-color: rgba(255, 87, 34, 0.65);
  color: #ff8a65;
  box-shadow: 0 0 14px rgba(255, 87, 34, 0.35);
}

.hero-slide-badge.badge-amber-glow {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.65);
  color: #fcd34d;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

.hero-slide-title {
  font-size: clamp(1.45rem, 5.4vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 0.65rem;
  overflow-wrap: break-word;
}

.hero-slide-title .text-teal {
  color: #38bdf8;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.45);
}

.hero-slide-title .text-coral {
  color: #ff8a65;
  text-shadow: 0 0 25px rgba(255, 87, 34, 0.45);
}

.hero-slide-title .text-amber {
  color: #fcd34d;
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.45);
}

.hero-slide-subtitle {
  font-size: clamp(0.85rem, 2.3vw, 1.05rem);
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  max-width: 620px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-slide-subtitle {
    display: block;
    -webkit-line-clamp: unset;
  }
}

.hero-slide-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-slide-ctas .btn {
  width: 100%;
  font-size: 0.88rem;
  padding: 0.7rem 1.15rem;
  min-height: 44px;
  border-radius: var(--radius-md);
  justify-content: center;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .hero-slide-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: auto;
  }
  .hero-slide-ctas .btn {
    width: auto;
    flex: 0 0 auto;
    font-size: 0.88rem;
    padding: 0.65rem 1.35rem;
  }
}

/* Slider Controls (Glassmorphic Arrows & Dots) */
.hero-slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(6, 12, 26, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-slider-nav-btn:hover {
  background: var(--color-brand-blue);
  border-color: var(--color-brand-blue-light);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
  transform: translateY(-50%) scale(1.06);
}

.hero-slider-prev {
  left: clamp(0.5rem, 1.8vw, 1.75rem);
}

.hero-slider-next {
  right: clamp(0.5rem, 1.8vw, 1.75rem);
}

@media (max-width: 768px) {
  .hero-slider-nav-btn {
    display: none;
  }
}

.hero-slider-dots {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(6, 12, 26, 0.65);
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-slider-dot.active {
  width: 20px;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.85);
}

/* --------------------------------------------------------------------------
   DEDICATED HERO TRUST & KEY METRICS BAR
   -------------------------------------------------------------------------- */
.hero-trust-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  position: relative;
  z-index: 5;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

@media (min-width: 768px) {
  .hero-trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
  .hero-trust-strip {
    padding: 0.9rem 0;
  }
}

.trust-pill-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: var(--bg-surface-elevated, var(--bg-surface));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.trust-pill-item:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.trust-pill-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.trust-pill-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.trust-pill-text strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trust-pill-text span {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero Interactive Card */
.hero-card-interactive {
  background: linear-gradient(145deg, var(--color-primary-dark) 0%, #10213d 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 143, 137, 0.3);
}

/* --------------------------------------------------------------------------
   ACCREDITATIONS STRIP
   -------------------------------------------------------------------------- */
.accreditations-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 0;
}

.accreditations-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.accreditation-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.accreditation-item img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.accreditation-text h4 {
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}

.accreditation-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   BATCH EXPLORER & CALCULATOR BOX
   -------------------------------------------------------------------------- */
.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.75rem;
  border-top: 3px solid var(--color-brand-teal);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .calculator-grid {
    grid-template-columns: 1.3fr 1fr 1fr auto;
    gap: 1.25rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-medium);
  background-color: var(--bg-muted);
  color: var(--text-main);
  font-size: 0.92rem;
  font-family: var(--font-body);
  outline: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23008f89' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px;
  padding-right: 2.25rem;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-control:focus {
  border-color: var(--color-brand-teal);
  background-color: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--color-brand-teal-glow);
}

/* --------------------------------------------------------------------------
   FLOATING SCROLL TO TOP BUTTON
   -------------------------------------------------------------------------- */
.scroll-top-btn {
  position: fixed;
  bottom: 80px;
  right: 82px;
  z-index: var(--z-sticky);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--color-brand-teal);
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: all var(--transition-normal);
}

@media (min-width: 769px) {
  .scroll-top-btn {
    bottom: 24px;
    right: 96px;
    width: 52px;
    height: 52px;
  }
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  background: var(--color-brand-teal);
  color: #ffffff;
  border-color: var(--color-brand-teal);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px var(--color-brand-teal-glow);
}

/* Course Grid & Filter Tabs */
.course-filter-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0 auto 2.25rem;
  background: var(--bg-muted);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  max-width: max-content;
  border: 1px solid var(--border-subtle);
}

.course-filter-btn {
  border-radius: var(--radius-full);
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
}

.course-filter-btn:hover {
  color: var(--color-brand-teal);
  background: rgba(0, 143, 137, 0.08);
}

.course-filter-btn.active, .course-filter-btn.btn-primary {
  background: linear-gradient(135deg, var(--color-brand-teal) 0%, #006f6b 100%);
  color: #ffffff;
  box-shadow: 0 3px 12px var(--color-brand-teal-glow);
}

.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brand-teal);
}

.course-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.course-card-category {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-brand-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.course-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.course-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.course-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--bg-muted);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: auto;
  margin-bottom: 1.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.course-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   BATCH SCHEDULE: ZERO HORIZONTAL SCROLLBAR ARCHITECTURE
   Mobile: Touch-Friendly Responsive Cards | Tablet/Desktop: Modern Table
   -------------------------------------------------------------------------- */
.mobile-batch-cards {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
}

@media (min-width: 768px) {
  .mobile-batch-cards {
    display: none !important;
  }
}

.batch-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.batch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-brand-teal), var(--color-primary-light));
  opacity: 0.8;
}

.batch-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand-teal);
  box-shadow: var(--shadow-md);
}

.batch-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-left: 0.25rem;
}

.batch-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.batch-card-header .badge {
  flex-shrink: 0;
  white-space: nowrap;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 0.85rem;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.batch-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.batch-meta-item strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.batch-meta-item span {
  font-weight: 600;
  color: var(--text-main);
}

.batch-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.35rem;
  border-top: 1px dashed var(--border-subtle);
}

/* Desktop View: Wide Table (Sleek overflow without ugly native scrollbars) */
.desktop-batch-table {
  display: none;
}

@media (min-width: 768px) {
  .desktop-batch-table {
    display: block !important;
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-shadow: var(--shadow-sm);
  }
  .desktop-batch-table::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

.batch-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.batch-table th {
  background-color: var(--bg-muted);
  color: var(--text-main);
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--border-subtle);
  white-space: nowrap;
}

.batch-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  vertical-align: middle;
}

.batch-table tr:last-child td {
  border-bottom: none;
}

.batch-table tbody tr {
  transition: background-color var(--transition-fast);
}

.batch-table tbody tr:hover td {
  background-color: var(--bg-card-hover);
}

/* --------------------------------------------------------------------------
   INTERACTIVE FAQ ACCORDION (Animated Smooth Expansion & Rich Visuals)
   -------------------------------------------------------------------------- */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xs);
  position: relative;
}

.accordion-item:hover {
  border-color: rgba(0, 143, 137, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.accordion-item.active {
  border-color: var(--color-brand-teal);
  box-shadow: 0 6px 22px rgba(0, 143, 137, 0.15);
  background: var(--bg-surface);
}

.accordion-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-brand-teal), var(--color-brand-teal-light));
}

.accordion-header {
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  cursor: pointer;
  user-select: none;
  background: var(--bg-surface);
  transition: background-color var(--transition-fast);
}

.accordion-header h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.45;
  transition: color var(--transition-fast);
}

.accordion-item.active .accordion-header h4 {
  color: var(--color-brand-teal);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--color-brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--transition-bounce);
  border: 1px solid var(--border-subtle);
}

.accordion-item:hover .accordion-icon {
  background: var(--color-brand-teal-bg);
}

.accordion-item.active .accordion-icon {
  background: var(--color-brand-teal);
  color: #ffffff;
  transform: rotate(45deg);
  border-color: var(--color-brand-teal);
  box-shadow: 0 2px 8px var(--color-brand-teal-glow);
}

.accordion-body-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-smooth);
}

.accordion-item.active .accordion-body-wrapper {
  grid-template-rows: 1fr;
}

.accordion-body-inner {
  overflow: hidden;
}

.accordion-body-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.15rem;
  background: var(--bg-surface);
}

/* --------------------------------------------------------------------------
   FACTS & MILESTONES SECTION (Original MindCare Heritage)
   -------------------------------------------------------------------------- */
.facts-section {
  background: linear-gradient(135deg, #07152b 0%, #0a2540 50%, #0c2e50 100%);
  color: #ffffff;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}

.facts-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(0, 143, 137, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: var(--z-base);
}

@media (min-width: 640px) {
  .facts-grid {
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .facts-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

.fact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.5vw, 1.75rem) clamp(0.6rem, 1.5vw, 1.25rem);
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.fact-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-brand-teal-light);
  box-shadow: 0 8px 30px rgba(0, 143, 137, 0.25);
}

.fact-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(0, 143, 137, 0.2);
  color: var(--color-brand-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  border: 1px solid rgba(0, 143, 137, 0.4);
}

.fact-number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.fact-title {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fact-desc {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Skills Progress Grid */
.skills-progress-container {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: var(--z-base);
}

@media (min-width: 768px) {
  .skills-progress-container {
    padding: 2.5rem;
  }
}

.skills-progress-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .skills-progress-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }
}

.skill-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.skill-bar-percent {
  color: var(--color-brand-teal-light);
  font-weight: 700;
  font-family: var(--font-heading);
}

.skill-bar-track {
  width: 100%;
  height: 9px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-brand-teal), var(--color-brand-teal-light));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   FLOATING SCROLL TO TOP BUTTON (LEFT SIDE)
   -------------------------------------------------------------------------- */
.scroll-top-btn {
  position: fixed;
  bottom: 74px;
  left: 14px;
  z-index: 150;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--color-brand-teal);
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.9);
  transition: all var(--transition-normal);
}

@media (min-width: 769px) {
  .scroll-top-btn {
    bottom: 24px;
    left: 24px;
    width: 52px;
    height: 52px;
  }
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  background: var(--color-brand-teal);
  color: #ffffff;
  border-color: var(--color-brand-teal);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 25px rgba(0, 143, 137, 0.45);
}

.scroll-top-btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* --------------------------------------------------------------------------
   INTERACTIVE FLOATING CHATBOT & WHATSAPP WIDGET (RIGHT SIDE)
   -------------------------------------------------------------------------- */
.chatbot-launcher {
  position: fixed;
  bottom: 130px;
  right: 14px;
  z-index: 150;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-brand-teal) 0%, #006662 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 143, 137, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.chatbot-launcher.no-webinar {
  bottom: 74px;
}

@media (min-width: 769px) {
  .chatbot-launcher {
    bottom: 84px;
    right: 24px;
    width: 58px;
    height: 58px;
  }

  .chatbot-launcher.no-webinar {
    bottom: 24px;
  }
}

.chatbot-launcher:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(0, 143, 137, 0.7);
}

.chatbot-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--color-brand-emerald);
  border: 2px solid #ffffff;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Chatbot Popup Window */
.chatbot-window {
  position: fixed;
  bottom: 196px;
  right: 14px;
  width: min(calc(100vw - 28px), 360px);
  height: 480px;
  max-height: calc(100vh - 210px);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-normal);
}

.chatbot-window.no-webinar {
  bottom: 140px;
  max-height: calc(100vh - 155px);
}

@media (min-width: 769px) {
  .chatbot-window {
    bottom: 154px;
    right: 24px;
    max-height: calc(100vh - 175px);
  }

  .chatbot-window.no-webinar {
    bottom: 94px;
    max-height: calc(100vh - 115px);
  }
}

.chatbot-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0d274d 100%);
  color: #ffffff;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chatbot-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--color-brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.chatbot-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-body);
}

.chat-bubble {
  max-width: 85%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  line-height: 1.5;
}

.chat-bubble-bot {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-bubble-user {
  background: var(--color-brand-teal);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-quick-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.chat-option-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--color-brand-teal);
  font-weight: 600;
  text-align: left;
  transition: all var(--transition-fast);
}

.chat-option-btn:hover {
  background: var(--color-brand-teal);
  color: #ffffff;
  border-color: var(--color-brand-teal);
}

.chatbot-footer {
  padding: 0.65rem 0.85rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.chatbot-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chatbot-input {
  flex: 1;
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.chatbot-input:focus {
  border-color: var(--color-brand-teal);
}

.chatbot-send-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-brand-teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.chatbot-send-btn:hover {
  background: var(--color-brand-teal-light);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   MODAL SYSTEM (Strictly Hidden by default, Smooth Animated Entrance)
   -------------------------------------------------------------------------- */
.modal-backdrop, .modal {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 14, 26, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.open, .modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content, .modal-dialog {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.92) translateY(16px);
  transition: transform var(--transition-bounce);
}

.modal-backdrop.open .modal-content, .modal.open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn, .modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
  z-index: 10;
}

.modal-close-btn:hover, .modal-close:hover {
  background: var(--color-brand-red);
  color: #ffffff;
  border-color: var(--color-brand-red);
}

/* --------------------------------------------------------------------------
   STUDENT & CLIENT PORTAL AUTHENTICATION MODAL STYLES
   -------------------------------------------------------------------------- */
.portal-tabs {
  display: flex;
  background: var(--bg-muted);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.portal-tab-btn {
  flex: 1;
  padding: 0.6rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.portal-tab-btn.active {
  background: var(--bg-surface);
  color: var(--color-brand-teal);
  box-shadow: var(--shadow-xs);
}

.portal-panel {
  display: none;
}

.portal-panel.active {
  display: block;
}

.verification-result-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-muted);
  display: none;
}

/* --------------------------------------------------------------------------
   INTERACTIVE TABS COMPONENT (OBE Simulator & General)
   -------------------------------------------------------------------------- */
.interactive-tab-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.tab-nav {
  display: flex;
  background: var(--bg-muted);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 1 0 auto;
  padding: 0.65rem 1.15rem;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  text-align: center;
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  background: transparent;
}

.tab-btn:hover {
  color: var(--color-brand-teal);
  background: rgba(0, 143, 137, 0.08);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--color-brand-teal) 0%, #006f6b 100%);
  color: #ffffff;
  box-shadow: 0 3px 12px var(--color-brand-teal-glow);
}

.tab-content-panel {
  display: none;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content-panel.active {
  display: block;
}

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

/* --------------------------------------------------------------------------
   INTERNATIONAL PHONE INPUT GROUP WITH COUNTRY SELECTOR
   -------------------------------------------------------------------------- */
.phone-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}

.country-code-select {
  width: auto;
  min-width: 130px;
  max-width: 155px;
  padding: 0.72rem 0.65rem;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  outline: none;
  transition: border-color var(--transition-fast);
}

.country-code-select:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 2px var(--color-brand-teal-glow);
}

.phone-input-group .phone-number-input,
.phone-input-group input[type="tel"] {
  flex: 1;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   MENTAL HEALTH SCREENER RADIO CARDS
   -------------------------------------------------------------------------- */
.screener-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.screener-question-group {
  margin-bottom: 1.5rem;
}

.screener-question-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.screener-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 600px) {
  .screener-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .screener-options-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.screener-option-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-muted);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.screener-option-label:hover {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-bg);
}

.screener-option-label input[type="radio"] {
  accent-color: var(--color-brand-teal);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.screener-option-label:has(input[type="radio"]:checked) {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-bg);
  color: var(--color-brand-teal);
  box-shadow: 0 0 0 2px var(--color-brand-teal-glow);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-primary-dark);
  color: #cbd5e1;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0.85rem 0 1.25rem;
  color: #94a3b8;
}

.footer-title {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
}

.footer-link {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-brand-teal-light);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   ABOUT SECTION & ORIGINAL MINDCARE HERITAGE
   -------------------------------------------------------------------------- */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
@media (min-width: 900px) {
  .about-story-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.about-story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}
.about-story-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand-teal);
  box-shadow: var(--shadow-sm);
}
.about-story-card h4 {
  font-size: 1.12rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.about-story-card h4 svg {
  color: var(--color-brand-teal);
  flex-shrink: 0;
}
.about-story-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: justify;
  margin: 0;
  flex-grow: 1;
}

.award-highlight-card {
  background: linear-gradient(135deg, rgba(0, 143, 137, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1.5px solid rgba(0, 143, 137, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .award-highlight-card {
    flex-direction: row;
    align-items: center;
  }
}
.award-img-wrapper {
  flex-shrink: 0;
  text-align: center;
}
.award-img-wrapper img {
  max-width: 140px;
  height: auto;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  padding: 4px;
}
.award-content {
  flex-grow: 1;
}
.award-content h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-weight: 800;
}
.award-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.mvp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .mvp-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.mvp-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mvp-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand-teal);
  box-shadow: var(--shadow-sm);
}
.mvp-img-box {
  height: 160px;
  width: 100%;
  overflow: hidden;
  background: var(--bg-muted);
}
.mvp-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.mvp-card:hover .mvp-img-box img {
  transform: scale(1.05);
}
.mvp-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.mvp-body h3 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.mvp-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.dual-accredit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .dual-accredit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
.dual-accredit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.dual-accredit-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.dual-accredit-header img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.dual-accredit-header h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin: 0;
}
.dual-accredit-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
}
.dual-accredit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.dual-accredit-list li svg {
  color: var(--color-brand-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Modal Discount Popup */
.discount-box {
  text-align: center;
  padding: 0.5rem 0;
}
.discount-box img {
  max-height: 240px;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid var(--border-medium);
  width: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   SERVICES SECTION (6 Pillars)
   -------------------------------------------------------------------------- */
.services-grid-6 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .services-grid-6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .services-grid-6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}
.service-box-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}
.service-box-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brand-teal-light);
}
.service-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brand-teal-bg), rgba(0, 143, 137, 0.15));
  color: var(--color-brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.service-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

/* --------------------------------------------------------------------------
   COURSE EXPLORER & CALCULATOR
   -------------------------------------------------------------------------- */
.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: flex-end;
}
@media (min-width: 768px) {
  .calculator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .calculator-grid {
    grid-template-columns: 1.2fr 1.2fr 1fr auto;
  }
}
.course-filter-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
.course-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xs);
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brand-teal);
}
.course-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}
.course-card-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-brand-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.course-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.course-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.course-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}
.course-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.course-meta-item svg {
  color: var(--color-brand-teal);
  flex-shrink: 0;
}
.course-footer {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: auto;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   UPCOMING BATCHES (Mobile Cards + Desktop Table)
   -------------------------------------------------------------------------- */
.mobile-batch-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.desktop-batch-table {
  display: none;
}
@media (min-width: 768px) {
  .mobile-batch-cards {
    display: none;
  }
  .desktop-batch-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
  }
  .desktop-batch-table::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}
.batch-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.batch-table th {
  background: var(--bg-muted);
  color: var(--text-main);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-medium);
  white-space: nowrap;
}
.batch-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
  color: var(--text-muted);
}
.batch-table tr:last-child td {
  border-bottom: none;
}
.batch-table tr:hover td {
  background: var(--bg-card-hover);
}
.batch-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow-xs);
}
.batch-code-chip {
  display: inline-block;
  background: var(--color-brand-teal-bg);
  border: 1px solid rgba(0, 143, 137, 0.35);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--color-brand-teal-dark);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  white-space: nowrap;
  word-break: keep-all;
  text-align: center;
}

/* --------------------------------------------------------------------------
   OBE SIMULATOR TABS
   -------------------------------------------------------------------------- */
.interactive-tab-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   FACTS & STATS COUNTERS
   -------------------------------------------------------------------------- */
.facts-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0d2242 100%);
  color: #ffffff;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 900px) {
  .facts-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.fact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform var(--transition-normal);
}
.fact-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-brand-teal-light);
}
.fact-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 143, 137, 0.2);
  border: 1px solid rgba(0, 143, 137, 0.4);
  color: var(--color-brand-teal-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.fact-icon-badge svg {
  width: 24px;
  height: 24px;
}
.fact-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.fact-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brand-teal-light);
  margin-bottom: 0.25rem;
}
.fact-desc {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.4;
}
.skills-progress-container {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.skills-progress-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .skills-progress-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }
}
.skill-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
}
.skill-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-brand-teal), #10b981);
  transition: width 1s ease-in-out;
}

/* --------------------------------------------------------------------------
   GALLERY SHOWCASE
   -------------------------------------------------------------------------- */
.gallery-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  justify-content: center;
}
.gallery-filter-btn {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--color-brand-teal);
  border-color: var(--color-brand-teal);
  color: #ffffff;
}
.gallery-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .gallery-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .gallery-grid-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.gallery-card-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/11;
  background: var(--bg-muted);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-subtle);
}
.gallery-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
  display: block;
}
.gallery-card-item:hover img {
  transform: scale(1.06);
}
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 43, 0.9) 0%, rgba(7, 21, 43, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #ffffff;
  transition: opacity var(--transition-normal);
}
.gallery-card-overlay h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #ffffff;
}
.gallery-card-overlay span {
  font-size: 0.78rem;
  color: var(--color-brand-teal-light);
}

/* --------------------------------------------------------------------------
   TEAM SHOWCASE
   -------------------------------------------------------------------------- */
.team-grid-6 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .team-grid-6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .team-grid-6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}
.team-profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}
.team-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brand-teal);
}
.team-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--color-brand-teal-bg);
  box-shadow: var(--shadow-sm);
}
.team-profile-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}
.team-profile-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-brand-teal);
  margin-bottom: 0.5rem;
}
.team-profile-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   FAQ ACCORDION
   -------------------------------------------------------------------------- */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.accordion-item.active {
  border-color: var(--color-brand-teal);
  box-shadow: var(--shadow-xs);
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}
.accordion-header h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}
.accordion-icon {
  font-size: 1.25rem;
  color: var(--color-brand-teal);
  font-weight: 700;
  transition: transform var(--transition-fast);
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}
.accordion-body-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}
.accordion-item.active .accordion-body-wrapper {
  max-height: 350px;
}
.accordion-body-inner {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}

/* --------------------------------------------------------------------------
   MENTAL HEALTH QUIZ / SCREENER
   -------------------------------------------------------------------------- */
.screener-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.screener-question-group {
  margin-bottom: 1.5rem;
}
.screener-question-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}
.screener-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 600px) {
  .screener-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.screener-option-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.88rem;
  color: var(--text-main);
  min-height: 48px;
}
.screener-option-label:hover {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-bg);
}
.screener-option-label:has(input:checked),
.screener-option-label.active {
  background: var(--color-brand-teal-bg);
  border-color: var(--color-brand-teal);
  color: var(--color-brand-teal-dark);
  font-weight: 600;
  box-shadow: 0 2px 8px var(--color-brand-teal-glow);
}

/* --------------------------------------------------------------------------
   PORTAL TABS & VERIFICATION
   -------------------------------------------------------------------------- */
.portal-tabs {
  display: flex;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  padding: 0.35rem;
  gap: 0.35rem;
  border: 1px solid var(--border-medium);
  margin-bottom: 1.5rem;
}
.portal-tab-btn {
  flex: 1;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: transparent;
}
.portal-tab-btn:hover {
  color: var(--color-brand-teal);
}
.portal-tab-btn.active {
  background: linear-gradient(135deg, var(--color-brand-teal) 0%, #006f6b 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 12px var(--color-brand-teal-glow);
}
.portal-panel {
  display: none;
}
.portal-panel.active {
  display: block;
}
.verification-result-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  font-size: 0.88rem;
  display: none;
}

/* --------------------------------------------------------------------------
   RICH VISUAL IMAGE CARDS & PRACTICAL FACILITIES GALLERY (JIFSA Standard)
   -------------------------------------------------------------------------- */
.card-img-header {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  background: var(--bg-muted);
}
.card-img-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .card-img-header img,
.course-card-modern:hover .card-img-header img,
.service-box-card:hover .card-img-header img {
  transform: scale(1.06);
}
.card-img-overlay-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.practical-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .practical-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .practical-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.practical-gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.practical-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brand-teal);
}
.practical-gallery-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.practical-gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.practical-gallery-card:hover .practical-gallery-img img {
  transform: scale(1.07);
}
.practical-gallery-body {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

