/*============================================================
  AI-ROBOTS — Glassmorphism Theme with Dark/Light Mode
  Complete design override
============================================================*/

/* ========================
   1. CSS Variables
======================== */
:root {
  /* Light Mode */
  --bg-body: #f0f2f8;
  --bg-surface: rgba(255,255,255,0.6);
  --bg-surface-solid: #ffffff;
  --bg-surface-hover: rgba(255,255,255,0.85);
  --bg-elevated: rgba(255,255,255,0.75);
  --bg-nav: rgba(255,255,255,0.55);
  --bg-footer: rgba(15,23,42,0.92);
  --bg-hero: linear-gradient(135deg, #e8eaff 0%, #f5e6ff 50%, #ffe6f0 100%);
  --bg-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --bg-accent-soft: rgba(102,126,234,0.08);

  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --text-on-accent: #ffffff;
  --text-accent: #667eea;
  --text-link: #667eea;

  --border: rgba(100,116,139,0.12);
  --border-glass: rgba(255,255,255,0.45);

  --blur: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow: 0 8px 32px rgba(31,38,135,0.06);
  --shadow-lg: 0 20px 60px rgba(31,38,135,0.1);
  --shadow-accent: 0 8px 30px rgba(102,126,234,0.25);

  --radius-xs: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);

  --nav-h: 72px;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-body: #080d1a;
  --bg-surface: rgba(15,23,42,0.55);
  --bg-surface-solid: #0f172a;
  --bg-surface-hover: rgba(30,41,59,0.8);
  --bg-elevated: rgba(30,41,59,0.6);
  --bg-nav: rgba(8,13,26,0.7);
  --bg-footer: rgba(3,7,18,0.95);
  --bg-hero: linear-gradient(135deg, #080d1a 0%, #1e1b4b 50%, #2d0a3e 100%);
  --bg-accent-soft: rgba(129,140,248,0.1);

  --text-1: #f1f5f9;
  --text-2: #cbd5e1;
  --text-3: #64748b;
  --text-accent: #818cf8;
  --text-link: #a5b4fc;

  --border: rgba(148,163,184,0.1);
  --border-glass: rgba(148,163,184,0.12);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow: 0 8px 32px rgba(0,0,0,0.25);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-accent: 0 8px 30px rgba(129,140,248,0.2);
}

/* ========================
   2. Base
======================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font) !important;
  background: var(--bg-body) !important;
  color: var(--text-2) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { color: var(--text-1) !important; font-weight: 700; }
p { color: var(--text-2); }
a { color: var(--text-link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text-1); }

::selection { background: rgba(102,126,234,0.25); color: var(--text-1); }

/* ========================
   3. Preloader
======================== */
.preloader {
  position: fixed !important;
  inset: 0;
  z-index: 99999;
  background: var(--bg-body) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner { text-align: center; }

.preloader-ring {
  width: 50px; height: 50px;
  border: 3px solid var(--border);
  border-top-color: var(--text-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.preloader-text {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--text-accent);
}

/* hide old preloader */
.loader-ripple { display: none !important; }

/* ========================
   4. Floating Orbs
======================== */
.bg-orbs {
  position: fixed; inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}
[data-theme="dark"] .orb { opacity: 0.15; }

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #667eea, transparent 70%);
  top: -15%; left: -10%;
  animation: orbMove1 25s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #764ba2, transparent 70%);
  bottom: -10%; right: -8%;
  animation: orbMove2 30s ease-in-out infinite;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f093fb, transparent 70%);
  top: 40%; left: 50%;
  animation: orbMove3 20s ease-in-out infinite;
}

@keyframes orbMove1 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(80px,60px); }
}
@keyframes orbMove2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-60px,-80px); }
}
@keyframes orbMove3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-100px,50px) scale(1.2); }
}

/* ========================
   5. Glass Navbar
======================== */
.glass-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: var(--bg-nav);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition);
}

