:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-mono: 'Fira Code', 'Consolas', monospace;

  --primary-color: #0066FF;
  --secondary-color: #FF7A00;
  --text-dark: #000000;
  --text-medium: #1E293B;
  --text-gray: #475569;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  font-family: var(--font-body);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-dark);
  background-color: var(--bg-white);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
}

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

button, input, select, textarea {
  font-family: var(--font-body);
}

/* Typography - Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

/* Typography - Paragraphs and Text */
p {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

small {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.875rem;
}

/* Typography - Links */
a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: #0052cc;
}

/* Typography - Lists */
ul, ol {
  color: var(--text-medium);
  line-height: 1.8;
}

li {
  margin-bottom: 0.5rem;
}

/* Typography - Tables */
table {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

th {
  color: var(--text-gray);
  font-weight: 700;
}

td {
  color: var(--text-medium);
}

/* Mobile-first responsive utilities */
@media (max-width: 1024px) {
  body {
    font-size: 0.95rem;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
  h4 { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  body {
    font-size: 0.9rem;
  }

  html,
  body {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1rem; }
  
  p { font-size: 0.95rem; }
  small { font-size: 0.8rem; }
  table { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  body {
    font-size: 0.85rem;
  }

  html,
  body {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
  h4 { font-size: 0.95rem; }
  h5 { font-size: 0.9rem; }

  p { font-size: 0.9rem; }
  small { font-size: 0.75rem; }
  table { font-size: 0.85rem; }
}

/* Global responsive containers */
#root {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
}

main {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
}

section {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
}
.courses-container {
  min-height: 100vh;
  background: #f8fafc;
  padding: 0 5% 4rem;
  overflow: hidden;
  box-sizing: border-box;
}

/* ── Hero ── */
.courses-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.courses-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.courses-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroImageFade 0.5s ease;
}
.courses-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.5) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 60%);
}
.courses-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.courses-hero-left {
  max-width: 650px;
}

.courses-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}

.courses-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.9rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.courses-hero-rotating {
  display: block;
  height: 2.9rem;
  overflow: hidden;
  margin-top: 0.15rem;
}

.courses-hero-rotating-text {
  display: block;
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroFadeSlide 0.5s ease;
}

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

.courses-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 2rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Hero Stats - Glass morphism */
.courses-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  width: fit-content;
}

.courses-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0 1.25rem;
}

.courses-stat:first-child {
  padding-left: 0;
}

.courses-stat:last-child {
  padding-right: 0;
}

.courses-stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.courses-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.courses-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.courses-hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 1.5rem;
}

.courses-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.courses-hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.courses-hero-dot.active {
  background: #ffffff;
  width: 24px;
  border-radius: 4px;
}

/* ── Section Divider ── */
.courses-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0066FF, #60A5FA);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ── Search Bar ── */
.courses-search-wrapper {
  margin-bottom: 1.5rem;
}

.courses-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.courses-search:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.courses-search:focus-within {
  border-color: #0066FF;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.courses-search svg {
  flex-shrink: 0;
  color: #94a3b8;
  transition: color 0.25s ease;
}

.courses-search:focus-within svg {
  color: #0066FF;
}

.courses-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.courses-search input::placeholder {
  color: #64748B;
  font-weight: 500;
}

/* ── Categories ── */
.courses-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.courses-category-pill {
  padding: 0.5rem 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.courses-category-pill:hover {
  border-color: #94a3b8;
  color: #000000;
  background: #f8fafc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.courses-category-pill.active {
  background: #0066FF;
  border-color: #0066FF;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 102, 255, 0.35);
}

/* ── Category Info ── */
.courses-category-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.courses-category-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.courses-category-count {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

/* ── Grid ── */
.courses-main {
  width: 100%;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

/* ── Card ── */
.course-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  min-height: 210px;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #0066FF, #60A5FA);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.course-card:hover::before {
  opacity: 0;
}

/* Card Top - Image + Info */
.course-card-top {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.course-card-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #f1f5f9;
  transition: transform 0.3s ease;
}

.course-card:hover .course-card-thumb {
  transform: scale(1.05);
}

.course-card-info {
  flex: 1;
  min-width: 0;
}

.course-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  margin: 0 0 0.3rem;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.course-card:hover .course-card-title {
  color: #0066FF;
}

.course-card-category {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0 0 0.45rem;
  font-weight: 400;
}

.course-card-mode {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: #d97706;
  background: #fffbeb;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.course-card-mode-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
}

/* Stats Row */
.course-card-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  margin-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.course-card-stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 400;
}

.course-card-stat svg {
  flex-shrink: 0;
  color: #94a3b8;
}

/* CTA Row */
.course-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.course-card-view-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0066FF;
}

.course-card-arrow {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066FF;
  transition: all 0.25s ease;
}

.course-card:hover .course-card-arrow {
  background: #0066FF;
  color: #ffffff;
  transform: translateX(3px);
}

/* ── No Results ── */
.courses-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
}

.courses-no-results-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #94a3b8;
}

.courses-no-results h3 {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.courses-no-results p {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 0;
}

/* ── Card Animation ── */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-card {
  animation: cardFadeIn 0.35s ease forwards;
  opacity: 0;
}

/* ── Responsive ── */

/* Tablets / small desktops */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets portrait */
@media (max-width: 768px) {
  .courses-container {
    padding: 0 4% 3rem;
  }

  .courses-hero {
    min-height: 340px;
    margin-bottom: 2rem;
  }

  .courses-hero-content {
    padding: 2rem 5%;
  }

  .courses-hero-left {
    max-width: 100%;
  }

  .courses-hero-title {
    font-size: 1.85rem;
  }

  .courses-hero-rotating {
    height: 2.3rem;
  }

  .courses-hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .courses-hero-stats {
    gap: 0;
    padding: 0.85rem 1.25rem;
  }

  .courses-stat {
    padding: 0 1rem;
  }

  .courses-stat-number {
    font-size: 1.15rem;
  }

  .courses-stat-label {
    font-size: 0.7rem;
  }

  .courses-stat-divider {
    height: 22px;
  }

  .courses-category-info {
    flex-direction: column;
    gap: 0.25rem;
  }

  .courses-category-name {
    font-size: 1.05rem;
    font-weight: 700;
  }

  .courses-grid {
    gap: 0.9rem;
  }

  .course-card {
    padding: 1.15rem;
    min-height: 190px;
  }

  .course-card-title {
    font-size: 0.88rem;
  }

  .course-card-stats {
    gap: 0.85rem;
    padding: 0.8rem 0;
    margin-top: 0.8rem;
  }

  .course-card-stat {
    font-size: 0.72rem;
  }

  .course-card-stat svg {
    width: 13px;
    height: 13px;
  }

  .course-card-view-text {
    font-size: 0.8rem;
  }

  .course-card-arrow {
    width: 28px;
    height: 28px;
  }

  .course-card-arrow svg {
    width: 16px;
    height: 16px;
  }

  .courses-no-results {
    padding: 3rem 0;
  }
}

/* Mobile landscape */
@media (max-width: 640px) {
  .courses-container {
    padding: 0 4% 2.5rem;
  }

  .courses-hero {
    min-height: 300px;
  }

  .courses-hero-content {
    padding: 1.5rem 5%;
  }

  .courses-hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
  }

  .courses-hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }

  .courses-hero-rotating {
    height: 1.9rem;
  }

  .courses-hero-stats {
    gap: 0;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }

  .courses-stat {
    padding: 0 0.75rem;
  }

  .courses-stat-number {
    font-size: 1rem;
  }

  .courses-stat-label {
    font-size: 0.65rem;
  }

  .courses-stat-divider {
    height: 20px;
  }

  .courses-categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    gap: 0.4rem;
  }

  .courses-categories::-webkit-scrollbar {
    height: 4px;
  }

  .courses-categories::-webkit-scrollbar-track {
    background: transparent;
  }

  .courses-categories::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
  }

  .courses-category-pill {
    flex-shrink: 0;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
  }

  .courses-category-info {
    flex-direction: column;
    gap: 0.2rem;
  }

  .courses-category-name {
    font-size: 1rem;
    font-weight: 700;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .course-card {
    padding: 1rem;
    min-height: 180px;
  }

  .course-card-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }

  .course-card-title {
    font-size: 0.85rem;
  }

  .course-card-category {
    font-size: 0.72rem;
    margin-bottom: 0.35rem;
  }

  .course-card-mode {
    font-size: 0.68rem;
    padding: 0.15rem 0.5rem;
  }

  .course-card-stats {
    gap: 0.85rem;
    padding: 0.75rem 0;
    margin-top: 0.75rem;
  }

  .course-card-stat {
    font-size: 0.7rem;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .courses-container {
    padding: 0 3.5% 2rem;
  }

  .courses-hero {
    min-height: 260px;
  }

  .courses-hero-content {
    padding: 1.25rem 5%;
  }

  .courses-hero-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }

  .courses-hero-title {
    font-size: 1.35rem;
  }

  .courses-hero-rotating {
    height: 1.65rem;
  }

  .courses-hero-subtitle {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }

  .courses-hero-stats {
    gap: 0;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
  }

  .courses-stat {
    padding: 0 0.6rem;
  }

  .courses-stat-number {
    font-size: 0.9rem;
  }

  .courses-stat-divider {
    height: 18px;
  }

  .courses-category-pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .courses-category-name {
    font-size: 0.95rem;
    font-weight: 700;
  }

  .course-card-thumb {
    width: 48px;
    height: 48px;
  }

  .course-card-title {
    font-size: 0.82rem;
  }

  .course-card-cta {
    padding-top: 0.75rem;
  }

  .course-card-view-text {
    font-size: 0.78rem;
  }

  .courses-no-results {
    padding: 2.5rem 0;
  }

  .courses-no-results h3 {
    font-size: 1rem;
  }

  .courses-no-results p {
    font-size: 0.82rem;
  }
}
.category-container {
  min-height: 100vh;
  background: #f8fafc;
  padding: 0 5% 4rem;
  overflow: hidden;
  box-sizing: border-box;
}

/* ── Breadcrumb ── */
.category-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 1.25rem 0 1.5rem;
  flex-wrap: wrap;
}

.category-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.category-breadcrumb a:hover {
  color: #0066ff;
}

.category-breadcrumb svg {
  color: #cbd5e1;
  flex-shrink: 0;
}

.category-breadcrumb span {
  color: #0f172a;
  font-weight: 600;
  max-width: 40ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Hero ── */
.category-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  min-height: 360px;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.category-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  animation: heroImageFade 0.5s ease;
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.55) 50%, rgba(2, 6, 23, 0.25) 100%);
}

.category-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
  letter-spacing: 0.02em;
  width: fit-content;
}

.category-hero-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.category-hero-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.9), rgba(96, 165, 250, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.category-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.category-hero-subtitle {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 2rem;
  line-height: 1.6;
  font-weight: 400;
  max-width: 620px;
}

/* Hero Stats - Glass morphism */
.category-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.1rem 1.5rem;
  width: fit-content;
}

.category-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 1.25rem;
}

.category-stat:first-child {
  padding-left: 0;
}

.category-stat:last-child {
  padding-right: 0;
}

.category-stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.category-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.category-stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* ── Category Info Bar ── */
.category-info-bar {
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.category-info-left {
  min-width: 0;
}

.category-name-divider {
  color: #e2e8f0;
  margin: 0 0.35rem;
}

.category-count-text {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 500;
}

.category-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  width: 300px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-search:focus-within {
  border-color: #0066ff;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

.category-search svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.category-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.85rem;
  color: #0f172a;
  width: 100%;
  font-family: inherit;
}

.category-search input::placeholder {
  color: #94a3b8;
}

/* ── Main ── */
.category-main {
  width: 100%;
}

/* ── Explore other categories ── */
.category-other {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
}

.category-other-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.category-other-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

.category-other-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0066ff;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.category-other-link:hover {
  gap: 0.55rem;
}

.category-other-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-other-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.category-other-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.1);
  border-color: transparent;
}

.category-other-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066ff;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.category-other-card:hover .category-other-icon {
  background: #0066ff;
  color: #ffffff;
}

.category-other-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.category-other-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-other-count {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.category-other-arrow {
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.category-other-card:hover .category-other-arrow {
  transform: translateX(3px);
  color: #0066ff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .category-other-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .category-container {
    padding: 0 4% 3rem;
  }

  .category-breadcrumb {
    font-size: 0.78rem;
  }

  .category-hero {
    min-height: 320px;
    margin-bottom: 2rem;
  }

  .category-hero-content {
    padding: 2rem 5%;
  }

  .category-hero-title-row {
    gap: 0.75rem;
  }

  .category-hero-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .category-hero-icon svg {
    width: 24px;
    height: 24px;
  }

  .category-hero-title {
    font-size: 1.75rem;
  }

  .category-hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .category-hero-stats {
    padding: 0.9rem 1.25rem;
  }

  .category-stat {
    padding: 0 1rem;
  }

  .category-stat-number {
    font-size: 1.15rem;
  }

  .category-stat-divider {
    height: 24px;
  }

  .category-info-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .category-search {
    width: 100%;
  }

  .category-other-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .category-container {
    padding: 0 4% 2.5rem;
  }

  .category-hero {
    min-height: 290px;
  }

  .category-hero-content {
    padding: 1.5rem 5%;
  }

  .category-hero-title {
    font-size: 1.45rem;
  }

  .category-hero-icon {
    width: 42px;
    height: 42px;
  }

  .category-hero-icon svg {
    width: 20px;
    height: 20px;
  }

  .category-hero-stats {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }

  .category-hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
  }
}
/* ================================================
   COURSE DETAILS - High Contrast Text
   ================================================ */

.cd-page {
  background: #f5f7fa;
  min-height: 100vh;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* === HERO === */
.cd-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  min-height: 380px;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cd-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.5) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 60%);
}

.cd-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 5%;
  width: 100%;
}

.cd-hero-left { position: relative; z-index: 2; }

