/* ==========================================================================
   Kishore Career Hub — Complete Pure CSS3 Responsive Stylesheet
   Covers Public Pages (Home, Courses, Demo, For Colleges, Verify) + Admin Panel
   ========================================================================== */

:root {
  --navy-950: #071429;
  --navy-900: #0d1f3c;
  --navy-800: #152f59;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --amber-700: #b45309;
  --amber-100: #fef3c7;
  --red-600: #dc2626;
  --red-50: #fef2f2;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 6px rgba(13, 31, 60, 0.05), 0 1px 2px rgba(13, 31, 60, 0.04);
  --shadow-md: 0 10px 26px rgba(13, 31, 60, 0.08);
  --shadow-lg: 0 20px 44px rgba(13, 31, 60, 0.14);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-900);
  background: var(--slate-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85em;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue-700);
  padding: 2px 6px;
  border-radius: 5px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= BRAND LOGO LOCKUP ================= */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  user-select: none;
}

.brand-logo__icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(13, 31, 60, 0.18));
}

.brand-logo--dark .brand-logo__icon-wrap {
  background: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.brand-logo__img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-logo__title {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
}

.brand-logo--dark .brand-logo__title {
  color: var(--white);
}

.brand-logo__sub {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  margin-top: 2px;
}

.brand-logo--dark .brand-logo__sub {
  color: #93c5fd;
}

/* ================= STICKY NAVBAR ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: all 0.18s ease;
}

.nav-link:hover {
  color: var(--navy-900);
  background: var(--slate-100);
}

.nav-link.active {
  color: var(--blue-700);
  background: var(--blue-50);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  padding: 8px 12px;
  font-size: 1.15rem;
  border-radius: 10px;
  color: var(--navy-900);
  background: var(--slate-100);
}

.mobile-drawer {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  padding: 14px 20px 20px;
  box-shadow: var(--shadow-md);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 4px;
}

.mobile-drawer a.active {
  background: var(--blue-50);
  color: var(--blue-700);
}

/* ================= BUTTONS & BADGES ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 0.89rem;
  font-weight: 700;
  transition: all 0.18s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 0.96rem;
  border-radius: 14px;
}

.btn-sm {
  padding: 8px 13px;
  font-size: 0.79rem;
  border-radius: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.26);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-700), #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.34);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}

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

.btn-emerald {
  background: var(--emerald-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.24);
}

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

.btn-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1.5px solid #fecaca;
}

.btn-danger:hover {
  background: #dc2626;
  color: var(--white);
  border-color: #dc2626;
}

.btn-outline {
  background: var(--white);
  color: var(--slate-800);
  border: 1.5px solid var(--slate-200);
}

.btn-outline:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
  color: var(--blue-700);
}

.btn-ghost {
  color: var(--slate-600);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
}

.btn-ghost:hover {
  background: var(--slate-100);
  color: var(--navy-900);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.badge-blue {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
}

.badge-emerald {
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid var(--emerald-100);
}

.badge-indigo {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #e0e7ff;
}

.badge-sky {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.badge-amber {
  background: var(--amber-100);
  color: var(--amber-700);
  border: 1px solid #fde68a;
}

/* ================= HOME HERO SECTION ================= */
.hero {
  background: radial-gradient(circle at 84% 24%, rgba(191, 219, 254, 0.72) 0%, rgba(239, 246, 255, 0.94) 50%, #ffffff 100%);
  border-bottom: 1px solid var(--blue-100);
  padding: 58px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.88);
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.81rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.1vw, 3.3rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.13;
  letter-spacing: -0.028em;
  margin-bottom: 18px;
}

.text-gradient {
  background: linear-gradient(125deg, #1d4ed8 0%, #2563eb 55%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--blue-600);
}

.hero-lead {
  font-size: 1.04rem;
  color: var(--slate-600);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 26px;
}

.hero-lead strong {
  color: var(--navy-900);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(191, 219, 254, 0.85);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--slate-700);
}

.hero-visual {
  position: relative;
  padding: 12px 10px;
}

.hero-img-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
  background: var(--blue-100);
}

.hero-img-frame img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: center top;
}

.floating-badge {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--blue-100);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  max-width: 245px;
}

.floating-badge--left {
  bottom: -6px;
  left: -8px;
}

.floating-badge--right {
  top: 16px;
  right: -8px;
}

