/* =========================================================
   Trainer Management System — Global Styles
   Theme: Light Professional (Modern & Clean)
   ========================================================= */



:root {
  --navy: #f8fafc;
  /* Page Background */
  --navy2: #ffffff;
  /* Card/Navbar Background */
  --navy3: #f1f5f9;
  /* Subtle sidebar/bg */
  --card: #ffffff;
  --card2: #f8fafc;
  --border: rgba(0, 0, 0, 0.08);
  --teal: #00b894;
  --teal2: #00a884;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --amber: #f59e0b;
  --red: #ef4444;
  --green: #22c55e;
  --text: #0f172a;
  /* Main text */
  --text2: #0f172a;
  /* Muted text forced dark */
  --text3: #0f172a;
  /* Secondary text forced dark */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --glow: 0 0 20px rgba(0, 184, 148, 0.1);
  
  /* Responsive Utilities */
  --vh: 1vh;
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Verdana, sans-serif;
  /* display: flex;
 flex-direction: row; */
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 184, 148, 0.03), transparent),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.03), transparent);
  pointer-events: none;
  z-index: 0;
}

.page-shell {
  flex: 1 0 auto;
  width: 100%;
  display: block;
}

/* ─────────── NAVBAR ─────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 66px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
}

.admin-body .navbar {
  background: linear-gradient(135deg, #0b1021 0%, #0f172a 55%, #0b1021 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.admin-body .navbar .navbar-brand,
.admin-body .navbar .navbar-brand span,
.admin-body .navbar a,
.admin-body .navbar i {
  color: #e2e8f0;
}

.admin-body .navbar a:hover {
  color: #7dd3fc;
}

.admin-body .navbar .nav-right .btn-outline {
  border-color: rgba(255,255,255,0.15);
  color: #e2e8f0;
}

.admin-body .navbar .nav-right .btn-outline:hover {
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
}

.navbar-brand {
  font-family: Arial, Verdana, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo {
  display: block;
  height: 65px;
  width: auto;
  max-width: 150px;
  border-radius: 12px;
}

.navbar-brand .brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.navbar-brand span {
  color: var(--teal);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1.5rem;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle.active {
  background: var(--navy3);
  border-color: rgba(0, 184, 148, 0.3);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.menu-toggle i {
  pointer-events: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-mobile-auth {
  display: none;
}

.nav-mobile-user {
  display: none;
}

.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: #b7efe3;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-user .btn-sm {
  white-space: nowrap;
}


/* ─────────── COMMON ─────────── */
.wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

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

.card-header h2 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.card-header .icon {
  width: 32px;
  height: 32px;
  background: var(--navy3);
  color: var(--teal);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text3);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text2);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb span:last-child {
  color: var(--text3);
}

/* ─────────── FORMS ─────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--navy3);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--navy2);
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.form-control::placeholder {
  color: var(--text3);
}

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

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text3);
  margin-top: 0.35rem;
}

.form-error {
  display: block;
  font-size: 0.72rem;
  color: var(--red);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text2);
}

.btn-outline:hover {
  background: var(--navy3);
  color: var(--text);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  display: flex;
}

/* ─────────── ALERTS ─────────── */
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ─────────── BADGES ─────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-teal {
  background: rgba(0, 184, 148, 0.1);
  color: var(--teal2);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
}

.badge-green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
}

.badge-red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

/* ─────────── AVATAR ─────────── */
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--navy2);
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.2s, box-shadow 0.2s;
}

.avatar-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.avatar-link:hover .avatar {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 184, 148, 0.2);
}

.avatar-link.active .avatar {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(0, 184, 148, 0.3);
}

.avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy3);
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  object-fit: cover;
}

/* ─────────── HOME / HERO ─────────── */
.hero {
  padding: 4rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--navy3);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: Arial, Verdana, sans-serif;
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--teal);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text2);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.hero-stat .num {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
}

.hero-stat .lbl {
  font-size: 0.8rem;
  color: var(--text2);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  height: 400px;
}

.hcard {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  position: absolute;
}

.hcard-main {
  width: 320px;
  z-index: 2;
  top: 10%;
  right: 5%;
}

.hcard-mini {
  width: 220px;
  z-index: 3;
}

.hcard-mini.c1 {
  top: 0;
  left: 0;
  animation: float 6s ease-in-out infinite;
}

.hcard-mini.c2 {
  bottom: 0;
  right: 0;
  animation: float 6s ease-in-out infinite 3s;
}

.hcard-mini.c3 {
  bottom: 20%;
  left: -10%;
  animation: float 8s ease-in-out infinite 1s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* ─────────── SECTIONS ─────────── */
.section {
  padding: 6rem 0;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: Arial, Verdana, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text2);
  font-size: 1rem;
}

/* ─────────── HOW IT WORKS ─────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.how-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
}

.how-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: Arial, Verdana, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  opacity: 0.3;
}

.how-icon {
  width: 56px;
  height: 56px;
  background: var(--navy3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

.how-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.how-card p {
  font-size: 0.825rem;
  color: var(--text2);
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-weight: 400;
}

.how-it-works-section .section-tag,
.how-it-works-section .section-title,
.how-it-works-section .how-card h3 {
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
}
/* ─────────── ROLES ─────────── */
.roles-grid {
  /* display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem; */
}

.roles-section {
  max-width: 1600px;
}


.role-card {
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--navy2);
  display: flex;
  flex-direction: column;
}

.role-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.role-card h3 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.role-card p {
  font-size: 0.9rem;
  color: var(--text2);
  margin-bottom: 1.5rem;
}

.role-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.role-features li {
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.role-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

.cta-banner {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 30px;
  padding: 4rem;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  opacity: 0.8;
  margin-bottom: 2.5rem;
}

.cta-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ─────────── DASHBOARD ─────────── */
.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
}

.page-header p {
  color: var(--text2);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-icon.teal {
  background: rgba(0, 184, 148, 0.1);
  color: var(--teal2);
}

.stat-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
}

.stat-icon.amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
}

.stat-icon.pink {
  background: rgba(236, 72, 153, 0.1);
  color: var(--pink);
}

.stat-info .num {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-info .label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text3);
  margin-top: 0.25rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.empty-state h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.85rem;
  color: var(--text3);
}

.skill-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--navy3);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text2);
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
  border: 1px solid var(--border);
}

/* ─────────── PROFILE ─────────── */
.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.profile-sidebar {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.profile-avatar-wrap {
  position: relative;
  width: 110px;
  margin: 0 auto 1.5rem;
}

.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--navy3);
}

.profile-avatar-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--navy3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text3);
}

.profile-avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 34px;
  height: 34px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  color: white;
  border: 3px solid var(--navy2);
}

.profile-name {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.profile-sub {
  font-size: 0.85rem;
  color: var(--text2);
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.profile-stat .n {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.profile-stat .l {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─────────── SESSIONS GRID ─────────── */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.session-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}

.session-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
}

.company-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text3);
  margin-bottom: 1rem;
}

