:root {
  --primary-color: #0066FF;
  --secondary-color: #FF7A00;
  --text-dark: #0F172A;
  --text-medium: #1E293B;
  --text-gray: #64748B;
  --text-light: #94A3B8;
  --text-lighter: #CBD5E1;
  --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: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  letter-spacing: 0.3px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

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

button, input, select, textarea {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Typography - Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  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-medium);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

small {
  color: var(--text-gray);
  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: hidden !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: hidden !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: hidden !important;
}

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

section {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
.courses-container {
  min-height: 100vh;
  background-color: #F8FAFC;
  padding: 2rem 5% 5rem;
}

.courses-carousel {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.carousel-slide-container.active {
  opacity: 1;
}

.carousel-content-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.95) 0%, rgba(0, 51, 153, 0.95) 100%);
  display: flex;
  align-items: center;
  padding: 2rem;
  z-index: 10;
}

.carousel-text {
  color: white;
  width: 100%;
}

.carousel-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: white;
}

.carousel-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.carousel-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.3);
}

.courses-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ── Sidebar ── */
.category-sidebar {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  padding: 1rem 0;
  position: sticky;
  top: 100px;
}

.sidebar-header {
  padding: 0 1.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.category-item-main {
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  margin: 0.2rem 0.75rem;
}

.category-item-main::before {
  content: '✦';
  font-size: 0.65rem;
  color: #0066FF;
  opacity: 0.5;
  flex-shrink: 0;
}

.category-item-main:hover {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #0066FF;
}

.category-item-main:hover::before {
  opacity: 1;
}

.category-item-main.active {
  background: #FFFFFF;
  color: #0066FF;
  font-weight: 600;
  border-color: #0066FF;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.category-item-main.active::before {
  color: #0066FF;
  opacity: 1;
}

.sidebar-section {
  margin-top: 0.1rem;
}

.section-header-clickable {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.7rem 1.25rem;
  transition: background 0.2s;
}

.section-header-clickable:hover {
  background: #F1F5F9;
}

.section-header-clickable.expanded {
  background: #F8FAFC;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
}

.section-header-clickable.expanded .section-label {
  color: #0066FF;
  font-weight: 600;
}

.dropdown-arrow {
  transition: transform 0.3s;
  color: #94A3B8;
  font-size: 0.9rem;
}

.section-header-clickable.expanded .dropdown-arrow {
  transform: rotate(180deg);
  color: #0066FF;
}

.section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.section-content.show {
  max-height: 500px;
  opacity: 1;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  color: #475569;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  margin: 0.2rem 0.75rem;
}

.category-item::before {
  content: '✦';
  font-size: 0.6rem;
  color: #0066FF;
  opacity: 0.4;
  flex-shrink: 0;
}

.category-item:hover {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #0066FF;
}

.category-item:hover::before {
  opacity: 1;
}

.category-item.active {
  background: #FFFFFF;
  color: #0066FF;
  font-weight: 500;
  border-color: #0066FF;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.category-item.active::before {
  color: #0066FF;
  opacity: 1;
}

.item-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-name {
  font-size: 0.875rem;
  color: inherit;
  line-height: 1.5;
}

/* ── Courses Header ── */
.courses-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E2E8F0;
}

.courses-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 0.5rem;
  letter-spacing: -0.5px;
}

.courses-subtitle {
  font-size: 1rem;
  color: #475569;
  margin: 0;
  font-weight: 400;
  max-width: 700px;
  line-height: 1.5;
}

/* ── Course Grid & Cards ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.course-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease-in-out;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', 'Roboto', sans-serif;
}

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

/* Image Area */
.course-image {
  position: relative;
  height: 185px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.04);
}

.course-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.55) 0%, transparent 55%);
}

.institution-tag {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(255,255,255,0.96);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1E293B;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.course-category-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent !important;
  border: 1.5px solid #0066FF;
  color: #0066FF;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: all 0.3s ease;
}

.course-category-badge:hover {
  background: #0066FF !important;
  color: white;
}

/* Card Body */
.course-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.course-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 1.2rem 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}

/* Meta Row */
.card-meta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid #f1f5f9;
}