.glass-nav.scrolled {
  padding: 8px 0;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  height: 38px;
  transition: filter var(--transition);
}
[data-theme="dark"] .logo-img { filter: brightness(1.4); }
.logo-text {
  font-weight: 900;
  font-size: 20px;
  background: var(--bg-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.nav-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2) !important;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-accent) !important;
  background: var(--bg-accent-soft);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--bg-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xs);
  color: var(--text-1);
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.nav-icon-btn:hover {
  background: var(--bg-surface-hover);
  color: var(--text-accent);
  transform: translateY(-1px);
}

/* Theme toggle icons */
.theme-icon-light { display: none; }
.theme-icon-dark { display: inline; }
[data-theme="dark"] .theme-icon-light { display: inline; }
[data-theme="dark"] .theme-icon-dark { display: none; }

/* Nav CTA button */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-accent) !important;
  color: var(--text-on-accent) !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-accent);
  border: none;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(102,126,234,0.35);
  color: #fff !important;
}

.nav-cta-outline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: transparent;
  color: var(--text-1) !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all var(--transition);
}
.nav-cta-outline:hover {
  background: var(--bg-accent-soft);
  border-color: var(--text-accent);
  color: var(--text-accent) !important;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}
.mobile-menu.open { display: block; animation: fadeSlideDown 0.3s ease; }

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

.mobile-links {
  list-style: none;
  margin: 0 0 16px; padding: 0;
}
.mobile-links a {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--text-2) !important;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
}
.mobile-links a:hover { background: var(--bg-accent-soft); color: var(--text-accent) !important; }

.mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Body offset for fixed nav */
body { padding-top: var(--nav-h); }

/* ========================
   6. Glass Cards (universal overrides)
======================== */
.course-item,
.team-item,
.blog-item,
.testimonial-item,
.partner-item,
.feature-item,
.category-item,
.counter-item,
.pricing-item,
.choose-item,
.step-item,
.instructor-item,
.auth-form,
.account-card,
.sidebar-widget,
.course-single-top,
.course-info,
.contact-form {
  background: var(--bg-surface) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  transition: all var(--transition) !important;
  overflow: hidden;
}

.course-item:hover,
.team-item:hover,
.blog-item:hover,
.testimonial-item:hover,
.feature-item:hover,
.category-item:hover,
.instructor-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(102,126,234,0.25) !important;
}

/* Card text */
.course-content h4 a,
.blog-content h4 a,
.instructor-content h5 a,
.team-content h4 a { color: var(--text-1) !important; }

.course-content h4 a:hover,
.blog-content h4 a:hover,
.instructor-content h5 a:hover { color: var(--text-accent) !important; }

.course-content p,
.blog-content p,
.course-meta,
.course-info-item { color: var(--text-3) !important; }

/* ========================
   7. Sections & Backgrounds
======================== */
.hero-section,
.hero-area {
  background: var(--bg-hero) !important;
  padding-top: 40px !important;
}

.faq-area, .testimonial-area, .counter-area, .cta-area,
.partner-area, .feature-area, .about-area, .course-area,
.team-area, .blog-area, .choose-area, .category-area,
.step-area, .download-area, .contact-area, .auth-area,
.instructor, .gallery-area {
  background: transparent !important;
}

[data-theme="dark"] .counter-area,
[data-theme="dark"] .cta-area,
[data-theme="dark"] .testimonial-area.ts-bg {
  background: rgba(30,27,75,0.2) !important;
}