.session-card h3 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.session-card p {
  font-size: 0.85rem;
  color: var(--text2);
  margin-bottom: 1.25rem;
  flex: 1;
}

.session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text2);
}

.meta-item .ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--navy3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 0.7rem;
}

.session-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.applicants-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text3);
}

/* ─────────── NOTIFICATIONS ─────────── */
.notif-btn {
  background: none;
  border: none;
  color: var(--text2);
  font-size: 1.25rem;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-btn:hover {
  background: var(--navy3);
  color: var(--text);
}

.notif-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--navy2);
}

.notif-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 10;
  overflow: hidden;
}

.notif-dropdown.active {
  display: block;
}

.notif-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.875rem;
}

.notif-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  transition: background 0.2s;
}

.notif-item:hover {
  background: var(--navy3);
}

.notif-item.unread {
  background: rgba(0, 184, 148, 0.04);
}

.notif-item .time {
  font-size: 0.68rem;
  color: var(--text3);
  margin-top: 0.4rem;
}

.notif-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text3);
  font-size: 0.8rem;
}

/* ─────────── AUTH ─────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../images/bg-for-login-registration.jpg');
  background-size: cover;
  background-position: center;
}

.auth-box {
  width: 100%;
  max-width: 440px;
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

/* Mobile responsive auth pages */
@media (max-width: 767px) {
  .auth-page {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1rem 0.75rem 1rem;
    min-height: 100vh;
    overflow-y: auto;
  }
  
  .auth-box {
    max-width: 100%;
    width: 100%;
    border-radius: 18px;
    padding: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
  
  .auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .auth-logo .brand {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }
  
  .auth-logo p {
    font-size: 0.8rem;
  }
  
  .auth-box h2 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
  }
  
  .auth-sub {
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
  }
  
  .role-tabs {
    margin-bottom: 1.25rem;
    gap: 0.15rem;
  }
  
  .role-tab {
    font-size: 0.75rem;
    padding: 0.5rem;
    gap: 0.25rem;
  }
  
  .role-tab i {
    font-size: 0.9rem;
  }
  
  .form-group {
    margin-bottom: 0.9rem;
  }
  
  .form-label {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    min-height: 40px;
  }
  
  .divider {
    margin: 1rem 0;
    font-size: 0.75rem;
  }
  
  .btn {
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
  }
  
  .btn-full {
    width: 100%;
  }
  
  .auth-footer {
    position: static;
    background: transparent;
    padding: 1rem 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 480px) {
  .auth-page {
    padding: 0.75rem 0.5rem 1rem;
    min-height: 100vh;
  }
  
  .auth-box {
    padding: 1.25rem;
    border-radius: 16px;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .auth-logo .brand img {
    height: 50px !important;
    width: auto !important;
  }
  
  .auth-box h2 {
    font-size: 1.2rem;
  }
  
  .form-group {
    margin-bottom: 0.8rem;
  }
  
  .role-tabs {
    margin-bottom: 1rem;
  }
  
  .role-tab {
    font-size: 0.7rem;
    padding: 0.45rem;
  }
  
  .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
  
  .auth-footer {
    padding: 0.75rem 0 0;
    font-size: 0.7rem;
  }
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo .brand {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
}

.auth-logo p {
  font-size: 0.85rem;
  color: var(--text3);
  margin-top: 0.25rem;
}

.auth-box h2 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.auth-sub {
  color: var(--text3);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text3);
}

.auth-footer a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

/* ─────────── REGISTRATION PAGES ─────────── */
.reg-page {
  min-height: 100vh;
  padding: 2rem 1.5rem;
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../images/bg-for-login-registration.jpg');
  background-size: cover;
  background-position: center;
}

.reg-box {
  max-width: 760px;
  margin: 0 auto;
}

.reg-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.reg-hero h1 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.reg-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.reg-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.reg-back-btn:hover {
  color: #fff;
}

/* Mobile responsive registration pages */
@media (max-width: 991px) {
  .reg-page {
    padding: 1.5rem 1rem;
  }
  
  .reg-box {
    max-width: 100%;
  }
  
  .reg-hero {
    margin-bottom: 2rem;
  }
  
  .reg-hero h1 {
    font-size: 1.75rem;
  }
  
  .reg-hero p {
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) {
  .reg-page {
    padding: 1rem 0.75rem 1rem !important;
    min-height: 100vh;
    overflow-y: auto;
  }
  
  .reg-box {
    width: 100%;
  }
  
  .reg-hero {
    margin-bottom: 1.75rem;
  }
  
  .reg-hero .icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .reg-hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
  }
  
  .reg-hero p {
    font-size: 0.8rem;
  }
  
  .reg-back-btn {
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
  }
  
  .section-title {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .card {
    padding: 1.1rem;
    margin-bottom: 1rem !important;
    border-radius: 12px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  
  .form-group {
    margin-bottom: 0.85rem;
  }
  
  .form-label {
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
  }
  
  .form-control {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    min-height: 40px;
    border-radius: 6px;
  }
  
  .file-upload-zone {
    padding: 1.25rem 1rem;
    border-radius: 10px;
  }
  
  .upload-icon {
    font-size: 1.75rem;
  }
  
  .upload-text {
    font-size: 0.75rem;
  }
  
  .upload-hint {
    font-size: 0.65rem;
  }
  
  .btn-full {
    width: 100%;
  }
  
  .btn-lg {
    padding: 0.6rem 1.2rem;
  }
  
  .auth-footer {
    position: relative;
    background: transparent;
    padding: 1rem 0;
    margin-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
  }
  
  .auth-footer a {
    display: inline-block;
    margin: 0.5rem 0.25rem;
  }
  
  .reg-footer {
    display: none;
  }
}

@media (max-width: 480px) {
  .reg-page {
    padding: 0.75rem 0.5rem 1rem !important;
    min-height: 100vh;
  }
  
  .reg-hero .icon {
    width: 50px;
    height: 50px;
    font-size: 1.35rem;
  }
  
  .reg-hero h1 {
    font-size: 1.3rem;
  }
  
  .reg-hero p {
    font-size: 0.75rem;
  }
  
  .section-title {
    font-size: 0.7rem;
    margin-bottom: 0.9rem;
  }
  
  .card {
    padding: 1rem;
    border-radius: 10px;
  }
  
  .form-group {
    margin-bottom: 0.75rem;
  }
  
  .form-label {
    font-size: 0.7rem;
  }
  
  .form-control {
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
    border-radius: 5px;
  }
  
  .file-upload-zone {
    padding: 1rem 0.85rem;
    border-radius: 8px;
  }
  
  .upload-icon {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
  
  .btn-lg {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
  }
}

/* Auth page footer styles */
.login-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.6rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  z-index: 1;
}

.login-footer a {
  color: var(--teal);
  text-decoration: none;
  margin: 0 0.4rem;
}

.cr-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.6rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  z-index: 1;
}

.cr-footer a {
  color: var(--teal);
  text-decoration: none;
  margin: 0 0.4rem;
}

.cr-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}

.cr-back:hover {
  color: #fff;
}

/* Role tabs for login page */
.role-tabs {
  display: flex;
  gap: 0.25rem;
  background: var(--navy3);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  margin-bottom: 1.75rem;
}

.role-tab {
  flex: 1;
  padding: 0.55rem;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text3);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.role-tab.active {
  background: var(--card2);
  color: var(--text);
}

.role-tab.active.admin {
  color: var(--purple);
}

.role-tab.active.trainer {
  color: var(--teal);
}

.role-tab.active.corp {
  color: var(--amber);
}

.role-panel {
  display: none;
}

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

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--text3);
  font-size: 0.78rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Trainer registration form elements */
.strength-bar {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.strength-bar-fill {
  height: 100%;
  width: 0%;
  transition: width 0.3s, background 0.3s;
  border-radius: 99px;
}

.strength-text {
  font-size: 0.72rem;
  color: var(--text3);
}

/* Password visibility toggle */
.pwd-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text3);
  cursor: pointer;
  transition: color 0.2s;
}