.card-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

.card-meta-chip.program {
  background: #f8fafc;
  color: #334155;
  border: 1.5px solid #d4dce4;
  transition: all 0.2s ease;
}

.card-meta-chip.topics {
  background: #f8fafc;
  color: #334155;
  border: 1.5px solid #d4dce4;
  transition: all 0.2s ease;
}

.course-card:hover .card-meta-chip {
  border-color: #0066FF;
  background: #f0f9ff;
}

.card-meta-chip svg {
  flex-shrink: 0;
}

/* CTA */
.view-program-link {
  margin-top: auto;
  text-decoration: none;
  display: block;
}

.btn-view-program {
  width: 100%;
  padding: 0.8rem 1rem;
  background: transparent;
  border: 2px solid #0066FF;
  color: #0066FF;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-view-program svg {
  transition: transform 0.3s ease;
}

.btn-view-program:hover {
  background: #0066FF;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.btn-view-program:hover svg {
  transform: translateX(4px);
}

.btn-view-program:hover svg {
  transform: translateX(4px);
}

.course-card-details {
  margin-bottom: 0;
}

.detail-item {
  display: flex;
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
}

.detail-label {
  color: #64748B;
  font-weight: 500;
}

.detail-value {
  color: #334155;
  font-weight: 400;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 0;
  color: #64748B;
}

.no-results h3 {
  color: #0F172A;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.no-results p {
  font-size: 0.95rem;
  color: #64748B;
}

/* ── Mobile Search ── */
.mobile-search-section {
  display: none;
  width: 100%;
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
}

.mobile-search-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  gap: 0.6rem;
}

.mobile-search-bar:focus-within {
  border-color: #0066FF;
}

.mobile-search-bar svg {
  color: #94A3B8;
  flex-shrink: 0;
}

.mobile-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  color: #1E293B;
  padding: 0;
}

.mobile-search-input::placeholder {
  color: #CBD5E1;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .courses-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .category-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 0.5rem;
    gap: 0.5rem;
    border-radius: 10px;
  }

  .sidebar-header {
    display: none;
  }

  .sidebar-section {
    flex-shrink: 0;
  }

  .category-item {
    padding: 0.6rem 1rem;
    white-space: nowrap;
  }

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

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

  .courses-title {
    font-size: 1.75rem;
  }

  .courses-subtitle {
    font-size: 0.9rem;
  }

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

@media (max-width: 640px) {
  .courses-container {
    padding: 0.5rem 3% 2.5rem;
  }

  .courses-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

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

  .courses-subtitle {
    font-size: 0.85rem;
  }

  .mobile-search-section {
    display: block;
    padding: 1rem 0 0.5rem;
    margin-bottom: 1rem;
  }

  .courses-carousel {
    display: none;
  }

  .category-sidebar {
    display: none;
  }

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

@media (max-width: 480px) {
  .courses-container {
    padding: 0.5rem 3% 2rem;
  }

  .course-image {
    height: 160px;
  }

  .course-card-title {
    font-size: 0.95rem;
  }
}
.course-details-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 5%;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  color: #1a1a1a;
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
}

/* Breadcrumb */
.top-breadcrumb {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.top-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.top-breadcrumb a:hover {
  color: #0066FF;
}

/* Secondary Nav */
.secondary-nav {
  position: sticky;
  top: 4rem;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  margin: 0 -5% 2.5rem -5%;
  padding: 0 5%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav-link {
  padding: 0.6rem 0;
  font-weight: 500;
  font-size: 0.9rem;
  color: #475569;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #0f172a;
}

.nav-link.active {
  color: #0066FF;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #0066FF;
  border-radius: 3px 3px 0 0;
}

/* Grids */
.hero-video-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: center;
}

.about-form-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

.single-column-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 4rem;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.institution-badge {
  background: #0066FF;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.8rem;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.star-group {
  display: flex;
  gap: 2px;
}

.star-icon {
  width: 18px;
  height: 18px;
  fill: #0066FF;
}

.rating-text {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 400;
}

.info-callout {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #0066FF;
}

.callout-line {
  width: 4px;
  background: #0066FF;
  border-radius: 2px;
}

.info-callout p {
  font-size: 1rem;
  font-weight: 400;
  color: #1e293b;
  line-height: 1.6;
}

.hero-desc {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
}

.collab-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #334155;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-primary {
  background: #0066FF;
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
  background: #0052CC;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
  background: white;
  color: #0066FF;
  border: 2px solid #0066FF;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

/* About Section */
.about-program {
  margin-top: 4rem;
}

.section-header {
  margin-bottom: 2.2rem;
  position: relative;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #0066FF 0%, rgba(0, 102, 255, 0.4) 100%);
  border-radius: 3px;
  margin-bottom: 1.5rem;
  transition: width 0.3s ease;
}

.about-text {
  font-size: 1rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 400;
}

.read-more {
  background: none;
  border: none;
  color: #0066FF;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin-bottom: 3rem;
}

.highlights-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.highlights-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  row-gap: 0.6rem;
}