/* ========================
   8. Breadcrumb
======================== */
.site-breadcrumb {
  margin-top: 0px;
  background: var(--bg-accent) !important;
  padding: 50px 0 !important;
  position: relative;
  overflow: hidden;
}
.site-breadcrumb::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(102,126,234,0.9), rgba(118,75,162,0.85));
  z-index: 1;
}
.site-breadcrumb > .container { position: relative; z-index: 2; }
.site-breadcrumb .breadcrumb-title { color: #fff !important; font-weight: 800 !important; }
.site-breadcrumb .breadcrumb-menu li,
.site-breadcrumb .breadcrumb-menu li a { color: rgba(255,255,255,0.8) !important; }
.site-breadcrumb .breadcrumb-menu li.active { color: #fff !important; }

/* ========================
   9. Text Gradient
======================== */
.text-gradient,
.site-title span {
  background: var(--bg-accent) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ========================
   10. Section Titles
======================== */
.site-title-tagline {
  color: var(--text-accent) !important;
  background: var(--bg-accent-soft) !important;
  border-radius: var(--radius-full) !important;
  padding: 6px 18px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

/* ========================
   11. Buttons
======================== */
.theme-btn, .theme-btn2 {
  background: var(--bg-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-xs) !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: all var(--transition) !important;
  box-shadow: var(--shadow-accent) !important;
  position: relative;
  overflow: hidden;
}
.theme-btn::before, .theme-btn2::before { display: none !important; }
.theme-btn:hover, .theme-btn2:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(102,126,234,0.4) !important;
  color: #fff !important;
}

/* ========================
   12. Forms
======================== */
.form-control, .form-select {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-1) !important;
  border-radius: var(--radius-xs) !important;
  padding: 12px 16px !important;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--text-accent) !important;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.12) !important;
  background: var(--bg-surface-hover) !important;
}
.form-label { color: var(--text-1) !important; font-weight: 600; }

.form-control::placeholder { color: var(--text-3) !important; }

/* ========================
   13. FAQ Accordion
======================== */
.accordion-item {
  background: var(--bg-surface) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 10px !important;
  overflow: hidden;
}
.accordion-button {
  background: transparent !important;
  color: var(--text-1) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  color: var(--text-accent) !important;
  background: var(--bg-accent-soft) !important;
}
.accordion-body { color: var(--text-2) !important; }

/* ========================
   14. Footer
======================== */
.glass-footer {
  background: var(--bg-footer);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 0;
  margin-top: 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media(max-width:768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-logo img { height: 36px; filter: brightness(2); }
.footer-logo span {
  font-weight: 900;
  font-size: 18px;
  color: #fff !important;
}

.footer-desc {
  color: rgba(255,255,255,0.5) !important;
  font-size: 14px;
  line-height: 1.7;
}

.glass-footer h6 {
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.footer-link-grid a {
  color: rgba(255,255,255,0.5) !important;
  font-size: 14px;
  transition: all var(--transition);
}
.footer-link-grid a:hover { color: #fff !important; transform: translateX(4px); }

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6) !important;
  font-size: 16px;
  transition: all var(--transition);
}
.footer-socials a:hover {
  background: var(--bg-accent);
  border-color: transparent;
  color: #fff !important;
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.35) !important;
  font-size: 13px;
  margin: 0;
}

/* Hide old footer completely */
.footer-area.light { display: none !important; }
.footer-shape { display: none !important; }

/* Hide old header */
header.header { display: none !important; }

/* ========================
   15. Scroll Top Button
======================== */
.scroll-top-btn {
  position: fixed;
  bottom: 30px; left: 30px;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover { transform: translateY(-4px); }

/* hide old scroll-top */
#scroll-top { display: none !important; }

/* ========================
   16. Chatbot
======================== */
#chatbot-container {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 9999;
}

#chatbot-toggle {
  width: 56px; height: 56px;
  background: var(--bg-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: all var(--transition);
  color: #fff;
  font-size: 24px;
  border: none;
}
#chatbot-toggle:hover { transform: scale(1.08) rotate(5deg); }
#chatbot-toggle i { color: #fff; font-size: 24px; }

#chatbot-window {
  position: absolute;
  bottom: 70px; right: 0;
  width: 380px; height: 550px;
  background: var(--bg-elevated) !important;
  backdrop-filter: blur(24px) !important;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: chatSlideUp 0.3s ease;
}

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

