/* ============================================================
   LYSKILLS DESIGN SYSTEM — Modern Redesign
   Brand Color: #0f7c80 (Teal)
   Font: Inter (Google Fonts)
   ============================================================ */

/* === Google Font Import === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* === Design Tokens === */
:root {
  --ls-primary: #0f7c80;
  --ls-primary-dark: #0a5f62;
  --ls-primary-light: #e0f5f5;
  --ls-accent: #f9a825;
  --ls-surface: #ffffff;
  --ls-bg: #f5f7fa;
  --ls-text: #1a1a2e;
  --ls-text-muted: #6b7280;
  --ls-border: #e5e7eb;
  --ls-error: #ef4444;
  --ls-success: #10b981;
  --ls-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --ls-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --ls-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --ls-radius: 12px;
  --ls-radius-sm: 8px;
  --ls-radius-full: 9999px;
  --ls-transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --ls-nav-height: 84px;
}

/* === Base Typography === */
body {
  font-family: 'Inter', 'Roboto', sans-serif !important;
  color: var(--ls-text) !important;
  background-color: var(--ls-bg) !important;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   NAVIGATION REDESIGN
   ============================================================ */
.ls-nav {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #ffffff;
  border-bottom: 1px solid var(--ls-border);
  box-shadow: var(--ls-shadow-sm);
  height: var(--ls-nav-height);
  display: flex;
  align-items: center;
  transition: var(--ls-transition);
}

.ls-nav.scrolled {
  box-shadow: var(--ls-shadow-md);
}

.ls-nav__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.ls-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none !important;
}

.ls-nav__logo img {
  height: 68px;
  width: auto;
  transition: var(--ls-transition);
}

.ls-nav__logo:hover img {
  opacity: 0.85;
}

/* Search Bar */
.ls-nav__search {
  flex: 1;
  max-width: 520px;
  position: relative;
  min-width: 0;
}

.ls-nav__search-form {
  display: flex;
  align-items: center;
  background: var(--ls-bg);
  border: 1.5px solid var(--ls-border);
  border-radius: var(--ls-radius-full);
  padding: 0.45rem 0.85rem;
  transition: var(--ls-transition);
}

.ls-nav__search-form:focus-within {
  border-color: var(--ls-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 124, 128, 0.12);
}

.ls-search-btn-icon {
  background: none;
  border: none;
  color: var(--ls-text-muted);
  font-size: 1rem;
  margin-right: 0.6rem;
  cursor: pointer;
  padding: 0;
  display: flex !important;
}

.ls-search-btn-icon:hover {
  color: var(--ls-primary);
}

.ls-nav__search-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0.5rem 0.25rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #1e293b;
}

/* UI Autocomplete Suggestions Design */
.ui-autocomplete {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 40px rgba(15, 124, 130, 0.15) !important;
  padding: 0.6rem !important;
  font-family: 'Inter', sans-serif !important;
  z-index: 9999 !important;
  list-style: none !important;
  margin-top: 5px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

.ui-menu-item {
  margin-bottom: 4px !important;
  list-style: none !important;
}

.ui-menu-item-wrapper {
  padding: 10px 16px !important;
  font-size: 0.95rem !important;
  color: #334155 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  border: 1px solid transparent !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.ui-menu-item-wrapper:before {
  content: '\f002';
  /* Search icon default */
  font-family: FontAwesome;
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Special styling for "No match found" */
.ls-ui-no-match-box {
  padding: 15px 12px !important;
  text-align: center !important;
  color: #64748b !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  background: #f8fafc !important;
  border-radius: 8px !important;
  width: 100% !important;
  cursor: default !important;
}

.ui-menu-item-wrapper:hover,
.ui-state-active,
.ui-state-hover {
  background: #f0f9f9 !important;
  color: #0f7c82 !important;
  border-color: rgba(15, 124, 130, 0.15) !important;
}

.ui-menu-item-wrapper:hover:before {
  color: #0f7c82;
}

.ui-helper-hidden-accessible {
  display: none !important;
}

.ls-nav__search-input::placeholder {
  color: var(--ls-text-muted);
}

/* Nav Right Section */
.ls-nav__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Nav Links */
.ls-nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ls-text) !important;
  text-decoration: none !important;
  padding: 0.45rem 0.85rem;
  border-radius: var(--ls-radius-sm);
  transition: var(--ls-transition);
  white-space: nowrap;
}

.ls-nav__link:hover {
  color: var(--ls-primary) !important;
  background: var(--ls-primary-light);
}

/* Nav CTA Buttons */
.ls-btn-login {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--ls-radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ls-primary) !important;
  border: 2px solid var(--ls-primary);
  background: transparent;
  text-decoration: none !important;
  transition: var(--ls-transition);
  cursor: pointer;
}

.ls-btn-login:hover {
  background: var(--ls-primary-light);
  color: var(--ls-primary-dark) !important;
}

.ls-btn-signup {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--ls-radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--ls-primary);
  border: 2px solid var(--ls-primary);
  text-decoration: none !important;
  transition: var(--ls-transition);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 124, 128, 0.25);
}

.ls-btn-signup:hover {
  background: var(--ls-primary-dark);
  border-color: var(--ls-primary-dark);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(15, 124, 128, 0.35);
  transform: translateY(-1px);
}

/* Avatar Dropdown */
.ls-nav__avatar-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid var(--ls-border);
  overflow: hidden;
  cursor: pointer;
  transition: var(--ls-transition);
  background: none;
  padding: 0;
}

.ls-nav__avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ls-nav__avatar-btn:hover {
  border-color: var(--ls-primary);
  box-shadow: 0 0 0 3px rgba(15, 124, 128, 0.15);
}

/* Dropdown Menu */
.ls-dropdown-menu {
  border: 1px solid var(--ls-border) !important;
  border-radius: var(--ls-radius) !important;
  box-shadow: var(--ls-shadow-lg) !important;
  padding: 0.5rem !important;
  min-width: 220px !important;
  animation: ls-dropdown-in 0.18s ease;
}

@keyframes ls-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ls-dropdown-item {
  border-radius: var(--ls-radius-sm) !important;
  padding: 0.55rem 1rem !important;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ls-text) !important;
  transition: var(--ls-transition);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ls-dropdown-item:hover {
  background: var(--ls-primary-light) !important;
  color: var(--ls-primary) !important;
}

.ls-dropdown-divider {
  border-color: var(--ls-border) !important;
  margin: 0.4rem 0 !important;
}

.ls-dropdown-header {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ls-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem 0.2rem;
}

/* Mobile Hamburger */
.ls-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--ls-radius-sm);
  transition: var(--ls-transition);
}

.ls-nav__hamburger:hover {
  background: var(--ls-bg);
}

.ls-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ls-text);
  border-radius: 2px;
  transition: var(--ls-transition);
}

/* Mobile Nav Drawer */
.ls-mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1.5px solid var(--ls-border);
  padding: 1.25rem 1.5rem 2rem;
  gap: 0.65rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  position: absolute;
  top: var(--ls-nav-height);
  left: 0;
  right: 0;
  z-index: 1045;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
  pointer-events: none;
}

.ls-mobile-nav.open {
  display: flex !important;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ls-mobile-nav .ls-nav__link {
  display: block;
  padding: 0.65rem 1rem;
}

.ls-mobile-nav .ls-btn-login,
.ls-mobile-nav .ls-btn-signup {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

/* Responsive Nav */
@media (max-width: 1366px) {
  .ls-nav__inner {
    padding: 0 1.25rem;
    gap: 0.75rem;
  }
}

@media (max-width: 1200px) {
  .ls-nav__search {
    max-width: 380px;
  }
  
  .ls-nav__link {
    padding: 0.45rem 0.65rem;
    font-size: 0.825rem;
  }
  
  .ls-btn-login, .ls-btn-signup {
    padding: 0.45rem 1rem;
    font-size: 0.825rem;
  }
}

@media (max-width: 1100px) {
    .ls-nav__search {
        max-width: 280px;
    }
    .ls-sidebar-trigger {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

.ls-nav__desktop-links {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 1024px) {
  .ls-nav__inner {
    padding: 0 1rem;
    gap: 0.75rem;
  }
  
  .ls-nav__logo img {
    height: 52px;
  }

  .ls-nav__search {
    display: none;
  }

  .ls-nav__desktop-links {
    display: none !important;
  }

  .ls-nav__hamburger {
    display: flex;
  }

  .ls-nav__right .ls-btn-login,
  .ls-nav__right .ls-btn-signup {
    display: none;
  }
}

@media (max-width: 768px) {
  .ls-nav__inner {
    padding: 0 1.25rem;
  }

  .ls-nav__logo img {
    height: 48px;
  }
}

@media (max-width: 576px) {
  .ls-nav__inner {
    padding: 0 1rem;
    height: 64px;
  }

  .ls-nav__logo img {
    height: 40px;
  }
}

/* ============================================================
   FOOTER REDESIGN
   ============================================================ */
.ls-footer {
  background: linear-gradient(135deg, #0a5f62 0%, #0f7c80 60%, #12919a 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: 4rem 0 0;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

.ls-footer::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.ls-footer::after {
  content: '';
  position: absolute;
  bottom: 60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

.ls-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.ls-footer__brand-logo {
  height: 74px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
  display: block;
}

.ls-footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 280px;
}

.ls-footer__heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.2rem;
}

.ls-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ls-footer__list a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 400;
  transition: var(--ls-transition);
  display: inline-flex;
  align-items: center;
}

.ls-footer__list a:hover {
  color: #fff !important;
  transform: translateX(4px);
}

/* Social Icons */
.ls-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.ls-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  font-size: 1.05rem;
  transition: var(--ls-transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ls-footer__social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Office / Contact */
.ls-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
}

.ls-footer__contact-item i {
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Footer Bottom Bar */
.ls-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3.5rem;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.ls-footer__bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.ls-footer__bottom a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: underline !important;
  transition: var(--ls-transition);
}

.ls-footer__bottom a:hover {
  color: #fff !important;
}

/* Whatsapp FAB */
.ls-whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1040;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: var(--ls-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
}

.ls-whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.ls-whatsapp-fab img {
  width: 32px;
  height: 32px;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .ls-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .ls-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1.25rem;
  }

  .ls-footer {
    padding: 2.5rem 0 0;
  }

  .ls-footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 1rem 1.25rem;
  }
}

/* ============================================================
   AUTH PAGES (Login & Register)
   ============================================================ */
.ls-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--ls-bg);
}