.highlights-grid .highlight-item {
  padding: 0.75rem 0.5rem;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.highlights-grid .highlight-item:hover {
  border-left-color: #0066FF;
  padding-left: 1rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
}

.check-circle {
  width: 24px;
  height: 24px;
  background: #f0f4ff;
  border: 2px solid #0066FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0px;
  transition: all 0.3s ease;
}

.check-circle svg {
  width: 14px;
  height: 14px;
  color: #0066FF;
  stroke-width: 3;
}

.highlight-item:hover .check-circle {
  background: #0066FF;
  transform: scale(1.1);
}

.highlight-item:hover .check-circle svg {
  color: white;
}

.highlight-item span {
  font-size: 0.95rem;
  font-weight: 400;
  color: #334155;
  line-height: 1.6;
}

/* Side Content */
.video-side, .form-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.form-side {
  max-width: 500px;
  margin: 0 auto;
}

.image-preview-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8fafc;
}

.hero-static-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-preview-container:hover .hero-static-image {
  transform: scale(1.02);
}

/* Counselling Form */
.counselling-form-card {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.counselling-form-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.counselling-form-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
  text-align: center;
  color: #0f172a;
}

.counselling-form-card p {
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 0.8rem;
  font-weight: 400;
}

.counselling-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.counselling-form input, 
.counselling-form select, 
.counselling-form textarea {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  color: #1a1a1a;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

.counselling-form input::placeholder, 
.counselling-form select, 
.counselling-form textarea::placeholder {
  color: #94a3b8;
}

.counselling-form input:focus, 
.counselling-form select:focus,
.counselling-form textarea:focus {
  background: #ffffff;
  border-color: #0066FF;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.phone-input {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.8rem;
}

.counselling-form textarea {
  height: 70px;
  resize: none;
  font-family: 'Roboto', sans-serif;
}

.form-submit {
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%) !important;
  color: white !important;
  border: none !important;
  padding: 0.7rem 0.9rem !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin-top: 0.2rem !important;
  width: 100% !important;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2) !important;
}

.form-submit:hover {
  background: linear-gradient(135deg, #0052CC 0%, #003d99 100%) !important;
  color: white !important;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.3) !important;
  transform: translateY(-2px) !important;
}

.form-submit:active {
  transform: translateY(0) !important;
}

.success-message {
  background: #f0fdf4;
  color: #166534;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 4px solid #22c55e;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.error-message {
  background: #fef2f2;
  color: #991b1b;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 4px solid #ef4444;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.no-data-message {
  color: #94a3b8;
  font-style: italic;
  padding: 2rem 0;
  text-align: center;
  font-size: 1rem;
}

.content-section {
  scroll-margin-top: 120px;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.content-section:nth-of-type(2) {
  padding-top: 1rem;
}

.content-section:last-of-type {
  border-bottom: none;
}

/* Overview Section Two-Column Layout */
.overview-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
}

.overview-content {
  flex: 1;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
}