/* ================= STATS TRUST RIBBON ================= */
.stats-ribbon {
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 52%, #173b7a 100%);
  color: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 8px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: #93c5fd;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 4px;
}

/* ================= GENERIC SECTIONS & HEADINGS ================= */
.section {
  padding: 68px 0;
}

.section--tint {
  background: #f1f6fd;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue-600);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.022em;
  line-height: 1.2;
}

.section-desc {
  font-size: 0.97rem;
  color: var(--slate-600);
  margin-top: 10px;
  line-height: 1.6;
}

/* ================= STREAM GATEWAY CARDS ================= */
.stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
  gap: 24px;
}

.stream-card {
  background: var(--white);
  border-radius: 22px;
  padding: 28px 26px;
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stream-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}

.stream-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stream-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.stream-card__sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 7px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.stream-card__desc {
  font-size: 0.89rem;
  color: var(--slate-600);
  line-height: 1.58;
}

.stream-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

/* ================= COURSE GRID & COURSE CARDS ================= */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--slate-200);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 0;
}

.course-card:hover {
  border-color: #60a5fa;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.course-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.course-code {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-400);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.course-card__title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.32;
}

.course-card:hover .course-card__title {
  color: var(--blue-600);
}

/* Mini Teacher Strip inside Course Card */
.teacher-mini-strip {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 10px 12px;
  border-radius: 13px;
  background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
  border: 1px solid #dbeafe;
  transition: border-color 0.18s ease;
}

.course-card:hover .teacher-mini-strip {
  border-color: #93c5fd;
}

.teacher-mini-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(13, 31, 60, 0.14);
  flex-shrink: 0;
}

.teacher-mini-info {
  min-width: 0;
  flex: 1;
}

.teacher-mini-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.teacher-mini-qual {
  font-size: 0.72rem;
  color: var(--blue-700);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Full Teacher Profile Hero inside Course Click Modal & Demo Page */
.teacher-profile-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 65%, #f0fdf4 100%);
  border: 1.5px solid #bfdbfe;
  margin-bottom: 20px;
  align-items: center;
}

.teacher-profile-photo-wrap {
  position: relative;
  width: 126px;
  height: 136px;
}

.teacher-profile-photo {
  width: 126px;
  height: 136px;
  border-radius: 16px;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.teacher-verified-pill {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-600);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
}

.teacher-cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.teacher-cred-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 11px;
  padding: 9px 12px;
}

.teacher-cred-box small {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
}

.teacher-cred-box strong {
  display: block;
  font-size: 0.81rem;
  color: var(--navy-900);
  margin-top: 2px;
}

.eligible-box {
  margin-top: 11px;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  font-size: 0.77rem;
  color: #1e3a8a;
}

.course-card__desc {
  margin-top: 11px;
  font-size: 0.86rem;
  color: var(--slate-600);
  line-height: 1.52;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tool-tag {
  font-size: 0.71rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}

.tool-tag:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
}

.course-card__foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
}

.course-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--slate-500);
  font-weight: 700;
  margin-bottom: 12px;
}

.course-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

/* ================= 3-STEP HOW IT WORKS ================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-900));
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.58;
}

/* ================= PROFESSOR / COLLEGE TRUST BANNER ================= */
.college-banner {
  background: linear-gradient(125deg, var(--navy-950) 0%, #0f2952 55%, #1d4ed8 100%);
  color: var(--white);
  border-radius: 28px;
  padding: 46px 44px;
  box-shadow: var(--shadow-lg);
}

.college-banner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 38px;
  align-items: center;
}

.bullet-list {
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 0.89rem;
  color: var(--slate-700);
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bullet-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  margin-top: 8px;
  flex-shrink: 0;
}

.college-banner .bullet-list li::before {
  background: #60a5fa;
}

/* ================= CAMPUS TESTIMONIALS ================= */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 24px;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card p {
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.62;
  margin-bottom: 18px;
  font-style: italic;
}

.quote-author {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-900);
}

.quote-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-top: 2px;
}