/* Left Panel — Decorative */
.ls-auth-panel {
  flex: 1;
  background: linear-gradient(145deg, #0a5f62 0%, #0f7c80 50%, #1a9fa5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ls-auth-panel::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.ls-auth-panel::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.ls-auth-panel__logo {
  height: 68px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.ls-auth-panel__title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.ls-auth-panel__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  max-width: 360px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.ls-auth-panel__stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.ls-auth-stat {
  text-align: center;
}

.ls-auth-stat__num {
  font-size: 1.75rem;
  font-weight: 800;
  display: block;
}

.ls-auth-stat__label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Right Panel — Form */
.ls-auth-form-wrap {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3rem;
  background: #fff;
  overflow-y: auto;
}

.ls-auth-form-wrap h1 {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: var(--ls-text) !important;
  margin-bottom: 0.4rem !important;
}

.ls-auth-form-wrap p.ls-auth-sub {
  font-size: 0.9rem;
  color: var(--ls-text-muted);
  margin-bottom: 0;
}

.ls-auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--ls-text-muted);
  font-size: 0.82rem;
}

.ls-auth-divider::before,
.ls-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ls-border);
}

/* Social Buttons */
.ls-btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--ls-radius);
  border: 1.5px solid var(--ls-border);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ls-text) !important;
  text-decoration: none !important;
  transition: var(--ls-transition);
  cursor: pointer;
}

.ls-nav__icon-btn {
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ls-nav__icon-btn:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.ls-nav__icon-btn i {
  font-size: 0.95rem;
}

.ls-btn-social:hover {
  border-color: #ccc;
  background: var(--ls-bg);
  transform: translateY(-1px);
  box-shadow: var(--ls-shadow-sm);
}

.ls-btn-social i {
  font-size: 1.1rem;
}

.ls-btn-social.google i {
  color: #EA4335;
}

.ls-btn-social.facebook i {
  color: #1877F2;
}

.ls-btn-social.linkedin i {
  color: #0A66C2;
}

/* Form Fields */
.ls-form-group {
  margin-bottom: 1.25rem;
}

.ls-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ls-text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.ls-input {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--ls-border);
  border-radius: var(--ls-radius);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--ls-text);
  background: #fff;
  transition: var(--ls-transition);
  outline: none;
}

.ls-input:focus {
  border-color: var(--ls-primary);
  box-shadow: 0 0 0 3px rgba(15, 124, 128, 0.12);
}

.ls-input::placeholder {
  color: #b0b7c3;
}

.ls-input.is-invalid {
  border-color: var(--ls-error);
}

.ls-input-group {
  position: relative;
  display: flex;
}

.ls-input-group .ls-input {
  border-right: none;
  border-radius: var(--ls-radius) 0 0 var(--ls-radius);
}

.ls-input-group-append {
  display: flex;
  align-items: center;
  background: var(--ls-bg);
  border: 1.5px solid var(--ls-border);
  border-left: none;
  border-radius: 0 var(--ls-radius) var(--ls-radius) 0;
  padding: 0 0.9rem;
  cursor: pointer;
  transition: var(--ls-transition);
  color: var(--ls-text-muted);
}

.ls-input-group-append:hover {
  background: var(--ls-primary-light);
  color: var(--ls-primary);
}

.ls-input-group:focus-within .ls-input,
.ls-input-group:focus-within .ls-input-group-append {
  border-color: var(--ls-primary);
}

.ls-input-group:focus-within {
  box-shadow: 0 0 0 3px rgba(15, 124, 128, 0.12);
  border-radius: var(--ls-radius);
}

/* Checkbox */
.ls-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--ls-text);
}

.ls-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--ls-primary);
  flex-shrink: 0;
}

/* Auth CTA Button */
.ls-btn-auth {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--ls-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--ls-radius);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: var(--ls-transition);
  text-align: center;
  text-decoration: none !important;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(15, 124, 128, 0.25);
}

.ls-btn-auth:hover {
  background: var(--ls-primary-dark);
  box-shadow: 0 4px 20px rgba(15, 124, 128, 0.4);
  transform: translateY(-1px);
  color: #fff !important;
}

.ls-btn-auth:active {
  transform: translateY(0);
}

/* Alert / Errors */
.ls-alert {
  border-radius: var(--ls-radius);
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.ls-alert-error {
  background: #fef2f2;
  color: var(--ls-error);
  border: 1px solid #fecaca;
}

.ls-alert-success {
  background: #ecfdf5;
  color: var(--ls-success);
  border: 1px solid #a7f3d0;
}

.ls-alert-info {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

/* Links */
.ls-link {
  color: var(--ls-primary) !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--ls-transition);
}

.ls-link:hover {
  color: var(--ls-primary-dark) !important;
  text-decoration: underline !important;
}

/* Responsive Auth */
@media (max-width: 900px) {
  .ls-auth-panel {
    display: none;
  }

  .ls-auth-form-wrap {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .ls-auth-form-wrap {
    padding: 2rem 1.25rem;
  }
}

/* ============================================================
   GLOBAL UTILITY OVERRIDES
   ============================================================ */
.ls-section-title {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: var(--ls-text) !important;
  margin-bottom: 0.5rem !important;
}

.ls-section-subtitle {
  font-size: 0.95rem;
  color: var(--ls-text-muted);
  margin-bottom: 1.5rem;
}

/* Validation error list */
.ls-validation-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--ls-radius);
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
}

.ls-validation-errors ul {
  list-style: disc;
  padding-left: 1rem;
  margin: 0;
}

.ls-validation-errors li {
  font-size: 0.85rem;
  color: var(--ls-error);
  margin-bottom: 0.2rem;
}

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
@keyframes ls-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ls-fade-up {
  animation: ls-fade-up 0.5s ease forwards;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.ls-announcement {
  background: linear-gradient(90deg, var(--ls-primary) 0%, #1a9fa5 100%);
  color: #fff;
  padding: 0.65rem 2.5rem 0.65rem 1.5rem; /* More right padding to account for close button */
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ls-announcement__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.ls-announcement__icon {
  opacity: 0.85;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ls-announcement {
    padding: 0.75rem 2.8rem 0.75rem 2.8rem; /* Uniform padding so text stays centered */
    font-size: 0.8125rem;
  }
  .ls-announcement__content {
    justify-content: center;
    text-align: center;
    font-size: 0.8125rem;
  }
}


.ls-announcement__close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--ls-transition);
  line-height: 1;
}

.ls-announcement__close:hover {
  color: #fff;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.ls-hero {
  position: relative;
  background: linear-gradient(145deg, #0a5f62 0%, #0f7c80 45%, #1aadb2 100%);
  overflow: hidden;
  padding: 5rem 2rem;
}

.ls-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.ls-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================================
   NEW HERO REDESIGN (ls-main-hero)
   ============================================================ */
.ls-main-hero {
  position: relative;
  background: linear-gradient(135deg, #0a5f62 0%, #0f7c80 60%, #1aadb2 100%);
  padding: 4rem 0 5rem;
  overflow: hidden;
  color: #fff;
}

.ls-main-hero__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ls-main-hero__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 10;
}

.ls-main-hero__content {
  flex: 1;
  max-width: 600px;
}

.ls-main-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: var(--ls-radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ls-main-hero__title {
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: #fff !important;
  margin-bottom: 1.5rem !important;
}

.ls-main-hero__title span {
  color: #f9a825;
  /* Accent color */
}

.ls-main-hero__desc {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.ls-main-hero__actions {
  display: flex;
  gap: 1rem;
}

.ls-main-hero__btn-primary {
  padding: 1rem 2rem;
  background: #fff;
  color: var(--ls-primary) !important;
  border-radius: var(--ls-radius-sm);
  font-weight: 700;
  text-decoration: none !important;
  transition: var(--ls-transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ls-main-hero__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: var(--ls-primary-light);
}

.ls-main-hero__btn-secondary {
  padding: 1rem 2rem;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--ls-radius-sm);
  font-weight: 700;
  text-decoration: none !important;
  transition: var(--ls-transition);
}

.ls-main-hero__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

@media (max-width: 1100px) {
  .ls-main-hero__title {
    font-size: 2.75rem !important;
  }

  .ls-main-hero__inner {
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .ls-main-hero {
    padding: 3.5rem 0 4rem;
  }

  .ls-main-hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .ls-main-hero__content {
    max-width: 100%;
  }

  .ls-main-hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .ls-main-hero__actions {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .ls-main-hero__title {
    font-size: 2.25rem !important;
  }

  .ls-main-hero__actions {
    flex-direction: column;
  }
}

.ls-hero__content {
  flex: 1;
  color: #fff;
}

.ls-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--ls-radius-full);
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.ls-hero__title {
  font-size: 3rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin-bottom: 1.25rem !important;
  color: #fff !important;
}

.ls-hero__title span {
  background: linear-gradient(135deg, #f9a825, #ffca28);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ls-hero__desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 2rem;
}

.ls-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ls-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: #fff;
  color: var(--ls-primary) !important;
  border: none;
  border-radius: var(--ls-radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: var(--ls-transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ls-hero__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  color: var(--ls-primary-dark) !important;
}

.ls-hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--ls-radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: var(--ls-transition);
}

.ls-hero__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff !important;
}

.ls-hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ls-hero__stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
}

.ls-hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ls-hero__image {
  flex: 0 0 480px;
  max-width: 480px;
  border-radius: var(--ls-radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.ls-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 992px) {
  .ls-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .ls-hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .ls-hero__actions {
    justify-content: center;
  }

  .ls-hero__stats {
    justify-content: center;
  }

  .ls-hero__image {
    flex: 0 0 auto;
    max-width: 400px;
  }

  .ls-hero__title {
    font-size: 2.2rem !important;
  }

  .ls-hero {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .ls-hero__title {
    font-size: 1.75rem !important;
  }

  .ls-hero__image {
    max-width: 100%;
  }

  .ls-hero__stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .ls-hero {
    padding: 2.5rem 1rem;
  }
}

/* ============================================================
   COURSE CARDS
   ============================================================ */
.ls-courses-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.ls-courses-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.ls-courses-header h2 {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: var(--ls-text) !important;
  margin: 0 !important;
}

.ls-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border: 2px solid var(--ls-primary);
  color: var(--ls-primary) !important;
  background: transparent;
  border-radius: var(--ls-radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--ls-transition);
  cursor: pointer;
}

.ls-btn-outline:hover {
  background: var(--ls-primary);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(15, 124, 128, 0.3);
  transform: translateY(-1px);
}

.ls-courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .ls-courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .ls-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .ls-courses-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Individual Card */
.ls-course-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius-sm);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.22s ease !important;
  line-clamp: 2;
  text-decoration: none !important;
  position: relative;
}

.ls-course-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.12),
    0 4px 14px rgba(15, 124, 128, 0.1) !important;
  border-color: transparent !important;
}

.ls-course-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ls-bg-muted);
  position: relative;
}