/* Overview Content Enhancement */
.course-info-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.info-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.info-description {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.info-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #cbd5e1;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.meta-chip.institution,
.meta-chip.category,
.meta-chip.program,
.meta-chip.topics {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.meta-chip svg {
  flex-shrink: 0;
}

.overview-details-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.details-heading {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.learning-outcomes-section {
  padding-top: 1rem;
}

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

.check-icon-wrapper {
  width: 24px;
  height: 24px;
  background: #0066FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon-wrapper svg {
  width: 14px;
  height: 14px;
}

.outcome-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
  font-weight: 500;
}

.overview-sentences {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.overview-sentences .about-text {
  margin: 0;
  padding: 0;
  font-size: 1.02rem;
  line-height: 1.8;
}

.overview-form {
  position: sticky;
  top: 64px;
  flex-shrink: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overview-form .counselling-form-card {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.12);
  margin: 0;
  padding: 1.4rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.success-message {
  background: #f0fdf4;
  color: #166534;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 4px solid #22c55e;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.error-message {
  background: #fef2f2;
  color: #991b1b;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 4px solid #ef4444;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Learning Outcome Cards */
.learning-outcome-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 1.2rem 1.5rem !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
}

.learning-outcome-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04) !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-2px) !important;
}

/* Audience Cards */
.audience-card {
  transition: all 0.3s ease;
}

.audience-card:hover {
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.12);
  border-color: #0066FF;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .hero-video-grid, .about-form-grid {
    grid-template-columns: 1fr;
  }
  
  .video-side {
    order: -1;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .course-details-wrapper {
    padding: 1rem 3%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .action-buttons {
    gap: 0.75rem;
  }

  .overview-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .overview-form {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .course-details-wrapper {
    padding: 0.75rem 2%;
  }

  .top-breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }

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

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

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

  .highlight-item {
    padding: 1rem;
  }

  .action-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.85rem;
  }

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

  .content-main {
    order: -1;
  }

  .overview-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .overview-form {
    position: relative;
    top: auto;
    margin-top: 2rem;
  }

  .content-sidebar {
    width: 100%;
  }

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

  .lessons-list {
    gap: 0.75rem;
  }

  .lesson-item {
    padding: 0.85rem;
  }
}

@media (max-width: 640px) {
  .course-details-wrapper {
    padding: 0.5rem 1.5%;
  }

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

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

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-description {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .action-buttons {
    flex-direction: column;
    gap: 0.6rem;
  }

  .btn-primary, .btn-secondary {
    padding: 0.75rem;
    font-size: 0.85rem;
  }

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

  .lessons-list {
    gap: 0.5rem;
  }

  .lesson-item {
    padding: 0.7rem;
    font-size: 0.85rem;
  }

  .instructors-grid {
    grid-template-columns: 1fr;
  }

  .instructor-card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .course-details-wrapper {
    padding: 0.5rem 1%;
  }

  .top-breadcrumb {
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: 1.25rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .hero-description {
    font-size: 0.8rem;
  }

  .btn-primary, .btn-secondary {
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }

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

  .lesson-item {
    font-size: 0.8rem;
  }
}

.profile-dashboard-wrapper {
  display: flex;
  min-height: calc(100vh - 70px);
  background-color: #f1f5f9;
  font-family: 'Roboto', sans-serif;
}

/* 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: #F1F5F9;
  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;
  }

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

  .auth-image-side {
    display: none; /* Hide image on smaller screens */
  }

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

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

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

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

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

  .social-logins {
    gap: 1rem;
  }

  .social-btn {
    width: 65px;
    height: 45px;
  }

  .phone-modal {
    width: 90%;
    max-width: 500px;
  }
}

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

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

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

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

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

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

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

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

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

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

  .social-logins {
    gap: 0.75rem;
  }

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

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

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

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

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

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

  .login-card {
    padding: 1.25rem;
  }

  .login-subtitle {
    font-size: 1.1rem;
  }

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

  .social-btn {
    width: 50px;
    height: 36px;
  }
}
.auth-layout {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F1F5F9;
  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;
  font-family: 'Roboto', sans-serif;
}

.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-container {
  min-height: 100vh;
  background-color: #FAFAFA;
  font-family: 'Roboto', sans-serif;
  color: #1a1a1a;
  overflow-x: hidden;
}