/* Breadcrumb */
.cd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  font-weight: 500;
}
.cd-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.cd-breadcrumb a:hover { color: #60A5FA; }
.cd-breadcrumb-sep { color: rgba(255, 255, 255, 0.4); }
.cd-breadcrumb-current { color: #FFFFFF; font-weight: 600; }

/* Title */
.cd-title {
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  line-height: 1.15;
  margin: 0 0 1rem !important;
  letter-spacing: -0.025em;
}

/* Desc */
.cd-desc {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin: 0 0 1.75rem;
  max-width: 85%;
}

/* Meta chips */
.cd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.cd-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}
.cd-meta-chip svg { color: #FBBF24; flex-shrink: 0; }
.cd-meta-label { font-weight: 700; color: #FFFFFF; }

/* Hero buttons */
.cd-hero-actions {
  display: flex;
  gap: 0.75rem;
}

/* === BUTTONS === */
.cd-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.cd-btn-primary {
  background: #FFFFFF;
  color: #000000;
}
.cd-btn-primary:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.cd-btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.cd-btn-outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* === FORM === */
.cd-success {
  background: #DCFCE7;
  color: #166534;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.cd-error {
  background: #FEF2F2;
  color: #991B1B;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  border: 1px solid #FECACA;
}
.cd-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cd-form input,
.cd-form textarea,
.cd-form select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #94A3B8;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #000000;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: #FFFFFF;
  margin: 0;
  box-sizing: border-box;
}
.cd-form input:focus,
.cd-form textarea:focus,
.cd-form select:focus {
  border-color: #0066FF;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}
.cd-form input::placeholder,
.cd-form textarea::placeholder {
  color: #64748B;
}
.cd-form textarea { resize: none; }
.cd-phone {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.6rem;
}
.cd-phone select {
  padding: 0.8rem 0.4rem;
  font-size: 0.9rem;
  text-align: center;
}
.cd-submit {
  background: #0066FF;
  color: #fff !important;
  border: none;
  padding: 0.9rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  margin: 0;
}
.cd-submit:hover {
  background: #0052CC;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.3);
}
.cd-submit:active { transform: translateY(0); }

/* Request form specific */
.cd-request-form .cd-submit {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
  margin-top: 0.5rem;
  width: auto;
  align-self: center;
}

/* === CONTENT === */
.cd-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 5% 1rem;
}
.cd-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}
.cd-main { min-width: 0; }

/* === SECTIONS === */
.cd-section {
  margin-bottom: 3rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.cd-section-title {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  margin: 0 0 0.5rem !important;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid #E2E8F0;
  position: relative;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.cd-section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #0066FF, #60A5FA);
  border-radius: 2px;
}
.cd-section-sub {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  margin: 0.75rem 0 1.5rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.cd-about p {
  font-size: 1rem;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.8;
  margin: 0 0 1rem;
}
.cd-empty {
  color: #64748B;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Outcomes */
.cd-outcomes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cd-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #000000;
  line-height: 1.6;
  padding: 0.5rem 0;
}
.cd-outcome span:last-child { margin: 0; }
.cd-icon-green {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.cd-icon-green svg { width: 14px; height: 14px; }

/* Audience */
.cd-audience {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cd-aud-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #000000;
  line-height: 1.6;
  padding: 0.5rem 0;
}
.cd-aud-item span:last-child { margin: 0; }
.cd-icon-blue {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: #EFF6FF;
  color: #0066FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.cd-icon-blue svg { width: 14px; height: 14px; }

/* Prerequisites */
.cd-prereq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cd-prereq-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #000000;
  line-height: 1.6;
  padding: 0.5rem 0;
}
.cd-prereq-item span:last-child { margin: 0; }
.cd-bullet-gray {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066FF, #60A5FA);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* Methodology */
.cd-methodology {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cd-method-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #000000;
  line-height: 1.6;
  padding: 0.5rem 0;
}
.cd-method-item span:last-child { margin: 0; }

/* === MODULES === */
.cd-modules {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cd-module {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.cd-module:hover {
  border-color: #BFDBFE;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.08);
}
.cd-module.open {
  border-color: #93C5FD;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.1);
}
.cd-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  gap: 0.75rem;
  transition: background 0.2s ease;
}
.cd-module-header:hover { background: #F8FAFC; }
.cd-module-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}
.cd-module-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #0066FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.cd-module-title {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #000000 !important;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.cd-module-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cd-module-count {
  font-size: 0.82rem;
  font-weight: 500;
  color: #475569;
}
.cd-chevron {
  color: #64748B;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.cd-chevron.open { transform: rotate(180deg); color: #0066FF; }
.cd-module-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid #F1F5F9;
}
.cd-module-intro {
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  margin: 1rem 0 0.75rem;
  line-height: 1.7;
}
.cd-topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cd-topic-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.6;
  margin: 0;
  padding: 0.35rem 0;
}
.cd-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066FF, #60A5FA);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* === CERTIFICATION === */
.cd-cert-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
}
.cd-cert-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #FEF3C7;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cd-cert-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.cd-cert-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.6;
  margin: 0;
}

/* === CTA SECTION === */
.cd-cta-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 0;
}
.cd-cta-text {
  font-size: 1rem;
  font-weight: 500;
  color: #1E293B;
  margin: 0 0 1.25rem;
  line-height: 1.7;
}
.cd-cta-buttons {
  display: flex;
  gap: 0.75rem;
}

/* === SIDEBAR === */
.cd-sidebar { position: relative; }
.cd-sticky-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cd-info-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.cd-info-card h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin: 0 0 1rem !important;
  color: #000000 !important;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E2E8F0;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.cd-info-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cd-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid #F1F5F9;
}
.cd-info-row:last-child { border-bottom: none; }
.cd-info-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
}
.cd-info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #000000;
}
.cd-contact-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cd-contact-card-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(96, 165, 250, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
    linear-gradient(145deg, #0B1120 0%, #1E3A8A 40%, #2563EB 100%);
  z-index: 0;
}

.cd-contact-card-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem !important;
  text-align: center;
}

.cd-contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem !important;
  color: #FFFFFF;
}

.cd-contact-card h3,
.cd-contact-card-title {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  margin: 0 0 1rem !important;
  color: #FFFFFF !important;
  letter-spacing: -0.02em;
}
.cd-contact-card > p,
.cd-contact-card-desc {
  font-size: 1rem !important;
  font-weight: 500;
  color: #FFFFFF !important;
  margin: 0 auto 2rem !important;
  line-height: 1.75 !important;
  max-width: 300px !important;
  letter-spacing: 0.01em !important;
}
.cd-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cd-btn-full {
  justify-content: center;
  width: 100%;
}

.cd-btn-cta {
  background: #FFFFFF;
  color: #000000 !important;
  border: none;
  font-weight: 600;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
}
.cd-btn-cta:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cd-btn-cta-outline {
  background: transparent;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
}
.cd-btn-cta-outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.cd-form-note {
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748B;
  margin: 0.85rem 0 0;
  text-align: center;
  line-height: 1.5;
}

/* === CERTIFICATION INLINE CARD === */
.cd-cert-card-inline {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.cd-cert-card-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(96, 165, 250, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
    linear-gradient(145deg, #0B1120 0%, #1E3A8A 40%, #2563EB 100%);
  z-index: 0;
}

.cd-cert-card-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cd-cert-card-image {
  margin-bottom: 1.25rem;
}

.cd-cert-card-image img {
  width: 120px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.cd-cert-card-image img:hover {
  transform: scale(1.08) rotate(-3deg);
}

.cd-cert-card-info {
  width: 100%;
}

.cd-cert-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.cd-cert-card-info h4 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin: 0 0 0.6rem !important;
  letter-spacing: -0.01em;
}

.cd-cert-card-info p {
  font-size: 0.88rem;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.6;
  margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .cd-grid { grid-template-columns: 1fr; }
  .cd-sidebar { display: none; }
}
@media (max-width: 768px) {
  .cd-hero { padding: 2rem 5% 2.5rem; }
  .cd-title { font-size: 1.6rem !important; }
  .cd-desc { font-size: 0.88rem; }
  .cd-meta { gap: 0.4rem; }
  .cd-meta-chip { font-size: 0.73rem; padding: 0.3rem 0.6rem; }
  .cd-hero-actions { flex-direction: column; gap: 0.5rem; }
  .cd-btn { justify-content: center; padding: 0.65rem 1.25rem; font-size: 0.82rem; }
  .cd-section-title { font-size: 1.05rem !important; }
  .cd-module-header { padding: 0.75rem 0.9rem; }
  .cd-module-body { padding: 0 0.9rem 0.75rem; }
  .cd-module-num { width: 26px; height: 26px; min-width: 26px; font-size: 0.68rem; }
}
@media (max-width: 640px) {
  .cd-hero { padding: 1.5rem 4% 2rem; }
  .cd-title { font-size: 1.35rem !important; }
  .cd-content { padding: 2rem 4% 3rem; }
  .cd-section { margin-bottom: 2rem; }
  .cd-section-title { font-size: 1rem !important; }
  .cd-outcome, .cd-aud-item, .cd-prereq-item, .cd-method-item { font-size: 0.82rem; }
  .cd-module-title { font-size: 0.82rem !important; }
  .cd-topic-list li { font-size: 0.78rem; }
  .cd-cert-card { flex-direction: column; gap: 0.6rem; padding: 1rem; }
  .cd-request-wrapper { padding: 2rem 4% 3rem; }
  .cd-request-inner { padding: 1.5rem; }
  .cd-form-grid { grid-template-columns: 1fr; }
  .cd-info-row { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
}
@media (max-width: 480px) {
  .cd-title { font-size: 1.2rem !important; }
  .cd-meta-chip { font-size: 0.68rem; }
  .cd-phone { grid-template-columns: 1fr; }
  .cd-phone select { display: none; }
  .cd-module-num { width: 22px; height: 22px; min-width: 22px; font-size: 0.62rem; border-radius: 6px; }
}

/* === REQUEST FORM === */
.cd-request-wrapper {
  background: #f5f7fa;
  padding: 2.5rem 5% 4rem;
}
.cd-request-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 2.5rem 3rem 3rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  text-align: center;
}
.cd-request-inner .cd-section-title {
  text-align: center;
  font-size: 1.4rem !important;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.5rem !important;
  margin-top: 0.5rem;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.cd-title-icon {
  color: #0066FF;
  flex-shrink: 0;
}
.cd-request-inner .cd-section-title::after {
  display: none;
}
.cd-request-inner .cd-section-sub {
  text-align: center;
  font-size: 0.92rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.cd-request-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  text-align: left;
}
.cd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.cd-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cd-form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #000000;
  margin: 0;
}
.cd-required {
  color: #ef4444;
}
.cd-form-field input,
.cd-form-field select,
.cd-form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #94A3B8;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #000000;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
  box-sizing: border-box;
}
.cd-form-field input:focus,
.cd-form-field select:focus,
.cd-form-field textarea:focus {
  border-color: #3b82f6;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.cd-form-field input::placeholder,
.cd-form-field textarea::placeholder {
  color: #64748B;
}
.cd-form-field textarea {
  resize: none;
}
.cd-form-field select option {
  background-color: #ffffff;
  color: #000000;
}
.cd-full-width {
  grid-column: 1 / -1;
}
.cd-phone-input {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.5rem;
}
.cd-phone-input select {
  padding: 0.75rem 0.4rem;
  font-size: 0.85rem;
  text-align: center;
  border: 1.5px solid #94A3B8;
  border-radius: 8px;
  background: #ffffff;
  color: #000000;
  font-weight: 500;
  cursor: pointer;
}
.cd-phone-input input {
  border: 1.5px solid #94A3B8;
  border-radius: 8px;
  background: #ffffff;
}

/* === CONTACT MODAL === */
.cd-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.cd-modal-content {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3);
}
.cd-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.cd-modal-close:hover {
  background: #eff6ff;
  color: #0066ff;
  border-color: #bfdbfe;
}
/* ================================================
   CONTACT FORM - Polished Modal Style
   ================================================ */

.cf-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  width: 100%;
  box-sizing: border-box;
}