/* ================= INNER PAGE HERO & FILTER BAR ================= */
.page-hero,
.page-banner {
  background: linear-gradient(122deg, var(--navy-950) 0%, #102a56 56%, #1d4ed8 100%);
  color: var(--white);
  padding: 50px 0 56px;
}

.page-hero h1,
.page-banner h1 {
  font-size: clamp(1.8rem, 3.3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.page-hero p,
.page-banner p {
  color: #dbeafe;
  max-width: 780px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.page-hero p strong {
  color: var(--white);
}

.filter-bar {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 20px 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.stream-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  padding: 9px 16px;
  border-radius: 11px;
  font-size: 0.84rem;
  font-weight: 700;
  background: var(--slate-100);
  color: var(--slate-700);
  transition: all 0.16s ease;
}

.tab-btn:hover {
  background: var(--blue-50);
  color: var(--blue-700);
}

.tab-btn.active {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.24);
}

/* ================= CARDS, BOXES & FORMS ================= */
.card-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.feature-box {
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: 16px;
  padding: 16px;
}

.feature-box h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.feature-box p {
  font-size: 0.82rem;
  color: var(--slate-600);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-900);
  font-size: 0.89rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-group {
  margin-bottom: 13px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 5px;
}

.stream-pill-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stream-pill-btn {
  padding: 9px;
  border-radius: 11px;
  border: 1.5px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-700);
  transition: all 0.15s ease;
}

.stream-pill-btn.active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

/* ================= MODALS ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 20, 41, 0.68);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 560px;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.modal-card--wide {
  max-width: 820px;
}

.modal-header {
  background: linear-gradient(120deg, var(--navy-900), var(--blue-700));
  color: var(--white);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 3px;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.modal-body {
  padding: 22px 24px;
  overflow-y: auto;
}

/* ================= DEMO CLASSROOM & INTERACTIVE PLAYER ================= */
.classroom-grid,
.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
  gap: 26px;
  align-items: start;
}

.player-shell {
  border-radius: 22px;
  overflow: hidden;
  background: var(--navy-950);
  border: 1px solid #1e3a8a;
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.player-stage {
  min-height: 360px;
  padding: 30px;
  background: linear-gradient(140deg, #0b1f3f 0%, #103166 55%, #071326 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.player-chapters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.chapter-btn {
  text-align: left;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chapter-btn.active {
  background: var(--blue-600);
  color: var(--white);
  border-color: #60a5fa;
}

.player-controls {
  background: #050d1a;
  padding: 14px 20px;
  border-top: 1px solid #1e293b;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: #1e293b;
  border-radius: 99px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #38bdf8);
  transition: width 0.3s ease;
}

.embed-responsive {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.embed-responsive iframe,
.embed-responsive video {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================= TABLES ================= */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
}

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

.data-table th {
  padding: 12px 14px;
  background: var(--slate-50);
  border-bottom: 1.5px solid var(--slate-200);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--slate-100);
  vertical-align: middle;
  color: var(--slate-800);
}

.data-table tbody tr:hover td {
  background: #f8fbff;
}

/* ================= ADMIN DASHBOARD LAYOUT (admin.html) ================= */
.admin-layout {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--slate-100);
}

.admin-sidebar {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 62%, #102a54 100%);
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 60;
}

.admin-sidebar__brand {
  padding: 20px 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: all 0.16s ease;
}

.admin-nav-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.admin-nav-btn.active {
  background: linear-gradient(90deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.admin-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--slate-100);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
  padding: 14px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-content {
  padding: 26px 28px 44px;
  flex: 1;
  min-width: 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.admin-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

.admin-content .course-grid {
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
}

.kpi-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.kpi-card__label {
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  margin-bottom: 6px;
}

.kpi-card__val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
}

/* ================= FOOTER & TOAST ================= */
.site-footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 56px 0 28px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.footer-heading {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 0.87rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--slate-400);
}

.toast-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  background: var(--navy-900);
  color: var(--white);
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: none;
}

.toast-banner.show {
  display: block;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (max-width: 1080px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-actions .hide-mobile {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero-grid,
  .college-banner__grid,
  .classroom-grid,
  .demo-layout {
    grid-template-columns: 1fr;
  }
  .floating-badge--left {
    left: 12px;
    bottom: 12px;
  }
  .floating-badge--right {
    right: 12px;
    top: 12px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 10px 14px;
    gap: 8px;
  }
  .admin-nav-btn {
    width: auto;
    white-space: nowrap;
    padding: 9px 13px;
    font-size: 0.82rem;
  }
  .admin-topbar,
  .admin-content {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 680px) {
  .course-grid,
  .admin-content .course-grid,
  .admin-split-grid,
  .stream-grid,
  .steps-grid,
  .quote-grid,
  .kpi-grid,
  .stats-grid,
  .form-grid-2,
  .player-chapters,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .hero {
    padding: 36px 0 46px;
  }
  .hero-img-frame img {
    height: 300px;
  }
  .floating-badge {
    position: static;
    max-width: 100%;
    margin-top: 10px;
  }
  .college-banner {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .teacher-profile-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .teacher-cred-grid {
    grid-template-columns: 1fr;
    text-align: left;
    width: 100%;
  }
}

/* ============================================================================
   DIRECTOR SECTION (Landing Page Bottom — Praveen Kishore) & CLEAN COURSE CARDS
   ============================================================================ */
.director-section {
  padding: 64px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  border-top: 1px solid var(--slate-200);
}

.director-card {
  background: linear-gradient(135deg, #0d1f3c 0%, #172554 58%, #1e3a8a 100%);
  border-radius: 28px;
  padding: 40px 44px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(13, 31, 60, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.35);
  position: relative;
  overflow: hidden;
}

.director-card::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.16), transparent 70%);
  pointer-events: none;
}

.director-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.director-photo {
  width: 220px;
  height: 260px;
  border-radius: 22px;
  object-fit: cover;
  object-position: top center;
  border: 4px solid #f59e0b;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
  background: #1e293b;
}

.director-crest-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.45);
  font-size: 0.76rem;
  font-weight: 700;
  color: #fde68a;
}

.director-content {
  position: relative;
  z-index: 1;
}

.director-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fcd34d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.director-name {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
}

.director-role {
  font-size: 1rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 18px;
}

.director-quote {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid #f59e0b;
  padding: 16px 20px;
  border-radius: 0 14px 14px 0;
  margin-bottom: 20px;
}

.director-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.course-card--clean .course-card__title {
  font-size: 1.14rem;
  line-height: 1.38;
  margin-bottom: 14px;
}

.admin-video-preview {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: #0f172a;
}

.admin-video-preview iframe,
.admin-video-preview video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .director-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 24px;
    text-align: center;
  }
  .director-quote {
    text-align: left;
  }
  .director-meta-row {
    justify-content: center;
  }
  .director-photo {
    width: 190px;
    height: 225px;
  }
}