/* Hero Section */
.corporate-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 5% 3rem;
  background: linear-gradient(135deg, #001A33 0%, #004D77 100%);
  color: white;
  min-height: 400px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
  color: #00AEEF;
}

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: #E2E8F0;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.btn-primary {
  background-color: #F97316;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
  background-color: #EA580C;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  padding: 1rem 2rem;
  border: 2px solid white;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-left: 4rem;
}

.hero-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Trusted By */
.trusted-by {
  padding: 1.5rem 5%;
  background-color: white;
  text-align: center;
  border-bottom: 1px solid #E2E8F0;
}

.trusted-by p {
  font-size: 1.1rem;
  color: #64748B;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.company-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.company-logos span {
  font-size: 1.5rem;
  font-weight: 800;
  color: #94A3B8;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
}

.company-logos span:hover {
  filter: grayscale(0%);
  opacity: 1;
  color: #004D77;
}

/* Why Choose Us */
.why-choose-us {
  padding: 5rem 5%;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 2.5rem;
  color: #0F172A;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-card .icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  color: #1E293B;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #64748B;
  line-height: 1.6;
}

/* Popular Programs */
.popular-programs {
  padding: 3.5rem 5% 3.5rem;
  background-color: #F1F5F9;
}

.popular-programs h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #0F172A;
  margin-bottom: 3rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.program-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.program-info {
  padding: 1.5rem;
}

.program-info h3 {
  font-size: 1.2rem;
  color: #1E293B;
  margin-bottom: 0.75rem;
}

.program-info p {
  color: #64748B;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Contact Section */
.corporate-contact {
  padding: 4rem 5%;
  background-color: white;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
}

.contact-text {
  flex: 1;
}

.contact-text h2 {
  font-size: 2.5rem;
  color: #0F172A;
  margin-bottom: 1.5rem;
}

.contact-text > p {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 3rem;
}

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

.stat h4 {
  font-size: 2.5rem;
  color: #00AEEF;
  margin-bottom: 0.5rem;
}

.stat p {
  font-size: 1rem;
  color: #64748B;
  font-weight: 500;
}

.contact-form-container {
  flex: 1;
  color: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border: 1px solid #E2E8F0;
}

.contact-form-container h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;

}

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

.corporate-form input,
.corporate-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
  box-sizing: border-box;
}

.corporate-form input:focus,
.corporate-form textarea:focus {
  outline: none;
  border-color: #0066FF;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background-color: #0066FF;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-submit:hover {
  background-color: #0052cc;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .corporate-hero {
    flex-direction: column;
    text-align: center;
    padding-top: 2rem;
  }
  
  .hero-content {
    margin-bottom: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    padding-left: 0;
  }
  
  .contact-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .contact-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-form-container {
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
  }
}
.counselling-form-card {
  background: #ffffff;
  color: #333333;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  box-sizing: border-box;
}

/* Light theme for popup modals */
.modal-content .counselling-form-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #1e293b;
  box-shadow: none;
  padding: 0;
  border: none;
  outline: none;
}

.modal-content .counselling-form-card h3 {
  color: #1e293b;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-content .counselling-form-card p {
  color: #64748b;
  font-size: 0.95rem;
}

.counselling-form-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #333333;
}

.counselling-form-card p {
  font-size: 0.9rem;
  color: #666666;
  text-align: center;
  margin-bottom: 2rem;
}