.pwd-toggle:hover {
  color: var(--text);
}

/* Registration form full-width fields */
@media (max-width: 767px) {
  .form-grid.full {
    grid-template-columns: 1fr;
  }
  
  .pwd-toggle {
    right: 0.6rem;
  }
}

@media (max-width: 767px) {
  .login-footer,
  .cr-footer {
    display: none;
  }
}

/* ─────────── FOOTER ─────────── */
.footer {
  padding: 0.1rem 0 0.25rem;
  background: var(--navy3);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

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

.footer-logo {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: block;
  text-decoration: none;
  color: var(--text);
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text2);
  max-width: 300px;
}

.footer-h {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text2);
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 0.2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text3);
}



/* ─────────── FILE UPLOAD ZONE ─────────── */
.file-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
  border-color: var(--teal);
  background: rgba(0, 184, 148, 0.04);
}

.upload-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.upload-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
}

.upload-text span {
  color: var(--teal);
}

.upload-hint {
  font-size: 0.72rem;
  color: var(--text3);
  margin-top: 0.25rem;
}

/* ─────────── STEPS INDICATOR ─────────── */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step.active .step-num {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy3);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text3);
  position: relative;
  z-index: 1;
  transition: all 0.2s;
}

.step-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text3);
  margin-top: 0.4rem;
}

/* ─────────── REQUIRED FIELD MARKER ─────────── */
.req {
  color: var(--red);
  margin-left: 2px;
}

/* ─────────── NOTIFICATION OPEN alias ─────────── */
.notif-dropdown.open {
  display: block;
}

/* ─────────── TABLE ─────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.9rem 1rem;
  text-align: left;
}

.data-table thead tr {
  border-bottom: 2px solid var(--border);
}

.data-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text3);
}

.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.data-table tbody tr:hover {
  background: var(--navy3);
}

.data-table tbody td {
  font-size: 0.875rem;
  color: var(--text2);
}

/* ─────────── ALERT INFO ─────────── */
.alert-info {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ─────────── CORPORATE DASHBOARD STAT ─────────── */
.corp-stat {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}

.corp-stat .big-num {
  font-family: Arial, Verdana, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.corp-stat .big-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  margin-top: 0.4rem;
}

/* ═══════════════════════════════════════════
   LANDING PAGE — New Sections
═══════════════════════════════════════════ */

/* Button extras */
.btn-xl { padding: 0.85rem 1.75rem; font-size: 1rem; border-radius: 10px; }
.btn-white { background: #fff; color: var(--teal); font-weight: 700; }
.btn-white:hover { background: #f0fdf9; transform: translateY(-1px); }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.4); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

/* Eyebrow dot */
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

/* ─── HERO 3D SCENE ─── */
.hero-visual { position: relative; min-height: 480px; }

.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0;
}
.hero-orb-teal { width: 280px; height: 280px; background: rgba(0,184,148,.18); top: -40px; right: -60px; }
.hero-orb-blue { width: 220px; height: 220px; background: rgba(59,130,246,.14); bottom: 0; left: 0; }

.scene-3d { position: relative; width: 100%; height: 480px; z-index: 1; }

.img-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  border: 3px solid #fff;
}
.img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.img-main  { width: 340px; height: 260px; top: 60px; right: 20px; z-index: 2; animation: float 7s ease-in-out infinite; }
.img-side1 { width: 180px; height: 150px; top: 0;    left: 20px;  z-index: 3; animation: float 6s ease-in-out infinite 1.5s; }
.img-side2 { width: 180px; height: 150px; bottom: 30px; right: 0; z-index: 3; animation: float 8s ease-in-out infinite 3s; }

/* Floating chips */
.chip {
  position: absolute;
  z-index: 4;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.12));
}
.chip-a { top: 20px; left: 50%; transform: translateX(-50%); animation: float 5s ease-in-out infinite; }
.chip-b { bottom: 80px; left: 0; animation: float 6s ease-in-out infinite 2s; }
.chip-c { top: 220px; left: 120px; animation: float 7s ease-in-out infinite 1s; }

.chip-inner {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: .55rem 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.chip-icon { font-size: 1.1rem; }
.chip-text .t1 { font-size: .75rem; font-weight: 700; color: var(--text); }
.chip-text .t2 { font-size: .65rem; color: var(--text3); margin-top: .1rem; }

/* Trainer badge on hero */
.trainer-badge {
  position: absolute;
  bottom: 0; left: 0;
  z-index: 5;
  animation: float 8s ease-in-out infinite 2s;
}
.trainer-badge-inner {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.10);
  max-width: 260px;
}
.trainer-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg,var(--teal),var(--blue));
  color: #fff; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trainer-name { font-weight: 700; font-size: .85rem; color: var(--text); }
.trainer-role { font-size: .7rem; color: var(--text3); margin: .1rem 0 .5rem; }
.trainer-skills { display: flex; flex-wrap: wrap; gap: .3rem; }
.badge-avail {
  display: inline-block; padding: .15rem .6rem;
  background: rgba(34,197,94,.12); color: var(--green);
  border-radius: 99px; font-size: .65rem; font-weight: 700;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--navy3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-label {
  text-align: center;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text3);
  margin-bottom: 1rem;
}
.logo-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: .6rem;
}
.logo-pill {
  background: #fff; border: 1px solid var(--border);
  border-radius: 99px; padding: .35rem 1.1rem;
  font-size: .78rem; font-weight: 700; color: var(--text2);
  transition: border-color .2s, color .2s;
}
.logo-pill:hover { border-color: var(--teal); color: var(--teal); }

/* ─── PEOPLE STRIP ─── */
.people-strip {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.people-strip::-webkit-scrollbar { height: 4px; }
.people-strip::-webkit-scrollbar-track { background: var(--navy3); border-radius: 99px; }
.people-strip::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 99px; }
.people-strip.active { cursor: grabbing; }

.people-card {
  position: relative;
  width: 200px;
  min-height: 280px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy3);
}
.people-card img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .4s;
}
.people-card:hover img { transform: scale(1.05); }