/* Header */
.cf-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.cf-header-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.9rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.cf-header h3 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 0.35rem !important;
  text-align: center;
  letter-spacing: -0.02em;
}
.cf-header p {
  font-size: 0.86rem;
  color: #64748b;
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

/* Alerts */
.cf-alert {
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cf-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.cf-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Form */
.cf-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.cf-field {
  display: flex;
  flex-direction: column;
}
.cf-form input,
.cf-form textarea,
.cf-form select {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  background: #f8fafc;
  margin: 0;
  box-sizing: border-box;
}
.cf-form input:focus,
.cf-form textarea:focus,
.cf-form select:focus {
  border-color: #3b82f6;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.cf-form input::placeholder,
.cf-form textarea::placeholder {
  color: #94a3b8;
}
.cf-form textarea {
  resize: none;
  min-height: 80px;
}
.cf-form select option {
  background-color: #ffffff;
  color: #111827;
}

/* Phone */
.cf-phone {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.5rem;
}
.cf-phone select {
  padding: 0.75rem 0.35rem;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
}

/* Submit */
.cf-submit {
  background: linear-gradient(120deg, #0066ff 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  padding: 0.9rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.25rem;
  width: 100%;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.2);
}
.cf-submit:hover:not(:disabled) {
  background: linear-gradient(120deg, #0052cc 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 102, 255, 0.3);
}
.cf-submit:active:not(:disabled) {
  transform: translateY(0);
}
.cf-submit:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

/* Note */
.cf-note {
  font-size: 0.76rem;
  color: #94a3b8;
  text-align: center;
  margin: 0.5rem 0 0;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* === Modal overrides === */
.modal-content .cf-card,
.about-modal-content .cf-card,
.cd-modal-content .cf-card {
  background: #ffffff;
  box-shadow: none;
  padding: 0;
  border: none;
}
.modal-content .cf-header h3,
.about-modal-content .cf-header h3,
.cd-modal-content .cf-header h3 {
  text-align: center;
}
.modal-content .cf-header p,
.about-modal-content .cf-header p,
.cd-modal-content .cf-header p {
  text-align: center;
}
.modal-content .cf-note,
.about-modal-content .cf-note,
.cd-modal-content .cf-note {
  text-align: center;
}

/* === Responsive === */
@media (max-width: 480px) {
  .cf-card {
    padding: 1.5rem;
    border-radius: 14px;
  }
  .cf-phone {
    grid-template-columns: 1fr;
  }
  .cf-phone select {
    display: none;
  }
}.profile-dashboard-wrapper {
  display: flex;
  min-height: calc(100vh - 70px);
  background-color: #f1f5f9;
  
}

/* Sidebar Styling */
.dashboard-sidebar {
  width: 280px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 0;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
}

.sidebar-header {
  padding: 0 1.5rem 2.5rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
}

.avatar-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  margin: 0 auto 1rem auto;
}

.avatar-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
}

.user-meta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.user-meta p {
  font-size: 0.85rem;
  color: #64748b;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
}

.nav-group {
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nav-group.bottom {
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-item:hover {
  background: #f8fafc;
  color: #2563eb;
}

.nav-item.active {
  background: #eff6ff;
  color: #2563eb;
}

.nav-icon {
  width: 20px;
  height: 20px;
}

.nav-item.logout {
  color: #ef4444;
}

.nav-item.logout:hover {
  background: #fef2f2;
}

/* Main Content Area */
.dashboard-content {
  flex: 1;
  padding: 2.5rem 3.5rem;
  background: #f8fafc;
}

.dashboard-welcome {
  margin-bottom: 2.5rem;
}

.welcome-text h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.welcome-text p {
  color: #64748b;
  font-size: 1rem;
}

/* Stats Overview */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.overview-card {
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s;
}

.overview-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-data {
  z-index: 1;
}

.card-data h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.1rem;
}

.card-data p {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}

.overview-card.enrolled .card-icon { background: #eff6ff; color: #2563eb; }
.overview-card.completed .card-icon { background: #f5f3ff; color: #7c3aed; }
.overview-card.streak .card-icon { background: #fff7ed; color: #ea580c; }

.card-bg-shape {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 100px;
  height: 100px;
  background: currentColor;
  opacity: 0.03;
  border-radius: 50%;
}

/* Dashboard Sections */
.dashboard-section {
  margin-bottom: 3rem;
}

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

.section-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.view-link {
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.view-link:hover {
  background: #eff6ff;
}

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

.course-progress-card {
  background: white;
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
  border: 1px solid transparent;
}

.course-progress-card:hover {
  border-color: #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.course-thumb {
  width: 120px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.progress-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #0f172a;
}

.course-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-details h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-details p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.progress-track {
  margin-bottom: 1.25rem;
}

.bar-bg {
  height: 6px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
  border-radius: 10px;
}

.continue-link {
  margin-top: auto;
  background: #0f172a;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
}

.continue-link:hover {
  background: #334155;
  transform: translateX(4px);
}

/* Completed Courses Styling */
.course-progress-card.completed {
  background: #f8fafc;
}

.status-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #10b981;
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  padding: 2px 0;
  text-transform: uppercase;
}

.review-btn {
  background: white;
  color: #10b981;
  border: 2.5px solid #10b981;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.review-btn:hover {
  background: #10b981;
  color: white;
}

/* Responsive */
@media (max-width: 1200px) {
  .course-grid-horizontal {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    width: 240px;
    padding: 2rem 0;
  }

  .dashboard-content {
    padding: 1.75rem;
  }
}

@media (max-width: 1024px) {
  .profile-dashboard-wrapper {
    min-height: auto;
    flex-direction: column;
  }
  
  .dashboard-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
  }

  .sidebar-menu {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .menu-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.25rem;
    white-space: nowrap;
  }
  
  .dashboard-content {
    padding: 1.5rem;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-sidebar {
    padding: 1rem 0;
  }

  .sidebar-menu {
    gap: 0.5rem;
    padding: 0 1rem;
    overflow-x: auto;
  }

  .menu-item {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .dashboard-content {
    padding: 1.25rem;
  }

  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }

  .profile-info h2 {
    font-size: 1.5rem;
  }

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

  .stat-box {
    padding: 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }
  
  .course-progress-card {
    flex-direction: column;
    margin-bottom: 1.5rem;
  }
  
  .course-thumb {
    width: 100%;
    height: 140px;
    border-radius: 8px 8px 0 0;
  }

  .course-info {
    padding: 1rem;
  }

  .course-name {
    font-size: 1rem;
  }

  .progress-bar {
    height: 4px;
  }

  .course-grid-horizontal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .profile-dashboard-wrapper {
    min-height: auto;
  }

  .dashboard-sidebar {
    padding: 0.75rem 0;
  }

  .sidebar-menu {
    padding: 0 0.75rem;
    gap: 0.3rem;
  }

  .menu-item {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .menu-item.active {
    padding: 0.5rem 0.8rem;
  }

  .dashboard-content {
    padding: 1rem;
    min-height: auto;
  }

  .profile-header {
    margin-bottom: 1.5rem;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 0.75rem;
  }

  .profile-info h2 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }

  .profile-info p {
    font-size: 0.85rem;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-box {
    padding: 0.75rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .course-progress-card {
    border-radius: 8px;
    overflow: hidden;
  }

  .course-thumb {
    height: 120px;
  }

  .course-info {
    padding: 0.75rem;
  }

  .course-name {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .progress-bar {
    height: 3px;
  }
}

@media (max-width: 480px) {
  .dashboard-sidebar {
    padding: 0.5rem 0;
  }

  .sidebar-menu {
    padding: 0 0.5rem;
  }

  .menu-item {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }

  .dashboard-content {
    padding: 0.75rem;
  }

  .profile-avatar {
    width: 70px;
    height: 70px;
  }

  .profile-info h2 {
    font-size: 1.1rem;
  }

  .profile-info p {
    font-size: 0.8rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1rem;
  }

  .course-thumb {
    height: 100px;
  }

  .course-info {
    padding: 0.6rem;
  }

  .course-name {
    font-size: 0.9rem;
  }
}

.auth-layout {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  padding: 2rem;
}

.auth-card {
  display: flex;
  width: 100%;
  max-width: 1100px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.auth-image-side {
  flex: 1.2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #004D77;
}

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

.auth-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 77, 119, 0.7) 0%, rgba(0, 102, 255, 0.3) 100%);
  z-index: 2;
}

.auth-image-content {
  position: relative;
  z-index: 3;
  color: white;
  padding: 3rem;
  max-width: 600px;
  text-align: left;
}

.auth-image-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auth-image-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.auth-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: white;
}

.login-form-container {
  width: 100%;
  max-width: 450px;
  padding: 1rem;
}

.login-subtitle {
  color: #1F2937;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.login-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #4B5563;
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #00AEEF;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.show-password-row {
  margin-bottom: 2rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-container input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-container label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1F2937;
  cursor: pointer;
}

.login-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to right, #F97316, #FB923C);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.4);
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Divider */
.divider-container {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  gap: 1rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: #D1D5DB;
}

.divider-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6B7280;
  white-space: nowrap;
}

/* Social Logins */
.social-logins {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-btn {
  width: 80px;
  height: 50px;
  background: white;
  border: 1.5px solid #D1D5DB;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-btn:hover {
  background-color: #F9FAFB;
  border-color: #9CA3AF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-btn img {
  width: 24px;
}

.login-footer {
  font-size: 0.95rem;
  color: #6B7280;
  font-weight: 600;
}

.signup-link {
  color: #4F46E5;
  text-decoration: none;
  font-weight: 700;
}

.signup-link:hover {
  text-decoration: underline;
}

.login-link:hover {
  text-decoration: underline;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.phone-modal {
  background: white;
  width: 100%;
  max-width: 400px;
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  animation: modalFadeIn 0.3s ease-out;
}

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

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6B7280;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #1F2937;
}

.phone-modal h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 1.5rem;
  text-align: center;
}

.btn-text {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #4F46E5;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  cursor: pointer;
}

.btn-text:hover {
  text-decoration: underline;
}

.error-message {
  background-color: #FEF2F2;
  color: #DC2626;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid #FCA5A5;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

/* Tablet: 768px and below */
@media (max-width: 768px) {
  .auth-layout {
    padding: 1rem;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .auth-card {
    flex-direction: column;
    border-radius: 16px;
    max-width: 480px;
    margin: 0 auto;
  }

  .auth-image-side {
    display: none;
  }

  .auth-form-side {
    padding: 2rem 1.5rem;
    min-height: auto;
  }

  .login-form-container {
    max-width: 100%;
    padding: 0.5rem;
  }

  .login-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .form-group label {
    font-size: 0.85rem;
  }

  .form-group input {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .login-btn {
    padding: 1rem;
    font-size: 1rem;
  }

  .social-logins {
    gap: 1rem;
  }

  .social-btn {
    width: 70px;
    height: 48px;
  }

  .phone-modal {
    width: 90%;
    max-width: 400px;
    padding: 2rem;
  }
}

/* Mobile: 640px and below */
@media (max-width: 640px) {
  .auth-layout {
    padding: 0.75rem;
    align-items: center;
    padding-top: 0;
  }

  .auth-card {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .auth-form-side {
    padding: 1.5rem 1.25rem;
  }

  .login-subtitle {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group label {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }

  .form-group input {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .show-password-row {
    margin-bottom: 1.5rem;
  }

  .checkbox-container {
    gap: 0.5rem;
  }

  .checkbox-container input {
    width: 16px;
    height: 16px;
  }

  .checkbox-container label {
    font-size: 0.85rem;
  }

  .login-btn {
    padding: 0.9rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .divider-container {
    margin: 1.5rem 0;
    gap: 0.75rem;
  }

  .divider-text {
    font-size: 0.8rem;
  }

  .social-logins {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .social-btn {
    width: 60px;
    height: 44px;
    border-radius: 10px;
  }

  .social-btn img {
    width: 22px;
  }

  .login-footer {
    font-size: 0.85rem;
    text-align: center;
  }

  .phone-modal {
    width: 95%;
    max-width: 100%;
    padding: 1.5rem;
    border-radius: 16px;
  }

  .modal-overlay {
    padding: 1rem;
  }
}

/* Extra small devices: 480px and below */
@media (max-width: 480px) {
  .auth-layout {
    padding: 0.5rem;
    padding-top: 0;
  }

  .auth-card {
    border-radius: 10px;
  }

  .auth-form-side {
    padding: 1.25rem 1rem;
  }

  .login-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .form-group {
    margin-bottom: 0.875rem;
  }

  .form-group label {
    font-size: 0.75rem;
  }

  .form-group input {
    padding: 0.7rem 0.8rem;
    font-size: 16px;
  }

  .show-password-row {
    margin-bottom: 1.25rem;
  }

  .login-btn {
    padding: 0.85rem;
    font-size: 0.9rem;
  }

  .divider-container {
    margin: 1.25rem 0;
  }

  .social-btn {
    width: 55px;
    height: 40px;
  }

  .social-btn img {
    width: 20px;
  }

  .login-footer {
    font-size: 0.8rem;
  }

  .phone-modal {
    padding: 1.25rem;
  }

  .phone-modal h3 {
    font-size: 1.1rem;
  }
}
.auth-layout {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  padding: 2rem;
}

.auth-card {
  display: flex;
  width: 100%;
  max-width: 1100px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.auth-image-side {
  flex: 1.2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #004D77;
}

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

.auth-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 77, 119, 0.7) 0%, rgba(0, 102, 255, 0.3) 100%);
  z-index: 2;
}

.auth-image-content {
  position: relative;
  z-index: 3;
  color: white;
  padding: 3rem;
  max-width: 600px;
  text-align: left;
}

.auth-image-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auth-image-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.auth-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: white;
}

.signup-form-container {
  width: 100%;
  max-width: 450px;
  padding: 1rem;
}

.signup-brand {
  color: #00AEEF;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  
}

.signup-subtitle {
  color: #1F2937;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.signup-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.4rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.form-group input, .form-select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #4B5563;
  transition: all 0.2s;
  background-color: white;
}

.form-group input:focus, .form-select:focus {
  outline: none;
  border-color: #00AEEF;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.form-group input::placeholder {
  color: #9CA3AF;
}

.show-password-row {
  margin-bottom: 1.5rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.checkbox-container input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-container label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1F2937;
  cursor: pointer;
}

.signup-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to right, #F97316, #FB923C);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.4);
}

.signup-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Divider */
.divider-container {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  gap: 1rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: #D1D5DB;
}

.divider-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6B7280;
  white-space: nowrap;
}

/* Social Logins */
.social-logins {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.social-btn {
  width: 70px;
  height: 45px;
  background: white;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-btn:hover {
  background-color: #F9FAFB;
  border-color: #9CA3AF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-btn img {
  width: 24px;
}

.signup-footer {
  font-size: 0.95rem;
  color: #6B7280;
  font-weight: 600;
}

.login-link {
  color: #4F46E5;
  text-decoration: none;
  font-weight: 700;
}

.login-link:hover {
  text-decoration: underline;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.phone-modal {
  background: white;
  width: 100%;
  max-width: 400px;
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  animation: modalFadeIn 0.3s ease-out;
}

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

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6B7280;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #1F2937;
}

.phone-modal h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 1.5rem;
  text-align: center;
}

.btn-text {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #4F46E5;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  cursor: pointer;
}

.btn-text:hover {
  text-decoration: underline;
}

.error-message {
  background-color: #FEF2F2;
  color: #DC2626;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid #FCA5A5;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

/* Tablet: 768px and below */
@media (max-width: 768px) {
  .auth-layout {
    padding: 1rem;
  }

  .auth-card {
    flex-direction: column;
    border-radius: 16px;
  }

  .auth-image-side {
    display: none;
  }

  .auth-form-side {
    padding: 2rem 1.5rem;
    min-height: auto;
  }

  .signup-form-container {
    max-width: 100%;
  }

  .signup-brand {
    font-size: 2rem;
  }

  .signup-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .form-row {
    gap: 0.75rem;
  }

  .form-group label {
    font-size: 0.8rem;
  }

  .form-group input,
  .form-select {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
  }

  .social-logins {
    gap: 1rem;
  }

  .social-btn {
    width: 60px;
    height: 42px;
  }
}

/* Mobile: 640px and below */
@media (max-width: 640px) {
  .auth-form-side {
    padding: 1.5rem 1rem;
  }

  .signup-brand {
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
  }

  .signup-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .form-group {
    margin-bottom: 0.85rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row .form-group {
    flex: 1;
  }

  .form-group label {
    font-size: 0.78rem;
  }

  .form-group input,
  .form-select {
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
  }

  .signup-btn {
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  .checkbox-container {
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .checkbox-container input {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .divider-container {
    margin: 1.25rem 0;
    gap: 0.75rem;
  }

  .divider-text {
    font-size: 0.75rem;
  }

  .social-logins {
    gap: 0.75rem;
  }

  .social-btn {
    width: 52px;
    height: 38px;
  }

  .social-btn img {
    width: 20px;
  }

  .signup-footer {
    font-size: 0.85rem;
  }
}

/* Extra small devices: 480px and below */
@media (max-width: 480px) {
  .auth-form-side {
    padding: 1.5rem 0.75rem;
  }

  .signup-card {
    padding: 1.25rem;
  }

  .signup-brand {
    font-size: 1.5rem;
  }

  .signup-subtitle {
    font-size: 1.05rem;
  }

  .form-group input,
  .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .social-btn {
    width: 48px;
    height: 34px;
  }

  .social-btn img {
    width: 18px;
  }
}
.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 5%;
  min-height: calc(100vh - 150px);
}

.admin-header {
  margin-bottom: 2.5rem;
}

.admin-header h1 {
  font-size: 2.2rem;
  font-weight: 400;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.admin-header p {
  color: #64748b;
  font-size: 1.1rem;
}

.admin-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e2e8f0;
}

.tab-button {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  color: #64748b;
  font-weight: 400;
  font-size: 0.95rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.tab-button:hover {
  color: #2563eb;
}

.tab-button.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.users-table-card, .counselling-table-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.card-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.card-header h3 {
  font-size: 1.25rem;
  font-weight: 400;
  color: #1e293b;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-refresh {
  padding: 0.6rem 1.2rem;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-refresh:hover:not(:disabled) {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-refresh:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  opacity: 0.7;
}

.search-box {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 1rem;
  transition: all 0.3s ease;
}

.search-box:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-box svg {
  color: #94a3b8;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.search-box:focus-within svg {
  color: #2563eb;
}

.search-box input {
  flex: 1;
  padding: 0.65rem 0;
  border: none;
  outline: none;
  font-size: 0.9rem;
  background: transparent;
  color: #1e293b;
  min-width: 200px;
}

.search-box input::placeholder {
  color: #cbd5e1;
}

.table-responsive {
  overflow-x: auto;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.users-table th {
  padding: 1.2rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f8fafc;
}

.users-table td {
  padding: 1.2rem 2rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-size: 0.95rem;
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 36px;
  height: 36px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.role-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.role-badge.admin {
  background: #fef2f2;
  color: #ef4444;
}

.role-badge.instructor {
  background: #fef3c7;
  color: #d97706;
}

.role-badge.student {
  background: #dcfce7;
  color: #16a34a;
}

.role-badge.user {
  background: #f0fdf4;
  color: #16a34a;
}

.role-select {
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #1e293b;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}

.role-select:hover {
  border-color: #2563eb;
}

.counselling-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.counselling-table th {
  padding: 1.2rem 2rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f8fafc;
}

.counselling-table td {
  padding: 1.2rem 2rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-size: 0.95rem;
}

.status-select {
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #1e293b;
  font-weight: 400;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}

.status-select:hover {
  border-color: #2563eb;
}

.status-select.new {
  border-color: #3b82f6;
}

.status-select.contacted {
  border-color: #f59e0b;
}

.status-select.enrolled {
  border-color: #10b981;
}

.status-select.rejected {
  border-color: #ef4444;
}

.btn-delete {
  padding: 0.5rem 1rem;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.btn-delete:hover {
  background: #fecaca;
  border-color: #f87171;
}

.type-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.type-badge.course {
  background: #dbeafe;
  color: #1e40af;
}

.type-badge.general {
  background: #ddd6fe;
  color: #5b21b6;
}

.message-cell {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #64748b;
  cursor: help;
  font-size: 0.9rem;
}

.loading-cell {
  text-align: center;
  padding: 4rem;
  color: #64748b;
  font-style: italic;
}

.loading-cell {
  text-align: center;
  padding: 4rem;
  color: #64748b;
  font-style: italic;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

@media (max-width: 1024px) {
  .admin-container {
    padding: 2rem 3%;
    max-width: 100%;
  }

  .admin-header h1 {
    font-size: 1.8rem;
  }

  .admin-tabs {
    gap: 0.75rem;
  }

  .admin-tab {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .admin-container {
    padding: 1.5rem 2%;
    min-height: auto;
  }

  .admin-header {
    margin-bottom: 1.5rem;
  }

  .admin-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
  }

  .admin-header p {
    font-size: 1rem;
  }

  .admin-tabs {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-tab {
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .card-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .search-box {
    width: 100%;
  }

  .search-box input {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.65rem 0.75rem;
  }

  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    font-size: 0.9rem;
  }

  thead th {
    padding: 0.75rem;
  }

  tbody td {
    padding: 0.75rem;
  }
}

@media (max-width: 640px) {
  .admin-container {
    padding: 1rem 1.5%;
  }

  .admin-header h1 {
    font-size: 1.25rem;
  }

  .admin-header p {
    font-size: 0.95rem;
  }

  .admin-tabs {
    gap: 0.3rem;
    padding: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .admin-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .card-container {
    margin-bottom: 1.5rem;
  }

  .card-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .search-box input {
    padding: 0.6rem 0.65rem;
    font-size: 0.85rem;
  }

  .table-container {
    border-radius: 8px;
    overflow: hidden;
  }

  table {
    font-size: 0.8rem;
  }

  thead th {
    padding: 0.6rem;
    font-size: 0.8rem;
  }

  tbody td {
    padding: 0.6rem;
    font-size: 0.8rem;
  }

  .btn-action {
    padding: 0.4rem 0.65rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .admin-container {
    padding: 0.75rem 1%;
  }

  .admin-header h1 {
    font-size: 1.1rem;
  }

  .admin-header p {
    font-size: 0.9rem;
  }

  .admin-tabs {
    gap: 0.2rem;
    padding: 0.3rem;
  }

  .admin-tab {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }

  .search-box input {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  table {
    font-size: 0.75rem;
  }

  thead th,
  tbody td {
    padding: 0.5rem;
  }

  .btn-action {
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
  }
}
/* ============================================================
   CORPORATE TRAINING — Design System (mirrors About)
   GLP EdTech palette: blue #0066FF (primary) · slate text · white/#F8FAFC
   Type: Plus Jakarta Sans (all page text)
   ============================================================ */

.corporate-container {
  --ivory: #FFFFFF;
  --ink: #0F172A;
  --muted: #F8FAFC;
  --muted-fg: #64748B;
  --gold: #0066FF;
  --gold-soft: #3B82F6;
  --rule: #E2E8F0;
  --card: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.1);
  --font: 'Inter', 'Plus Jakarta Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.corporate-container {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory);
  
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Base typography */
.corporate-container h1,
.corporate-container h2,
.corporate-container h3 {
  
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Paper texture overlay */
.corporate-container::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.035'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================
   SECTION LABELS (small caps)
============================ */
.section-label-row {
  text-align: center;
  margin-bottom: 3.5rem;
}

.corp-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-label-row .corp-section-pill {
  justify-content: center;
  gap: 1rem;
}

.section-label-row .corp-section-pill::before,
.section-label-row .corp-section-pill::after {
  content: '';
  width: 44px;
  height: 1px;
  background: var(--rule);
}

.section-label-row h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 1.2rem 0 0;
}

.gradient-text {
  background: linear-gradient(90deg, #3B82F6 0%, #6366F1 50%, #2563EB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: corpGradientShift 3s ease infinite;
}

@keyframes corpGradientShift {
  0% {
    background: linear-gradient(90deg, #3B82F6 0%, #6366F1 50%, #2563EB 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
  100% {
    background: linear-gradient(90deg, #2563EB 0%, #3B82F6 50%, #6366F1 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

/* ============================
   HERO
============================ */
.corporate-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--rule);
}

/* Ambient blue glow */
.corporate-hero::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -160px;
  width: 680px;
  height: 560px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 68%);
  pointer-events: none;
}

.corporate-hero-grid {
  position: relative;
  z-index: 1;
  width: min(1024px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 4rem;
  align-items: center;
}

.corporate-hero-left {
  position: relative;
  z-index: 2;
  animation: corpFadeInUp 0.7s ease-out both;
}

.corp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 2rem;
}

.corp-hero-badge::before,
.corp-hero-badge::after {
  content: '';
  width: 44px;
  height: 1px;
  background: var(--rule);
}

.corporate-hero-left h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.corporate-hero-left p {
  color: var(--muted-fg);
  font-size: 0.95rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  max-width: 520px;
  margin: 0 0 1.75rem;
}

.corp-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: corpFadeInUp 0.7s ease-out 0.15s both;
}

.corp-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--gold);
  color: #fff;
  
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.24);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.corp-primary-btn:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.corp-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 0.95rem 1.7rem;
  border-radius: 6px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.corp-secondary-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--muted);
  transform: translateY(-2px);
}

/* Hero image */
.corporate-hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: corpFadeIn 0.8s ease-out 0.3s both;
}

.corporate-hero-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.corporate-hero-img:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.12);
}

/* ============================
   TRUSTED BY
============================ */
.corporate-trusted {
  padding: 2.75rem 1.25rem;
  background: var(--ivory);
  text-align: center;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.trusted-label {
  
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 1.75rem;
}

.trusted-logos-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.trusted-logos-track {
  display: flex;
  gap: 4rem;
  animation: scrollLogos 25s linear infinite;
  width: max-content;
}

.trusted-logo {
  flex-shrink: 0;
  
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.5;
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
  cursor: default;
  white-space: nowrap;
}

.trusted-logo:hover {
  opacity: 1;
  color: var(--gold);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================
   STATS
============================ */
.corp-stats-section {
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1024px;
  margin: -2.5rem auto 0;
  position: relative;
  z-index: 10;
}

.corp-stat-card {
  position: relative;
  background: var(--card);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.corp-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.corp-stat-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.corp-stat-card:hover::before {
  opacity: 1;
}

.corp-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--muted);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
}

.corp-stat-card h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.corp-stat-card p {
  
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

/* ============================
   BENEFITS (why partner)
============================ */
.corp-benefits-section {
  padding: 6.5rem 0;
  background: var(--muted);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.corp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(1024px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.corp-benefit-card {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.corp-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.corp-benefit-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.corp-benefit-card:hover::before {
  opacity: 1;
}

.corp-benefit-num {
  
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.corp-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.corp-benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

.corp-benefit-card p {
  font-size: 0.94rem;
  color: var(--muted-fg);
  line-height: 1.7;
  margin: 0;
}

/* ============================
   PROGRAMS
============================ */
.corp-programs-section {
  padding: 6.5rem 0;
  background: var(--ivory);
}

.corp-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: min(1024px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.corp-program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.9rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.corp-program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.corp-program-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.corp-program-card:hover::before {
  opacity: 1;
}

.corp-program-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.corp-program-num {
  
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.corp-program-icon-lg {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--muted);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.corp-program-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.55rem;
}

.corp-program-card p {
  font-size: 0.95rem;
  color: var(--muted-fg);
  line-height: 1.7;
  margin: 0 0 1.4rem;
}

.corp-program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
}

.corp-program-count {
  
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.corp-program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.2s ease;
}

.corp-program-card:hover .corp-program-link {
  gap: 0.7rem;
}

/* ============================
   CONTACT
============================ */
.corp-contact-section {
  padding: 6.5rem 0;
  background: var(--muted);
  border-top: 1px solid var(--rule);
}

.corp-contact-grid {
  width: min(1024px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.corp-contact-left h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.18;
  color: var(--ink);
  margin: 1.2rem 0 1.4rem;
}

.corp-contact-left > p {
  font-size: 1rem;
  color: var(--muted-fg);
  line-height: 1.8;
  margin: 0 0 2rem;
}

.corp-contact-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.corp-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--card);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.corp-feature-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.corp-contact-right {
  background: var(--card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
}

.corp-contact-right .cf-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.corp-contact-right .cf-form input,
.corp-contact-right .cf-form textarea,
.corp-contact-right .cf-form select {
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: #fff;
  
  color: var(--ink);
}

.corp-contact-right .cf-form input:focus,
.corp-contact-right .cf-form textarea:focus,
.corp-contact-right .cf-form select:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.14);
}

.corp-contact-right .cf-submit {
  background: var(--gold);
  border-radius: 6px;
  
  font-weight: 500;
}

.corp-contact-right .cf-submit:hover:not(:disabled) {
  background: var(--gold-soft);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

/* ============================
   ANIMATIONS
============================ */
@keyframes corpFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes corpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 1080px) {
  .corporate-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .corporate-hero-right {
    justify-content: center;
  }

  .corporate-hero-img {
    max-width: 420px;
  }

  .corp-stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: -2.5rem auto 0;
  }

  .corp-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .corp-programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .corp-contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .corporate-hero {
    padding: 5rem 0 4.5rem;
  }

  .corporate-hero-left h1 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .corp-hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .corp-primary-btn,
  .corp-secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .corp-stats-section {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .corp-benefits-section,
  .corp-programs-section,
  .corp-contact-section {
    padding: 4.5rem 0;
  }

  .corp-benefits-grid {
    grid-template-columns: 1fr;
  }

  .corp-programs-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .section-label-row h2 {
    font-size: 1.6rem;
  }

  .trusted-logos-track {
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .corporate-hero {
    padding: 4rem 0 3.5rem;
  }

  .corporate-hero-left h1 {
    font-size: 1.9rem;
  }

  .corporate-hero-left p {
    font-size: 0.95rem;
  }

  .corp-stats-section {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .corp-stat-card {
    padding: 1.5rem 1rem;
  }

  .corp-stat-card h2 {
    font-size: 1.8rem;
  }

  .corp-contact-grid {
    gap: 2.5rem;
  }

  .corp-contact-left h2 {
    font-size: 1.6rem;
  }

  .trusted-logos-track {
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .corp-stats-section {
    grid-template-columns: 1fr;
  }

  .corp-program-card {
    padding: 1.5rem;
  }

  .corp-contact-right {
    padding: 1.5rem;
  }
}
/* ── Base ── */
.hire-page {
  
  background: #F8FAFC;
  color: #1E293B;
}

/* ── Hero ── */
.hire-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4rem 5%;
  gap: 4rem;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
}

.hire-hero-left {
  color: #1E293B;
}

.hero-badge {
  display: inline-block;
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hire-hero-left h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.hire-hero-left h1 span {
  color: #2563EB;
}

.hire-hero-left > p {
  font-size: 1rem;
  color: #64748B;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Search Box */
.hero-search-box {
  display: flex;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  flex: 1;
  border-right: 1px solid #E2E8F0;
}

.search-field svg {
  width: 16px;
  height: 16px;
  color: #94A3B8;
  flex-shrink: 0;
}

.search-field input {
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: #0F172A;
  width: 100%;
  background: transparent;
}

.search-field input::placeholder { color: #94A3B8; }

.hero-search-btn {
  background: #2563EB;
  color: white;
  border: none;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.hero-search-btn:hover { background: #1D4ED8; }

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0F172A;
}

.stat span {
  font-size: 0.78rem;
  color: #64748B;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: #E2E8F0;
}

/* Hero Right Card */
.hire-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-group {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 400px;
  border: 1px solid #E2E8F0;
}

.hero-tab-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #E2E8F0;
}

.hero-tab-switcher button {
  padding: 0.9rem;
  border: none;
  background: #F8FAFC;
  color: #64748B;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.hero-tab-switcher button.active {
  background: white;
  color: #0F172A;
  border-bottom-color: #2563EB;
}

.hero-mini-card {
  padding: 1.25rem;
}

.mini-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.mini-tutor-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #F1F5F9;
}

.mini-tutor-row:last-of-type { border-bottom: none; }

.mini-tutor-row img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.mini-tutor-row div { flex: 1; }

.mini-tutor-row strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0F172A;
}

.mini-tutor-row span {
  font-size: 0.72rem;
  color: #64748B;
}

.mini-rating {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0F172A;
}

.mini-cta {
  margin-top: 1rem;
  width: 100%;
  padding: 0.7rem;
  background: #0F172A;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.mini-cta:hover { background: #1E293B; }
.mini-cta.orange { background: #2563EB; }
.mini-cta.orange:hover { background: #1D4ED8; }

.earn-stat-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.earn-stat {
  flex: 1;
  background: #F8FAFC;
  border-radius: 8px;
  padding: 0.65rem;
  text-align: center;
  border: 1px solid #E2E8F0;
}

.earn-stat strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F172A;
}

.earn-stat span {
  font-size: 0.72rem;
  color: #64748B;
}

.teach-perks {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.teach-perks li {
  font-size: 0.85rem;
  color: #334155;
  font-weight: 500;
  margin: 0;
}

/* ── How It Works ── */
.how-it-works {
  padding: 5rem 5%;
  background: #F8FAFC;
  text-align: center;
  border-bottom: 1px solid #E2E8F0;
}

.section-label-pill {
  display: inline-block;
  background: #EFF6FF;
  color: #2563EB;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.how-it-works h2,
.tutor-section h2,
.why-section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step-card {
  background: white;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  position: relative;
  border: 1px solid #E2E8F0;
  text-align: left;
  transition: box-shadow 0.2s;
}

.step-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  width: 24px;
  height: 24px;
  background: #2563EB;
  color: white;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 44px;
  height: 44px;
  background: #EFF6FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-icon svg {
  width: 22px;
  height: 22px;
  color: #2563EB;
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.6;
}

.cta-btn {
  background: #2563EB;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cta-btn:hover { background: #1D4ED8; }

.cta-btn.white {
  background: white;
  color: #0F172A;
  border: 1px solid #E2E8F0;
}

.cta-btn.white:hover { background: #F1F5F9; }

/* ── Tutor Section ── */
.tutor-section {
  padding: 4rem 5%;
  background: #F8FAFC;
}

.tutor-section-header {
  margin-bottom: 1.5rem;
}

.category-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.pill {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1.5px solid #E2E8F0;
  background: white;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.pill:hover { border-color: #2563EB; color: #2563EB; }

.pill.active {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #2563EB;
  font-weight: 600;
}

.tutor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tutor-card {
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

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

.tutor-card-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.tutor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #E2E8F0;
  flex-shrink: 0;
}

.tutor-card-top > div { flex: 1; }

.tutor-card-top h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.1rem;
}

.tutor-location {
  font-size: 0.75rem;
  color: #64748B;
}

.tutor-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tutor-badge.gold  { background: #FEF9C3; color: #854D0E; }
.tutor-badge.blue  { background: #DBEAFE; color: #1E40AF; }
.tutor-badge.purple{ background: #EDE9FE; color: #5B21B6; }

.tutor-subjects {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tutor-subjects span {
  background: #F1F5F9;
  color: #334155;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
}

.tutor-meta {
  display: flex;
  gap: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: #475569;
  font-weight: 500;
}

.meta-item svg {
  width: 13px;
  height: 13px;
  color: #94A3B8;
}

.tutor-modes { display: flex; gap: 0.4rem; }

.mode-tag {
  padding: 0.18rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
}

.mode-tag.online { background: #DCFCE7; color: #166534; }
.mode-tag.home   { background: #FEF9C3; color: #854D0E; }

.tutor-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
}

.tutor-rate {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
}

.contact-btn {
  background: #0F172A;
  color: white;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-btn:hover { background: #2563EB; }

.no-tutors {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: #64748B;
}

.no-tutors svg {
  width: 52px;
  height: 52px;
  color: #CBD5E1;
  margin-bottom: 0.9rem;
}

/* ── Why Section ── */
.why-section {
  padding: 4rem 5%;
  background: white;
  text-align: center;
  border-top: 1px solid #E2E8F0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  text-align: left;
  transition: box-shadow 0.2s;
}

.why-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); }

.why-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }

.why-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.6;
}

/* ── CTA Banner ── */
.cta-banner {
  padding: 4rem 5%;
  background: #EFF6FF;
  border-top: 1px solid #BFDBFE;
  border-bottom: 1px solid #BFDBFE;
}

.cta-banner-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner-inner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.75rem;
}

.cta-banner-inner p {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-box {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 540px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.25s ease-out;
  border: 1px solid #E2E8F0;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #F1F5F9;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  color: #64748B;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { background: #E2E8F0; color: #0F172A; }

.modal-box h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.modal-box > p {
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 1.5rem;
}

.register-form { display: flex; flex-direction: column; gap: 0.875rem; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

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

.register-form label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
}

.register-form input,
.register-form select {
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #E2E8F0;
  border-radius: 7px;
  font-size: 0.875rem;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s;
  background: #F8FAFC;
}

.register-form input:focus,
.register-form select:focus {
  border-color: #2563EB;
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.submit-register-btn {
  margin-top: 0.25rem;
  background: #2563EB;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-register-btn:hover { background: #1D4ED8; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tutor-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hire-hero {
    grid-template-columns: 1fr;
    padding: 2.5rem 5%;
    gap: 2rem;
  }

  .hire-hero-left h1 { font-size: 1.75rem; }

  .hero-search-box { flex-direction: column; }
  .search-field { border-right: none; border-bottom: 1px solid #E2E8F0; }
  .hero-search-btn { padding: 0.75rem; }

  .hero-card-group { max-width: 100%; }

  .steps-grid { grid-template-columns: 1fr; }
  .tutor-grid { grid-template-columns: 1fr; }
  .why-grid   { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hire-hero { padding: 2rem 5%; gap: 1.5rem; }
  .hire-hero-left h1 { font-size: 1.55rem; }
  .hire-hero-left > p { font-size: 0.92rem; margin-bottom: 1.5rem; }
  .hero-stats { gap: 1.25rem; }
  .stat strong { font-size: 1.1rem; }
  .how-it-works, .tutor-section, .why-section { padding: 3rem 5%; }
  .how-it-works h2, .tutor-section h2, .why-section h2 { font-size: 1.5rem; margin-bottom: 2rem; }
  .steps-grid { gap: 1rem; }
  .step-card { padding: 1.25rem 1rem; }
  .tutor-card { padding: 1rem; }
  .category-pills { gap: 0.4rem; }
  .pill { padding: 0.35rem 0.8rem; font-size: 0.78rem; }
  .cta-banner { padding: 3rem 5%; }
  .cta-banner-inner h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hire-hero-left h1 { font-size: 1.4rem; }
  .hero-stats { gap: 1rem; }
  .stat strong { font-size: 1rem; }
  .why-grid { grid-template-columns: 1fr; }
  .tutor-grid { gap: 1rem; }
  .modal-box { padding: 1.5rem; }
}
.terms-container {
  min-height: calc(100vh - 200px);
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
  padding: 3rem 2rem;
}

.terms-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  line-height: 1.8;
  color: #1e293b;
}

.terms-content h1 {
  font-size: 2.5rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.last-updated {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.terms-content section {
  margin-bottom: 2.5rem;
}

.terms-content h2 {
  font-size: 1.4rem;
  color: #0f172a;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.terms-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #475569;
}

.terms-content ul {
  margin: 1.5rem 0 1.5rem 2rem;
}

.terms-content li {
  margin-bottom: 0.8rem;
  color: #475569;
  font-size: 1rem;
}

.terms-content li strong {
  color: #0f172a;
}

@media (max-width: 768px) {
  .terms-container {
    padding: 2rem 1rem;
  }

  .terms-content {
    padding: 2rem;
  }

  .terms-content h1 {
    font-size: 2rem;
  }

  .terms-content h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .terms-container {
    padding: 1.5rem 0.75rem;
  }

  .terms-content {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .terms-content h1 {
    font-size: 1.6rem;
  }

  .terms-content h2 {
    font-size: 1.1rem;
    margin-top: 1rem;
  }

  .terms-content p {
    font-size: 0.9rem;
  }

  .terms-content li {
    font-size: 0.9rem;
  }
}
.privacy-container {
  min-height: calc(100vh - 200px);
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
  padding: 3rem 2rem;
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  line-height: 1.8;
  color: #1e293b;
}

.privacy-content h1 {
  font-size: 2.5rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.last-updated {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.privacy-content section {
  margin-bottom: 2.5rem;
}

.privacy-content h2 {
  font-size: 1.4rem;
  color: #0f172a;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.privacy-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #475569;
}

.privacy-content ul {
  margin: 1.5rem 0 1.5rem 2rem;
}

.privacy-content li {
  margin-bottom: 0.8rem;
  color: #475569;
  font-size: 1rem;
}

.privacy-content li strong {
  color: #0f172a;
}

@media (max-width: 768px) {
  .privacy-container {
    padding: 2rem 1rem;
  }

  .privacy-content {
    padding: 2rem;
  }

  .privacy-content h1 {
    font-size: 2rem;
  }

  .privacy-content h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .privacy-container {
    padding: 1.5rem 0.75rem;
  }

  .privacy-content {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .privacy-content h1 {
    font-size: 1.6rem;
  }

  .privacy-content h2 {
    font-size: 1.1rem;
    margin-top: 1rem;
  }

  .privacy-content p {
    font-size: 0.9rem;
  }

  .privacy-content li {
    font-size: 0.9rem;
  }
}
.faq-container {
  min-height: calc(100vh - 200px);
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
  padding: 3rem 2rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h1 {
  font-size: 2.5rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-header p {
  font-size: 1.1rem;
  color: #64748b;
}

.faq-content {
  max-width: 1200px;
  margin: 0 auto;
 
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}

.faq-list {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.faq-question:hover {
  background: rgba(102, 126, 234, 0.05);
  padding-left: 2rem;
  padding-right: 0.5rem;
}

.faq-question.active {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.faq-text {
  flex: 1;
  text-align: left;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #667eea;
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon svg {
  width: 24px;
  height: 24px;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  background: rgba(102, 126, 234, 0.05);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer p {
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #667eea;
}

.faq-card h3 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

.faq-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.faq-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-card li {
  margin-bottom: 0.8rem;
}

.faq-card a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.faq-card a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.contact-btn {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

@media (max-width: 1024px) {
  .faq-content {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    flex-direction: row;
  }

  .faq-card {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .faq-container {
    padding: 2rem 1rem;
  }

  .faq-header h1 {
    font-size: 2rem;
  }

  .faq-header p {
    font-size: 0.95rem;
  }

  .faq-list {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-question:hover {
    padding-left: 1.5rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem 1rem;
  }

  .faq-sidebar {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .faq-header h1 {
    font-size: 1.75rem;
  }

  .faq-header {
    margin-bottom: 2rem;
  }

  .faq-question {
    padding: 0.85rem 0.75rem;
    font-size: 0.9rem;
  }

  .faq-answer {
    padding: 0 0.75rem 0.75rem 0.75rem;
    font-size: 0.85rem;
  }

  .faq-card {
    padding: 1.5rem;
  }

  .faq-card h3 {
    font-size: 1.05rem;
  }

  .faq-card p {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .faq-container {
    padding: 1.5rem 0.75rem;
  }

  .faq-header h1 {
    font-size: 1.5rem;
  }

  .faq-header p {
    font-size: 0.88rem;
  }

  .faq-list {
    padding: 1rem;
  }

  .faq-question {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }

  .faq-icon svg {
    width: 20px;
    height: 20px;
  }

  .faq-answer {
    padding: 0 0.5rem 0.75rem 0.5rem;
  }

  .faq-card {
    padding: 1.25rem;
  }

  .faq-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .contact-btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.88rem;
  }
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 3%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: box-shadow 0.3s ease, background 0.3s ease, padding 0.3s ease;
  gap: 1rem;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-logo-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: all 0.2s ease;
}

.header-logo-img:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.logo span {
  color: #0066FF;
}

.nav-link,
.contact-us-link {
  text-decoration: none;
  color: #1E293B;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.nav-link:hover,
.contact-us-link:hover {
  color: #0066FF;
}

.nav-link.active {
  color: #0066FF;
  position: relative;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #0066FF;
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  position: relative;
}

.user-profile {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0066FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-profile:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.header-login-btn {
  background-color: #0066FF !important;
  color: #FFFFFF !important;
  padding: 0.5rem 1.4rem !important;
  border: 1.5px solid #0066FF !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 0.92rem !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.18) !important;
}

.header-login-btn:hover {
  background-color: #0052CC !important;
  color: #FFFFFF !important;
  border-color: #0052CC !important;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.28) !important;
  transform: translateY(-1px);
}

.profile-menu-container {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: #1a1a1a;
  transition: all 0.3s;
}

.profile-trigger:hover {
  transform: scale(1.05);
}

.user-avatar-small {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  transition: border-color 0.2s ease;
}

.profile-trigger:hover .user-avatar-small {
  border-color: #0066FF;
}

.user-avatar-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 220px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  border: 1px solid #E2E8F0;
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== CATEGORY NAV WITH COURSE DROPDOWNS ========== */

.category-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: 1.5rem;
  flex: 1;
  justify-content: center;
}

.category-nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: #334155;
  padding: 0.5rem 0.65rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
  border-radius: 8px;
}

.category-tab:hover {
  color: #0066FF;
  background: rgba(0, 102, 255, 0.06);
}

.category-tab.active {
  color: #0066FF;
  background: rgba(0, 102, 255, 0.06);
  position: relative;
}

/* Active underline indicator */
.category-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
}

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

.category-course-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 340px;
  max-width: 90vw;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  animation: megaMenuSlideIn 0.22s ease-out forwards;
  cursor: default;
  z-index: 100;
}

.category-course-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}

/* ── Technology Programs Mega Dropdown (2 columns) ── */
.category-mega-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: min(820px, calc(100vw - 2rem));
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18), 0 6px 16px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  animation: megaMenuSlideIn 0.22s ease-out forwards;
  cursor: default;
  z-index: 100;
}

.category-mega-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
  background: transparent;
}

.mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem 0.9rem;
  border-bottom: 1px solid #F1F5F9;
  background: linear-gradient(180deg, #F8FAFC, #FFFFFF);
}

.category-dropdown-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.category-dropdown-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
}

.mega-body {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: stretch;
}

/* Left: category list */
.mega-categories {
  padding: 0.75rem;
  border-right: 1px solid #F1F5F9;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mega-cat-group {
  display: flex;
  flex-direction: column;
}

.mega-category-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.mega-cat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.mega-category-btn:hover {
  background: #FFFFFF;
  border-color: #E2E8F0;
  color: #0F172A;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.mega-category-btn.active {
  background: #FFFFFF;
  color: #0066FF;
  border-color: #DBEAFE;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.1);
}

.mega-category-btn.active .mega-cat-icon {
  outline: 2px solid rgba(0, 102, 255, 0.2);
  outline-offset: 2px;
}

.mega-category-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mega-category-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  border-radius: 8px;
  padding: 0.15rem 0.5rem;
  flex-shrink: 0;
}

.mega-category-btn.active .mega-category-count {
  color: #0066FF;
  background: #EFF6FF;
}

.mega-category-arrow {
  color: #CBD5E1;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mega-category-btn:hover .mega-category-arrow {
  color: #0066FF;
}

.mega-category-btn.active .mega-category-arrow {
  transform: rotate(90deg);
  color: #0066FF;
}

.mega-view-all {
  margin-top: auto;
  padding: 0.65rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0066FF;
  text-align: center;
  text-decoration: none;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  transition: all 0.2s ease;
}

.mega-view-all:hover {
  background: #DBEAFE;
  color: #0052CC;
}

/* Right: course list */
.mega-courses {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.4rem 1.2rem;
  min-width: 0;
}

.mega-courses-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #F1F5F9;
}

.mega-courses-title-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0066FF;
  text-decoration: none;
  white-space: nowrap;
}

.mega-courses-title-link:hover {
  text-decoration: underline;
}

.mega-courses-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  overflow-y: auto;
  flex: 1;
  align-content: start;
}

.mega-course-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #F1F5F9;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.18s ease;
  min-width: 0;
}

.mega-course-item:hover {
  background: #F8FAFC;
  border-color: #DBEAFE;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.mega-course-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.mega-course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-course-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-course-title {
  min-width: 0;
  font-size: 0.83rem;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.mega-course-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-course-item:hover .mega-course-title {
  color: #0066FF;
}

.mega-course-arrow {
  color: #CBD5E1;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mega-course-item:hover .mega-course-arrow {
  transform: translateX(3px);
  color: #0066FF;
}

.mega-courses-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.7rem;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0066FF;
  text-decoration: none;
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.mega-courses-more:hover {
  background: #EFF6FF;
  border-color: #DBEAFE;
}

@media (max-width: 560px) {
  .mega-body {
    grid-template-columns: 1fr;
  }

  .mega-categories {
    border-right: none;
    border-bottom: 1px solid #F1F5F9;
  }
}

@media (max-width: 1100px) {
  .category-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .category-nav {
    display: none;
  }
}

.profile-dropdown a,
.profile-dropdown button {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.2s;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background: #f8fafc;
  color: #0066FF;
}

.dropdown-user-info {
  padding: 0.5rem 1.5rem 0.75rem 1.5rem;
}

.dropdown-user-info .user-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
  margin: 0;
}

.dropdown-user-info .user-email {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

.profile-dropdown hr {
  margin: 0.5rem 0;
  border: 0;
  border-top: 1px solid #f1f5f9;
}

.logout-link {
  color: #ef4444 !important;
}

.logout-link:hover {
  background: #fef2f2 !important;
}

/* ========== MOBILE MENU ========== */

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  padding: 0.45rem 0.55rem;
  color: #1a1a1a;
  border-radius: 8px;
  transition: all 0.25s ease;
  flex-shrink: 0;
  position: relative;
}

.mobile-menu-btn:hover {
  color: #0066FF;
  border-color: #BFDBFE;
  background: rgba(0, 102, 255, 0.05);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.04);
  border: 1px solid #E2E8F0;
  overflow-y: auto;
  min-width: 240px;
  max-height: 80vh;
  animation: slideIn 0.2s ease-out;
  z-index: 999;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

.mobile-menu-item:hover {
  background: #f8fafc;
  color: #0066FF;
  padding-left: 2rem;
}

.mobile-menu-item svg {
  color: #0066FF;
  flex-shrink: 0;
}

.mobile-menu-login {
  background: #EFF6FF;
  border-top: 1px solid #DBEAFE;
  font-weight: 600;
  color: #0066FF;
}

.mobile-menu-login:hover {
  background: #DBEAFE !important;
  color: #0052CC !important;
}

/* ========== HEADER TEXT BUTTONS (About / Corporate) ========== */

.header-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  background: none;
  border: none;
  color: #334155;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
  border-radius: 8px;
}

.text-btn:hover {
  color: #0066FF;
  background: rgba(0, 102, 255, 0.06);
}

.text-btn.active {
  color: #0066FF;
  background: rgba(0, 102, 255, 0.06);
}

@media (max-width: 1100px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-links {
    display: none;
  }
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .header {
    padding: 0.65rem 2%;
    gap: 1.5rem;
  }

  .logo {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.6rem 2%;
    gap: 0.75rem;
  }

  .header-left {
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .header-right {
    gap: 1rem;
  }

  .btn-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }

  .avatar {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 0.5rem 2%;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .header-left {
    gap: 0.5rem;
    min-width: fit-content;
  }

  .logo {
    font-size: 0.95rem;
  }

  .logo span {
    display: none;
  }

  .header-right {
    gap: 0.5rem;
    flex-shrink: 0;
    position: relative;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .user-avatar-small {
    width: 36px;
    height: 36px;
  }

  .header-login-btn {
    padding: 0.35rem 0.8rem !important;
    font-size: 0.8rem !important;
  }

  .profile-dropdown {
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.4rem 2%;
    gap: 0.35rem;
  }

  .header-left {
    gap: 0.3rem;
  }

  .logo {
    font-size: 0.8rem;
  }

  .header-right {
    gap: 0.35rem;
    position: relative;
  }

  .user-avatar-small {
    width: 32px;
    height: 32px;
  }

  .header-login-btn {
    padding: 0.3rem 0.7rem !important;
    font-size: 0.75rem !important;
  }

  .mobile-menu-btn {
    display: flex;
    padding: 0.4rem;
  }

  .mobile-menu-btn svg {
    width: 20px;
    height: 20px;
  }

  .profile-dropdown {
    min-width: 160px;
    right: -40px;
  }

  .mobile-menu {
    right: -10px;
  }
}.footer {
  background-color: #FFFFFF;
  padding: 3rem 5% 2rem;
  border-top: 1px solid #E2E8F0;
  color: var(--text-dark);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.footer-brand .dot {
  color: var(--secondary-color);
}

.brand-description {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-links h3, 
.footer-contact h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1E293B;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-gray);
  transition: var(--transition);
  font-size: 0.95rem;
}

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

.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.footer-contact svg {
  color: var(--primary-color);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #F1F5F9;
  text-align: center;
  color: #94A3B8;
  font-size: 0.9rem;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

@media (max-width: 1200px) {
  .footer {
    padding: 2.5rem 4% 1.5rem;
  }

  .footer-content {
    gap: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .footer {
    padding: 2rem 3%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 5%;
  }

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

  .footer-brand {
    text-align: center;
  }

  .footer-brand .logo {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    justify-content: center;
    display: flex;
  }

  .brand-description {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .social-links {
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 0;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-links h3,
  .footer-contact h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
  }

  .footer-links h3::after,
  .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
  }

  .footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
  }

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

  .footer-links a {
    font-size: 0.9rem;
    padding: 0.25rem 0;
  }

  .footer-links a:hover {
    padding-left: 0;
  }

  .footer-contact .contact-item {
    justify-content: center;
    text-align: left;
    font-size: 0.9rem;
  }

  .footer-contact svg {
    display: none;
  }

  .footer-bottom {
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 1.5rem 4%;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-brand .logo {
    font-size: 1.1rem;
  }

  .brand-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .social-links {
    gap: 0.6rem;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }

  .footer-links h3,
  .footer-contact h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-contact .contact-item {
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 1.25rem 4%;
  }

  .footer-content {
    gap: 1.25rem;
  }

  .footer-brand .logo {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .brand-description {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  .social-links {
    gap: 0.5rem;
  }

  .social-icon {
    width: 32px;
    height: 32px;
  }

  .social-icon svg {
    width: 14px;
    height: 14px;
  }

  .footer-links h3,
  .footer-contact h3 {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }

  .footer-links ul {
    flex-direction: column;
    gap: 0.4rem;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .footer-contact .contact-item {
    font-size: 0.8rem;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
  }

  .footer-bottom {
    padding-top: 0.75rem;
    font-size: 0.75rem;
  }
}
.floating-contact-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999;
}

.floating-contact-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.5);
  background: linear-gradient(135deg, #0052cc 0%, #0044aa 100%);
}

.floating-contact-btn:active {
  transform: scale(0.95);
}

.floating-contact-btn svg {
  width: 26px;
  height: 26px;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.25rem;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(226, 232, 240, 0.8);
  outline: none;
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-track {
  background: rgba(102, 126, 234, 0.04);
  border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

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

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 1rem;
  cursor: pointer;
  color: #64748b;
  transition: all 0.25s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  z-index: 2;
}

.modal-close-btn:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #0066ff;
  transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-contact-btn {
    width: 52px;
    height: 52px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .modal-content {
    padding: 1.75rem;
    margin: 1rem;
    max-width: 95vw;
  }
}

@media (max-width: 480px) {
  .floating-contact-btn {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }

  .floating-contact-btn svg {
    width: 22px;
    height: 22px;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
    border-radius: 18px;
  }

  .modal-close-btn {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
}.counter {
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--accent);
  background: var(--accent-bg);
  border: 2px solid transparent;
  transition: border-color 0.3s;
  margin-bottom: 24px;

  &:hover {
    border-color: var(--accent-border);
  }
  &:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}

.hero {
  position: relative;

  .base,
  .framework,
  .vite {
    inset-inline: 0;
    margin: 0 auto;
  }

  .base {
    width: 170px;
    position: relative;
    z-index: 0;
  }

  .framework,
  .vite {
    position: absolute;
  }

  .framework {
    z-index: 1;
    top: 34px;
    height: 28px;
    transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
      scale(1.4);
  }

  .vite {
    z-index: 0;
    top: 107px;
    height: 26px;
    width: auto;
    transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
      scale(0.8);
  }
}

#center {
  display: flex;
  flex-direction: column;
  gap: 25px;
  place-content: center;
  place-items: center;
  flex-grow: 1;

  @media (max-width: 1024px) {
    padding: 32px 20px 24px;
    gap: 18px;
  }
}

#next-steps {
  display: flex;
  border-top: 1px solid var(--border);
  text-align: left;

  & > div {
    flex: 1 1 0;
    padding: 32px;
    @media (max-width: 1024px) {
      padding: 24px 20px;
    }
  }

  .icon {
    margin-bottom: 16px;
    width: 22px;
    height: 22px;
  }

  @media (max-width: 1024px) {
    flex-direction: column;
    text-align: center;
  }
}

#docs {
  border-right: 1px solid var(--border);

  @media (max-width: 1024px) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

#next-steps ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  margin: 32px 0 0;

  .logo {
    height: 18px;
  }

  a {
    color: var(--text-h);
    font-size: 16px;
    border-radius: 6px;
    background: var(--social-bg);
    display: flex;
    padding: 6px 12px;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: box-shadow 0.3s;

    &:hover {
      box-shadow: var(--shadow);
    }
    .button-icon {
      height: 18px;
      width: 18px;
    }
  }

  @media (max-width: 1024px) {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;

    li {
      flex: 1 1 calc(50% - 8px);
    }

    a {
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
    }
  }
}

#spacer {
  height: 88px;
  border-top: 1px solid var(--border);
  @media (max-width: 1024px) {
    height: 48px;
  }
}

.ticks {
  position: relative;
  width: 100%;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: -4.5px;
    border: 5px solid transparent;
  }

  &::before {
    left: 0;
    border-left-color: var(--border);
  }
  &::after {
    right: 0;
    border-right-color: var(--border);
  }
}
/* ============================================================
   ABOUT — Design System
   Palette: blue #0066FF (primary) · slate text · white/#F8FAFC
   Type: Plus Jakarta Sans (headings) · Inter (body)
   ============================================================ */

/* Design Tokens */
.about-page {
  --ivory: #FFFFFF;
  --ink: #0F172A;
  --muted: #F8FAFC;
  --muted-fg: #64748B;
  --gold: #0066FF;
  --gold-soft: #3B82F6;
  --accent-grad: linear-gradient(120deg, #3B82F6 0%, #6366F1 50%, #2563EB 100%);
  --rule: #E2E8F0;
  --card: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 102, 255, 0.12), 0 4px 8px rgba(15, 23, 42, 0.06);
  --font: 'Inter', 'Plus Jakarta Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  
  /* Refined Blue Palette */
  --blue-900: #1E3A8A;
  --blue-800: #1E40AF;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-300: #93C5FD;
  --blue-200: #BFDBFE;
  --blue-100: #DBEAFE;
  --blue-50: #EFF6FF;
}

.about-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory);
  
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Base typography */
.about-page h1,
.about-page h2,
.about-page h3 {
  
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Paper texture overlay (print-like grain) */
.about-page::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.035'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Layout shell */
.about-shell {
  width: min(1024px, calc(100% - 2.5rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================
   SECTION LABELS (small caps)
============================ */
.section-label-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0066FF;
  margin-bottom: 1.25rem;
  background: #EFF6FF;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid #BFDBFE;
}

.section-label-row {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label-row .section-label-pill {
  justify-content: center;
  gap: 1rem;
}

.section-label-row .section-label-pill::before,
.section-label-row .section-label-pill::after {
  content: none;
}

.section-label-row h2 {
  
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #0F172A;
}

.section-sub {
  color: #64748B;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================
   HERO
============================ */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 4rem;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse at 85% 15%, rgba(59, 130, 246, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.about-hero::after {
  content: '';
  position: absolute;
  top: -220px;
  left: -160px;
  width: 680px;
  height: 560px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 68%);
  pointer-events: none;
  z-index: 1;
}

.about-hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.about-hero-left {
  animation: aboutHeroFadeIn 0.7s ease-out both;
}

.about-hero-left h1 {
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin: 0 0 1.25rem;
}

.about-hero-left h1 span {
  background: linear-gradient(120deg, #1D4ED8 0%, #2563EB 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-hero-left > p {
  color: #64748B;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 0 2rem;
}

.about-hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: #1D4ED8;
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.about-hero-badge::before,
.about-hero-badge::after {
  content: none;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.about-hero .primary-btn,
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #0066FF;
  color: #FFFFFF;
  
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.25);
  transition: all 0.25s ease;
}

.about-hero .primary-btn:hover,
.cta-btn:hover {
  background: #0052CC;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 102, 255, 0.35);
}

.about-hero .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 0.9rem 1.6rem;
  border-radius: 10px;
  border: 1.5px solid rgba(0, 102, 255, 0.35);
  background: transparent;
  color: #1D4ED8;
  
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.about-hero .secondary-btn:hover {
  border-color: #0066FF;
  color: #0066FF;
  background: rgba(0, 102, 255, 0.06);
  transform: translateY(-2px);
}

/* Stats -- full-width row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3.5rem;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05), 0 1px 4px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.hero-stat-card {
  padding: 1.5rem 1.5rem;
  text-align: center;
}

.hero-stat-card + .hero-stat-card {
  border-left: 1px solid #E2E8F0;
}

.hero-stat-card strong {
  display: block;
  
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.hero-stat-card span {
  
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748B;
}

/* Hero right card */
.about-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: aboutHeroFadeIn 0.7s ease-out 0.15s both;
}

.about-hero-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.about-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1D4ED8, #2563EB, #3B82F6);
}

.about-hero-card-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.25rem 1.25rem 0.35rem;
}

.about-hero-card-list {
  padding: 0.35rem 1.25rem 0.5rem;
}

.about-hero-card-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.about-hero-card-row + .about-hero-card-row {
  border-top: 1px solid #F1F5F9;
}

.about-hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.about-hero-card-row strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #0F172A;
  margin-bottom: 0.1rem;
}

.about-hero-card-row span {
  font-size: 0.76rem;
  color: #64748B;
}

.about-hero-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-top: 1px solid #EEF2F7;
  border-radius: 0 0 16px 16px;
  background: #F8FAFC;
  color: #1D4ED8;
  
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.about-hero-card-cta:hover {
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-1px);
}

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

/* ============================
   SEARCH — Program Finder
============================ */
.about-search-section {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 1rem;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(59, 130, 246, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: none;
}

.about-search-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(0, 102, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.about-search-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.about-search-inner h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 600;
  color: #0F172A;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.about-search-form {
  width: 100%;
}

.about-search-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 0.45rem 0.45rem 0.45rem 1.2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-search-box:focus-within {
  border-color: rgba(0, 102, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.about-search-box > svg {
  color: #64748B;
  flex-shrink: 0;
}

.about-search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  font-family: var(--sans);
  color: #0F172A;
  min-width: 0;
}

.about-search-box input::placeholder {
  color: #94A3B8;
}

.about-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.8rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(120deg, #3B82F6 0%, #2563EB 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.about-search-btn:hover {
  background: linear-gradient(120deg, #60A5FA 0%, #2563EB 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.45);
}

.about-search-popular {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: #94A3B8;
  font-size: 0.8rem;
}

.about-search-tag {
  display: inline-block;
  color: #475569;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-family: var(--sans);
  background: #FFFFFF;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.about-search-tag:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.4);
  color: #1D4ED8;
}

/* ============================
   SECTIONS
============================ */
.about-categories-section,
.why-section,
.vm-section-wrapper,
.about-cta,
.who-section {
  padding: 6rem 0;
}

.about-categories-section,
.who-section,
.why-section,
.vm-section-wrapper {
  border-top: 1px solid var(--rule);
}

.about-categories-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}

.about-categories-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 70%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* ============================
   OUR PROGRAMS (category cards)
============================ */
.about-categories-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 0.5rem 0;
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.about-categories-grid::-webkit-scrollbar {
  display: none;
}

.about-categories-grid .about-category-card {
  min-width: 320px;
  max-width: 320px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.about-categories-scroll-wrapper {
  position: relative;
}

.about-categories-scroll-btns {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  z-index: 10;
}

.about-scroll-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: rgba(255, 255, 255, 0.9);
  color: #475569;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-scroll-btn:hover {
  border-color: #0066FF;
  color: #0066FF;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.15);
  transform: scale(1.05);
}

.about-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #0F172A 0%, #1E3A8A 50%, #1E40AF 100%);
  border: 1px solid rgba(96, 165, 250, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-category-card::after {
  content: '';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60A5FA;
  opacity: 0;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
  transition: opacity 0.3s ease;
}

.about-category-card:hover {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(96, 165, 250, 0.25);
  transform: translateY(-8px);
}

.about-category-card:hover::after {
  opacity: 1;
}

.about-category-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 1.25rem;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.15);
  transition: all 0.3s ease;
}

.about-category-card:hover .about-category-icon {
  background: rgba(96, 165, 250, 0.2);
  border-color: rgba(96, 165, 250, 0.3);
  transform: scale(1.05);
}

.about-category-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.about-category-content {
  flex: 1;
  min-width: 0;
}

.about-category-content h3 {
  
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.6rem;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.about-category-content h3::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #60A5FA, #93C5FD);
  border-radius: 2px;
  margin-top: 0.65rem;
  transition: width 0.3s ease;
}

.about-category-card:hover .about-category-content h3::after {
  width: 48px;
  background: linear-gradient(90deg, #93C5FD, #BFDBFE);
}

.about-category-desc {
  color: #94A3B8;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.about-category-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(96, 165, 250, 0.1);
}

.about-category-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93C5FD;
}

.about-category-count svg {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.about-category-arrow {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(96, 165, 250, 0.2);
  color: #93C5FD;
  background: rgba(96, 165, 250, 0.08);
  transition: all 0.3s ease;
}

.about-category-card:hover .about-category-arrow {
  border-color: #60A5FA;
  background: #60A5FA;
  color: #FFFFFF;
  transform: translateX(4px);
}

.about-categories-more {
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.categories-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  border: 1.5px solid #0F172A;
  background: transparent;
  color: #0F172A;
  
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.categories-all-link:hover {
  border-color: var(--gold);
  color: #FFFFFF;
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.25);
}

/* ============================
   WHO WE ARE (equal 1fr / 1fr)
============================ */
.who-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.who-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(0, 102, 255, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.who-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.who-copy .section-label-pill {
  background: #EFF6FF;
  color: #0066FF;
  border-color: #BFDBFE;
}

.who-copy h2 {
  
  font-size: clamp(2rem, 3.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: #0F172A;
}

.who-lead {
  color: #334155;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.who-sub {
  color: #475569;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.who-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.who-checklist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #1E293B;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.who-checklist li:hover {
  border-color: #BFDBFE;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.who-checklist li svg {
  color: #3B82F6;
  flex-shrink: 0;
}

/* ============================
   WHY GLP EDTECH
============================ */
.why-section {
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
}

.why-section-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.why-section .section-label-row h2 {
  color: #0F172A;
}

.why-section .section-label-row h2 span {
  color: #0066FF;
}

.why-section .section-sub {
  color: #64748B;
}

.why-pill {
  background: #EFF6FF !important;
  color: #0066FF !important;
  border-color: #BFDBFE !important;
}

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

.why-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.why-card:hover {
  border-color: #BFDBFE;
  background: #F8FAFC;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #3B82F6;
  border: 1px solid #BFDBFE;
}

.why-card:hover .why-card-icon {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  transform: scale(1.05);
}

.why-card-content {
  flex: 1;
  min-width: 0;
}

.why-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.why-card h3 {
  
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #0F172A;
  line-height: 1.3;
}

.why-card-number {
  
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(59, 130, 246, 0.2);
  line-height: 1;
}

.why-card-line {
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #6366F1);
  border-radius: 2px;
  margin: 0.75rem 0;
  transition: width 0.3s ease;
}

.why-card:hover .why-card-line {
  width: 48px;
}

.why-card p {
  color: #64748B;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

/* ============================
   VISION & MISSION
============================ */
.vm-section-wrapper {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.vm-section-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

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

.vm-card {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #0B1120 0%, #132048 50%, #1A2D6A 100%);
  border: 1px solid rgba(96, 165, 250, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  border-color: rgba(96, 165, 250, 0.3);
}

.vm-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.vm-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #60A5FA;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.vm-card-head span {
  
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60A5FA;
}

.vm-card h3 {
  
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.85rem;
  color: #F8FAFC;
}

.vm-card p {
  color: #CBD5E1;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
}

/* ============================
   CTA (rich black band)
============================ */
.about-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(59, 130, 246, 0.25), transparent 52%),
    radial-gradient(circle at 12% 88%, rgba(99, 102, 241, 0.15), transparent 50%),
    linear-gradient(145deg, #0F172A 0%, #1E3A8A 50%, #1E40AF 100%);
  color: #EEF2FF;
}

.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.5;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 74%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.cta-inner .section-label-pill {
  justify-content: center;
  gap: 1rem;
  color: #93C5FD;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
  margin-bottom: 1.6rem;
}

.cta-inner .section-label-pill::before,
.cta-inner .section-label-pill::after {
  content: '';
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.about-cta h2 {
  
  color: #FFFFFF;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.about-cta p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 2.25rem;
}

.cta-btn {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  border-radius: 10px;
}

/* ============================
   CONTACT MODAL
============================ */
.about-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modalFade 0.2s ease;
}

.about-modal-content {
  position: relative;
  width: min(100%, 520px);
  max-height: 90vh;
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3);
  padding: 2.25rem 2rem 1.5rem;
  animation: modalPop 0.25s ease;
}

.about-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: #f8fafc;
  color: var(--muted-fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.about-modal-close:hover {
  border-color: #bfdbfe;
  color: #0066ff;
  background: #eff6ff;
}

/* ContactForm — serif/editorial overrides inside the modal */
.about-modal-content .cf-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.about-modal-content .cf-header h3 {
  
  font-size: 1.7rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink) !important;
}

.about-modal-content .cf-header p {
  color: var(--muted-fg);
}

.about-modal-content .cf-form input,
.about-modal-content .cf-form textarea,
.about-modal-content .cf-form select {
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  background: #f8fafc;

  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.about-modal-content .cf-form input:focus,
.about-modal-content .cf-form textarea:focus,
.about-modal-content .cf-form select:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.about-modal-content .cf-submit {
  background: linear-gradient(120deg, #0066ff 0%, #2563eb 100%);
  border-radius: 10px;

  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.2);
  transition: all 0.25s ease;
}

.about-modal-content .cf-submit:hover:not(:disabled) {
  background: linear-gradient(120deg, #0052cc 0%, #1d4ed8 100%);
  box-shadow: 0 10px 22px rgba(0, 102, 255, 0.3);
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(12px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 1080px) {
  .about-hero-shell {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-hero-right {
    justify-content: center;
  }

  .who-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-categories-grid {
    grid-template-columns: unset;
    gap: 1.25rem;
  }

  .about-categories-grid .about-category-card {
    min-width: 280px;
    max-width: 280px;
  }

  .vm-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 5rem 0 4rem;
  }

  .about-hero-left h1 {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .about-hero-left > p {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0.75rem;
  }

  .about-hero .primary-btn,
  .about-hero .secondary-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  .hero-stats-row {
    margin-top: 2.5rem;
  }

  .hero-stat-card {
    padding: 1.25rem 1rem;
  }

  .hero-stat-card strong {
    font-size: 1.5rem;
  }

  .hero-stat-card span {
    font-size: 0.74rem;
  }

  .hero-stat-card + .hero-stat-card {
    padding-left: 1.5rem;
  }

  .about-hero-card {
    max-width: 100%;
  }

  .about-hero-card-row {
    padding: 0.65rem 0;
  }

  .about-hero-card-row strong {
    font-size: 0.82rem;
  }

  .about-hero-card-row span {
    font-size: 0.72rem;
  }

  .about-hero-card-cta {
    padding: 0.8rem;
    font-size: 0.82rem;
  }

  .about-categories-section,
  .why-section,
  .vm-section-wrapper,
  .about-cta,
  .who-section {
    padding: 4rem 0;
  }

  .about-categories-grid,
  .vm-grid {
    display: flex;
    flex-direction: column;
  }

  .about-categories-grid .about-category-card {
    min-width: 100%;
    max-width: 100%;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .who-checklist {
    grid-template-columns: 1fr;
  }

  .who-side-card {
    padding: 2.25rem 1.75rem;
  }

  .section-label-row h2 {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .section-sub {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .about-shell {
    width: min(100%, calc(100% - 1.75rem));
  }

  .about-hero {
    padding: 4rem 0 3.5rem;
  }

  .about-search-section {
    padding: 2rem 0;
  }

  .about-search-inner h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .about-search-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border-radius: 14px;
  }

  .about-search-box > svg {
    display: none;
  }

  .about-search-box input {
    flex: 1 1 auto;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #E2E8F0;
  }

  .about-search-box input::placeholder {
    color: #94A3B8;
  }

  .about-search-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
    border-radius: 10px;
    margin-top: 0;
  }

  .about-search-popular {
    margin-top: 1rem;
    gap: 0.4rem;
  }

  .about-search-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.7rem;
  }

  .about-hero-left h1 {
    font-size: 1.65rem;
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }

  .about-hero-left > p {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .hero-buttons {
    gap: 0.65rem;
  }

  .about-hero .primary-btn,
  .about-hero .secondary-btn {
    padding: 0.8rem 1.25rem;
    font-size: 0.82rem;
  }

  .hero-stat-card strong {
    font-size: 1.35rem;
  }

  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
  }

  .hero-stat-card {
    padding: 1rem 0.5rem;
    text-align: center;
  }

  .hero-stat-card + .hero-stat-card {
    border-left: 1px solid #E2E8F0;
    border-top: none;
    padding-left: 0.5rem;
  }

  .hero-stat-card strong {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }

  .hero-stat-card span {
    font-size: 0.65rem;
  }

  .about-category-card {
    padding: 1.5rem;
  }

  .about-category-icon {
    width: 56px;
    height: 56px;
  }

  .about-category-img {
    width: 28px;
    height: 28px;
  }

  .about-category-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .about-category-arrow {
    align-self: flex-end;
  }

  .vm-card {
    padding: 1.5rem;
  }

  .vm-icon {
    width: 44px;
    height: 44px;
  }

  .about-modal-content {
    padding: 1.75rem 1.25rem 1rem;
    border-radius: var(--radius-md);
  }
}
.rif-wrapper {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  padding: 3.5rem 0 4rem;
  border-top: 1px solid #E2E8F0;
}
.rif-inner {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem 2.5rem 2.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05), 0 1px 4px rgba(15, 23, 42, 0.03);
  text-align: center;
}
.rif-section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0F172A;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
  margin-top: 0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.rif-title-icon {
  color: #0066FF;
  flex-shrink: 0;
}
.rif-section-sub {
  text-align: center;
  font-size: 0.88rem;
  color: #64748B;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.rif-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
}
.rif-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
.rif-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.rif-form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0F172A;
  margin: 0;
}
.rif-required {
  color: #ef4444;
}
.rif-form-field input,
.rif-form-field select,
.rif-form-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
  box-sizing: border-box;
}
.rif-form-field input:focus,
.rif-form-field select:focus,
.rif-form-field textarea:focus {
  border-color: #0066FF;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}
.rif-form-field input::placeholder,
.rif-form-field textarea::placeholder {
  color: #94A3B8;
}
.rif-form-field textarea {
  resize: none;
}
.rif-form-field select option {
  background-color: #ffffff;
  color: #0F172A;
}
.rif-full-width {
  grid-column: 1 / -1;
}
.rif-phone-input {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.4rem;
}
.rif-phone-input select {
  padding: 0.65rem 0.35rem;
  font-size: 0.82rem;
  text-align: center;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #ffffff;
  color: #0F172A;
  font-weight: 500;
  cursor: pointer;
}
.rif-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 220px;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 10px;
  background: #0066FF;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.3rem;
}
.rif-submit:hover:not(:disabled) {
  background: #0052CC;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.3);
}
.rif-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.rif-form-note {
  text-align: center;
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
}
.rif-success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.rif-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .rif-wrapper {
    padding: 2.5rem 0 3rem;
  }
  .rif-inner {
    padding: 1.5rem 1.25rem 1.8rem;
  }
  .rif-form-grid {
    grid-template-columns: 1fr;
  }
}.fresher-page {
  --f-primary: #0066FF;
  --f-primary-hover: #0052CC;
  --f-primary-light: #3B82F6;
  --f-primary-soft: rgba(0, 102, 255, 0.08);
  --f-secondary: #FF7A00;
  --f-secondary-soft: rgba(255, 122, 0, 0.1);
  --f-ink: #0F172A;
  --f-ink-soft: #1E293B;
  --f-muted: #64748B;
  --f-muted-light: #94A3B8;
  --f-bg: #FFFFFF;
  --f-bg-light: #F8FAFC;
  --f-rule: #E2E8F0;
  --f-rule-soft: #EDF2F7;
  --f-card: #FFFFFF;
  --f-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --f-shadow-md: 0 6px 16px rgba(15, 23, 42, 0.07);
  --f-shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.1);
  --f-shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.14);
  --f-ease: cubic-bezier(0.16, 1, 0.3, 1);

  background: var(--f-bg);
  color: var(--f-ink-soft);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.fresher-page * {
  box-sizing: border-box;
}

.fresher-page h1,
.fresher-page h2,
.fresher-page h3 {
  font-family: var(--font-heading);
  color: var(--f-ink);
  margin: 0;
  letter-spacing: 0.02em;
}

.fresher-mono {
  font-family: var(--font-mono);
}

.fresher-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fresher-eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--f-primary), var(--f-secondary));
  display: inline-block;
  border-radius: 2px;
}

.fresher-wrap {
  width: min(1024px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.fresher-section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.fresher-section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
}

.fresher-section-sub {
  margin-top: 0.85rem;
  color: var(--f-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.fresher-section-label-row {
  text-align: center;
  margin-bottom: 3.5rem;
}

.fresher-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--f-primary);
  margin-bottom: 1rem;
}

.fresher-section-pill::before,
.fresher-section-pill::after {
  content: '';
  width: 44px;
  height: 1px;
  background: var(--f-rule);
}

.fresher-section-label-row h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
}

.fresher-section-label-row .fresher-section-sub {
  max-width: 600px;
  margin: 0.85rem auto 0;
}

.fresher-section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--f-rule);
  position: relative;
}

.fresher-section:last-of-type {
  border-bottom: none;
}

.fresher-section-alt {
  background: var(--f-bg-light);
}

/* ---------- HERO ---------- */
.fresher-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--f-rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fresher-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/Hero%20image_01_GLP-BiDV__pR.jpg') center/cover no-repeat;
  z-index: 0;
}

.fresher-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 1;
}

.fresher-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  animation: fresher-hero-fade 0.7s var(--f-ease) both;
}

@keyframes fresher-hero-fade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fresher-eyebrow-light {
  color: rgba(255, 255, 255, 0.8);
}

.fresher-eyebrow-light::before {
  background: linear-gradient(90deg, var(--f-primary-light), var(--f-secondary));
}

.fresher-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.fresher-hero h1 .fresher-gradient-text {
  background: linear-gradient(90deg, #60A5FA 0%, #93C5FD 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fresherGradientShift 3s ease infinite;
}

@keyframes fresherGradientShift {
  0% {
    background: linear-gradient(90deg, #60A5FA 0%, #93C5FD 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
  100% {
    background: linear-gradient(90deg, #3B82F6 0%, #60A5FA 50%, #93C5FD 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.fresher-hero p.fresher-lead {
  color: #CBD5E1;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  max-width: 600px;
  margin: 0 0 1.75rem;
}

.fresher-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fresher-hero-fade 0.7s var(--f-ease) 0.15s both;
}

.fresher-btn-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.25s var(--f-ease);
}

.fresher-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--f-primary);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.24);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fresher-btn-primary:hover {
  background: var(--f-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.fresher-btn-primary:hover .fresher-btn-icon {
  transform: translateX(3px);
}

.fresher-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 0.95rem 1.7rem;
  border-radius: 6px;
  border: 1px solid var(--f-ink);
  background: transparent;
  color: var(--f-ink);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.fresher-btn-secondary:hover {
  border-color: var(--f-primary);
  color: var(--f-primary);
  background: var(--f-bg-light);
  transform: translateY(-2px);
}

.fresher-hero .fresher-btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.fresher-hero .fresher-btn-secondary:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero right card */
.fresher-hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fresher-hero-fade 0.7s var(--f-ease) 0.3s both;
}

.fresher-hero-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #FFFFFF;
  border: 1px solid var(--f-rule);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.fresher-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1D4ED8, #2563EB, #3B82F6);
}

.fresher-hero-card-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--f-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.25rem 1.25rem 0.35rem;
}

.fresher-hero-card-list {
  padding: 0.35rem 1.25rem 0.5rem;
}

.fresher-hero-card-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.fresher-hero-card-row + .fresher-hero-card-row {
  border-top: 1px solid #F1F5F9;
}

.fresher-hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--f-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fresher-hero-card-icon svg {
  width: 18px;
  height: 18px;
}

.fresher-hero-card-row div:last-child {
  display: flex;
  flex-direction: column;
}

.fresher-hero-card-row strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--f-ink);
  line-height: 1.3;
}

.fresher-hero-card-row span {
  font-size: 0.78rem;
  color: var(--f-muted);
  line-height: 1.4;
}

.fresher-hero-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.5rem 1.25rem 1.25rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--f-rule);
  background: var(--f-bg-light);
  color: var(--f-ink);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fresher-hero-card-cta:hover {
  border-color: var(--f-primary);
  color: var(--f-primary);
  background: rgba(0, 102, 255, 0.04);
}

.fresher-hero-card-cta svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.fresher-hero-card-cta:hover svg {
  transform: translateX(2px);
}

/* Hero stats row */
.fresher-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
  border: 1px solid var(--f-rule);
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.fresher-hero-stat {
  padding: 1.1rem 1rem;
  text-align: center;
}

.fresher-hero-stat + .fresher-hero-stat {
  border-left: 1px solid var(--f-rule);
}

.fresher-hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--f-ink);
  margin-bottom: 0.5rem;
}

.fresher-hero-stat span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--f-muted);
}

.fresher-btn-secondary:hover {
  border-color: var(--f-primary);
  color: var(--f-primary);
  background: var(--f-bg-light);
  transform: translateY(-2px);
  box-shadow: var(--f-shadow-md);
}

.fresher-btn-primary:focus-visible,
.fresher-btn-secondary:focus-visible {
  outline: 2px solid var(--f-primary);
  outline-offset: 3px;
}

/* ---------- PILLARS ---------- */
.fresher-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.fresher-pillar {
  background: var(--f-card);
  border: 1px solid var(--f-rule);
  border-radius: 12px;
  padding: 2rem 1.7rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--f-shadow-sm);
  transition: transform 0.3s var(--f-ease), box-shadow 0.3s var(--f-ease), border-color 0.3s var(--f-ease);
}

.fresher-pillar::before {
  display: none;
}

.fresher-pillar:hover {
  border-color: #CBD5E1;
  box-shadow: var(--f-shadow-lg);
  transform: translateY(-5px);
}

.fresher-pillar .fresher-idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--f-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--f-primary-soft);
}

.fresher-pillar h3 {
  font-size: 1.1rem;
  margin-top: 0.9rem;
  font-weight: 700;
}

.fresher-pillar p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--f-muted);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .fresher-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- TRACKS ---------- */
.fresher-track-card {
  padding: 1.6rem 1.5rem;
}

.fresher-track-card::before {
  display: none;
}

.fresher-track-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--f-shadow-md);
}

.fresher-track-card-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--f-primary);
  letter-spacing: 0.06em;
  background: var(--f-primary-soft);
  padding: 0.3rem 0.65rem;
  border-radius: 5px;
  margin-bottom: 0.75rem;
}

.fresher-track-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--f-ink);
  line-height: 1.3;
}

.fresher-track-card p {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--f-muted);
  line-height: 1.6;
}

.fresher-card .fresher-chip-row {
  margin-top: 1rem;
}

.fresher-card .fresher-chip {
  font-size: 0.68rem;
  padding: 0.3rem 0.55rem;
}

.fresher-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.fresher-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--f-primary);
  color: var(--f-primary);
  border-radius: 5px;
  background: var(--f-primary-soft);
  font-weight: 500;
  transition: background 0.2s ease;
}

.fresher-chip:hover {
  background: rgba(0, 102, 255, 0.12);
}

@media (max-width: 760px) {
  .fresher-track-detail {
    grid-template-columns: 1fr;
  }
  .fresher-track-index {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--f-rule);
    padding-top: 1.5rem;
  }
}

/* ---------- JOURNEY ---------- */
.fresher-journey {
  position: relative;
  padding-left: 2.8rem;
}

.fresher-journey::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--f-primary) 0 5px,
    transparent 5px 10px
  );
  border-radius: 1px;
}

.fresher-journey-step {
  position: relative;
  padding-bottom: 2.8rem;
}

.fresher-journey-step:last-child {
  padding-bottom: 0;
}

.fresher-journey-step::before {
  content: '';
  position: absolute;
  left: -2.8rem;
  top: 4px;
  width: 22px;
  height: 22px;
  background: var(--f-bg);
  border: 2px solid var(--f-primary);
  border-radius: 50%;
  transition: box-shadow 0.3s ease;
}

.fresher-journey-step:hover::before {
  box-shadow: 0 0 0 5px var(--f-primary-soft);
}

.fresher-journey-step .fresher-tick {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--f-primary);
  position: absolute;
  left: -2.7rem;
  top: 0.4rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fresher-journey-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.fresher-journey-step:hover h3 {
  color: var(--f-primary);
}

.fresher-journey-step p {
  margin-top: 0.4rem;
  color: var(--f-muted);
  font-size: 0.95rem;
  max-width: 540px;
  line-height: 1.7;
}

/* ---------- CHECKLISTS ---------- */
.fresher-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2.5rem;
}

.fresher-checklist li {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--f-ink-soft);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--f-rule);
  transition: color 0.15s ease, padding-left 0.2s ease;
}

.fresher-checklist li:hover {
  color: var(--f-ink);
  padding-left: 0.3rem;
}

.fresher-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background-color: var(--f-primary-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230066FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3.5,8.5 6.5,11.5 12.5,4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

@media (max-width: 700px) {
  .fresher-checklist {
    grid-template-columns: 1fr;
  }
}

/* ---------- CARD GRIDS ---------- */
.fresher-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.fresher-card {
  border: 1px solid var(--f-rule);
  border-radius: 12px;
  background: var(--f-card);
  padding: 1.8rem;
  box-shadow: var(--f-shadow-sm);
  transition: transform 0.3s var(--f-ease), box-shadow 0.3s var(--f-ease), border-color 0.3s var(--f-ease);
  position: relative;
  overflow: hidden;
}

.fresher-card::before {
  display: none;
}

.fresher-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--f-shadow-lg);
  transform: translateY(-5px);
}

.fresher-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.fresher-card p {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--f-muted);
  line-height: 1.6;
}

.fresher-card-grid.fresher-four {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .fresher-card-grid.fresher-four {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .fresher-card-grid.fresher-four {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .fresher-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- ASSESSMENT SCORECARD ---------- */
.fresher-scorecard {
  border: 1px solid var(--f-rule);
  border-radius: 12px;
  background: var(--f-card);
  overflow: hidden;
  box-shadow: var(--f-shadow-sm);
}

.fresher-scorecard-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--f-rule);
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: background 0.2s ease, border-left-color 0.2s ease, padding-left 0.2s ease;
}

.fresher-scorecard-row:last-child {
  border-bottom: none;
}

.fresher-scorecard-row:hover {
  background: var(--f-bg-light);
  border-left-color: var(--f-secondary);
  padding-left: 1.75rem;
}

.fresher-scorecard-row .fresher-n {
  font-family: var(--font-mono);
  color: var(--f-primary);
  font-size: 0.78rem;
  font-weight: 600;
  width: 2rem;
}

/* ---------- ARCHITECTURE TABLE ---------- */
.fresher-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--f-rule);
  border-radius: 12px;
  box-shadow: var(--f-shadow-sm);
}

table.fresher-arch {
  width: 100%;
  border-collapse: collapse;
  background: var(--f-card);
}

table.fresher-arch th,
table.fresher-arch td {
  text-align: left;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--f-rule);
  font-size: 0.92rem;
}

table.fresher-arch th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--f-muted);
  font-weight: 600;
  border-bottom: 2px solid var(--f-primary);
  background: var(--f-bg-light);
  position: sticky;
  top: 0;
}

table.fresher-arch td:first-child {
  font-family: var(--font-heading);
  color: var(--f-ink);
  font-weight: 700;
}

table.fresher-arch tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.015);
}

table.fresher-arch tr {
  transition: background 0.15s ease;
}

table.fresher-arch tr:hover td {
  background: var(--f-primary-soft);
}

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

@media (max-width: 640px) {
  .fresher-table-scroll {
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow-x: visible;
  }

  table.fresher-arch {
    display: block;
  }

  table.fresher-arch thead {
    display: none;
  }

  table.fresher-arch tbody {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.25rem;
  }

  table.fresher-arch tr {
    display: flex;
    flex-direction: column;
    background: var(--f-card);
    border: 1px solid var(--f-rule);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: var(--f-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  table.fresher-arch tr:hover {
    transform: translateY(-2px);
    box-shadow: var(--f-shadow-md);
  }

  table.fresher-arch tr:hover td {
    background: transparent;
  }

  table.fresher-arch tbody tr:nth-child(even) {
    background: var(--f-card);
  }

  table.fresher-arch td {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: none;
    font-size: 0.85rem;
    line-height: 1.5;
  }

  table.fresher-arch td:last-child {
    border-bottom: none;
  }

  table.fresher-arch td:first-child {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--f-primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--f-rule-soft);
    margin-bottom: 0.25rem;
  }

  table.fresher-arch td:nth-child(2)::before {
    content: 'Focus: ';
    font-weight: 600;
    color: var(--f-ink);
    font-size: 0.8rem;
  }

  table.fresher-arch td:nth-child(3)::before {
    content: 'Outcomes: ';
    font-weight: 600;
    color: var(--f-ink);
    font-size: 0.8rem;
  }

  table.fresher-arch td:nth-child(2),
  table.fresher-arch td:nth-child(3) {
    color: var(--f-muted);
  }
}

/* ---------- FAQ ---------- */
.fresher-faq-item {
  border-bottom: 1px solid var(--f-rule);
}

.fresher-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--f-ink);
  font-weight: 600;
  transition: color 0.15s ease;
}