.counselling-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.counselling-form input, 
.counselling-form select, 
.counselling-form textarea {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: #333333;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

/* Light theme inputs for modal */
.modal-content .counselling-form input,
.modal-content .counselling-form select,
.modal-content .counselling-form textarea {
  background: rgba(15, 23, 42, 0.04);
  border: 1.5px solid rgba(102, 126, 234, 0.2);
  color: #1e293b;
}

.modal-content .counselling-form input::placeholder,
.modal-content .counselling-form textarea::placeholder {
  color: #94a3b8;
}

.counselling-form input:focus, 
.counselling-form select:focus,
.counselling-form textarea:focus {
  background: #ffffff;
  border-color: #999999;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.modal-content .counselling-form input:focus,
.modal-content .counselling-form select:focus,
.modal-content .counselling-form textarea:focus {
  background: rgba(15, 23, 42, 0.06);
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Fix dropdown options color */
.counselling-form select option {
  background-color: #ffffff;
  color: #333333;
}

.modal-content .counselling-form select option {
  background-color: white;
  color: #1e293b;
}

.phone-input {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.75rem;
}

.counselling-form textarea {
  height: 100px;
  resize: none;
}

.form-submit {
  background: #cccccc;
  color: #333333;
  border: none;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
  width: 100%;
}

.modal-content .form-submit {
  background: #cccccc;
  color: #333333;
  padding: 1.1rem;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-submit:hover:not(:disabled) {
  background: #bbbbbb;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.modal-content .form-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.form-submit:disabled {
  background: #94A3B8;
  cursor: not-allowed;
  box-shadow: none;
}

.success-message {
  background: #dcfce7;
  color: #166534;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border-left: 4px solid #22c55e;
}

.error-message {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border-left: 4px solid #ef4444;
}
/* ── Base ── */
.hire-page {
  font-family: 'Roboto', sans-serif;
  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: 480px) {
  .why-grid   { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
}
.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;
  }
}
.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;
  }
}
.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-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;
  }
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 3%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-family: 'Roboto', sans-serif;
  transition: all 0.3s ease;
  gap: 1rem;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.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: 55px;
  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,
.corporate-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,
.corporate-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;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #F1F5F9;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid #E2E8F0;
  width: 250px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 1rem;
  margin-right: auto;
}

.search-bar.large {
  width: auto;
  max-width: 320px;
  flex: 0 1 auto;
}

.search-bar input {
  field-sizing: content;
  min-width: 150px;
  border: none;
  background: transparent;
  outline: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 0.9rem;
  color: #1e293b;
}

.search-bar:focus-within {
  border-color: #0066FF;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}



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

.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: transparent !important;
  color: #0066FF !important;
  padding: 0.4rem 1.2rem !important;
  border: 1px solid #0066FF !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.header-login-btn:hover {
  background-color: transparent !important;
  color: #0052cc !important;
  border-color: #0052cc !important;
  box-shadow: none !important;
}

.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 #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: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  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);
  }
}

/* ========== ALL COURSES MEGA MENU ========== */

.all-courses-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 0;
  margin-left: 2rem;
}

/* Invisible bridge to prevent hover loss between button and mega menu */
.all-courses-container::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -200px;
  height: 25px;
  background: transparent;
  z-index: 10;
}

.all-courses-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #0066FF;
  color: white;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.all-courses-btn:hover {
  background-color: #0052cc;
  color: white;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: -20px;
  width: 900px;
  max-width: 90vw;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  animation: megaMenuSlideIn 0.3s ease-out forwards;
  cursor: default;
  z-index: 100;
}

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

.mega-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.mega-menu-sidebar {
  width: 35%;
  background-color: #F8FAFC;
  padding: 1.5rem 0;
  border-right: 1px solid #E2E8F0;
}

.mega-category-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font-family: inherit;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.2s;
}

.mega-category-item:focus {
  outline: none;
}

.mega-category-item:hover {
  background-color: #F1F5F9;
  color: #0066FF;
}

.mega-category-item.active {
  background-color: #EFF6FF;
  color: #0066FF;
  font-weight: 700;
  border-right: 4px solid #0066FF;
}

.mega-menu-content {
  width: 65%;
  padding: 2rem;
  background-color: white;
}

.mega-content-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.mega-content-subtitle {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 1.5rem;
}

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

.mega-course-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mega-course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mega-course-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.mega-course-info {
  padding: 1rem;
}

.mega-course-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.mega-course-info p {
  font-size: 0.75rem;
  color: #64748B;
}

@media (max-width: 900px) {
  .all-courses-container {
    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: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #1a1a1a;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.mobile-menu-btn:hover {
  color: #0066FF;
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #E2E8F0;
  overflow: hidden;
  min-width: 200px;
  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;
}

/* ========== MORE MENU ========== */

.more-menu-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 0;
}

.more-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  color: #1E293B;
  padding: 0.65rem 1.2rem;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.more-btn:hover {
  background-color: #F8FAFC;
  border-color: #0066FF;
  color: #0066FF;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
}