.people-card-link {
  position: absolute; inset: 0; z-index: 10;
}
.people-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(15,23,42,.85));
  padding: 2rem 1rem .9rem;
  color: #fff; z-index: 5;
}
.people-name { font-weight: 700; font-size: .85rem; margin-bottom: .1rem; }
.people-role { font-size: .7rem; opacity: .75; margin-bottom: .35rem; }
.people-stars { font-size: .65rem; color: #f59e0b; display: flex; align-items: center; gap: .15rem; }
.rating-num { font-size: .7rem; color: rgba(255,255,255,.75); margin-left: .2rem; }

/* ─── STATS BAND (dark) ─── */
.stats-band {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 4rem 0;
  color: #fff;
}
.stats-band .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-icon-wrap { font-size: 2rem; margin-bottom: .75rem; }
.stats-band .big { font-family: Arial, Verdana, sans-serif; font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1; }
.stats-band .lbl { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.6); margin-top: .4rem; }

/* How step override */
.how-step {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-family: Arial, Verdana, sans-serif; font-size: 2rem; font-weight: 800;
  opacity: 1; color: #000; line-height: 1;
}

/* ─── ROLE CARDS WITH IMAGES ─── */
.role-img-wrap {
  position: relative; height: 180px;
  border-radius: 16px; overflow: hidden;
  margin: -2.5rem -2.5rem 1.5rem;
}
.role-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.role-card:hover .role-img-wrap img { transform: scale(1.04); }
.role-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15,23,42,.55));
}
.role-icon-badge {
  position: absolute; bottom: .75rem; left: 1.25rem;
  font-size: 2rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

/* ─── TESTIMONIALS ─── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.quote-mark {
  font-size: 5rem; line-height: .8; font-family: Georgia, serif;
  color: var(--teal); opacity: .15;
  position: absolute; top: 1rem; right: 1.5rem;
  pointer-events: none;
}
.testi-stars { color: #f59e0b; font-size: .85rem; margin-bottom: 1rem; display: flex; gap: .2rem; }
.testi-quote { font-size: .875rem; color: var(--text2); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .85rem; }
.testi-av-placeholder {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .875rem; color: var(--text); }
.testi-role { font-size: .72rem; color: var(--text3); margin-top: .1rem; }

/* CTA actions row */
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* -------------------------------------------
   RESPONSIVE DESIGN (Media Queries)
   ------------------------------------------- */

/* Large Tablets & Small Laptops (992px to 1200px) */
@media (max-width: 1200px) {
  .hero-grid { gap: 2rem; }
  .hero-title { font-size: 3rem; }
  .wrapper, .section-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; min-height: 400px; }
  .scene-3d { height: 400px; }

  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  
  .stats-band .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile & Small Tablets (up to 767px) */
@media (max-width: 767px) {
  .navbar {
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .navbar-logo {
    height: 52px;
    max-width: 132px;
  }

  .nav-right { gap: 0.75rem; }
  
  .menu-toggle { display: inline-flex; order: 1; }
  
  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--navy2);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
    transform-origin: top;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }
  
  .nav-links.active {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    text-align: center;
  }

  .nav-mobile-auth {
    display: grid;
    width: 100%;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }

  .nav-mobile-auth .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-mobile-user {
    display: grid;
    width: 100%;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }

  .nav-mobile-user .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-user { order: 0; }
  .nav-user .btn-sm { padding: 0.4rem 0.6rem; font-size: 0.7rem; }
  .nav-user-guest { display: none; }
  
  .wrapper { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .section { padding: 3rem 0; }
  
  .hero-title { font-size: 2.25rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  
  .how-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  
  .form-grid { grid-template-columns: 1fr; }
  
  .card { padding: 1.25rem; }
  .card-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  
  .cta-banner { padding: 2.5rem 1.5rem; border-radius: 20px; }
  .cta-banner h2 { font-size: 1.75rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .hero-visual { display: none; }
  
  .page-header h1 { font-size: 1.5rem; }
  
  .people-card { width: 160px; min-height: 240px; }
  
  .stats-band .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat-item { text-align: left; display: flex; align-items: center; gap: 1rem; }
  .stat-icon-wrap { margin-bottom: 0; font-size: 1.5rem; }
  
  .role-img-wrap { height: 140px; }
}

@media (max-width: 640px) {
  .roles-grid { grid-template-columns: 1fr !important; }
}

/* Smallest phones (up to 480px) */
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .logo-row { gap: 0.4rem; }
  .logo-pill { padding: 0.3rem 0.8rem; font-size: 0.7rem; }
  
  .nav-user .btn:not(.avatar-link) { display: none; }
}

/* ----------- CONTACT PAGE ----------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-hero { padding: 3rem 1rem !important; }
  .contact-hero h1 { font-size: 2rem !important; }
}

@media (max-width: 480px) {
  .contact-form-row { grid-template-columns: 1fr !important; }
}

/* ----------- PUBLIC PAGES (Trainers/Trainings) ----------- */
.public-hero {
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

@media (max-width: 767px) {
  .public-hero { padding: 2.5rem 1rem 2rem; }
  .public-hero h1 { font-size: 1.75rem !important; }
  
  .search-bar-wrap { 
    flex-direction: column; 
    align-items: stretch !important; 
    padding: 1rem !important;
  }
  
  .search-bar-wrap input { font-size: 0.85rem !important; }
}


/* Refined Contact Form Row */
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .contact-form-row { grid-template-columns: 1fr; }
}

.search-bar-wrap {
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  gap: 0.75rem;
  border: 1.5px solid var(--border);
}


/* Additional Layouts */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .profile-layout { grid-template-columns: 1fr; }
}


.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}


/* ----------- MESSAGES SECTION ----------- */
.msg-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 75vh;
  min-height: 600px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.msg-list {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background: var(--navy3);
}

.msg-list-header {
  padding: 1.5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: var(--navy2);
}

.msg-thread {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--navy3);
}

.msg-thread:hover {
  background: #f1f5f9;
}

.msg-thread.active {
  background: var(--navy2);
  border-left: 4px solid var(--teal);
}

.msg-thread-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-thread-preview {
  font-size: 0.78rem;
  color: var(--text2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.25rem;
}

.msg-window {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.msg-window-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--navy2);
}

.msg-window-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

.msg-window-header p {
  font-size: 0.75rem;
  color: var(--text3);
  margin-top: 0.2rem;
}

.msg-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--navy);
  scroll-behavior: smooth;
}

.msg-bubble {
  max-width: 75%;
  padding: 0.85rem 1.15rem;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}

.msg-bubble.me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 184, 148, 0.2);
}

.msg-bubble.them {
  align-self: flex-start;
  background: var(--navy2);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.msg-bubble .time {
  font-size: 0.65rem;
  margin-top: 0.4rem;
  opacity: 0.8;
  font-weight: 600;
  display: block;
}

.msg-bubble.me .time {
  text-align: right;
  color: rgba(255,255,255,0.8);
}

.msg-bubble.them .time {
  color: var(--text3);
}

.msg-input-wrap {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--navy2);
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.msg-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  outline: none;
  resize: none;
  max-height: 120px;
  transition: all 0.2s;
}