/* ============================================================================
   FULL-SCREEN ANIMATED ENROLLMENT EXPERIENCE & MOBILE PHONE POLISH
   ============================================================================ */
@keyframes kchFsEnter {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes kchFsExit {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
}

@keyframes kchItemRise {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kchShimmer {
  0% {
    transform: translateX(-120%) skewX(-18deg);
  }
  100% {
    transform: translateX(220%) skewX(-18deg);
  }
}

@keyframes kchPulseSoft {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
}

.enroll-fs {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 600;
  background: linear-gradient(180deg, #f1f5f9 0%, #eff6ff 50%, #f8fafc 100%);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.enroll-fs.open {
  display: flex;
  animation: kchFsEnter 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.enroll-fs.closing {
  display: flex;
  animation: kchFsExit 0.24s ease-in forwards;
  pointer-events: none;
}

.enroll-fs__topbar {
  flex-shrink: 0;
  background: rgba(13, 31, 60, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.28);
  color: #ffffff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 6px 24px rgba(7, 20, 41, 0.18);
}

.enroll-fs__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.18s ease;
}

.enroll-fs__back-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(-2px);
}

.enroll-fs__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.enroll-fs__brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}

.enroll-fs__brand-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  white-space: nowrap;
}

.enroll-fs__brand-sub {
  font-size: 0.72rem;
  color: #fde68a;
  font-weight: 700;
  display: block;
}

.enroll-fs__live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #a7f3d0;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.enroll-fs__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  animation: kchPulseSoft 1.8s infinite;
}

.enroll-fs__scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 28px 18px 48px;
}

.enroll-fs__container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.enroll-fs.open .enroll-fs__anim {
  opacity: 0;
  animation: kchItemRise 0.46s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0.06s);
}

.enroll-fs__hero-card {
  background: linear-gradient(145deg, #0d1f3c 0%, #172554 55%, #1d4ed8 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 26px 24px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 20px 48px rgba(13, 31, 60, 0.2);
  position: sticky;
  top: 0;
}

.enroll-fs__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.enroll-fs__course-title {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.28;
  color: #ffffff;
  margin-bottom: 16px;
}

.enroll-fs__mentor-box {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 18px;
}

.enroll-fs__mentor-avatar {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #fbbf24;
  flex-shrink: 0;
}

.enroll-fs__mentor-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
}