.ls-course-card__img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease;
}

.ls-course-card__body {
  padding: 1.15rem 1.15rem 0.65rem !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 154px;
}

.ls-course-card__footer {
  padding: 0 1.15rem 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: auto !important;
}

.ls-course-card__category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ls-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.ls-course-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0.4rem 0 0.65rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.ls-course-card__title a {
  color: inherit !important;
  text-decoration: none !important;
}

.ls-course-card__title a:hover {
  color: var(--ls-primary) !important;
}

.ls-course-card__instructor {
  font-size: 0.82rem;
  color: var(--ls-text-muted);
  text-transform: capitalize;
  margin-bottom: 0.65rem;
}

.ls-course-card__instructor a {
  color: var(--ls-text-muted) !important;
  text-decoration: none !important;
}

.ls-course-card__instructor a:hover {
  color: var(--ls-primary) !important;
}

/* Rating Stars */
.ls-stars {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.ls-stars__score {
  font-size: 0.82rem;
  font-weight: 700;
  color: #d97706;
  margin-right: 0.3rem;
}

.ls-stars .fa-star {
  font-size: 0.78rem;
  color: #e5e7eb;
}

.ls-stars .fa-star.active {
  color: #f59e0b;
}

.ls-stars__count {
  font-size: 0.75rem;
  color: var(--ls-text-muted);
  margin-left: 0.3rem;
}

/* Price */
.ls-course-card__footer {
  padding: 0 1.15rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.ls-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.ls-price__current {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ls-text);
}

.ls-price__original {
  font-size: 0.82rem;
  color: var(--ls-text-muted);
  text-decoration: line-through;
}

.ls-price__free {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ls-success);
}

.ls-course-card__cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ls-primary) !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--ls-transition);
}

.ls-course-card__cta:hover {
  color: var(--ls-primary-dark) !important;
  gap: 0.45rem;
}

/* ============================================================
   CATEGORY PILLS (Landing Page section)
   ============================================================ */
.ls-categories-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.ls-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.ls-category-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1.5px solid var(--ls-border);
  border-radius: var(--ls-radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ls-text) !important;
  text-decoration: none !important;
  text-transform: capitalize;
  transition: var(--ls-transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.ls-category-pill::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--ls-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.ls-category-pill:hover {
  border-color: var(--ls-primary);
  color: var(--ls-primary) !important;
  background: var(--ls-primary-light);
  transform: translateY(-3px);
  box-shadow: var(--ls-shadow-md);
}

.ls-category-pill:hover::before {
  transform: scaleX(1);
}

/* ============================================================
   INSTRUCTOR CTA SECTION
   ============================================================ */
.ls-instructor-cta {
  background: linear-gradient(135deg, #0a5f62 0%, #0f7c80 60%, #12919a 100%);
  color: #fff;
  padding: 4rem 2rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.ls-instructor-cta::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.ls-instructor-cta__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ls-instructor-cta h2 {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  margin-bottom: 1rem !important;
  color: #fff !important;
}

.ls-instructor-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.ls-instructor-cta .ls-hero__btn-primary {
  display: inline-flex;
}

/* ============================================================
   BLOG / FAQ CARD
   ============================================================ */
.ls-content-card-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.ls-content-card {
  background: #fff;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--ls-transition);
  max-width: 700px;
  margin: 0 auto;
}

.ls-content-card:hover {
  box-shadow: var(--ls-shadow-md);
  transform: translateY(-3px);
}

.ls-content-card__img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
}

.ls-content-card__body {
  padding: 1.5rem 1.75rem;
}

.ls-content-card__body h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--ls-text) !important;
  text-transform: uppercase;
  margin-bottom: 0.75rem !important;
}

.ls-content-card__body p,
.ls-content-card__body div {
  font-size: 0.9rem;
  color: var(--ls-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ls-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--ls-primary);
  color: var(--ls-primary) !important;
  background: transparent;
  border-radius: var(--ls-radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--ls-transition);
}

.ls-btn-sm:hover {
  background: var(--ls-primary);
  color: #fff !important;
}

/* ============================================================
   SIDEBAR NAVIGATION (Categories Dropdown)
   ============================================================ */
.ls-sidebar-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--ls-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ls-text) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: var(--ls-transition);
  background: transparent;
  border: 1.5px solid var(--ls-border);
}

.ls-sidebar-trigger:hover {
  background: var(--ls-primary-light);
  border-color: var(--ls-primary);
  color: var(--ls-primary) !important;
}

.ls-sidebar-trigger i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.ls-sidebar-trigger[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* Sidebar Dropdown Menu */
.ls-sidebar-menu {
  border: 1px solid var(--ls-border) !important;
  border-radius: var(--ls-radius) !important;
  box-shadow: var(--ls-shadow-lg) !important;
  padding: 0.5rem !important;
  max-height: 360px;
  overflow-y: auto;
  min-width: 260px !important;
  animation: ls-dropdown-in 0.18s ease;
  background: #fff !important;
}

.ls-sidebar-menu::-webkit-scrollbar {
  width: 5px;
}

.ls-sidebar-menu::-webkit-scrollbar-track {
  background: transparent;
}

.ls-sidebar-menu::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 10px;
}

.ls-sidebar-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: var(--ls-radius-sm) !important;
  padding: 0.6rem 1rem !important;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ls-text) !important;
  transition: var(--ls-transition);
  text-decoration: none !important;
}

.ls-sidebar-menu .dropdown-item:hover {
  background: var(--ls-primary-light) !important;
  color: var(--ls-primary) !important;
  transform: none !important;
  box-shadow: none !important;
}

.ls-sidebar-menu .dropdown-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ls-border);
  flex-shrink: 0;
  transition: var(--ls-transition);
}

.ls-sidebar-menu .dropdown-item:hover::before {
  background: var(--ls-primary);
}

/* ============================================================
   SESSION MESSAGES
   ============================================================ */
.ls-session-msg {
  max-width: 1400px;
  margin: 0.75rem auto;
  padding: 0 2rem;
}

/* ============================================================
   RESPONSIVE GLOBAL
   ============================================================ */
@media (max-width: 576px) {

  .ls-courses-section,
  .ls-categories-section,
  .ls-content-card-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ls-courses-grid {
    grid-template-columns: 1fr;
  }

  .ls-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   PAGE HERO BANNER  (shared by Contact, Category, Static Pages)
   ============================================================ */
.ls-page-hero {
  position: relative;
  background: linear-gradient(145deg, #0a5f62 0%, #0f7c80 45%, #1aadb2 100%);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.ls-page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.ls-page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.ls-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.ls-page-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.ls-page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none !important;
  transition: var(--ls-transition);
}

.ls-page-hero__breadcrumb a:hover {
  color: #fff !important;
}

.ls-page-hero__breadcrumb span {
  color: rgba(255, 255, 255, 0.45);
}

.ls-page-hero h1 {
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.6rem !important;
  color: #fff !important;
  line-height: 1.2 !important;
}

.ls-page-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .ls-page-hero {
    padding: 3rem 1.25rem 2.5rem;
  }

  .ls-page-hero h1 {
    font-size: 1.6rem !important;
  }
}

/* ============================================================
   CONTACT US PAGE
   ============================================================ */
.ls-contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4rem;
}

/* Info Cards Row */
.ls-contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.ls-contact-info-card {
  background: #fff;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--ls-transition);
  position: relative;
  overflow: hidden;
}

.ls-contact-info-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ls-primary), #1aadb2);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.ls-contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ls-shadow-lg);
  border-color: transparent;
}

.ls-contact-info-card:hover::before {
  transform: scaleX(1);
}

.ls-contact-info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ls-primary-light);
  color: var(--ls-primary);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  transition: var(--ls-transition);
}

.ls-contact-info-card:hover .ls-contact-info-card__icon {
  background: var(--ls-primary);
  color: #fff;
  transform: scale(1.08);
}

.ls-contact-info-card h3 {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--ls-text-muted) !important;
  margin-bottom: 0.5rem !important;
}

.ls-contact-info-card p {
  font-size: 0.95rem;
  color: var(--ls-text);
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

.ls-contact-info-card a {
  color: var(--ls-primary) !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: var(--ls-transition);
}

.ls-contact-info-card a:hover {
  color: var(--ls-primary-dark) !important;
}

/* Contact Form Area */
.ls-contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.ls-contact-form-side {
  background: #fff;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  padding: 2.5rem;
  box-shadow: var(--ls-shadow-sm);
}

.ls-contact-form-side h2 {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: var(--ls-text) !important;
  margin-bottom: 0.4rem !important;
}

.ls-contact-form-side>p {
  font-size: 0.9rem;
  color: var(--ls-text-muted);
  margin-bottom: 1.75rem;
}

.ls-contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Map / Illustration Side */
.ls-contact-map-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ls-contact-map-card {
  background: linear-gradient(145deg, #0a5f62 0%, #0f7c80 60%, #1aadb2 100%);
  border-radius: var(--ls-radius);
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ls-contact-map-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.ls-contact-map-card h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 1.25rem !important;
  position: relative;
  z-index: 1;
}

.ls-contact-map-card__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.ls-contact-map-card__item i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 2px;
}

.ls-contact-map-card__item div {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.ls-contact-map-card__item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.ls-contact-hours-card {
  background: #fff;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  padding: 1.75rem 2rem;
}

.ls-contact-hours-card h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--ls-text) !important;
  margin-bottom: 1rem !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ls-contact-hours-card h3 i {
  color: var(--ls-primary);
}

.ls-contact-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--ls-border);
  font-size: 0.88rem;
}

.ls-contact-hours-row:last-child {
  border-bottom: none;
}

.ls-contact-hours-row span:first-child {
  color: var(--ls-text-muted);
  font-weight: 500;
}

.ls-contact-hours-row span:last-child {
  color: var(--ls-text);
  font-weight: 600;
}

.ls-contact-hours-row .ls-open-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ecfdf5;
  color: var(--ls-success);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--ls-radius-full);
}

.ls-contact-hours-row .ls-open-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ls-success);
  animation: ls-pulse 2s ease infinite;
}

@keyframes ls-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@media (max-width: 768px) {
  .ls-contact-form-wrap {
    grid-template-columns: 1fr;
  }

  .ls-contact-form-row {
    grid-template-columns: 1fr;
  }

  .ls-contact-section {
    padding: 2rem 1.25rem;
  }

  .ls-contact-form-side {
    padding: 1.75rem 1.25rem;
  }
}

/* ============================================================
   STATIC PAGE (Terms, Privacy, About)
   ============================================================ */