.fresher-faq-q:hover {
  color: var(--f-primary);
}

.fresher-faq-q .fresher-mark {
  font-family: var(--font-mono);
  color: var(--f-primary);
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--f-primary-soft);
  transition: transform 0.25s var(--f-ease), background 0.25s ease;
}

.fresher-faq-q:hover .fresher-mark {
  background: rgba(0, 102, 255, 0.14);
  transform: rotate(90deg);
}

.fresher-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--f-ease);
}

.fresher-faq-a-inner {
  padding-bottom: 1.3rem;
  color: var(--f-muted);
  font-size: 0.95rem;
  max-width: 640px;
  line-height: 1.7;
}

.fresher-faq-a.open {
  max-height: 240px;
}

/* ---------- FINAL CTA ---------- */
.fresher-final {
  background: linear-gradient(145deg, #0F172A 0%, #1E3A8A 50%, #1E40AF 100%);
  border-bottom: none;
  color: #FFFFFF;
  text-align: center;
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}

.fresher-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 122, 0, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.fresher-final::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 85%);
  pointer-events: none;
}

.fresher-final .fresher-wrap {
  position: relative;
}

.fresher-final .fresher-eyebrow {
  color: rgba(255, 255, 255, 0.7);
  justify-content: center;
}

.fresher-final .fresher-eyebrow::before {
  background: linear-gradient(90deg, var(--f-primary-light), var(--f-secondary));
}

