/* =============================================
   EDUYOGI - Global Design System
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Custom Properties */
:root {
  /* Primary Palette - Eduyogi Orange/Gold */
  --primary: #fca311;
  --primary-dark: #f37250;
  --primary-light: #fdc46b;
  --primary-glow: rgba(252, 163, 17, 0.2);

  /* Accent Colors */
  --accent: #f37250;
  --accent-dark: #e65c3b;
  --accent-glow: rgba(243, 114, 80, 0.15);

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Backgrounds (Switching to Light Theme) */
  --bg-dark: #ffffff;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-glass-strong: rgba(255, 255, 255, 0.9);
  --bg-input: #f1f5f9;

  /* Text (Dark for Light Theme) */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* Borders */
  --border: #e2e8f0;
  --border-hover: #fca311;

  /* Shadows (Softer for Light Theme) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 20px var(--primary-glow);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: clamp(0.75rem, 2vw, 1rem);
  --space-lg: clamp(1rem, 3vw, 1.5rem);
  --space-xl: clamp(1.5rem, 5vw, 2rem);
  --space-2xl: clamp(2rem, 8vw, 3rem);
  --space-3xl: clamp(3rem, 10vw, 4rem);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background gradient blobs */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}

body::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  top: -200px;
  right: -200px;
  animation: float-blob 15s ease-in-out infinite;
}

body::after {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: float-blob 18s ease-in-out infinite reverse;
}

@keyframes float-blob {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, -30px) scale(1.1);
  }

  66% {
    transform: translate(-30px, 20px) scale(0.95);
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 4vw, 1.75rem);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

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

ul {
  list-style: none;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) var(--space-xl);
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand .logo-img {
  height: 85px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Auth buttons in nav */
.nav-auth {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-auth .btn-signin {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
}

.nav-auth .btn-signin:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.nav-auth .btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  cursor: pointer;
  transition: var(--transition-base);
}

.nav-auth .btn-login:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

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

/* User profile dropdown */
.user-profile {
  position: relative;
  display: none;
}

.user-profile.show {
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid transparent;
}

.user-avatar:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.user-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  width: 260px;
  background: #ffffff;
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-base);
}

.user-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown .user-info {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-md);
}

.user-dropdown .user-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}

.user-dropdown .user-email {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.user-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  background: none;
  width: 100%;
  font-family: var(--font-body);
}

.user-dropdown .dropdown-item:hover {
  background: var(--bg-glass-strong);
  color: var(--text-primary);
}

.user-dropdown .dropdown-item.danger {
  color: var(--danger);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-xs);
}

/* =============================================
   AUTH MODAL
   ============================================= */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.auth-overlay.open {
  display: flex;
}

.auth-modal {
  background: #ffffff;
  backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: modal-in 0.3s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.auth-modal .modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.auth-modal .modal-close:hover {
  color: var(--text-primary);
}

.auth-modal h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-modal .auth-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}

.auth-form .form-group {
  margin-bottom: var(--space-md);
}

.auth-form .form-row {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.auth-form .form-group-half {
  flex: 1;
}

@media (max-width: 480px) {
  .auth-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.auth-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.auth-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-base);
  outline: none;
}

.auth-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.auth-form input::placeholder {
  color: var(--text-muted);
}

.auth-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: var(--space-xs);
  display: none;
}

.auth-error.show {
  display: block;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.btn-google {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: var(--transition-base);
}

.btn-google:hover {
  background: var(--bg-glass-strong);
  border-color: var(--border-hover);
}

.btn-google img {
  width: 20px;
  height: 20px;
}

.auth-toggle {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-toggle a {
  color: var(--primary-light);
  font-weight: 600;
  cursor: pointer;
}

.auth-toggle a:hover {
  text-decoration: underline;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--primary-glow);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: var(--transition-base);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #cc0000);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 68, 68, 0.3);
}

/* =============================================
   CARDS
   ============================================= */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-md), 4vw, var(--space-xl));
  transition: var(--transition-base);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* =============================================
   SECTION
   ============================================= */