.more-menu-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #E2E8F0;
  overflow: hidden;
  animation: slideIn 0.2s ease-out;
  z-index: 999;
}

.more-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
  color: #1E293B;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid #F1F5F9;
  transition: all 0.3s ease;
}

.more-menu-item:last-child {
  border-bottom: none;
}

.more-menu-item:hover {
  background: #F8FAFC;
  color: #0066FF;
  padding-left: 2rem;
}

.more-menu-item svg {
  color: #0066FF;
  flex-shrink: 0;
}

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

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .header {
    padding: 0.65rem 2%;
    gap: 1.5rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .search-bar.large {
    max-width: 280px;
  }
}

@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;
  }

  .search-bar {
    width: 140px;
    padding: 0.4rem 0.7rem;
    margin-left: 0.75rem;
  }

  .search-bar input {
    font-size: 0.8rem;
    min-width: 100px;
  }

  .search-bar.large {
    width: auto;
    max-width: 180px;
    margin-left: 0.5rem;
  }

  .all-courses-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .btn-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }

  .avatar {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }

  .corporate-link {
    font-size: 0.9rem;
  }
}

@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;
  }

  .corporate-link {
    display: none;
  }

  .header-right {
    gap: 0.5rem;
    flex-shrink: 0;
    position: relative;
  }

  .search-bar {
    display: none;
  }

  .search-bar.large {
    display: none;
  }

  .all-courses-container {
    display: none;
  }

  .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 i {
  color: var(--primary-color);
  margin-top: 4px;
}

.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: 1.75rem 2%;
  }

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

  .footer-brand .logo {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .brand-description {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

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

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .footer-links h4 {
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding-top: 1.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 1.5rem 1.5% 1.25rem;
  }

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

  .footer-brand .logo {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .brand-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .social-links {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }

  .social-icon {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }

  .footer-links h3,
  .footer-contact h3 {
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
    color: #1E293B;
  }

  .footer-links {
    margin-bottom: 1rem;
  }

  .footer-links li {
    margin-bottom: 0.6rem;
  }

  .footer-links a {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #64748B;
  }

  .footer-contact i {
    margin-top: 2px;
    min-width: 16px;
  }

  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.75rem;
  }
}

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1rem;
  }

  .footer-brand .logo {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .brand-description {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .social-links {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .social-icon {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
  }

  .footer-links h3,
  .footer-contact h3 {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  .footer-links li {
    margin-bottom: 0.5rem;
  }

  .footer-links a {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .footer-contact .contact-item {
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
  }

  .footer-bottom {
    padding-top: 0.75rem;
    font-size: 0.7rem;
  }
}
.floating-contact-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: transparent;
  color: #0066FF;
  border: 2px solid #0066FF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2), 0 0 20px rgba(0, 102, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999;
  font-size: 1.5rem;
}

.floating-contact-btn:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.3), 0 0 30px rgba(0, 102, 255, 0.2);
  background: rgba(0, 102, 255, 0.05);
}

.floating-contact-btn:active {
  transform: scale(0.9);
}

.floating-contact-btn svg {
  width: 28px;
  height: 28px;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.4s ease;
}

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

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 25px;
  padding: 2.5rem;
  max-width: 480px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35), 
              0 0 40px rgba(102, 126, 234, 0.1);
  border: none;
  outline: none;
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(102, 126, 234, 0.05);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #764ba2 0%, #667eea 100%);
}

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

.modal-close-btn {
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(102, 126, 234, 0.1);
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #667eea;
  transition: all 0.3s ease;
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.modal-close-btn:hover {
  background: rgba(102, 126, 234, 0.2);
  color: #764ba2;
  transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-contact-btn {
    width: 55px;
    height: 55px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .modal-content {
    padding: 2rem;
    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: 24px;
    height: 24px;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
    border-radius: 20px;
  }

  .modal-close-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .modal-content .counselling-form-card h3 {
    font-size: 1.3rem;
  }

  .modal-content .counselling-form-card p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .counselling-form {
    gap: 1rem;
  }
}
.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);
  }
}