.chatbot-header {
  background: var(--bg-accent) !important;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-header-left { display: flex; align-items: center; gap: 12px; }
.chatbot-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.chatbot-icon i { font-size: 20px; color: #fff; }
.chatbot-info h4 { color: #fff !important; margin: 0; font-size: 15px; font-weight: 700; }
.chatbot-status { font-size: 12px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 5px; }
.chatbot-status i { font-size: 7px; color: #4ade80; }
.chatbot-close {
  background: rgba(255,255,255,0.15);
  border: none; color: #fff;
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.chatbot-close:hover { background: rgba(255,255,255,0.25); }

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: transparent !important;
}

.chatbot-message { display: flex; gap: 10px; margin-bottom: 14px; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.message-avatar {
  width: 32px; height: 32px;
  background: var(--bg-accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.message-avatar i { color: #fff; font-size: 14px; }
.user-message .message-avatar { background: var(--bg-accent-soft); order: 2; }
.user-message .message-avatar i { color: var(--text-accent); }

.message-content {
  background: var(--bg-surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 78%;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-1);
}
.user-message { flex-direction: row-reverse; }
.user-message .message-content {
  background: var(--bg-accent) !important;
  color: #fff !important;
  border: none;
}

.typing-dots { display: flex; gap: 4px; padding: 8px 12px !important; }
.typing-dots span {
  width: 7px; height: 7px;
  background: var(--text-accent);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}
.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%,80%,100% { transform:scale(0); } 40% { transform:scale(1); } }

.chatbot-input-area {
  padding: 14px 16px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
}
#chatbot-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-1);
  font-size: 13px;
  outline: none;
  transition: all var(--transition);
}
#chatbot-input:focus { border-color: var(--text-accent); box-shadow: 0 0 0 3px rgba(102,126,234,0.1); }
#chatbot-input::placeholder { color: var(--text-3); }

.chatbot-send-btn {
  width: 38px; height: 38px;
  border: none;
  border-radius: 12px;
  background: var(--bg-accent);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.chatbot-send-btn:hover { transform: scale(1.08); box-shadow: var(--shadow-accent); }

/* Chatbot footer — hidden */
.chatbot-footer { display: none; }

@media(max-width:768px) {
  #chatbot-window { width: calc(100vw - 40px); height: calc(100vh - 100px); right: -10px; }
  #chatbot-container { right: 20px; bottom: 20px; }
}

/* ========================
   17. Alerts
======================== */
.alert {
  background: var(--bg-surface) !important;
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--radius) !important;
  color: var(--text-1) !important;
}
.alert-success { border-left: 4px solid #22c55e !important; }
.alert-danger { border-left: 4px solid #ef4444 !important; }
.alert-warning { border-left: 4px solid #f59e0b !important; }
.alert-info { border-left: 4px solid #3b82f6 !important; }

/* ========================
   18. Auth pages
======================== */
.auth-form {
  padding: 40px !important;
  border-radius: var(--radius-lg) !important;
}

/* ========================
   19. Nice Select
======================== */
.nice-select {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-1) !important;
  border-radius: var(--radius-xs) !important;
}
.nice-select .list {
  background: var(--bg-surface-solid) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--radius-xs) !important;
  box-shadow: var(--shadow-lg) !important;
}
.nice-select .option { color: var(--text-1) !important; }
.nice-select .option:hover,
.nice-select .option.selected { background: var(--bg-accent-soft) !important; color: var(--text-accent) !important; }

/* ========================
   20. Pagination
======================== */
.pagination .page-link {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  color: var(--text-1) !important;
  border-radius: var(--radius-xs) !important;
}
.pagination .page-link:hover,
.pagination .active .page-link {
  background: var(--bg-accent) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* ========================
   21. OWL Carousel
======================== */
.owl-dots .owl-dot span {
  background: var(--border) !important;
  transition: all var(--transition);
}
.owl-dots .owl-dot.active span {
  background: var(--text-accent) !important;
  width: 28px !important;
  border-radius: var(--radius-full) !important;
}

/* ========================
   22. Scrollbar
======================== */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--text-3); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--text-accent); }

/* ========================
   23. Misc Overrides
======================== */
.about-img-wrap::before, .about-img-wrap::after,
.feature-area::before, .counter-area::before,
.cta-area::before, .choose-area::before { display: none !important; }

[data-theme="dark"] img { opacity: 0.93; }
[data-theme="dark"] img:hover { opacity: 1; }

.blog-date { background: var(--bg-accent) !important; color: #fff !important; border-radius: var(--radius-xs) !important; }

.course-price,
.counter-icon,
.contact-info-item {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--radius) !important;
  backdrop-filter: blur(8px);
}
.counter-icon i { color: var(--text-accent) !important; }