.enroll-fs__mentor-qual {
  font-size: 0.76rem;
  color: #bfdbfe;
  margin-top: 2px;
}

.enroll-fs__perks {
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 0.83rem;
  color: #e0f2fe;
}

.enroll-fs__perks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.enroll-fs__form-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.enroll-fs__section-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 24px;
  border: 1px solid var(--slate-200);
  box-shadow: 0 10px 28px rgba(13, 31, 60, 0.06);
}

.enroll-fs__sec-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
}

.enroll-fs__sec-num {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-100);
  flex-shrink: 0;
}

.enroll-fs__sec-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-900);
}

.enroll-fs .input,
.enroll-fs .select {
  min-height: 50px;
  font-size: 16px;
  border-radius: 13px;
  border: 1.5px solid var(--slate-200);
  background: #f8fafc;
  padding: 12px 14px;
  transition: all 0.18s ease;
}

.enroll-fs .input:focus,
.enroll-fs .select:focus {
  background: #ffffff;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.phone-input-wrap {
  display: flex;
  align-items: stretch;
  border-radius: 13px;
  overflow: hidden;
  border: 1.5px solid var(--slate-200);
  background: #f8fafc;
  transition: all 0.18s ease;
}

.phone-input-wrap:focus-within {
  background: #ffffff;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  background: #eff6ff;
  color: var(--blue-700);
  font-weight: 800;
  font-size: 0.92rem;
  border-right: 1px solid var(--blue-100);
  user-select: none;
}

.phone-input-wrap .input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.quick-chip {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 0.74rem;
  font-weight: 700;
  transition: all 0.15s ease;
}

.quick-chip:hover,
.quick-chip.active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #ffffff;
}

.enroll-fs__submit-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #059669 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.enroll-fs__submit-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: kchShimmer 3.2s infinite;
  pointer-events: none;
}

.enroll-fs__submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.36);
}

/* Smooth animated transitions on standard Course/Teacher Modal + Full-Screen on Phone */
.modal-backdrop.open .modal-card {
  animation: kchFsEnter 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Structured Student Registration Details Grid on demo.html */
.student-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.student-summary-item {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 11px;
  padding: 9px 11px;
}

.student-summary-item small {
  display: block;
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  margin-bottom: 2px;
}

.student-summary-item strong {
  display: block;
  font-size: 0.84rem;
  color: var(--navy-900);
  word-break: break-word;
}

.student-summary-item--wide {
  grid-column: 1 / -1;
}

@media (max-width: 960px) {
  .enroll-fs__container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .enroll-fs__hero-card {
    position: static;
    padding: 20px 18px;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 15px;
  }
  .navbar {
    min-height: 64px;
    gap: 8px;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-logo__icon-wrap,
  .brand-logo__img {
    width: 40px;
    height: 40px;
  }
  .brand-logo__title {
    font-size: 1.12rem;
  }
  .brand-logo__sub {
    font-size: 0.64rem;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .btn-primary {
    padding: 8px 12px;
    font-size: 0.8rem;
    border-radius: 10px;
  }

  /* Full-screen Enroll view mobile refinements */
  .enroll-fs__topbar {
    padding: 10px 12px;
  }
  .enroll-fs__live-pill {
    display: none;
  }
  .enroll-fs__scroll {
    padding: 14px 12px 36px;
  }
  .enroll-fs__hero-card {
    border-radius: 18px;
    padding: 18px 16px;
  }
  .enroll-fs__course-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }
  .enroll-fs__perks {
    grid-template-columns: 1fr;
    font-size: 0.78rem;
    gap: 6px;
  }
  .enroll-fs__section-card {
    padding: 16px 15px;
    border-radius: 18px;
  }
  .enroll-fs__submit-btn {
    min-height: 54px;
    font-size: 0.96rem;
    border-radius: 14px;
  }

  /* Make Course/Teacher/Video Modal Full-Screen Animated on Phone too! */
  #syllabusModalBackdrop.modal-backdrop {
    padding: 0;
    align-items: stretch;
  }
  #syllabusModalBackdrop .modal-card {
    max-width: 100%;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  #syllabusModalBackdrop .modal-header {
    padding: 16px 16px;
  }
  #syllabusModalBackdrop .modal-body {
    padding: 16px 15px 28px;
    flex: 1;
  }

  /* Prevent iOS/Android input zoom across all forms */
  .input,
  .select,
  .textarea {
    font-size: 16px;
  }

  /* Demo Classroom (After Enroll) Mobile Polish */
  .demo-top-strip {
    padding: 16px !important;
  }
  .demo-top-actions {
    width: 100%;
  }
  .demo-top-actions .select,
  .demo-top-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center;
  }
  .embed-responsive {
    border-radius: 16px;
  }
  .student-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   OFFICIAL CERTIFICATE WITH LOGO — PREVIEW FRAME & LIVE ADMIN STUDIO
   ========================================================================== */