.msg-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

@media (max-width: 850px) {
  .msg-layout {
    grid-template-columns: 1fr;
  }
  .msg-list {
    display: none;
  }
  .msg-list.show {
    display: flex;
    position: absolute;
    inset: 0;
    z-index: 50;
  }
}


/* =========================================================
   ADMIN SIDEBAR LAYOUT
   ========================================================= */

body.admin-body {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 24rem),
    linear-gradient(180deg, #08111f 0%, #0b1324 100%);
}

body.admin-body::before { display:none; }

/* Sidebar */
.admin-sidebar {
  width: 240px;
  min-width: 240px;
  background: #0f172a; /* Dark Navy for High Contrast */
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 200;
  transition: transform 0.3s ease;
}

.admin-sidebar-brand {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.admin-sidebar-brand img {
  height: 40px;
  width: auto;
  border-radius: 10px;
}

.admin-sidebar-brand span {
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  display: flex;
}

.admin-sidebar-brand span.color {
  color: #ffffff;
  font-weight: 600;
}

.admin-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.18s; 
}

.admin-nav a i {
  width: 18px;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.18s;
}

.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.admin-nav a:hover i { color: var(--teal); }

.admin-nav a.active {
  background: rgba(0, 184, 148, 0.15);
  color: var(--teal);
  font-weight: 700;
}

.admin-nav a.active i { color: var(--teal); }

.admin-nav-section {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.75rem 0.9rem 0.3rem;
  opacity: 1;
}

.admin-sidebar-footer {
  padding: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.admin-sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;

  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.18s;
}

.admin-sidebar-footer a:hover { background: rgba(34, 197, 94, 0.15); }

/* Main content area */
.admin-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--navy);
  min-height: 100vh;
  margin-left: 240px;
  width: calc(100% - 240px);
}

/* Top header bar */
.admin-topbar {

  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  padding: 0 1.5rem;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
 
 
}

.admin-topbar-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.admin-hamburger:hover { background: var(--navy3); }

.admin-content {
  flex: 1;
  padding: clamp(1rem, 2vw, 2rem);
  position: relative;

}