.fresher-final h2 {
  color: #FFFFFF;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  max-width: 700px;
  margin: 0 auto;
}

.fresher-final p {
  color: #B9C0D4;
  margin-top: 1.2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.fresher-final .fresher-hero-ctas {
  justify-content: center;
  margin-top: 2.5rem;
}

.fresher-final .fresher-btn-secondary {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.fresher-final .fresher-btn-secondary:hover {
  background: #FFFFFF;
  color: var(--f-ink);
  border-color: #FFFFFF;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .fresher-section {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  .fresher-hero {
    padding: 3rem 0 2rem;
  }

  .fresher-hero h1 {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .fresher-hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .fresher-btn-primary,
  .fresher-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .fresher-section {
    padding: 4rem 0;
  }

  .fresher-final {
    padding: 4rem 0;
  }
}

@media (max-width: 640px) {
  .fresher-hero {
    padding: 2.5rem 0 1.5rem;
  }

  .fresher-hero-stats {
    grid-template-columns: 1fr;
  }

  .fresher-hero-stat + .fresher-hero-stat {
    border-left: none;
    border-top: 1px solid var(--f-rule);
  }
}

@media (max-width: 480px) {
  .fresher-track-tabs {
    gap: 0.35rem;
  }

  .fresher-track-tab {
    font-size: 0.68rem;
    padding: 0.45rem 0.7rem;
  }
}

/* ---------- MODAL ---------- */
.fresher-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fresherModalFade 0.2s ease;
}

.fresher-modal-content {
  position: relative;
  width: min(100%, 520px);
  max-height: 90vh;
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3);
  padding: 2.25rem 2rem 1.5rem;
  animation: fresherModalPop 0.25s ease;
}

.fresher-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--f-rule);
  background: #f8fafc;
  color: var(--f-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.fresher-modal-close:hover {
  border-color: #bfdbfe;
  color: #0066ff;
  background: #eff6ff;
}

.fresher-modal-content .cf-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

@keyframes fresherModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fresherModalPop {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fresher-page * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}