.ls-static-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  align-items: start;
}

.ls-static-page__content {
  background: #fff;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  padding: 2.5rem 3rem;
  box-shadow: var(--ls-shadow-sm);
}

.ls-static-page__content h1,
.ls-static-page__content h2,
.ls-static-page__content h3,
.ls-static-page__content h4 {
  color: var(--ls-text) !important;
  font-weight: 700 !important;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
}

.ls-static-page__content h2 {
  font-size: 1.35rem !important;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ls-primary-light);
}

.ls-static-page__content h3 {
  font-size: 1.15rem !important;
}

.ls-static-page__content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

.ls-static-page__content ul,
.ls-static-page__content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.ls-static-page__content li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 0.35rem;
}

.ls-static-page__content a {
  color: var(--ls-primary) !important;
  font-weight: 600;
  text-decoration: underline !important;
  transition: var(--ls-transition);
}

.ls-static-page__content a:hover {
  color: var(--ls-primary-dark) !important;
}

.ls-static-page__content blockquote {
  border-left: 4px solid var(--ls-primary);
  background: var(--ls-primary-light);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--ls-radius-sm) var(--ls-radius-sm) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--ls-text);
}

.ls-static-page__content strong {
  color: var(--ls-text);
  font-weight: 700;
}

/* Sidebar Quick-Nav */
.ls-static-sidebar {
  position: sticky;
  top: calc(var(--ls-nav-height) + 1.5rem);
}

.ls-static-sidebar__card {
  background: #fff;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  padding: 1.5rem;
  box-shadow: var(--ls-shadow-sm);
}

.ls-static-sidebar__card h4 {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: var(--ls-text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 1rem !important;
}

.ls-static-sidebar__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ls-static-sidebar__links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--ls-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ls-text) !important;
  text-decoration: none !important;
  transition: var(--ls-transition);
}

.ls-static-sidebar__links a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ls-border);
  flex-shrink: 0;
  transition: var(--ls-transition);
}

.ls-static-sidebar__links a:hover,
.ls-static-sidebar__links a.active {
  background: var(--ls-primary-light);
  color: var(--ls-primary) !important;
}

.ls-static-sidebar__links a:hover::before,
.ls-static-sidebar__links a.active::before {
  background: var(--ls-primary);
}

.ls-static-sidebar__help {
  margin-top: 1.5rem;
  background: var(--ls-bg);
  border-radius: var(--ls-radius-sm);
  padding: 1.25rem;
  text-align: center;
}

.ls-static-sidebar__help p {
  font-size: 0.82rem;
  color: var(--ls-text-muted);
  margin-bottom: 0.75rem;
}

.ls-static-sidebar__help a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ls-primary) !important;
  text-decoration: none !important;
  transition: var(--ls-transition);
}

.ls-static-sidebar__help a:hover {
  color: var(--ls-primary-dark) !important;
}

/* Update Date Badge */
.ls-static-page__update {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ls-bg);
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ls-text-muted);
  margin-bottom: 1.5rem;
}

.ls-static-page__update i {
  font-size: 0.72rem;
  color: var(--ls-primary);
}

@media (max-width: 900px) {
  .ls-static-page {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
  }

  .ls-static-sidebar {
    display: none;
  }

  .ls-static-page__content {
    padding: 1.75rem 1.25rem;
  }
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.ls-category-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.ls-category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.ls-category-toolbar__count {
  font-size: 0.9rem;
  color: var(--ls-text-muted);
  font-weight: 500;
}

.ls-category-toolbar__count strong {
  color: var(--ls-text);
  font-weight: 700;
}

.ls-category-empty {
  text-align: center;
  padding: 4rem 2rem;
}

.ls-category-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--ls-bg);
  border: 2px solid var(--ls-border);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  color: var(--ls-text-muted);
}

.ls-category-empty h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--ls-text) !important;
  margin-bottom: 0.5rem !important;
}

.ls-category-empty p {
  font-size: 0.9rem;
  color: var(--ls-text-muted);
  max-width: 380px;
  margin: 0 auto 1.5rem;
}

/* Category page pagination */
.ls-category-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.ls-category-pagination .pagination {
  gap: 0.35rem;
}

.ls-category-pagination .page-link {
  border-radius: var(--ls-radius-sm) !important;
  border: 1.5px solid var(--ls-border) !important;
  color: var(--ls-text) !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  transition: var(--ls-transition);
}

.ls-category-pagination .page-link:hover {
  background: var(--ls-primary-light) !important;
  border-color: var(--ls-primary) !important;
  color: var(--ls-primary) !important;
}

.ls-category-pagination .page-item.active .page-link {
  background: var(--ls-primary) !important;
  border-color: var(--ls-primary) !important;
  color: #fff !important;
}

/* ============================================================
   INSTRUCTOR REGISTRATION PAGE
   ============================================================ */
.ls-instructor-register {
  min-height: calc(100vh - var(--ls-nav-height));
  display: flex;
  align-items: stretch;
  background: var(--ls-bg);
}

/* Left Panel — Branding */
.ls-instructor-panel {
  flex: 1;
  background: linear-gradient(145deg, #0a5f62 0%, #0f7c80 50%, #1aadb2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ls-instructor-panel::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.ls-instructor-panel::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.ls-instructor-panel__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 380px;
}

.ls-instructor-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.75rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
}

.ls-instructor-panel h2 {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  margin-bottom: 1rem !important;
  line-height: 1.25 !important;
  color: #fff !important;
}

.ls-instructor-panel p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 0;
}

.ls-instructor-perks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2.5rem;
  text-align: left;
  width: 100%;
}

.ls-instructor-perk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ls-radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.ls-instructor-perk i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  color: #fff;
}

/* Right Panel — Form */
.ls-instructor-form-wrap {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background: #fff;
  overflow-y: auto;
}

.ls-instructor-form-wrap h1 {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: var(--ls-text) !important;
  margin-bottom: 0.4rem !important;
}

.ls-instructor-form-wrap .ls-form-subtitle {
  font-size: 0.9rem;
  color: var(--ls-text-muted);
  margin-bottom: 2rem;
}

.ls-instructor-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ls-instructor-form-grid .ls-form-group.full {
  grid-column: 1 / -1;
}

.ls-instructor-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.ls-instructor-form-footer .ls-link {
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .ls-instructor-panel {
    display: none;
  }

  .ls-instructor-form-wrap {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .ls-instructor-form-wrap {
    padding: 2rem 1.25rem;
  }

  .ls-instructor-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   COURSE DETAIL PAGE
   ============================================================ */

/* Course Banner (dark header section) */
.ls-course-banner {
  background: linear-gradient(145deg, #0a5f62 0%, #0f7c80 45%, #1aadb2 100%);
  padding: 3rem 2rem 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ls-course-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.ls-course-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ls-course-banner .ls-page-hero__breadcrumb {
  margin-bottom: 1rem;
}

.ls-course-banner__title {
  font-size: 2rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin-bottom: 0.75rem !important;
  color: #fff !important;
  text-transform: capitalize;
}

.ls-course-banner__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 1rem;
}

.ls-course-banner__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.75rem;
}

.ls-course-banner__meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ls-course-banner__meta-item i {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.ls-course-banner__meta-item a {
  color: var(--ls-accent) !important;
  text-decoration: none !important;
  font-weight: 600;
}

.ls-course-banner__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.ls-course-banner__actions .btn-light {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: var(--ls-radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  transition: var(--ls-transition);
}

.ls-course-banner__actions .btn-light:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}

@media (max-width: 768px) {
  .ls-course-banner {
    padding: 2rem 1.25rem;
  }

  .ls-course-banner__title {
    font-size: 1.5rem !important;
  }
}

/* Course Layout (main + sidebar) */
.ls-course-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .ls-course-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
  }
}

/* Course Content Sections */
.ls-course-section {
  background: #fff;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--ls-shadow-sm);
}

.ls-course-section__title {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--ls-text) !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ls-primary-light);
}

.ls-course-section .ls-skill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.ls-skill-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ls-text);
  line-height: 1.6;
  padding: 0.35rem 0;
}

.ls-skill-item i {
  color: var(--ls-primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
  font-size: 0.7rem;
}

@media (max-width: 576px) {
  .ls-course-section .ls-skill-grid {
    grid-template-columns: 1fr;
  }

  .ls-course-section {
    padding: 1.25rem;
  }
}

/* Course Accordion */
.ls-course-accordion .card {
  border: 1px solid var(--ls-border) !important;
  border-radius: var(--ls-radius-sm) !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.ls-course-accordion .card-header {
  background: var(--ls-bg) !important;
  border-bottom: 1px solid var(--ls-border) !important;
  padding: 0 !important;
}

.ls-course-accordion .card-header button {
  text-decoration: none !important;
  color: var(--ls-text) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
}

.ls-course-accordion .card-header button:hover {
  color: var(--ls-primary) !important;
}

.ls-course-accordion .card-body {
  padding: 0.75rem 1.15rem !important;
}

.ls-lecture-row {
  display: flex;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.88rem;
  color: var(--ls-text);
  gap: 0.5rem;
}

.ls-lecture-row:last-child {
  border-bottom: none;
}

.ls-lecture-row i.fa-video-camera {
  color: var(--ls-primary);
  font-size: 0.8rem;
  flex-shrink: 0;
  width: 20px;
}

.ls-lecture-row .ls-lec-name {
  flex: 1;
}

.ls-lecture-row .ls-lec-name.cursor-p {
  color: var(--ls-primary);
  cursor: pointer;
  font-weight: 500;
}

.ls-lecture-row .ls-lec-name.cursor-p:hover {
  text-decoration: underline;
}

.ls-lecture-row .ls-lec-duration {
  font-size: 0.78rem;
  color: var(--ls-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.ls-lecture-row .ls-lec-preview {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ls-primary);
  background: var(--ls-primary-light);
  padding: 0.15rem 0.5rem;
  border-radius: var(--ls-radius-full);
}

/* Course Description */
.ls-course-desc {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.85;
  text-align: justify;
}

/* Instructor Profile Card */
.ls-instructor-profile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ls-instructor-profile__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ls-primary-light);
  flex-shrink: 0;
}

.ls-instructor-profile__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ls-text);
  text-transform: capitalize;
}

.ls-instructor-profile__headline {
  font-size: 0.82rem;
  color: var(--ls-text-muted);
  text-transform: capitalize;
}

.ls-instructor-profile__bio {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.75;
  margin-top: 0.75rem;
}

/* Ratings Section */
.ls-rating-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ls-rating-display__score {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ls-text);
  line-height: 1;
}

.ls-rating-display__stars .fa-star {
  font-size: 1.1rem;
  color: #e5e7eb;
}