body.admin-body .wrapper {
  max-width: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.admin-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

body.admin-body .breadcrumb {
  margin-bottom: 0;
  flex-wrap: wrap;
}

body.admin-body .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

body.admin-body .page-header > div:first-child {
  max-width: 48rem;
}

body.admin-body .card {
  border-radius: 18px;

}

body.admin-body .card-header {
  gap: 1rem;
  flex-wrap: wrap;
}

body.admin-body .card-header h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

body.admin-body .data-table thead tr {
  background: rgba(148, 163, 184, 0.05);
  border-bottom-width: 1px;
}

body.admin-body .data-table th {
  white-space: nowrap;
}

body.admin-body .data-table td {
  vertical-align: top;
}

.admin-table-shell {
  overflow-x: auto;
  width: 100%;
}

.admin-table-shell .data-table {
  width: 100%;
  min-width: 860px;
}

.admin-table-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-table-actions .btn {
  white-space: nowrap;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.admin-stack-sm {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.admin-inline-meta-divider {
  width: 1px;
  height: 0.9rem;
  background: var(--border);
}

.admin-table-compact td,
.admin-table-compact th {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.admin-table-compact td:last-child,
.admin-table-compact th:last-child {
  text-align: right;
}

.admin-activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.admin-activity-item:hover {
  background: var(--navy3);
}

.admin-activity-main {
  flex: 1;
  min-width: 0;
}

.admin-activity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* Sidebar overlay on mobile */
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 190;
}

@media (max-width: 900px) {
  .admin-sidebar {
    position: fixed;
    left: 0; top: 0;
    height: 100vh;
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-sidebar-overlay.open { display: block; }
  .admin-hamburger { display: flex; }
  .admin-main { width: 100%; }
  .admin-topbar {
    padding: 0 1rem;
  }
  .admin-content {
    padding: 1rem;
  }
  body.admin-body .page-header {
    align-items: stretch;
  }
  .admin-summary-grid,
  .admin-metric-grid {
    grid-template-columns: 1fr;
  }
  .admin-table-shell .data-table {
    min-width: 700px;
  }
  .admin-table-actions {
    justify-content: flex-start;
  }
  .admin-activity-item {
    flex-wrap: wrap;
  }
}

/* ─────────── TOASTS ─────────── */
.toast-container {
  position: fixed;
  top: 18px;
  left: 50%;
  right: auto;
  transform: none;
  left: auto;
  right: 18px;
  display: grid;
  gap: 10px;
  z-index: 1000;
  width: min(420px, calc(100vw - 36px));
}

.toast {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 12px;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 10px;
  align-items: start;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-ico {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background: rgba(59,130,246,0.14);
  color: var(--blue);
}

.toast-ico.danger { background: rgba(239,68,68,0.14); color: var(--red); }
.toast-ico.success { background: rgba(34,197,94,0.14); color: var(--green); }
.toast-ico.warn { background: rgba(245,158,11,0.16); color: var(--amber); }

.toast-title {
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0;
  color: var(--text);
  white-space: normal;
  word-break: break-word;
}
.toast-msg {
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.toast-actions {
  grid-column: 2 / 4;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.toast-close {
  border: none;
  background: transparent;
  color: var(--text3);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 10px;
  transition: background 150ms ease;
}
.toast-close:hover { background: rgba(15,23,42,0.06); }

/* ═══════════════════════════════════════════════════════════════════
   ENHANCED RESPONSIVE DESIGN
   Comprehensive Media Query System for All Device Types
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────── EXTRA LARGE SCREENS (1400px+) ─────────── */
@media (min-width: 1400px) {
  .wrapper, .section-inner {
    max-width: 1400px;
  }
  
  .hero-grid {
    gap: 5rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .profile-layout {
    gap: 2rem;
  }
}

/* ─────────── LARGE SCREENS (1200px - 1399px) ─────────── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .wrapper, .section-inner {
    max-width: 1200px;
  }
  
  .hero-grid {
    gap: 3rem;
  }
}

/* ─────────── SMALL LAPTOPS & LARGE TABLETS (992px - 1199px) ─────────── */
@media (min-width: 992px) and (max-width: 1199px) {
  .wrapper, .section-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 450px;
    margin: 0 auto;
    min-height: 350px;
  }
  
  .scene-3d {
    height: 350px;
  }
  
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-band .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .sessions-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ─────────── TABLETS & SMALL DESKTOPS (768px - 991px) ─────────── */
@media (min-width: 768px) and (max-width: 991px) {
  .wrapper, .section-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  .navbar {
    padding: 0 1rem;
  }
  
  .nav-links {
    gap: 0.2rem;
  }
  
  .nav-links a {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.15;
  }
  
  .hero-desc {
    font-size: 1rem;
    margin: 0 auto 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: auto;
    min-width: 200px;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }
  
  .hero-visual {
    display: none;
  }
  
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .how-card {
    padding: 1.5rem;
  }
  
  .how-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
  }
  
  .how-card h3 {
    font-size: 0.95rem;
  }
  
  .how-card p {
    font-size: 0.8rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-info .num {
    font-size: 1.25rem;
  }
  
  .stat-info .label {
    font-size: 0.7rem;
  }
  
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testi-card {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .card {
    padding: 1.25rem;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .card-header h2 {
    font-size: 1rem;
  }
  
  .cta-banner {
    padding: 3rem 1.5rem;
    border-radius: 24px;
  }
  
  .cta-banner h2 {
    font-size: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
  
  .people-card {
    width: 160px;
    min-height: 240px;
  }
  
  .stats-band .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .stat-icon-wrap {
    margin-bottom: 0.5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .profile-sidebar {
    padding: 1.5rem;
  }
  
  .sessions-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* ─────────── SMALL TABLETS & LARGE PHONES (640px - 767px) ─────────── */
@media (min-width: 640px) and (max-width: 767px) {
  .navbar {
    padding: 0 1rem;
    height: 60px;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }

  .navbar-logo {
    height: 50px;
    max-width: 128px;
  }
  
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy2);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
    transform-origin: top;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }
  
  .nav-links.active {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }
  
  .menu-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
  }
  
  .wrapper {
    padding: 1.5rem 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-eyebrow {
    font-size: 0.7rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .how-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .stat-card {
    padding: 0.9rem;
  }
  
  .stat-info .num {
    font-size: 1.1rem;
  }
  
  .stat-info .label {
    font-size: 0.65rem;
  }
  
  .testi-grid {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 1.1rem;
  }
  
  .card-header h2 {
    font-size: 1rem;
  }
  
  .cta-banner {
    padding: 2.25rem 1.25rem;
    border-radius: 20px;
  }
  
  .cta-banner h2 {
    font-size: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .page-header h1 {
    font-size: 1.4rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* ─────────── MEDIUM PHONES (480px - 639px) ─────────── */
@media (min-width: 480px) and (max-width: 639px) {
  html {
    font-size: 15px;
  }
  
  .navbar {
    padding: 0 0.75rem;
    height: 58px;
  }
  
  .navbar-brand {
    font-size: 0.95rem;
  }
  
  .navbar-logo {
    height: 46px;
    max-width: 118px;
  }
  
  .nav-links {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--navy2);
    flex-direction: column;
    padding: 1rem;
    gap: 0.3rem;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 58px);
    overflow-y: auto;
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
    transform-origin: top;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }
  
  .nav-links.active {
    display: flex;
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    width: 100%;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    text-align: left;
  }

  .nav-mobile-auth .btn,
  .nav-mobile-user .btn {
    text-align: center;
  }
  
  .menu-toggle {
    display: inline-flex;
    order: -1;
    margin-right: 0;
    width: 40px;
    height: 40px;
  }
  
  .wrapper {
    padding: 1.25rem 0.75rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .hero-cta .btn {
    width: 100%;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
  }
  
  .hero-stat .num {
    font-size: 1.5rem;
  }
  
  .hero-stat .lbl {
    font-size: 0.75rem;
  }
  
  .how-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  
  .how-card {
    padding: 1.25rem 1rem;
    border-radius: 16px;
  }
  
  .how-card h3 {
    font-size: 0.9rem;
  }
  
  .how-step {
    left: 1rem;
    right: auto;
  }

  .how-card p {
    font-size: 0.78rem;
  }
  
  .how-num {
    font-size: 1.5rem;
  }
  
  .how-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-label {
    font-size: 0.75rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .btn {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }
  
  .btn-lg {
    padding: 0.65rem 1.25rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .stat-card {
    padding: 0.85rem;
    gap: 0.75rem;
  }
  
  .stat-icon {
    width: 40px;
    height: 40px;
  }
  
  .stat-info .num {
    font-size: 1rem;
  }
  
  .stat-info .label {
    font-size: 0.65rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .card {
    padding: 1rem;
    border-radius: 12px;
  }
  
  .card-header {
    margin-bottom: 1rem;
    gap: 0.5rem;
  }
  
  .card-header h2 {
    font-size: 0.95rem;
  }
  
  .card-header .icon {
    width: 28px;
    height: 28px;
  }
  
  .breadcrumb {
    font-size: 0.75rem;
    gap: 0.4rem;
  }
  
  .alert {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    gap: 0.5rem;
  }
  
  .badge {
    padding: 0.2rem 0.55rem;
    font-size: 0.65rem;
  }
  
  .avatar {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .avatar-sm {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
  }
  
  .cta-banner {
    padding: 2rem 1rem;
    border-radius: 18px;
  }
  
  .cta-banner h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }
  
  .cta-banner p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
  
  .testi-grid {
    grid-template-columns: 1fr;
  }
  
  .testi-card {
    padding: 1.25rem;
  }
  
  .people-card {
    width: 140px;
    min-height: 200px;
  }
  
  .people-name {
    font-size: 0.8rem;
  }
  
  .people-role {
    font-size: 0.65rem;
  }
  
  .logo-row {
    gap: 0.5rem;
  }
  
  .logo-pill {
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .footer-h {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .footer-links a {
    font-size: 0.8rem;
  }
  
  .footer-desc {
    font-size: 0.8rem;
  }
  
  .page-header h1 {
    font-size: 1.25rem;
  }
  
  .page-header p {
    font-size: 0.85rem;
  }
  
  .profile-avatar {
    width: 80px;
    height: 80px;
  }
  
  .profile-avatar-placeholder {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .profile-name {
    font-size: 1.1rem;
  }
  
  .profile-sub {
    font-size: 0.8rem;
  }
  
  .profile-stats {
    gap: 1rem;
  }
  
  .sessions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .session-card {
    padding: 1rem;
  }
  
  .session-card h3 {
    font-size: 1rem;
  }
  
  .session-card p {
    font-size: 0.8rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .data-table {
    font-size: 0.85rem;
  }
  
  .data-table th,
  .data-table td {
    padding: 0.7rem 0.8rem;
  }
  
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .msg-layout {
    grid-template-columns: 1fr;
    height: 60vh;
    min-height: 450px;
  }
}

/* ─────────── SMALL PHONES (375px - 479px) ─────────── */
@media (max-width: 479px) {
  html {
    font-size: 14px;
  }
  
  * {
    -webkit-tap-highlight-color: transparent;
  }
  
  .navbar {
    padding: 0 0.5rem;
    height: 56px;
  }
  
  .navbar-brand {
    font-size: 0.85rem;
  }
  
  .navbar-logo {
    height: 42px;
    max-width: 108px;
  }
  
  .nav-right {
    gap: 0.75rem;
  }
  
  .menu-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }
  
  .nav-user .btn:not(.avatar-link) {
    display: none;
  }
  
  .nav-user {
    gap: 0.5rem;
  }
  
  .wrapper {
    padding: 1rem 0.5rem;
    max-width: 100%;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-inner {
    padding: 0 0.5rem;
  }
  
  body {
    font-size: 0.9rem;
  }
  
  .hero-eyebrow {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.9rem;
  }
  
  .hero-title .highlight {
    font-size: 1.5rem;
  }
  
  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
  }
  
  .hero-cta .btn {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 8px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 0.9rem;
    align-items: center;
  }
  
  .hero-stat {
    width: 100%;
    text-align: center;
  }
  
  .hero-stat .num {
    font-size: 1.35rem;
  }
  
  .hero-stat .lbl {
    font-size: 0.7rem;
  }
  
  .how-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .how-card {
    padding: 1rem;
    border-radius: 14px;
    position: relative;
  }

  .how-step {
    top: 1rem;
    left: 1rem;
    right: auto;
    font-size: 1.25rem;
  }
  
  .how-num {
    font-size: 1.25rem;
    top: 1rem;
    right: 1rem;
  }
  
  .how-card h3 {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }
  
  .how-card p {
    font-size: 0.75rem;
  }
  
  .how-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin: 0 auto 0.9rem;
  }
  
  .form-group {
    margin-bottom: 0.9rem;
  }
  
  .form-label {
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
  }
  
  .form-control {
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 6px;
  }
  
  .form-hint {
    font-size: 0.7rem;
    margin-top: 0.3rem;
  }
  
  .form-error {
    font-size: 0.65rem;
    margin-top: 0.3rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
    border-radius: 6px;
    gap: 0.35rem;
  }
  
  .btn-sm {
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
    border-radius: 5px;
  }
  
  .btn-lg {
    padding: 0.6rem 1.1rem;
    font-size: 0.8rem;
  }
  
  .btn-full {
    width: 100%;
  }
  
  .alert {
    padding: 0.65rem 0.85rem;
    font-size: 0.75rem;
    gap: 0.45rem;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
  
  .badge {
    padding: 0.18rem 0.5rem;
    font-size: 0.6rem;
    border-radius: 4px;
  }
  
  .avatar {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    border-width: 1px;
  }
  
  .avatar-sm {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  
  .stat-card {
    padding: 0.75rem;
    gap: 0.6rem;
    border-radius: 10px;
  }
  
  .stat-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 8px;
  }
  
  .stat-info .num {
    font-size: 0.95rem;
    line-height: 1.1;
  }
  
  .stat-info .label {
    font-size: 0.6rem;
    margin-top: 0.2rem;
  }
  
  .section-title {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
  }
  
  .section-tag {
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
  }
  
  .section-sub {
    font-size: 0.9rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .card {
    padding: 0.9rem;
    border-radius: 10px;
    border: 1px solid var(--border);
  }
  
  .card-header {
    margin-bottom: 0.9rem;
    gap: 0.5rem;
    flex-direction: column;
  }
  
  .card-header h2 {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  .card-header .icon {
    width: 24px;
    height: 24px;
    font-size: 0.85rem;
  }
  
  .breadcrumb {
    font-size: 0.7rem;
    gap: 0.3rem;
    margin-bottom: 1rem;
  }
  
  .breadcrumb span:last-child {
    font-weight: 600;
  }
  
  .page-header {
    margin-bottom: 1.5rem;
  }
  
  .page-header h1 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
  }
  
  .page-header p {
    font-size: 0.8rem;
  }
  
  .empty-state {
    padding: 2rem 1rem;
  }
  
  .empty-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .empty-state h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }
  
  .empty-state p {
    font-size: 0.8rem;
  }
  
  .cta-banner {
    padding: 1.75rem 1rem;
    border-radius: 16px;
  }
  
  .cta-banner h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .cta-banner p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    opacity: 0.9;
  }
  
  .cta-actions {
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
  
  .testi-grid {
    grid-template-columns: 1fr;
  }
  
  .testi-card {
    padding: 1rem;
    border-radius: 14px;
  }
  
  .quote-mark {
    font-size: 3rem;
    top: 0.5rem;
    right: 1rem;
  }
  
  .testi-stars {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .testi-quote {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .testi-author {
    gap: 0.6rem;
  }
  
  .testi-av-placeholder {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .testi-name {
    font-size: 0.8rem;
  }
  
  .testi-role {
    font-size: 0.65rem;
  }
  
  .profile-sidebar {
    padding: 1.25rem 1rem;
  }
  
  .profile-avatar-wrap {
    width: 70px;
    margin: 0 auto 1rem;
  }
  
  .profile-avatar {
    width: 70px;
    height: 70px;
  }
  
  .profile-avatar-placeholder {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }
  
  .profile-avatar-edit {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  
  .profile-name {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  
  .profile-sub {
    font-size: 0.75rem;
  }
  
  .profile-stats {
    gap: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
  }
  
  .profile-stat .n {
    font-size: 1rem;
  }
  
  .profile-stat .l {
    font-size: 0.65rem;
  }
  
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .sessions-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  
  .session-card {
    padding: 0.9rem;
    border-radius: 12px;
  }
  
  .session-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
  }
  
  .session-card p {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .session-meta {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .meta-item {
    font-size: 0.7rem;
    gap: 0.35rem;
  }
  
  .meta-item .ico {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }
  
  .session-card-footer {
    padding-top: 1rem;
    gap: 0.5rem;
    flex-direction: column;
  }
  
  .applicants-count {
    font-size: 0.65rem;
  }
  
  .skill-tag {
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .data-table {
    font-size: 0.8rem;
  }
  
  .data-table th,
  .data-table td {
    padding: 0.6rem 0.7rem;
  }
  
  .data-table thead th {
    font-size: 0.7rem;
  }
  
  .data-table tbody td {
    font-size: 0.8rem;
  }
  
  .admin-table-shell .data-table {
    min-width: 600px;
  }
  
  .admin-summary-grid,
  .admin-metric-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-metric-grid {
    gap: 1rem;
  }
  
  .role-card {
    padding: 1.5rem 1rem;
  }
  
  .role-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .role-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }
  
  .role-card p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .role-features li {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    gap: 0.4rem;
  }
  
  .role-img-wrap {
    height: 120px;
    margin: -1.5rem -1rem 1rem;
    border-radius: 10px 10px 0 0;
  }
  
  .role-icon-badge {
    font-size: 1.5rem;
    bottom: 0.5rem;
    left: 1rem;
  }
  
  .people-card {
    width: 120px;
    min-height: 180px;
  }
  
  .people-name {
    font-size: 0.75rem;
    margin-bottom: 0.08rem;
  }
  
  .people-role {
    font-size: 0.6rem;
  }
  
  .people-stars {
    font-size: 0.6rem;
    gap: 0.1rem;
  }
  
  .rating-num {
    font-size: 0.65rem;
  }
  
  .trust-bar {
    padding: 1rem 0.5rem;
  }
  
  .trust-label {
    font-size: 0.65rem;
    margin-bottom: 0.75rem;
  }
  
  .logo-row {
    gap: 0.3rem;
  }
  
  .logo-pill {
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
  }
  
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .public-hero {
    padding: 2rem 0.75rem 1.5rem;
  }
  
  .public-hero h1 {
    font-size: 1.35rem;
  }
  
  .search-bar-wrap {
    flex-direction: column;
    padding: 0.85rem;
    gap: 0.6rem;
  }
  
  .search-bar-wrap input {
    font-size: 0.85rem;
    padding: 0.55rem 0.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }
  
  .footer-logo {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }
  
  .footer-h {
    font-size: 0.75rem;
    margin-bottom: 0.9rem;
  }
  
  .footer-links a {
    font-size: 0.75rem;
  }
  
  .footer-desc {
    font-size: 0.75rem;
  }
  
  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.7rem;
  }
  
  /* Messages */
  .msg-layout {
    grid-template-columns: 1fr;
    height: 50vh;
    min-height: 350px;
    border-radius: 10px;
  }
  
  .msg-list {
    display: none;
  }
  
  .msg-list.show {
    display: flex;
  }
  
  .msg-window {
    border-radius: 10px;
  }
  
  .msg-window-header {
    padding: 1rem;
  }
  
  .msg-window-header h3 {
    font-size: 1rem;
  }
  
  .msg-window-header p {
    font-size: 0.7rem;
  }
  
  .msg-body {
    padding: 1rem;
    gap: 0.9rem;
  }
  
  .msg-bubble {
    max-width: 85%;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    font-size: 0.9rem;
  }
  
  .msg-bubble .time {
    font-size: 0.6rem;
  }
  
  .msg-input-wrap {
    padding: 0.95rem;
    gap: 0.6rem;
  }
  
  .msg-input {
    border-radius: 16px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }
  
  /* Admin responsive adjustments */
  .admin-sidebar {
    width: 100%;
    z-index: 200;
  }
  
  .admin-main {
    margin-left: 0;
    width: 100%;
  }
  
  .admin-topbar {
    padding: 0 0.75rem;
    min-height: 56px;
  }
  
  .admin-topbar-title {
    font-size: 1rem;
  }
  
  .admin-hamburger {
    display: flex;
  }
  
  .admin-content {
    padding: 0.75rem;
  }
  
  body.admin-body .breadcrumb {
    font-size: 0.7rem;
  }
  
  body.admin-body .page-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .admin-activity-item {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .admin-activity-actions {
    width: 100%;
    justify-content: flex-start;
  }
  
  .file-upload-zone {
    padding: 1.25rem 0.85rem;
  }
  
  .upload-icon {
    font-size: 1.5rem;
  }
  
  .upload-text {
    font-size: 0.75rem;
  }
  
  .upload-hint {
    font-size: 0.65rem;
  }
}

/* ─────────── ULTRA-SMALL PHONES (max-width: 374px) ─────────── */
@media (max-width: 374px) {
  html {
    font-size: 13px;
  }
  
  .navbar {
    height: 52px;
  }
  
  .navbar-brand {
    font-size: 0.75rem;
  }
  
  .navbar-logo {
    height: 38px;
    max-width: 98px;
  }
  
  .nav-links {
    padding: 0.75rem;
    gap: 0.25rem;
  }
  
  .wrapper {
    padding: 0.85rem 0.5rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .hero-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .hero-cta .btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
  }
  
  .btn {
    padding: 0.45rem 0.8rem;
  }
  
  .btn-sm {
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
  }
  
  .card {
    padding: 0.8rem;
    border-radius: 8px;
  }
  
  .card-header h2 {
    font-size: 0.85rem;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .alert {
    padding: 0.6rem 0.75rem;
    font-size: 0.7rem;
  }
  
  .form-control {
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
  }
  
  .stat-card {
    padding: 0.65rem;
  }
  
  .profile-avatar {
    width: 60px;
    height: 60px;
  }
  
  .profile-avatar-placeholder {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════ */

/* Hide elements at specific breakpoints */
.hide-mobile { display: none; }
.hide-tablet { display: block; }
.hide-desktop { display: block; }

@media (min-width: 768px) {
  .hide-mobile { display: block !important; }
  .show-mobile { display: none !important; }
}

@media (min-width: 992px) {
  .hide-tablet { display: none !important; }
  .show-tablet { display: none !important; }
}

@media (min-width: 1200px) {
  .hide-desktop { display: none !important; }
  .show-desktop { display: block !important; }
}

/* Responsive padding utilities */
.p-mobile { padding: 0.5rem; }
.p-tablet { padding: 1rem; }
.p-desktop { padding: 2rem; }

@media (min-width: 768px) {
  .p-mobile { padding: 1rem; }
  .p-tablet { padding: 1.5rem; }
}

@media (min-width: 1200px) {
  .p-desktop { padding: 2.5rem; }
}

/* Responsive font sizes */
.text-responsive-lg {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.text-responsive-md {
  font-size: clamp(1rem, 2.5vw, 1.75rem);
}

.text-responsive-sm {
  font-size: clamp(0.875rem, 2vw, 1.1rem);
}

/* Responsive flex direction */
.flex-mobile-column {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .flex-mobile-column { flex-direction: row; }
}

/* Responsive width utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }

@media (min-width: 768px) {
  .w-tablet-half { width: 50%; }
  .w-tablet-third { width: 33.333%; }
}

@media (min-width: 1200px) {
  .w-desktop-half { width: 50%; }
  .w-desktop-third { width: 33.333%; }
  .w-desktop-quarter { width: 25%; }
}

/* Container queries simulation */
.container-responsive {
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .container-responsive { max-width: 640px; }
}

@media (min-width: 768px) {
  .container-responsive { max-width: 768px; }
}

@media (min-width: 1024px) {
  .container-responsive { max-width: 1024px; }
}

@media (min-width: 1280px) {
  .container-responsive { max-width: 1280px; }
}

/* Touch-friendly spacing on mobile */
@media (max-width: 767px) {
  .touch-p { padding: 1rem; }
  .touch-m { margin: 1rem; }
  
  /* Ensure clickable elements are at least 44px */
  button, a, [role="button"] {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Orientation-specific styles */
@media (orientation: portrait) and (max-width: 767px) {
  .hide-portrait { display: none !important; }
  .show-portrait { display: block !important; }
}

@media (orientation: landscape) and (max-width: 767px) {
  .hide-landscape { display: none !important; }
  .show-landscape { display: block !important; }
}

/* Safe area support for notched devices */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
    padding-top: max(0px, env(safe-area-inset-top));
  }
}

/* Smooth transitions for responsive changes */
* {
  transition: padding var(--transition-base), 
              margin var(--transition-base), 
              font-size var(--transition-base);
}

/* Prevent layout shift on resize */
html { overflow-y: scroll; }

/* Better mobile scrolling */
body { -webkit-overflow-scrolling: touch; }

/* Improve text rendering on mobile */
@media (max-width: 767px) {
  * {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
}

/* High DPI screen optimization */
@media (min-device-pixel-ratio: 2), 
       (min-resolution: 192dpi) {
  * {
    border-width: 0.5px;
  }
}

/* Print styles for responsive content */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .navbar, .footer, .hide-print {
    display: none !important;
  }
  
  a { text-decoration: underline; }
  
  img { max-width: 100%; }
}