.section {
  padding: var(--space-3xl) var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   FOOTER
   ============================================= */
/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #0f172a !important;
  padding: var(--space-3xl) var(--space-xl) var(--space-xl) !important;
  color: #f8fafc !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  width: 100%;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: white;
}

.footer-brand p {
  line-height: 1.7;
  color: #94a3b8;
  max-width: 350px;
  font-size: 0.9rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

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

.footer-links ul li {
  margin-bottom: var(--space-sm);
}

.footer-links ul li a {
  color: #94a3b8;
  transition: var(--transition-base);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.1rem;
  transition: var(--transition-base);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: var(--space-3xl) auto 0;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-copy p {
  color: #64748b;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary-light);
  text-decoration: none;
}

/* =============================================
   LOADING / UTILITY
   ============================================= */
.loading-dots {
  display: inline-flex;
  gap: 4px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  animation: dot-bounce 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot-bounce {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .navbar {
    padding: var(--space-md);
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh !important;
    background: #ffffff !important;
    flex-direction: column;
    padding: 100px var(--space-xl) 120px;
    /* Added extra bottom padding */
    gap: var(--space-lg);
    border: none;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 2000;
    /* Above everything */
    overflow-y: auto;
    display: flex !important;
  }

  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    color: var(--text-primary);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-auth {
    display: none !important;
    /* Hide from main navbar row */
  }

  .nav-links .nav-auth-mobile {
    display: flex !important;
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
    padding: var(--space-xl) var(--space-md) 100px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #fbfbfb;
    margin-top: auto;
  }

  .nav-links .nav-auth-mobile .btn-login,
  .nav-links .nav-auth-mobile .btn-signin {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem !important;
    margin-bottom: var(--space-md);
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
  }

  .nav-links .nav-auth-mobile .btn-login,
  .nav-links .nav-auth-mobile .btn-signin {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem !important;
    margin-bottom: var(--space-md);
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: var(--radius-md);
    /* Modern rectangular look */
    transition: var(--transition-base);
    font-weight: 600;
  }

  .nav-links .nav-auth-mobile .btn-login {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
  }

  .nav-links .nav-auth-mobile .btn-signin {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    box-shadow: 0 4px 15px var(--primary-glow);
    font-weight: 700;
  }

  .nav-links .nav-auth-mobile .btn-login:active,
  .nav-links .nav-auth-mobile .btn-signin:active {
    transform: scale(0.98);
  }

  .nav-links .nav-auth-mobile .user-profile {
    display: none;
    /* Let JS handle visibility with .show */
    position: relative;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .nav-links .nav-auth-mobile .user-profile.show {
    display: flex;
  }

  .nav-links .nav-auth-mobile .user-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    overflow: hidden;
  }

  .nav-links .nav-auth-mobile .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .nav-links .nav-auth-mobile .user-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    width: 100%;
    padding: 0;
    background: transparent;
    display: block;
  }

  .nav-links .nav-auth-mobile .user-info {
    text-align: center;
    border-bottom: none;
  }

  .nav-links .nav-auth-mobile .dropdown-item {
    justify-content: center;
    font-size: 1.1rem;
    padding: var(--space-md);
  }

  .nav-toggle {
    display: block;
    z-index: 2005;
    /* Must be above the fixed links */
    background: transparent;
    border: none;
    font-size: 1.8rem;
    padding: var(--space-sm);
  }

  .nav-brand {
    z-index: 2005;
    font-size: 1.25rem;
  }

  .logo-img {
    height: 32px !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: var(--space-xl) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .footer-brand p {
    max-width: 100% !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }
}

/* --- Mentor Marquee Styles --- */
.mentors-marquee-container {
  overflow: hidden;
  padding: var(--space-xl) 0;
  background: rgba(255, 255, 255, 0.03);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.mentors-marquee-track {
  display: flex;
  gap: var(--space-xl);
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.mentors-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.mentor-card-marquee {
  width: 320px;
  flex-shrink: 0;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: var(--transition-base);
}

.mentor-card-marquee:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.mentor-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
}

.mentor-avatar-small {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
}

.mentor-avatar-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-info h3 {
  font-size: 1.1rem;
  margin: 0;
}

.mentor-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
}

.mentor-quote {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
}

/* --- Footer Refinements --- */