.ls-rating-display__stars .fa-star.text-warning {
  color: #f59e0b !important;
}

.ls-rating-display__count {
  font-size: 0.85rem;
  color: var(--ls-text-muted);
  margin-top: 0.15rem;
}

/* Comment Card */
.ls-comment-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ls-border);
}

.ls-comment-card:last-child {
  border-bottom: none;
}

.ls-comment-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--ls-border);
}

.ls-comment-card__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ls-text);
  text-transform: capitalize;
}

.ls-comment-card__text {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
  margin-top: 0.35rem;
}

/* Sidebar */
.ls-course-sidebar {
  position: sticky;
  top: calc(var(--ls-nav-height) + 1.25rem);
}

.ls-course-sidebar__card {
  background: #fff;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  overflow: hidden;
  box-shadow: var(--ls-shadow-md);
}

.ls-course-sidebar__video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #0a0a0a;
  display: block;
}

.ls-course-sidebar__video video,
.ls-course-sidebar__video media-player {
  width: 100%;
  height: 100%;
}

.ls-course-sidebar__body {
  padding: 1.5rem;
}

.ls-course-sidebar__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.ls-course-sidebar__price .ls-price-current {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ls-text);
}

.ls-course-sidebar__price .ls-price-original {
  font-size: 1rem;
  color: var(--ls-text-muted);
  text-decoration: line-through;
}

.ls-course-sidebar__price .ls-price-free {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ls-success);
}

.ls-course-sidebar .btn-outline-website,
.ls-course-sidebar .ls-btn-course {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--ls-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--ls-radius);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: var(--ls-transition);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 124, 128, 0.25);
  margin-bottom: 0.75rem;
}

.ls-course-sidebar .btn-outline-website:hover,
.ls-course-sidebar .ls-btn-course:hover {
  background: var(--ls-primary-dark);
  box-shadow: 0 4px 20px rgba(15, 124, 128, 0.4);
  transform: translateY(-1px);
}

.ls-course-sidebar__features {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ls-border);
}

.ls-course-sidebar__features .ls-feature-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ls-text-muted);
  margin-bottom: 0.75rem;
}

.ls-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ls-text);
  padding: 0.4rem 0;
}

.ls-feature-item i {
  color: var(--ls-primary);
  width: 16px;
  text-align: center;
  font-size: 0.8rem;
}

/* Coupon Input */
.ls-coupon-form {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.ls-coupon-form .ls-input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
}

.ls-coupon-form .ls-btn-coupon {
  padding: 0.6rem 1rem;
  background: var(--ls-primary);
  color: #fff;
  border: none;
  border-radius: var(--ls-radius);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ls-transition);
  white-space: nowrap;
}

.ls-coupon-form .ls-btn-coupon:hover {
  background: var(--ls-primary-dark);
}

/* Share Modal Override */
#course_share_modal .modal-header {
  background: var(--ls-primary) !important;
  border: none;
  color: #fff;
}

#course_share_modal .modal-content {
  border-radius: var(--ls-radius) !important;
  overflow: hidden;
  border: none;
}

#course_share_modal .btn-website {
  background: var(--ls-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--ls-radius-sm);
  font-weight: 600;
  transition: var(--ls-transition);
}

#course_share_modal .btn-website:hover {
  background: var(--ls-primary-dark);
}

@media (max-width: 992px) {
  .ls-course-sidebar {
    position: static;
  }
}

/* ============================================================
   INSTRUCTOR LOGIN PAGE
   ============================================================ */
.ls-instructor-login {
  min-height: calc(100vh - var(--ls-nav-height));
  display: flex;
  align-items: stretch;
  background: var(--ls-bg);
}

.ls-instructor-login .ls-instructor-panel {
  flex: 1;
}

.ls-instructor-login .ls-instructor-form-wrap {
  max-width: 480px;
}

@media (max-width: 900px) {
  .ls-instructor-login .ls-instructor-panel {
    display: none;
  }

  .ls-instructor-login .ls-instructor-form-wrap {
    max-width: 100%;
  }
}

/* ============================================================
   LANDING 2026 — Hero carousel, trust strip, popover, testimonials, CTA
   ============================================================ */

.ls-hero--carousel .ls-hero__inner {
  align-items: center;
}

.ls-hero-carousel {
  flex: 1;
  max-width: none;
  width: 100%;
  position: relative;
  padding: 0;
}

.ls-hero-carousel__viewport {
  position: relative;
  border-radius: var(--ls-radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  aspect-ratio: 21 / 9;
  min-height: 480px;
  background: rgba(0, 0, 0, 0.15);
}

.ls-hero-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.ls-hero-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.ls-hero-carousel__slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.ls-hero-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ls-hero-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ls-primary);
  box-shadow: var(--ls-shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ls-transition);
}

.ls-hero-carousel__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.ls-hero-carousel__nav--prev {
  left: 0.35rem;
}

.ls-hero-carousel__nav--next {
  right: 0.35rem;
}

.ls-hero-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.ls-hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--ls-transition);
}

.ls-hero-carousel__dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.ls-trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--ls-border);
  padding: 0.85rem 1.5rem;
}

.ls-trust-strip__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ls-text-muted);
}

.ls-trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ls-trust-strip__item i {
  color: var(--ls-primary);
}

.ls-course-card-wrap {
  position: relative;
}

.ls-course-card__quick-actions {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  display: flex;
  gap: 0.35rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ls-course-card-wrap:hover .ls-course-card__quick-actions,
.ls-course-card__quick-actions:focus-within {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .ls-course-card__quick-actions {
    opacity: 1;
    transform: none;
  }
}

.ls-course-card__icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ls-text);
  box-shadow: var(--ls-shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ls-transition);
}

.ls-course-card__icon-btn:hover,
.ls-course-card__icon-btn:focus-visible {
  background: var(--ls-primary);
  color: #fff;
  outline: none;
}

#ls-course-popover {
  position: fixed;
  z-index: 1080;
  max-width: min(360px, calc(100vw - 20px));
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#ls-course-popover.is-visible {
  pointer-events: auto;
}

#ls-course-popover.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ls-course-popover__panel {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--ls-radius);
  border: 1px solid var(--ls-border);
  box-shadow: var(--ls-shadow-lg);
  padding: 1.1rem 1.2rem 1.15rem;
}

.ls-course-popover__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ls-text);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.ls-course-popover__desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ls-text-muted);
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ls-course-popover__rating {
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
}

.ls-course-popover__rating .fa-star {
  color: #e5e7eb;
  font-size: 0.75rem;
}

.ls-course-popover__rating .fa-star.active {
  color: #f59e0b;
}

.ls-course-popover__score {
  font-weight: 700;
  color: #d97706;
  margin-right: 0.25rem;
}

.ls-course-popover__count {
  color: var(--ls-text-muted);
  font-size: 0.78rem;
}

.ls-course-popover__new {
  font-size: 0.82rem;
  color: var(--ls-primary);
  font-weight: 600;
}

.ls-course-popover__price-row {
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.ls-course-popover__price-now {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ls-text);
}

.ls-course-popover__price-was {
  font-size: 0.85rem;
  color: var(--ls-text-muted);
  text-decoration: line-through;
}

.ls-course-popover__price-free {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ls-success);
}

.ls-course-popover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ls-course-popover__btn {
  flex: 1;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--ls-radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: var(--ls-transition);
  border: 2px solid transparent;
}

.ls-course-popover__btn--primary {
  background: var(--ls-primary);
  color: #fff !important;
  border-color: var(--ls-primary);
}

.ls-course-popover__btn--primary:hover {
  background: var(--ls-primary-dark);
  border-color: var(--ls-primary-dark);
  color: #fff !important;
}

.ls-course-popover__btn--ghost {
  background: #fff;
  color: var(--ls-text) !important;
  border-color: var(--ls-border);
}

.ls-course-popover__btn--ghost:hover {
  border-color: var(--ls-primary);
  color: var(--ls-primary) !important;
}

.ls-course-popover__btn--ghost.is-done {
  border-color: var(--ls-success);
  color: var(--ls-success) !important;
}

.ls-course-popover__arrow {
  position: absolute;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-right: 1px solid var(--ls-border);
  border-bottom: 1px solid var(--ls-border);
  z-index: 1;
}

.ls-course-popover--below .ls-course-popover__arrow {
  bottom: auto;
  top: -7px;
  border-right: none;
  border-bottom: none;
  border-left: 1px solid var(--ls-border);
  border-top: 1px solid var(--ls-border);
}

.ls-testimonials {
  background: var(--ls-bg);
  padding: 4rem 2rem;
}

.ls-testimonials__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ls-testimonials__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ls-testimonials__header h2 {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.5rem !important;
}

.ls-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.ls-testimonial-card {
  margin: 0;
  padding: 1.5rem 1.35rem;
  background: #fff;
  border-radius: var(--ls-radius);
  border: 1px solid var(--ls-border);
  box-shadow: var(--ls-shadow-sm);
  transition: var(--ls-transition);
}

.ls-testimonial-card:hover {
  box-shadow: var(--ls-shadow-md);
  transform: translateY(-4px);
}

.ls-testimonial-card__stars .fa-star {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-right: 0.1rem;
}

.ls-testimonial-card__quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ls-text);
  margin: 0.85rem 0 1.25rem;
}

.ls-testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ls-testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ls-primary-light);
  color: var(--ls-primary);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-testimonial-card__name {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  display: block;
}

.ls-testimonial-card__role {
  font-size: 0.78rem;
  color: var(--ls-text-muted);
}

.ls-cta-band {
  background: linear-gradient(120deg, #0a5f62 0%, #0f7c80 45%, #148f94 100%);
  color: #fff;
  padding: 3.5rem 2rem;
  margin-top: 2rem;
}

.ls-cta-band__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ls-cta-band__copy h2 {
  color: #fff !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.5rem !important;
}

.ls-cta-band__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  max-width: 520px;
}

.ls-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ls-cta-band .ls-hero__btn-primary {
  background: #fff !important;
  color: var(--ls-primary) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ls-cta-band .ls-hero__btn-primary:hover {
  background: var(--ls-primary-light) !important;
  color: var(--ls-primary-dark) !important;
}

.ls-cta-band .ls-hero__btn-secondary {
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}

.ls-cta-band .ls-hero__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #fff !important;
}

@media (max-width: 992px) {
  .ls-hero-carousel {
    padding: 0 2rem;
    max-width: 100%;
  }

  .ls-cta-band__inner {
    flex-direction: column;
    text-align: center;
  }

  .ls-cta-band__actions {
    justify-content: center;
  }
}

/* ============================================================
   ALL COURSES (/show-all-courses) — full-width slider + catalog popover
   ============================================================ */