.cert-studio-grid {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.btn-amber {
  background: linear-gradient(135deg, #c59128 0%, #a16f12 100%);
  color: #ffffff;
  border: 1px solid #b47f18;
  box-shadow: 0 6px 16px rgba(197, 145, 40, 0.28);
}
.btn-amber:hover {
  background: linear-gradient(135deg, #d4a034 0%, #8f600d 100%);
  color: #ffffff;
  transform: translateY(-1px);
}

.cert-canvas-frame {
  position: relative;
  background: linear-gradient(145deg, #0b1c38 0%, #152e5c 100%);
  padding: 16px;
  border-radius: 20px;
  border: 2px solid rgba(229, 193, 108, 0.45);
  box-shadow: 0 24px 55px rgba(8, 28, 61, 0.24);
}

.cert-canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fdf8ec;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.cert-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 1080px) {
  .cert-studio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .cert-canvas-frame {
    padding: 8px;
    border-radius: 14px;
  }
  .cert-action-bar .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media print {
  .site-header,
  .site-footer,
  .admin-sidebar,
  .admin-topbar,
  .no-print {
    display: none !important;
  }
  body,
  .admin-layout,
  .admin-main {
    background: #fff !important;
    display: block !important;
  }
}

/* ============================================================================
   SELF-DECLARATION CONSENT CHECKBOX & INTERACTIVE reCAPTCHA WIDGET
   ============================================================================ */
.kch-consent-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 13px;
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.kch-consent-box:hover {
  border-color: #38bdf8;
  background: #e0f2fe;
}

.kch-consent-box.checked {
  background: #ecfdf5;
  border-color: #34d399;
}

.kch-consent-box.error {
  background: #fef2f2;
  border-color: #f87171;
}

.kch-consent-box input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: #059669;
  cursor: pointer;
}

.kch-consent-text {
  font-size: 0.84rem;
  line-height: 1.48;
  color: #0f172a;
  font-weight: 600;
}

.kch-consent-sub {
  display: block;
  font-size: 0.76rem;
  color: #475569;
  font-weight: 500;
  margin-top: 3px;
}

/* Authentic Interactive reCAPTCHA v2 Style Box */
.kch-recaptcha-wrap {
  margin-top: 14px;
}

.kch-recaptcha-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 340px;
  min-height: 76px;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.kch-recaptcha-card.verified {
  background: #f0fdf4;
  border-color: #34d399;
}

.kch-recaptcha-card.error {
  border-color: #ef4444;
  background: #fef2f2;
}

.kch-recaptcha-left {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.kch-recaptcha-box {
  width: 28px;
  height: 28px;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.kch-recaptcha-left:hover .kch-recaptcha-box {
  border-color: #2563eb;
}

.kch-recaptcha-box.spinning {
  border-color: transparent;
  background: transparent;
}

.kch-recaptcha-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: kchSpin 0.65s linear infinite;
}

@keyframes kchSpin {
  to {
    transform: rotate(360deg);
  }
}

.kch-recaptcha-box.done {
  border-color: #059669;
  background: #059669;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
}

.kch-recaptcha-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2937;
}

.kch-recaptcha-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.kch-recaptcha-brand span {
  font-size: 0.62rem;
  font-weight: 700;
  color: #6b7280;
  margin-top: 2px;
}

.kch-recaptcha-brand small {
  font-size: 0.54rem;
  color: #9ca3af;
}

.kch-recaptcha-challenge {
  margin-top: 10px;
  max-width: 340px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid #93c5fd;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.kch-captcha-canvas-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.kch-captcha-canvas {
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  height: 44px;
  width: 170px;
}

/* Hidden bot-trap honeypot */
.kch-hp-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================================================
   SEO FAQ ACCORDION SECTION
   ============================================================================ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(13, 31, 60, 0.06);
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0d1f3c;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eff6ff;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: #1d4ed8;
  color: #ffffff;
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #475569;
}