#ls-catalog-course-popover {
  position: fixed;
  z-index: 1080;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#ls-catalog-course-popover.is-visible {
  pointer-events: auto;
}

#ls-catalog-course-popover.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ls-catalog-slider {
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #0f172a;
  overflow: hidden;
}

.ls-catalog-slider__viewport {
  position: relative;
  width: 100%;
  min-height: clamp(200px, 22vw, 380px);
  max-height: min(42vh, 420px);
}

.ls-catalog-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(200px, 22vw, 380px);
}

.ls-catalog-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.ls-catalog-slider__slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.ls-catalog-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ls-catalog-slider__dots {
  position: absolute;
  bottom: 0.85rem;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: auto;
}

.ls-catalog-slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--ls-transition);
}

.ls-catalog-slider__dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.ls-catalog-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.ls-catalog-page__header {
  margin-bottom: 1.75rem;
}

.ls-catalog-page__title {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: var(--ls-text) !important;
  margin: 0 !important;
}

.ls-courses-grid--catalog {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .ls-courses-grid--catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .ls-courses-grid--catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .ls-courses-grid--catalog {
    grid-template-columns: 1fr;
  }
}

.ls-course-card--catalog .ls-course-card__title {
  font-size: 0.95rem;
}

.ls-course-popover--catalog {
  max-width: min(400px, calc(100vw - 20px));
}

.ls-course-popover--catalog .ls-course-popover__panel {
  padding: 1.35rem 1.5rem 1.4rem;
}

.ls-course-popover--catalog .ls-course-popover__title {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.ls-course-popover__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.ls-pop-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: var(--ls-radius-full);
}

.ls-pop-badge--premium {
  background: linear-gradient(135deg, #0f7c80 0%, #1aadb2 100%);
  color: #fff;
}

.ls-pop-badge--bestseller {
  background: #ccfbf1;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.ls-pop-badge--featured {
  background: var(--ls-primary-light);
  color: var(--ls-primary-dark);
  border: 1px solid rgba(15, 124, 128, 0.2);
}

.ls-course-popover__updated {
  font-size: 0.82rem;
  margin: 0 0 0.45rem;
  color: #1a1a1a;
  font-weight: 700;
}

.ls-course-popover__updated .ls-course-popover__updated-label {
  color: #1a1a1a;
  font-weight: 800;
  margin-right: 0.2rem;
}

.ls-course-popover__updated strong {
  color: #000;
  font-weight: 800;
}

.ls-course-popover__meta {
  font-size: 0.78rem;
  color: var(--ls-text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.ls-course-popover--catalog .ls-course-popover__desc {
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.ls-course-popover__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: var(--ls-text);
  line-height: 1.45;
}

.ls-course-popover__bullets li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}

.ls-course-popover__bullets .fa-check {
  color: var(--ls-text-muted);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.ls-course-popover--catalog .ls-course-popover__rating {
  margin-bottom: 0.55rem;
}

.ls-course-popover--catalog .ls-course-popover__actions {
  align-items: stretch;
  gap: 0.65rem;
}

.ls-course-popover__btn--wish {
  flex: 0 0 48px !important;
  min-width: 48px !important;
  width: 48px;
  height: 48px;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 2px solid var(--ls-primary) !important;
  background: #fff !important;
  color: var(--ls-primary) !important;
}

.ls-course-popover__btn--wish:hover {
  background: var(--ls-primary-light) !important;
  color: var(--ls-primary-dark) !important;
}

.ls-course-popover__btn--wish.is-done {
  border-color: var(--ls-success) !important;
  color: var(--ls-success) !important;
  background: #ecfdf5 !important;
}

.ls-course-popover--catalog .ls-course-popover__btn--primary {
  flex: 1;
  min-height: 48px;
  font-size: 0.9rem;
  border-radius: var(--ls-radius-sm);
  background: var(--ls-primary);
  border: none;
}

.ls-course-popover--catalog .ls-course-popover__btn--primary:hover {
  background: var(--ls-primary-dark);
}

.ls-catalog-empty {
  background: var(--ls-bg) !important;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
}

@media (max-width: 576px) {
  .ls-catalog-slider__viewport {
    min-height: 160px;
    max-height: 38vh;
  }

  .ls-catalog-slider__track {
    min-height: 160px;
  }

  .ls-course-popover--catalog .ls-course-popover__panel {
    padding: 1rem 1.1rem;
  }
}

/* ============================================================
   [2026 UPDATE] HOMEPAGE STANDALONE HERO — no carousel inside
   ============================================================ */
.ls-main-hero--standalone {
  padding: 5.5rem 0 4rem;
  text-align: center;
}

.ls-main-hero--standalone .ls-main-hero__container {
  display: flex;
  justify-content: center;
}

.ls-main-hero--standalone .ls-main-hero__content {
  max-width: 820px;
  text-align: center;
}

.ls-main-hero--standalone .ls-main-hero__desc {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.ls-main-hero--standalone .ls-main-hero__actions {
  justify-content: center;
  gap: 1.25rem;
}

.ls-main-hero--standalone .ls-main-hero__btn-primary {
  padding: 1.1rem 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.ls-main-hero--standalone .ls-main-hero__btn-secondary {
  padding: 1.1rem 2.25rem;
  font-size: 1rem;
}

/* Stat counters inside hero */
.ls-main-hero__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ls-main-hero__stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

.ls-main-hero__stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .ls-main-hero--standalone {
    padding: 3.5rem 0 3rem;
  }

  .ls-main-hero__stats {
    gap: 2rem;
  }

  .ls-main-hero__stat-num {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .ls-main-hero--standalone {
    padding: 2.5rem 0 2.5rem;
  }

  .ls-main-hero--standalone .ls-main-hero__title {
    font-size: 2.1rem !important;
  }

  .ls-main-hero--standalone .ls-main-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .ls-main-hero__stats {
    gap: 1.5rem;
  }
}

/* ============================================================
   HOME SLIDER — Standalone section with breathing room (margins)
   ============================================================ */
.ls-home-slider {
  background: linear-gradient(180deg, rgba(15, 124, 128, 0.06) 0%, var(--ls-bg) 100%);
  padding: 0 0 3.5rem;
}

.ls-home-slider__wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 3rem;
  /* breathing room left/right */
}

.ls-home-slider .ls-hero-carousel {
  flex: none;
  width: 100%;
  max-width: none;
  padding: 0;
  position: relative;
}

.ls-home-slider .ls-hero-carousel__viewport {
  aspect-ratio: unset !important;
  min-height: 520px;
  height: clamp(380px, 42vw, 600px);
  border-radius: var(--ls-radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18), 0 8px 32px rgba(15, 124, 128, 0.14);
  overflow: hidden;
}

.ls-home-slider .ls-hero-carousel__track {
  height: 100%;
  min-height: 0;
}

.ls-home-slider .ls-hero-carousel__slide {
  position: absolute;
  inset: 0;
}

.ls-home-slider .ls-hero-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ls-home-slider .ls-hero-carousel__nav {
  width: 52px;
  height: 52px;
  font-size: 1.05rem;
}

.ls-home-slider .ls-hero-carousel__dots {
  margin-top: 1.5rem;
  position: absolute;
  bottom: -2.25rem;
  left: 0;
  right: 0;
}

.ls-home-slider .ls-hero-carousel__dot {
  background: rgba(15, 124, 128, 0.25);
  width: 10px;
  height: 10px;
}

.ls-home-slider .ls-hero-carousel__dot.is-active {
  background: var(--ls-primary);
  transform: scale(1.3);
}

/* Slider section bottom spacing for dots overflow */
.ls-home-slider .ls-hero-carousel {
  padding-bottom: 2.5rem;
}

@media (max-width: 1200px) {
  .ls-home-slider__wrap {
    padding: 0 2.5rem;
  }

  .ls-home-slider .ls-hero-carousel__viewport {
    min-height: 420px;
    height: clamp(320px, 44vw, 520px);
  }
}

@media (max-width: 992px) {
  .ls-home-slider__wrap {
    padding: 0 2rem;
  }

  .ls-home-slider .ls-hero-carousel__viewport {
    min-height: 340px;
    height: clamp(280px, 46vw, 440px);
  }
}

@media (max-width: 768px) {
  .ls-home-slider {
    padding: 0 0 2.5rem;
  }

  .ls-home-slider__wrap {
    padding: 0 1.5rem;
  }

  .ls-home-slider .ls-hero-carousel__viewport {
    min-height: 260px;
    height: clamp(200px, 48vw, 360px);
  }
}

@media (max-width: 576px) {
  .ls-home-slider {
    padding: 0 0 2rem;
  }

  .ls-home-slider__wrap {
    padding: 0 1rem;
  }

  .ls-home-slider .ls-hero-carousel__viewport {
    min-height: 200px;
    height: clamp(175px, 52vw, 280px);
    border-radius: var(--ls-radius-sm);
  }

  .ls-home-slider .ls-hero-carousel__nav {
    width: 38px;
    height: 38px;
  }
}

/* ============================================================
   SUPREME QUICK PREVIEW / CART POPUP — High-Fidelity (Side-Oriented)
   ============================================================ */
.ls-course-popover {
  position: fixed;
  z-index: 2000;
  /* Higher than nav but below modals */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.ls-course-popover.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Animations per side */
.ls-course-popover--right {
  transform: translateX(12px);
}

.ls-course-popover--left {
  transform: translateX(-12px);
}

.ls-course-popover--below {
  transform: translateY(12px);
}

.ls-course-popover--right.is-open,
.ls-course-popover--left.is-open,
.ls-course-popover--below.is-open {
  transform: translate(0, 0);
}

.ls-course-popover__panel {
  position: relative;
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22), 0 0 1px rgba(0, 0, 0, 0.1) !important;
  padding: 1.8rem 1.8rem !important;
  width: 340px;
  max-width: calc(100vw - 40px);
  border-top: 5px solid var(--ls-primary) !important;
  overflow: visible;
}

.ls-course-popover__title {
  color: #1e293b !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  margin-bottom: 0.6rem !important;
}

.ls-course-popover__updated {
  color: #000 !important;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 0.8rem !important;
  display: flex;
  align-items: center;
}

.ls-course-popover__updated strong {
  margin-left: 0.3rem;
  color: #000;
}

.ls-course-popover__meta {
  font-size: 0.85rem !important;
  color: #64748b !important;
  background: #f1f5f9;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1.25rem !important;
  display: inline-block;
  font-weight: 500;
}

.ls-course-popover__desc {
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  margin-bottom: 1.5rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ls-course-popover__bullets {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
}

.ls-course-popover__bullets li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.ls-course-popover__bullets .fa-check {
  color: #0f7c82;
  margin-top: 0.2rem;
}

.ls-course-popover__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.ls-course-popover__score {
  font-weight: 800;
  color: #b45309;
  font-size: 1.1rem;
}

.ls-course-popover__rating .fa-star {
  color: #e2e8f0;
  font-size: 0.9rem;
}

.ls-course-popover__rating .fa-star.active {
  color: #f59e0b !important;
}

.ls-course-popover__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.ls-pop-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ls-pop-badge--premium {
  background: var(--ls-accent);
  color: #000;
}

.ls-pop-badge--bestseller {
  background: #ffe0b2;
  color: #e65100;
}

.ls-pop-badge--featured {
  background: #e0f2f1;
  color: #00796b;
}

.ls-course-popover__count {
  font-size: 0.85rem;
  color: #64748b;
  margin-left: 0.35rem;
}

.ls-course-popover__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ls-course-popover__price-now {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e293b;
}

.ls-course-popover__price-was {
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.ls-course-popover__price-free {
  font-size: 1.4rem;
  font-weight: 800;
  color: #059669;
}

/* Arrow System */
.ls-course-popover__arrow {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  z-index: -1;
}

/* Arrow for Right-side placement (pointing left to the card) */
.ls-course-popover--right .ls-course-popover__arrow {
  left: -8px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.05);
  border: none;
  background: #fff;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Arrow for Left-side placement (pointing right to the card) */
.ls-course-popover--left .ls-course-popover__arrow {
  right: -8px;
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
  box-shadow: 4px -4px 8px rgba(0, 0, 0, 0.05);
  border: none;
  background: #fff;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Arrow for Below placement (pointing up to the card) */
.ls-course-popover--below .ls-course-popover__arrow {
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border-top: 5px solid var(--ls-primary);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.ls-course-popover__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
}

.ls-course-popover__btn--primary {
  flex: 1;
  background: #0f7c82 !important;
  color: #fff !important;
  border: none !important;
  padding: 0.85rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.ls-course-popover__btn--primary:hover {
  background: #0d6a6f !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(15, 124, 130, 0.25);
}

.ls-course-popover__btn--wish {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border: 1.5px solid #0f7c82 !important;
  background: #fff !important;
  color: #0f7c82 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.ls-course-popover__btn--wish:hover {
  background: #f0f9f9 !important;
}

.ls-course-popover__btn--wish.is-done {
  background: #0f7c82 !important;
  color: #fff !important;
}

/* ============================================================
   COURSE CATEGORY PAGE — Exactly 4 cards per row
   ============================================================ */
.ls-category-page .ls-courses-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .ls-category-page .ls-courses-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .ls-category-page .ls-courses-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .ls-category-page .ls-courses-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
}

/* ============================================================
   ALL COURSES (catalog) PAGE — 4 cards per row
   ============================================================ */
.ls-courses-grid--catalog {
  grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 1200px) {
  .ls-courses-grid--catalog {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .ls-courses-grid--catalog {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .ls-courses-grid--catalog {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   LAYOUT ALIGNMENT — Consistent container widths
   ============================================================ */
.ls-courses-section,
.ls-categories-section,
.ls-content-card-section {
  max-width: 1360px;
  /* matches slider container */
  margin-left: auto;
  margin-right: auto;
}

.ls-catalog-page {
  max-width: 1360px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 3rem;
}

@media (max-width: 768px) {
  .ls-catalog-page {
    padding: 1.5rem 1.25rem 2rem;
  }

  .ls-catalog-page__title {
    font-size: 1.5rem !important;
  }
}

.ls-category-page {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 2.5rem 4rem;
}

@media (max-width: 768px) {
  .ls-category-page {
    padding: 1.5rem 1.25rem 2.5rem;
  }
}

/* ============================================================
   DYNAMIC UI — Enhanced hover effects & transitions
   ============================================================ */

/* Course card - spring-like hover */
.ls-course-card {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.22s ease !important;
  line-clamp: 2;
}

.ls-course-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.12),
    0 4px 14px rgba(15, 124, 128, 0.1) !important;
  border-color: transparent !important;
}

/* Category pills enhanced */
.ls-category-pill {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease,
    background 0.2s ease,
    border-color 0.2s ease !important;
}

.ls-category-pill:hover {
  box-shadow: 0 10px 28px rgba(15, 124, 128, 0.18) !important;
  transform: translateY(-5px) !important;
}

/* Nav button lift */
.ls-btn-signup:hover {
  transform: translateY(-2px);
}

.ls-btn-outline:hover {
  transform: translateY(-2px);
}

/* Trust strip items */
.ls-trust-strip__item {
  transition: var(--ls-transition);
  cursor: default;
}

.ls-trust-strip__item i {
  transition: transform 0.22s ease, color 0.22s ease;
}

.ls-trust-strip__item:hover i {
  transform: scale(1.15);
  color: var(--ls-primary-dark);
}

/* Page hero entrance */
.ls-page-hero h1,
.ls-main-hero__title {
  animation: ls-fade-up 0.6s ease both;
}

.ls-page-hero p,
.ls-main-hero__desc {
  animation: ls-fade-up 0.7s ease 0.1s both;
}

.ls-main-hero__actions {
  animation: ls-fade-up 0.7s ease 0.2s both;
}

.ls-main-hero__stats {
  animation: ls-fade-up 0.7s ease 0.3s both;
}

/* Course card stagger entrance */
.ls-course-card-wrap {
  animation: ls-fade-up 0.5s ease both;
}

.ls-course-card-wrap:nth-child(1) {
  animation-delay: 0.04s;
}

.ls-course-card-wrap:nth-child(2) {
  animation-delay: 0.09s;
}

.ls-course-card-wrap:nth-child(3) {
  animation-delay: 0.14s;
}

.ls-course-card-wrap:nth-child(4) {
  animation-delay: 0.19s;
}

.ls-course-card-wrap:nth-child(5) {
  animation-delay: 0.24s;
}

.ls-course-card-wrap:nth-child(6) {
  animation-delay: 0.29s;
}

.ls-course-card-wrap:nth-child(7) {
  animation-delay: 0.34s;
}

.ls-course-card-wrap:nth-child(8) {
  animation-delay: 0.39s;
}

/* ============================================================
   BUTTON CONSISTENCY — Eliminate purple, ensure teal everywhere
   ============================================================ */

/* Override Bootstrap blue/info with teal */
.btn-info {
  background-color: var(--ls-primary) !important;
  border-color: var(--ls-primary) !important;
  color: #fff !important;
}

.btn-info:hover,
.btn-info:focus {
  background-color: var(--ls-primary-dark) !important;
  border-color: var(--ls-primary-dark) !important;
  color: #fff !important;
}

.text-info {
  color: var(--ls-primary) !important;
}

.badge-info {
  background-color: var(--ls-primary) !important;
}

/* Outline website button polish */
.btn-outline-website {
  color: var(--ls-primary) !important;
  border-color: var(--ls-primary) !important;
  transition: var(--ls-transition);
}

.btn-outline-website:hover {
  background-color: var(--ls-primary) !important;
  color: #fff !important;
}

/* ============================================================
   RESPONSIVE FIXES — Mobile, Tablet, Desktop
   ============================================================ */

/* Nav alignment on tablets */
@media (max-width: 992px) {
  .ls-nav__inner {
    gap: 0.75rem;
  }
}

/* Footer column reflow */
@media (max-width: 992px) {
  .ls-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }
}

@media (max-width: 576px) {
  .ls-footer__inner {
    grid-template-columns: 1fr;
    padding: 0 1.25rem;
  }
}

/* Course section padding on mobile */
@media (max-width: 768px) {
  .ls-courses-section {
    padding: 2.5rem 1.25rem;
  }

  .ls-categories-section {
    padding: 2rem 1.25rem 2.5rem;
  }
}

/* Category toolbar responsive */
@media (max-width: 576px) {
  .ls-category-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .ls-category-toolbar__count {
    font-size: 0.85rem;
  }
}

/* Page hero mobile */
@media (max-width: 576px) {
  .ls-page-hero {
    padding: 2.5rem 1rem 2rem;
  }

  .ls-page-hero h1 {
    font-size: 1.5rem !important;
  }
}

/* Catalog grid on mobile fix */
@media (max-width: 576px) {
  .ls-catalog-page {
    padding: 1rem 1rem 2rem;
  }
}

/* Auth form full width on small mobile */
@media (max-width: 400px) {
  .ls-auth-form-wrap {
    padding: 1.75rem 1rem;
  }
}

/* Trust strip wrap on mobile */
@media (max-width: 480px) {
  .ls-trust-strip__inner {
    gap: 0.85rem 1.5rem;
  }
}

/* ============================================================
   HERO CAROUSEL — Nav button accessibility improvement
   ============================================================ */
.ls-hero-carousel__nav:focus-visible {
  outline: 3px solid var(--ls-accent);
  outline-offset: 2px;
}

.ls-hero-carousel__dot:focus-visible {
  outline: 2px solid var(--ls-accent);
  outline-offset: 2px;
}

/* ============================================================
   COURSE SIDEBAR PURCHASE BUTTON — Consistent teal
   ============================================================ */
.ls-course-sidebar .btn-outline-website,
.ls-course-sidebar .ls-btn-course {
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 0.01em;
}

/* ============================================================
   LINK & COLOR CONSISTENCY — No purple anywhere
   ============================================================ */
a,
a:focus {
  color: var(--ls-primary);
}

a:hover {
  color: var(--ls-primary-dark);
}

/* ============================================================
   SCROLLBAR — Custom teal scrollbar for modal menus
   ============================================================ */
.ls-sidebar-menu::-webkit-scrollbar-thumb {
  background: rgba(15, 124, 128, 0.3);
}

.ls-sidebar-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 124, 128, 0.5);
}

/* ============================================================
   [2026] HOMEPAGE HERO — Slider + overlay content panel
   ============================================================ */

/* Outer section wrapper */
.ls-hero-section {
  position: relative;
  background: #0a0a1a;
  overflow: hidden;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Full-width slider container inside hero */
.ls-hero-slider-outer {
  position: relative;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ls-hero-carousel,
.ls-hero-carousel__viewport--tall {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  position: relative;
  overflow: hidden;
}

.ls-hero-carousel__viewport--tall {
  aspect-ratio: unset !important;
  height: clamp(420px, 56vw, 680px) !important;
  min-height: 420px !important;
  max-height: 720px;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ls-hero-carousel__track {
  width: 100%;
  height: 100%;
}

.ls-hero-carousel__slide {
  position: absolute;
  inset: 0;
}

.ls-hero-carousel__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.ls-hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(6, 40, 42, 0.88) 0%,
      rgba(10, 60, 64, 0.72) 45%,
      rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.ls-hero-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.ls-hero-overlay-content__inner {
  pointer-events: auto;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 3rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.ls-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--ls-radius-full);
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.ls-hero-eyebrow i {
  color: var(--ls-accent);
}

.ls-hero-heading {
  font-size: clamp(2.4rem, 5.5vw, 4.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  color: #fff !important;
  margin: 0 0 1.25rem !important;
  letter-spacing: -0.02em;
  max-width: 660px;
}

.ls-hero-heading__accent {
  background: linear-gradient(135deg, #f9a825 0%, #ffca28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ls-hero-subtext {
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin: 0 0 2.25rem;
}

.ls-hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.ls-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--ls-radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-decoration: none !important;
  cursor: pointer;
  transition: var(--ls-transition);
  white-space: nowrap;
}

.ls-hero-btn--primary {
  background: var(--ls-primary);
  color: #fff !important;
  border: 2px solid var(--ls-primary);
  box-shadow: 0 4px 20px rgba(15, 124, 128, 0.4);
}

.ls-hero-btn--primary:hover {
  background: var(--ls-primary-dark);
  border-color: var(--ls-primary-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(15, 124, 128, 0.5);
}

.ls-hero-btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ls-hero-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff !important;
  transform: translateY(-2px);
}

.ls-hero-stats-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ls-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ls-hero-stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.ls-hero-stat span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ls-hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.ls-hero-section .ls-hero-carousel__nav {
  z-index: 20;
  width: 48px;
  height: 48px;
}

.ls-hero-section .ls-hero-carousel__dots {
  z-index: 20;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  position: absolute;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.ls-hero-section .ls-hero-carousel__dot {
  background: rgba(255, 255, 255, 0.4);
}

.ls-hero-section .ls-hero-carousel__dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.ls-hero-eyebrow {
  animation: ls-fade-up 0.55s ease 0.1s both;
}

.ls-hero-heading {
  animation: ls-fade-up 0.6s ease 0.2s both;
}

.ls-hero-subtext {
  animation: ls-fade-up 0.6s ease 0.3s both;
}

.ls-hero-cta-row {
  animation: ls-fade-up 0.6s ease 0.4s both;
}

.ls-hero-stats-row {
  animation: ls-fade-up 0.6s ease 0.5s both;
}

@media (max-width: 768px) {
  .ls-hero-carousel__viewport--tall {
    height: clamp(350px, 75vw, 550px) !important;
    min-height: 350px !important;
  }

  .ls-hero-overlay-content {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .ls-hero-overlay-content__inner {
    padding: 2.5rem 1.5rem;
    align-items: center;
    justify-content: center;
    max-width: 100%;
  }

  .ls-hero-heading {
    font-size: clamp(2.1rem, 8vw, 3.2rem) !important;
    max-width: 100%;
    margin-bottom: 1.5rem !important;
  }

  .ls-hero-subtext {
    font-size: 1rem;
    max-width: 90%;
    margin: 0 auto 2.5rem;
    display: block !important;
  }

  .ls-hero-cta-row {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .ls-hero-section,
  .ls-hero-slider-outer,
  .ls-hero-carousel,
  .ls-hero-carousel__viewport--tall {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .ls-hero-carousel__viewport--tall {
    height: 100vh !important; /* Full height on mobile for better slider feel */
    height: 100svh !important;
    min-height: 480px !important;
  }

  .ls-hero-overlay-content__inner {
    padding: 2.5rem 1.25rem !important; /* Ensure enough padding on small mobile */
    gap: 0.5rem;
    width: 100%;
  }

  .ls-hero-heading {
    font-size: clamp(2rem, 11vw, 2.6rem) !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.1;
    width: 100%;
  }

  .ls-hero-heading br {
    display: none; /* remove line breaks to allow auto-wrapping on mobile */
  }

  .ls-hero-subtext {
    display: block !important;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto 2.5rem !important;
    opacity: 0.95;
    max-width: 100%;
  }

  .ls-hero-cta-row {
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
    width: 100%;
  }

  .ls-hero-btn {
    padding: 1.1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }

  .ls-hero-stats-row {
    width: 100%;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap; /* allow wrapping on super tiny screens */
  }

  .ls-hero-stat strong {
    font-size: 1.45rem;
  }

  .ls-hero-section .ls-hero-carousel__nav {
    display: none; /* Keep hidden on mobile */
  }
}

/* ── Hide standalone slider section if old markup is present ──
   (ls-home-slider was the previous approach; hero-section replaces it) */
.ls-home-slider {
  display: none !important;
}

.ls-pop-updated-date {
  font-weight: 800;
  color: #0f7c82;
}


.ls-course-card__icon-btn.is-active i {
  color: #ef4444 !important;
}

.ls-popover-wishlist.is-done i {
  color: #ef4444 !important;
}


/* Wishlist Animations & UI */
.ls-course-card__icon-btn {
  background: #fff !important;
  pointer-events: auto !important;
}

@keyframes heartPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.4);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
  }
}

.ls-heart-animate {
  animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* Force white background for all wishlist buttons */
.ls-course-popover__btn--wish,
.ls-course-popover__btn--wish.is-done,
.ls-course-popover__btn--wish:hover {
  background: #fff !important;
  color: #0f7c82 !important;
  border-color: #0f7c82 !important;
}

.ls-course-popover__btn--wish.is-done i {
  color: #ef4444 !important;
}

/* ============================================================
   ADMIN DASHBOARD REDESIGN
   ============================================================ */
:root {
  --ls-admin-sidebar-w: 270px;
  --ls-admin-topbar-h: 74px;
}

.ls-admin-layout {
  display: flex !important;
  min-height: 100vh;
  background: #f8fafc;
}

/* Admin Sidebar */
.ls-admin-sidebar {
  width: var(--ls-admin-sidebar-w);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--ls-surface);
  border-right: 1.5px solid var(--ls-border);
  z-index: 1050;
  overflow-y: auto;
  transition: var(--ls-transition);
  display: flex;
  flex-direction: column;
}

.ls-admin-sidebar::-webkit-scrollbar {
  width: 4px;
}

.ls-admin-sidebar::-webkit-scrollbar-thumb {
  background: var(--ls-border);
  border-radius: 4px;
}

.ls-admin-sidebar__logo {
  padding: 1.5rem;
  border-bottom: 1px solid var(--ls-border);
  display: block;
  text-align: center;
}

.ls-admin-sidebar__logo img {
  height: 52px;
  width: auto;
}

.ls-admin-sidebar__nav {
  padding: 1.25rem 0;
  flex: 1;
}

.ls-admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1.5rem;
  color: #475569 !important;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: var(--ls-transition);
  margin: 0.15rem 0.75rem;
  border-radius: var(--ls-radius-sm);
}

.ls-admin-sidebar__link i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--ls-text-muted);
}

.ls-admin-sidebar__link:hover {
  background: var(--ls-bg);
  color: var(--ls-primary) !important;
}

.ls-admin-sidebar__link:hover i {
  color: var(--ls-primary);
}

.ls-admin-sidebar__link.is-active {
  background: var(--ls-primary);
  color: #fff !important;
}

.ls-admin-sidebar__link.is-active i {
  color: #fff;
}

.ls-admin-sidebar__divider {
  height: 1px;
  background: var(--ls-border);
  margin: 1.25rem 1.5rem;
}

.ls-admin-sidebar__header {
  padding: 0.5rem 1.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ls-text-muted);
}

/* Admin Content Area */
.ls-admin-main {
  flex: 1;
  margin-left: var(--ls-admin-sidebar-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Admin Topbar */
.ls-admin-topbar {
  height: var(--ls-admin-topbar-h);
  background: #fff;
  border-bottom: 1.5px solid var(--ls-border);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1040;
}

.ls-admin-topbar__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ls-text);
  margin: 0;
}

.ls-admin-topbar__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ls-admin-topbar__btn {
  padding: 0.5rem 1rem;
  border-radius: var(--ls-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--ls-transition);
}

.ls-admin-topbar__btn--outline {
  border: 1.5px solid var(--ls-border);
  color: var(--ls-text) !important;
}

.ls-admin-topbar__btn--outline:hover {
  background: var(--ls-bg);
}

/* Dashboard Component Styles */
.ls-admin-content {
  padding: 2.25rem;
  flex: 1;
}

.ls-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.ls-admin-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--ls-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ls-admin-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ls-shadow-md);
  border-color: var(--ls-primary);
}

.ls-admin-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ls-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ls-primary);
  flex-shrink: 0;
}

.ls-admin-card__info {
  flex: 1;
}

.ls-admin-card__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ls-text-muted);
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.ls-admin-card__value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ls-text);
  line-height: 1;
}

/* Admin Footer */
.ls-admin-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--ls-border);
  background: #fff;
  text-align: center;
  font-size: 0.875rem;
  color: var(--ls-text-muted);
}

/* Mobile Sidebar & Overlay */
.ls-admin-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ls-text);
  margin-right: 1rem;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .ls-admin-sidebar {
    transform: translateX(-100%);
  }
  
  .ls-admin-sidebar.is-open {
    transform: translateX(0);
  }
  
  .ls-admin-main {
    margin-left: 0;
  }
  
  .ls-admin-hamburger {
    display: block;
  }
  
  .ls-admin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1045;
    display: none;
  }
  
  .ls-admin-overlay.is-active {
    display: block;
  }
}

@media (max-width: 576px) {
  .ls-admin-content {
    padding: 1.25rem;
  }
}

/* Form Components */
.ls-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ls-text);
  margin-bottom: 0.5rem;
}

.ls-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--ls-bg);
  border: 1.5px solid var(--ls-border);
  border-radius: var(--ls-radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ls-text);
  transition: var(--ls-transition);
  box-sizing: border-box !important;
}

.ls-input:focus {
  outline: none;
  border-color: var(--ls-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 124, 128, 0.1);
}

.ls-input::placeholder {
  color: var(--ls-text-muted);
  opacity: 0.6;
}

.ls-input.is-invalid {
  border-color: var(--ls-error);
  background: #fffafa;
}

/* Button Components */
.ls-btn-primary {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--ls-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--ls-radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--ls-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
}

.ls-btn-primary:hover {
  background: var(--ls-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 124, 128, 0.2);
}

.ls-btn-outline {
  padding: 0.875rem 1.5rem;
  background: transparent;
  color: var(--ls-text) !important;
  border: 1.5px solid var(--ls-border);
  border-radius: var(--ls-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--ls-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
}

.ls-btn-outline:hover {
  background: var(--ls-bg);
  border-color: #cbd5e1;
}
