/* ==========================================================================
   GLOBAL.CSS - Shared styles used across 2+ pages (reset, typography,
   layout primitives, header/navbar/footer, shared components, utilities,
   and any selector whose class is not exclusive to a single page).
   Loaded FIRST on every page, before the page-specific stylesheet.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --primary: #6C63FF;
  --primary-dark: #5a52e0;
  --primary-light: #8B85FF;
  --secondary: #FF6B6B;
  --accent: #FFD93D;
  --success: #6BCB77;
  --info: #4FC3F7;
  --pure-red: #FF4B2B;

  --bg-main: #F8F9FF;
  --bg-card: #FFFFFF;
  --bg-section: #F0F2FF;
  --bg-nav: rgba(255, 255, 255, 0.95);

  --text-primary: #1A1A2E;
  --text-secondary: #4A4A6A;
  --text-muted: #8888AA;
  --text-white: #FFFFFF;

  --border-color: rgba(108, 99, 255, 0.15);
  --shadow-sm: 0 2px 12px rgba(108, 99, 255, 0.08);
  --shadow-md: 0 8px 32px rgba(108, 99, 255, 0.15);
  --shadow-lg: 0 20px 60px rgba(108, 99, 255, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);

  --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #8B85FF 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-card: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-cool: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-gold: linear-gradient(135deg, #f6d365 0%, #fda085 100%);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --navbar-height: 72px;
}

[data-theme="dark"] {
  --bg-main: #0D0E1A;
  --bg-card: #1A1B2E;
  --bg-section: #141527;
  --bg-nav: rgba(13, 14, 26, 0.95);

  --text-primary: #E8E8F5;
  --text-secondary: #A0A0C0;
  --text-muted: #606080;

  --border-color: rgba(108, 99, 255, 0.25);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);

  --glass-bg: rgba(26, 27, 46, 0.8);
  --glass-border: rgba(108, 99, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

  --gradient-card: linear-gradient(135deg, #1a1b2e 0%, #2a2b4e 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-height) + 16px);
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  color: var(--text-primary);
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  height: auto;
}

.section-padding { padding: 80px 0; }

.section-padding-sm { padding: 50px 0; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-free {
  background: linear-gradient(135deg, #56ab2f, #a8e063);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
}

.btn-primary-custom {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn-primary-custom:hover::before { transform: translateX(0); }

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

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

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

#alert-bar {
  background: linear-gradient(90deg, #6C63FF, #8B85FF, #FF6B6B, #6C63FF);
  background-size: 300% 100%;
  animation: alertGradient 6s linear infinite;
  color: white;
  padding: 10px 16px;
  position: relative;
  z-index: 1100;
  font-size: 0.88rem;
}

@keyframes alertGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

#alert-bar .coupon-code {
  background: rgba(255,255,255,0.25);
  border: 1px dashed rgba(255,255,255,0.6);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

#alert-bar .coupon-code:hover {
  background: rgba(255,255,255,0.4);
}

#close-alert {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  flex-shrink: 0;
}

#close-alert:hover { background: rgba(255,255,255,0.4); }

#main-navbar {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  height: var(--navbar-height);
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: var(--shadow-sm);
}

#main-navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary) !important;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-brand:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.navbar-brand .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(108,99,255,0.40);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.navbar-brand:hover .logo-icon {
  box-shadow: 0 6px 20px rgba(108,99,255,0.55);
  transform: rotate(-6deg) scale(1.08);
}

.navbar-brand .logo-text {
  line-height: 1;
  letter-spacing: -0.3px;
}

.navbar-brand .logo-text .logo-dev {
  color: var(--primary);
  font-weight: 900;
}

.navbar-brand .logo-text .logo-with {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92em;
}

.navbar-brand .logo-text .logo-deepak {
  color: var(--text-primary);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.navbar-nav .dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 200px;
  animation: dropDown 0.2s ease;
}

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

.navbar-nav .dropdown-item {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.navbar-nav .dropdown-item:hover {
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
}

#theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

#theme-toggle:hover {
  background: var(--primary);
  color: white;
  transform: rotate(20deg);
}

.btn-nav-login {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  padding: 7px 18px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: var(--transition) !important;
}

.btn-nav-login:hover {
  background: rgba(108,99,255,0.1) !important;
  transform: translateY(-1px);
}

.btn-nav-register {
  background: var(--gradient-primary) !important;
  color: white !important;
  padding: 7px 18px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  border: none !important;
  transition: var(--transition) !important;
}

.btn-nav-register:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.navbar-toggler {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: var(--text-primary);
}

.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991px) {
  .navbar-collapse.show,
    .navbar-collapse.collapsing {
      background: var(--bg-nav);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 16px;
      margin-top: 8px;
      box-shadow: var(--shadow-md);
    }

  .navbar-nav .dropdown-menu {
      background: var(--bg-section);
      border: 1px solid var(--border-color);
      box-shadow: none;
      margin-left: 8px;
      margin-top: 4px;
    }
}

#hero {
  min-height: calc(100vh - var(--navbar-height));
  background: var(--bg-main);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

#typing-text {
  color: var(--primary);
  border-right: 3px solid var(--primary);
  animation: cursorBlink 0.7s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { border-color: var(--primary); }
  50% { border-color: transparent; }
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes cardFloat1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes cardFloat2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
}

#features {
  padding: 40px 0;
  background: var(--bg-section);
}

#premium-courses {
  padding: 80px 0;
  background: var(--bg-main);
}

.courses-grid-wrapper {
  position: relative;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108,99,255,0.4);
}

.course-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

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

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

.course-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.discount-badge {
  background: var(--secondary);
  color: white;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
}

.course-body { padding: 16px; }

.course-title {
  font-size: 0.95rem;
  font-weight: 550;
  margin-bottom: 6px;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-trainer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.course-meta-item {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stars { color: #FFD93D; font-size: 0.75rem; }

.rating-count { font-size: 0.72rem; color: var(--text-muted); }

.students-count { font-size: 0.72rem; color: var(--text-muted); }

.course-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.price-current {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  font-family: "Poppins", sans-serif;
}

.price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.course-actions {
  display: flex;
  gap: 8px;
}

.btn-details {
  flex: 1;
  padding: 8px;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-details:hover { background: rgba(108,99,255,0.1); }

.btn-buy {
  flex: 1;
  padding: 8px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-buy:hover { opacity: 0.9; transform: translateY(-1px); }

#placements {
  padding: 60px 0;
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

#placements::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(108,99,255,0.08) 0%, transparent 70%);
  animation: glowPulse 5s ease-in-out infinite;
}

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

.logos-track {
  display: flex;
  gap: 40px;
  animation: infiniteScroll 25s linear infinite;
  width: max-content;
}

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

@keyframes infiniteScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.company-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  min-width: 140px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.company-logo-item:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(108,99,255,0.2);
  transform: translateY(-2px);
}

.company-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
}

.company-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

#free-courses {
  padding: 80px 0;
  background: var(--bg-main);
}

.free-course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.free-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 203, 119, 0.4);
}

.yt-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #000;
}

.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.9;
}

.free-course-card:hover .yt-thumb img { transform: scale(1.08); opacity: 1; }

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255,0,0,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255,0,0,0.4);
}

.free-course-card:hover .yt-play-btn {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.1);
}

.btn-start {
  width: 100%;
  padding: 9px;
  background: linear-gradient(135deg, #267701, #476029);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-start:hover { opacity: 0.9; transform: translateY(-1px); }

#live-batches {
  padding: 80px 0;
  background: var(--bg-section);
}

.batch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  height: 100%;
}

.batch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(108,99,255,0.4);
}

.progress {
  height: 6px;
  background: rgba(108,99,255,0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

.btn-enroll {
  width: 100%;
  padding: 10px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: center;
}

.btn-enroll:hover { opacity: 0.9; transform: translateY(-1px); }

#community {
  padding: 80px 0;
  background: var(--bg-main);
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.community-card:hover {
  transform: translateY(-6px);
}

.community-card.whatsapp:hover {
  border-color: rgba(37,211,102,0.4);
  box-shadow: 0 0 30px rgba(37,211,102,0.2);
}

.community-card.youtube:hover {
  border-color: rgba(255,0,0,0.4);
  box-shadow: 0 0 30px rgba(255,0,0,0.2);
}

.community-card.telegram:hover {
  border-color: rgba(0,136,204,0.4);
  box-shadow: 0 0 30px rgba(0,136,204,0.2);
}

.community-card.instagram:hover {
  border-color: rgba(225,48,108,0.4);
  box-shadow: 0 0 30px rgba(225,48,108,0.2);
}

.community-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.btn-join {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  color: white;
}

.whatsapp .btn-join { background: linear-gradient(135deg, #25D366, #128C7E); }

.youtube .btn-join { background: linear-gradient(135deg, #FF0000, #CC0000); }

.telegram .btn-join { background: linear-gradient(135deg, #0088cc, #0066aa); }

.instagram .btn-join { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366); }

.btn-join:hover { transform: scale(1.05); opacity: 0.9; }

#testimonials {
  padding: 80px 0;
  background: var(--bg-section);
}

.testimonial-track {
  display: flex;
  gap: 24px;
  animation: testimonialsScroll 30s linear infinite;
  width: max-content;
}

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

@keyframes testimonialsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 320px;
  max-width: 320px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(108,99,255,0.4);
}

.student-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.company-placement {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimonial-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

#chatbot-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(108,99,255,0.5);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  animation: chatBounce 3s ease-in-out infinite;
}

@keyframes chatBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

#chatbot-btn:hover {
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 8px 32px rgba(108,99,255,0.6);
}

.chatbot-widget {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  z-index: 998;
  overflow: hidden;
  display: none;
  animation: chatSlideUp 0.3s ease;
}

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

.chatbot-header {
  background: var(--gradient-primary);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.chatbot-name { font-size: 0.9rem; font-weight: 700; }

.chatbot-status { font-size: 0.7rem; opacity: 0.85; }

.chatbot-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chatbot-close:hover { background: rgba(255,255,255,0.3); }

.chatbot-messages {
  padding: 16px;
  height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.chat-msg.bot {
  background: rgba(108,99,255,0.1);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: var(--gradient-primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-input {
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
}

.chatbot-input input {
  flex: 1;
  padding: 8px 14px;
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.82rem;
  outline: none;
  transition: var(--transition);
}

.chatbot-input input:focus { border-color: var(--primary); }

.chatbot-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chatbot-send:hover { transform: scale(1.1); }

.wa-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #047e3d;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(99, 255, 159, 0.5);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  animation: waBounce 3s ease-in-out infinite;
}

@keyframes waBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.wa-float-btn:hover {
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 8px 32px rgba(108,99,255,0.6);
  color: white;
}

#footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  background: var(--bg-section);
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--primary); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

@media (max-width: 1199px) {
  .courses-grid {
      grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
  .courses-grid {
      grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
  .section-padding { padding: 50px 0; }

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

  .hero-stats { gap: 20px; }

  .testimonial-card { min-width: 280px; }

  .chatbot-widget { width: calc(100vw - 40px); right: 20px; }

  #chatbot-btn { right: 20px; bottom: 20px; }

  .footer-bottom { text-align: center; }

  .footer-bottom-links { justify-content: center; }

  .community-card {
      display: flex;
      padding: 16px 20px;
      flex-direction: row;
      align-items: center;
      gap: 16px;
      text-align: left;
    }

  .community-card .community-name { font-size: 0.9rem; margin-bottom: 2px; }

  .community-card .btn-join {
      margin-top: 0;
      padding: 7px 14px;
      font-size: 0.78rem;
      margin-left: auto;
      flex-shrink: 0;
      white-space: nowrap;
    }
}

::-webkit-scrollbar { width: 6px; height: 6px; }

::-webkit-scrollbar-track { background: var(--bg-section); }

::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

#back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 997;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  font-size: 1rem;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#back-to-top:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.toast-notif {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.toast-notif.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.course-hero {
  background: var(--bg-main);
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.course-hero::before {
  content: "";
  position: absolute;
  top: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(108,99,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.course-hero::after {
  content: "";
  position: absolute;
  bottom: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, transparent 70%);
  pointer-events: none;
}

#curriculum { background: var(--bg-section); }

.curriculum-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.curriculum-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.curriculum-meta-item {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.curriculum-meta-item i { color: var(--primary); }

.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.module-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.module-item:hover { border-color: rgba(108,99,255,0.35); }

.module-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}

.module-header:hover { background: rgba(108,99,255,0.04); }

.module-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.module-number {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.module-info { min-width: 0; }

.module-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.module-stat {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.module-chevron {
  color: var(--primary);
  font-size: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.module-item.open .module-chevron { transform: rotate(180deg); }

.module-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}

.module-body-inner {
  padding: 0 18px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: var(--bg-section);
  transition: var(--transition);
}

.topic-item:hover {
  background: rgba(108,99,255,0.08);
  color: var(--primary);
}

.topic-item ul {
  list-style: none;
  margin: 4px 0 4px 0px;
  padding-left: 0px;
}

.topic-item i { color: var(--primary); font-size: 0.75rem; flex-shrink: 0; }

#trainer { background: var(--bg-main); }

#help { background: var(--bg-section); }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 10px;
}

.faq-item:hover { border-color: rgba(108,99,255,0.3); }

.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}

.faq-question:hover { background: rgba(108,99,255,0.04); }

.faq-q-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-chevron {
  color: var(--primary);
  font-size: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 991px) {
  .curriculum-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .curriculum-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .curriculum-meta { flex-direction: column; gap: 6px; }
}

.module-number--ai {
  background: linear-gradient(135deg, #FF6B6B, #ee0979) !important;
}

.badge-module {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  vertical-align: middle;
  line-height: 1.4;
}

.badge-module--project { background: linear-gradient(135deg,#FF6B6B,#ee0979); color: #fff; }

.section-label--center { justify-content: center; }

.logo-tcs { background: #0078d4; }

.logo-infosys { background: #007cc5; }

.logo-wipro { background: #532d8e; }

.logo-accenture { background: #a100ff; }

.logo-capgemini { background: #0070ad; }

.logo-cognizant { background: #cc0000; }

.logo-hcl { background: #e44d26; }

.btn-primary-custom--lg {
  font-size: 1rem;
  padding: 14px 36px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 100px;
  gap: 4px;
}

#sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 997;
  transform: translateY(100%);
  transition: transform 0.42s cubic-bezier(0.34, 1.4, 0.64, 1);
  pointer-events: none;
  background: var(--bg-card);
  border-top: 2px solid var(--border-color);
  box-shadow: 0 -6px 32px rgba(0,0,0,0.12);
}

#sticky-buy-bar.visible {
  transform: translateY(0);
  pointer-events: all;
}

@media (max-width: 575px) {
  .hero-stat { flex-direction: row; justify-content: space-between; width: 100%; align-items: center; }
}

.pc-hero {
  background: var(--bg-main);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  min-height: 55vh;
  display: flex;
  align-items: center;
}

.pc-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(108,99,255,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(255,107,107,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.pc-hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.pc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.10);
  border: 1px solid rgba(108,99,255,0.22);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.pc-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
}

.pc-hero-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.pc-hero-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.pc-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.pc-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(107,203,119,0.12);
  border: 1px solid rgba(107,203,119,0.3);
  color: #2e9e3f;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.pc-trust-chip i { font-size: 0.85rem; }

.pc-recognized-section {
  background: var(--bg-section);
  padding: 64px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 991px) {
  .pc-hero { min-height: auto; padding: 60px 0 50px; }
}

@media (max-width: 767px) {
  .pc-hero-title { font-size: 1.8rem; }
}

@media (max-width: 575px) {
  .pc-trust-chips { gap: 8px; }
}

#top-bar {
  background: linear-gradient(90deg, #0d1b3e 0%, #112244 40%, #0a1628 100%);
  border-bottom: 1px solid rgba(99, 143, 255, 0.15);
  position: relative;
  z-index: 1090;
}

#top-bar .top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 20px;
  gap: 12px;
}

#top-bar .top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

#top-bar .top-bar-community {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#top-bar .top-bar-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

#top-bar .top-bar-socials {
  display: flex;
  align-items: center;
  gap: 2px;
}

#top-bar .top-bar-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

#top-bar .top-bar-social-icon:hover {
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

#top-bar .top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

#top-bar .top-bar-link {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

#top-bar .top-bar-link:hover {
  color: #fff;
}

@media (max-width: 991px) {
  #top-bar .top-bar-community { display: none; }

  #top-bar .top-bar-sep { display: none; }
}

@media (max-width: 767px) {
  #top-bar .top-bar-inner {
      height: auto;
      flex-direction: column;
      padding: 7px 16px;
      gap: 5px;
    }

  #top-bar .top-bar-community { display: block; }

  #top-bar .top-bar-sep { display: none;  }

  #top-bar .top-bar-left {
      flex-direction: column;
      align-items: center;
      gap: 5px;
      width: 100%;
    }

  #top-bar .top-bar-socials {
      justify-content: center;
      flex-wrap: wrap;
      gap: 4px;
    }

  #top-bar .top-bar-right {
      justify-content: center;
      width: 100%;
    }
}

[data-theme="light"] #top-bar {
  background: #f1f3f5;
  border-bottom: 1px solid #dcdcdc;
}

[data-theme="light"] #top-bar .top-bar-community {
  color: #555555;
}

[data-theme="light"] #top-bar .top-bar-sep,
[data-theme="light"] #top-bar .top-bar-auth-sep {
  background: #dcdcdc;
}

[data-theme="light"] #top-bar .top-bar-social-icon {
  color: #555555;
}

[data-theme="light"] #top-bar .top-bar-social-icon:hover {
  color: #333333;
  background: #e9ecef;
  border-radius: 4px;
}

[data-theme="light"] #top-bar .top-bar-link {
  color: #333333;
}

[data-theme="light"] #top-bar .top-bar-link:hover {
  color: var(--primary);
  background: #e9ecef;
  border-radius: 4px;
}

#top-bar .tb-notif {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

#top-bar .tb-notif-bell {
  position: relative;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
  flex-shrink: 0;
}

#top-bar .tb-notif-bell:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] #top-bar .tb-notif-bell {
  color: #333333;
}

[data-theme="light"] #top-bar .tb-notif-bell:hover {
  color: var(--primary);
  background: #e9ecef;
}

#top-bar .tb-notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  background: var(--pure-red);
  color: #fff;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  animation: tbBadgePulse 1.5s ease-in-out infinite;
}

[data-theme="dark"] #top-bar .tb-notif-badge {
  animation-name: tbBadgePulseDark;
}

@keyframes tbBadgePulse {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.15) translateY(-2px);
  }
}

@keyframes tbBadgePulseDark {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.15) translateY(-2px);
  }
}

#top-bar .tb-notif-popup {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1095;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#top-bar .tb-notif-popup.tb-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#top-bar .tb-notif-card {
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

#top-bar .tb-notif-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

#top-bar .tb-notif-card-msg {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

#top-bar .tb-notif-card-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 6px;
}

@media (max-width: 767px) {
  #top-bar .top-bar-right {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 10px;
    }

  #top-bar .top-bar-auth {
      grid-column: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 14px;
    }

  #top-bar .tb-notif {
      grid-column: 2;
      justify-self: end;
    }

  #top-bar .tb-notif-popup {
      right: -16px;
      width: calc(100vw - 32px);
      max-width: 320px;
    }
}

.fc-hero {
  position: relative;
  padding: 70px 0 60px;
  background: var(--bg-main);
  overflow: hidden;
}

.fc-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.fc-hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(86, 171, 47, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.fc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(86, 171, 47, 0.12), rgba(168, 224, 99, 0.12));
  border: 1px solid rgba(86, 171, 47, 0.3);
  color: #3d8b24;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

[data-theme="dark"] .fc-hero-badge {
  color: #a8e063;
  background: linear-gradient(135deg, rgba(86, 171, 47, 0.15), rgba(168, 224, 99, 0.1));
  border-color: rgba(86, 171, 47, 0.25);
}

.fc-hero-badge i {
  font-size: 0.85rem;
}

.fc-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.fc-hero-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}

.fc-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.fc-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.fc-trust-chip i {
  color: var(--primary);
  font-size: 0.8rem;
}

.fc-why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.fc-why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108, 99, 255, 0.3);
}

.fc-why-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.fc-why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.fc-why-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .fc-hero {
      padding: 50px 0 40px;
    }
}

.bl-hero {
  background: var(--bg-main);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.bl-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(108,99,255,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 45% 50% at 10% 80%, rgba(255,107,107,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.bl-hero-container {
  position: relative;
  z-index: 1;
}

.bl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.10);
  border: 1px solid rgba(108,99,255,0.22);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.bl-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
  animation: blink 1.5s infinite;
}

.bl-hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.bl-hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.bl-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bl-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.bl-hero-chip i {
  color: var(--primary);
  font-size: 0.82rem;
}

.bl-hero-visual {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bl-hero-icon-wrap {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  box-shadow: 0 24px 64px rgba(108,99,255,0.35);
  animation: heroFloat 5s ease-in-out infinite;
}

.bl-floating-tag {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.bl-floating-tag i { color: var(--primary); }

.bl-tag-1 {
  top: 0; left: -50px;
  animation: cardFloat1 4.5s ease-in-out infinite;
}

.bl-tag-2 {
  bottom: 20px; right: -40px;
  animation: cardFloat2 5.5s ease-in-out infinite 0.5s;
}

.bl-tag-3 {
  top: 40%; left: -60px;
  animation: cardFloat1 6s ease-in-out infinite 1s;
}

.bl-sidebar-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-bottom: 0;
}

.bl-sidebar-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.bl-toggle-arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.bl-sidebar-toggle--open .bl-toggle-arrow {
  transform: rotate(180deg);
}

.bl-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + 20px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.bl-sidebar-inner {
  padding: 8px 0;
}

.bl-sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 18px 8px;
}

.bl-sidebar-header i {
  color: var(--primary);
  font-size: 0.82rem;
}

.bl-categories {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 8px 8px;
}

.bl-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.bl-cat-item:hover {
  background: rgba(108,99,255,0.07);
  color: var(--primary);
}

.bl-cat-item.active {
  background: rgba(108,99,255,0.12);
  color: var(--primary);
  font-weight: 600;
}

.bl-cat-item.active::before {
  content: "";
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: var(--gradient-primary);
  border-radius: 0 2px 2px 0;
}

.bl-cat-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(108,99,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--primary);
  transition: var(--transition);
}

.bl-cat-item:hover .bl-cat-icon,
.bl-cat-item.active .bl-cat-icon {
  background: rgba(108,99,255,0.18);
}

.bl-cat-name { flex: 1; min-width: 0; }

.bl-cat-count {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-section);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  transition: var(--transition);
}

.bl-cat-item.active .bl-cat-count,
.bl-cat-item:hover .bl-cat-count {
  background: rgba(108,99,255,0.15);
  color: var(--primary);
}

@media (max-width: 991px) {
  .bl-hero { padding: 44px 0 36px; }

  .bl-hero-title { font-size: clamp(1.8rem, 4vw, 2.4rem); }

  .bl-sidebar {
      position: static;
      margin-bottom: 8px;
    }
}

@media (max-width: 767px) {
  .bl-hero-desc { font-size: 0.92rem; }

  .bl-hero-chips { gap: 8px; }

  .bl-sidebar-toggle { display: flex; margin-bottom: 4px; }

  .bl-sidebar {
      display: none;
      border-radius: var(--radius-md);
      margin-top: 6px;
      margin-bottom: 16px;
      position: static;
    }

  .bl-sidebar.bl-sidebar--open {
      display: block;
    }
}

@media (max-width: 575px) {
  .bl-hero { padding: 36px 0 28px; }
}

.bdd-article { max-width: 100%; }

.bdd-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.bdd-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bdd-h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.bdd-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 16px;
}

.bdd-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.bdd-body:last-child { margin-bottom: 0; }

.bdd-code-inline {
  font-family: "Fira Code", "Courier New", monospace;
  font-size: 0.87em;
  background: rgba(108,99,255,0.08);
  color: var(--primary);
  border: 1px solid rgba(108,99,255,0.15);
  border-radius: 5px;
  padding: 1px 7px;
}

.bdd-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bdd-hl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.bdd-hl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 5px;
}

.bdd-info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 20px;
}

.bdd-info-warn {
  background: rgba(255,193,7,0.07);
  border: 1px solid rgba(255,193,7,0.3);
  color: var(--text-secondary);
}

.bdd-info-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.bdd-info-warn .bdd-info-icon { color: #e6a817; }

.bdd-q-sub {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 14px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bdd-q-sub::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.bdd-code-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin: 14px 0 16px;
}

.bdd-code-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #1e1e2e;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bdd-code-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.bdd-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--transition);
}

.bdd-copy-btn:hover {
  background: rgba(108,99,255,0.3);
  color: white;
  border-color: rgba(108,99,255,0.5);
}

.bdd-copy-btn.bdd-copied {
  background: rgba(107,203,119,0.2);
  color: #6bcb77;
  border-color: rgba(107,203,119,0.3);
}

.bdd-code-block {
  margin: 0;
  padding: 20px 22px;
  background: #1a1b2e;
  overflow-x: auto;
  line-height: 1.7;
}

.bdd-code-inner {
  font-family: "Fira Code", "Courier New", monospace;
  font-size: 0.84rem;
  color: #c9d1d9;
  white-space: pre;
  display: block;
}

.bdd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.bdd-faq-item { border-bottom: 1px solid var(--border-color); }

.bdd-faq-item:last-child { border-bottom: none; }

.bdd-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: none;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.4;
}

.bdd-faq-q:hover { background: var(--bg-section); color: var(--primary); }

.bdd-faq-q[aria-expanded="true"] {
  background: var(--bg-section);
  color: var(--primary);
}

.bdd-faq-arrow {
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.bdd-faq-q[aria-expanded="true"] .bdd-faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.bdd-faq-a {
  padding: 0 22px 18px;
  background: var(--bg-card);
}

.bdd-faq-a p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.bdd-conclusion-card {
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.bdd-conclusion-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  .bdd-section { margin-bottom: 28px; padding-bottom: 28px; }

  .bdd-code-block { padding: 14px 14px; }

  .bdd-code-inner { font-size: 0.76rem; }

  .bdd-conclusion-card { padding: 22px; }
}

.am-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.am-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(108, 99, 255, 0.07);
}

.am-achievements { background: var(--bg-section); }

.am-gallery-section { background: var(--bg-section); }

.am-gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 200px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.am-gallery-tall { height: 415px; }

.am-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.am-gallery-card:hover .am-gallery-img { transform: scale(1.05); }

.am-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 30, 0.8) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.am-gallery-card:hover .am-gallery-overlay { opacity: 1; }

.am-gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(108, 99, 255, 0.85);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 6px;
}

.am-gallery-caption {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .am-gallery-tall { height: 280px; }
}

@media (max-width: 767px) {
  .am-gallery-tall { height: 220px; }

  .am-gallery-card { height: 160px; }
}

.am-tech-visual {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.am-tv-center {
  position: relative;
  z-index: 3;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 0 0 10px rgba(108, 99, 255, 0.12), 0 0 0 20px rgba(108, 99, 255, 0.06);
}

.am-tv-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed var(--border-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: amOrbitSpin linear infinite;
}

.am-tv-orbit-1 {
  width: 160px;
  height: 160px;
  animation-duration: 12s;
}

.am-tv-orbit-2 {
  width: 270px;
  height: 270px;
  animation-duration: 20s;
  animation-direction: reverse;
}

@keyframes amOrbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.am-tv-dot {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--primary);
}

.am-tv-orbit-1 .am-tv-dot:nth-child(1) { top: -18px; left: calc(50% - 18px); animation: amCounterSpin 12s linear infinite; }

.am-tv-orbit-1 .am-tv-dot:nth-child(2) { bottom: -18px; left: calc(50% - 18px); animation: amCounterSpin 12s linear infinite; }

.am-tv-orbit-2 .am-tv-dot:nth-child(1) { top: -18px; left: calc(50% - 18px); animation: amCounterSpinRev 20s linear infinite; }

.am-tv-orbit-2 .am-tv-dot:nth-child(2) { bottom: -18px; left: calc(50% - 18px); animation: amCounterSpinRev 20s linear infinite; }

.am-tv-orbit-2 .am-tv-dot:nth-child(3) { top: calc(50% - 18px); right: -18px; animation: amCounterSpinRev 20s linear infinite; }

@keyframes amCounterSpin { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }

@keyframes amCounterSpinRev { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }

.am-tv-d-java { color: #e55d2b; }

.am-tv-d-spring { color: #56ab2f; }

.am-tv-d-db { color: #667eea; }

.am-tv-d-web { color: #ff6b6b; }

.am-tv-d-ai { color: #f093fb; }

.am-tv-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  animation: amBadgeFloat 4s ease-in-out infinite;
}

.am-tv-badge i { color: var(--primary); }

.am-tvb-1 { top: 20px;  left: -10px;  animation-delay: 0s; }

.am-tvb-2 { top: 20px;  right: -10px; animation-delay: 1s; }

.am-tvb-3 { bottom: 30px; left: -10px;  animation-delay: 2s; }

.am-tvb-4 { bottom: 30px; right: -10px; animation-delay: 3s; }

@keyframes amBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@media (max-width: 991px) {
  .am-tech-visual { width: 280px; height: 280px; }

  .am-tv-orbit-1 { width: 140px; height: 140px; }

  .am-tv-orbit-2 { width: 240px; height: 240px; }
}

@media (max-width: 767px) {
  .am-tech-visual { width: 240px; height: 240px; margin-bottom: 10px; }

  .am-tv-orbit-1 { width: 120px; height: 120px; }

  .am-tv-orbit-2 { width: 200px; height: 200px; }

  .am-tvb-1, .am-tvb-3 { left: -5px; }

  .am-tvb-2, .am-tvb-4 { right: -5px; }
}

@media (max-width: 480px) {
  .am-tv-badge { display: none; }
}

.td-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + 16px);
  max-height: calc(100vh - var(--navbar-height) - 32px);
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  padding: 0;
}

.td-chapter-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: none;
  border: none;
  padding: 12px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.td-chapter-btn:hover { color: var(--primary); background: rgba(108,99,255,0.06); }

.td-chapter-btn[aria-expanded="true"] { color: var(--primary); }

.td-topic-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 30px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.td-topic-link:hover { color: var(--primary); background: rgba(108,99,255,0.06); }

.td-topic-link.active {
  color: var(--primary);
  font-weight: 700;
  background: rgba(108,99,255,0.1);
}

.td-topic-link.active::before {
  content: "";
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 3px;
  background: var(--gradient-primary);
  border-radius: 0 2px 2px 0;
}

.td-topic-link i { font-size: 0.6rem; color: var(--text-muted); flex-shrink: 0; }

.td-topic-link.active i, .td-topic-link:hover i { color: var(--primary); }

.td-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1199;
}

.td-drawer-overlay.show { display: block; }

@media (max-width: 991px) {
  .td-sidebar { position: static; max-height: none; }
}

@media (max-width: 767px) {
  .td-sidebar {
      position: fixed;
      top: 0; left: 0; bottom: 0;
      width: 280px;
      max-width: 85%;
      max-height: 100vh;
      z-index: 1200;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      border-radius: 0;
      box-shadow: var(--shadow-lg);
    }

  .td-sidebar.show { transform: translateX(0); }
}

.free-resources-page .fr-pdf-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.free-resources-page .fr-pdf-item {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
  overflow: hidden; 
}

.free-resources-page .fr-pdf-item__main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
}

.free-resources-page .fr-pdf-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(108, 99, 255, 0.35);
  transform: translateX(4px);
}

.free-resources-page .fr-pdf-item__left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.free-resources-page .fr-pdf-item__index {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  color: rgba(108, 99, 255, 0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
  text-align: right;
}

.free-resources-page .fr-pdf-item__info {
  flex: 1;
  min-width: 0;
}

.free-resources-page .fr-pdf-item__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.free-resources-page .fr-pdf-item__title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.free-resources-page .fr-pdf-item__tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  
  background: rgba(108, 99, 255, 0.12);
  color: #6C63FF;
  border: 1px solid rgba(108, 99, 255, 0.22);
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.free-resources-page .fr-pdf-item__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
}

.free-resources-page .fr-pdf-item__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.free-resources-page .fr-pdf-item__pdf-icon {
  font-size: 2.4rem;
  color: #F44336;
  line-height: 1;
  transition: var(--transition);
}

.free-resources-page .fr-pdf-item:hover .fr-pdf-item__pdf-icon {
  transform: scale(1.1);
}

.free-resources-page .fr-pdf-item__download-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: "Inter", sans-serif;
}

.free-resources-page .fr-pdf-item__download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 0.92;
}

.free-resources-page .fr-pdf-item__download-btn:active {
  transform: translateY(0);
}

.free-resources-page .fr-tut-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.free-resources-page .fr-tut-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: rgba(108, 99, 255, 0.3);
}

.free-resources-page .fr-tut-card__thumb {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.free-resources-page .fr-tut-card:hover .fr-tut-card__thumb {
  filter: brightness(1.05);
}

[data-theme="dark"] .free-resources-page .fr-tut-card__thumb {
  filter: brightness(0.45) saturate(1.3);
}

[data-theme="dark"] .free-resources-page .fr-tut-card:hover .fr-tut-card__thumb {
  filter: brightness(0.6) saturate(1.4);
}

.free-resources-page .fr-tut-card__icon-wrap {
  font-size: 2.6rem;
  line-height: 1;
  transition: var(--transition);
}

.free-resources-page .fr-tut-card:hover .fr-tut-card__icon-wrap {
  transform: scale(1.15) rotate(-5deg);
}

.free-resources-page .fr-tut-card__body {
  padding: 18px 18px 48px;  
  flex: 1;
}

.free-resources-page .fr-tut-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.free-resources-page .fr-tut-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.free-resources-page .fr-tut-card__count {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-section);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.free-resources-page .fr-tut-card__arrow {
  position: absolute;
  bottom: 18px;
  right: 18px;
  font-size: 1.3rem;
  color: var(--primary);
  opacity: 1;           
  transform: translateX(0);
  transition: transform 0.25s ease, color 0.25s ease;
}

@media (hover: hover) {
  .free-resources-page .fr-tut-card:hover .fr-tut-card__arrow {
      transform: translateX(5px);
      color: var(--primary);
    }
}

.free-resources-page .fr-pdf-item__download-btn {
  position: relative;      
  overflow: hidden;        
  isolation: isolate;      
  z-index: 0;
}

.free-resources-page .fr-pdf-item__download-btn .fr-btn-progress-fill {
  position: absolute;
  inset: 0;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.18); 
  border-radius: inherit;
  pointer-events: none;
  transition-property: width;
  transition-timing-function: linear;
  z-index: -1;
}

.free-resources-page .fr-pdf-item__download-btn.fr-btn--progress {
  cursor: wait;
  opacity: 0.82;
}

.free-resources-page .fr-pdf-item__download-btn.fr-btn--progress span {
  position: relative;
  z-index: 1;
}

.free-resources-page .fr-pdf-item__download-btn.fr-btn--done {
  background: var(--bg-section);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  box-shadow: none;
  cursor: default;
  opacity: 0.7;
}

.free-resources-page .fr-pdf-item__download-btn.fr-btn--done:hover {
  background: var(--bg-section);
  color: var(--text-muted);
  border-color: var(--border-color);
  box-shadow: none;
  transform: none;
}

[data-theme="dark"] .free-resources-page .fr-pdf-item__download-btn.fr-btn--done {
  background: rgba(255,255,255,0.05);
}

.free-resources-page .fr-pdf-panel {
  max-height: 0;
  overflow: hidden;
  
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              opacity    0.35s ease;
  opacity: 0;
  border-top: 0 solid transparent;
}

.free-resources-page .fr-pdf-panel.fr-pdf-panel--open {
  max-height: 520px;  
  opacity: 1;
  border-top: 1px solid var(--border-color);
}

.free-resources-page .fr-pdf-panel__inner {
  padding: 22px 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: var(--bg-section);
}

.free-resources-page .fr-pdf-panel__timer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.free-resources-page .fr-pdf-panel__timer i {
  font-size: 1.15rem;
  color: var(--primary);
  animation: fr-spin-pulse 1.2s ease-in-out infinite alternate;
}

@keyframes fr-spin-pulse {
  from { transform: rotate(-15deg); opacity: 0.7; }
  to   { transform: rotate(15deg);  opacity: 1;   }
}

.free-resources-page .fr-pdf-panel__countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.3s;
}

.free-resources-page .fr-pdf-panel__ad-wrap {
  width: 100%;
  text-align: center;
}

.free-resources-page .fr-pdf-panel__ad-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.free-resources-page .fr-pdf-panel__ad-box {
  width: 100%;
  min-height: 120px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.free-resources-page .fr-pdf-panel__dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 34px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.35);
  transition: var(--transition);
  
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.free-resources-page .fr-pdf-panel__dl-btn.fr-pdf-panel__dl-btn--visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.2s;
}

.free-resources-page .fr-pdf-panel__dl-btn:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.5);
  transform: translateY(-2px);
}

[data-theme="dark"] .free-resources-page .fr-pdf-panel__ad-box {
  background: rgba(255,255,255,0.03);
}

@media (max-width: 767px) {
  .free-resources-page .fr-pdf-item__main-row {
      flex-direction: column;
      align-items: flex-start;
      padding: 20px;
      gap: 18px;
    }

  .free-resources-page .fr-pdf-item__right {
      flex-direction: row;
      width: 100%;
      justify-content: space-between;
    }

  .free-resources-page .fr-pdf-item__download-btn {
      flex: 1;
      margin-left: 16px;
      justify-content: center;
    }
}

@media (max-width: 480px) {
  .free-resources-page .fr-pdf-item__left {
      flex-direction: column;
      gap: 10px;
    }

  .free-resources-page .fr-pdf-item__index {
      font-size: 1.2rem;
    }
}

.free-resources-page .fr-aip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.free-resources-page .fr-aip-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.4rem 1.4rem 1.2rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.free-resources-page .fr-aip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  border-color: var(--primary);
}

.free-resources-page .fr-aip-card__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  
  color: var(--primary);
  background: rgba(108,99,255,0.10);
  border-radius: 20px;
  padding: 0.18rem 0.65rem;
  align-self: flex-start;
}

.free-resources-page .fr-aip-card__copy-btn {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.free-resources-page .fr-aip-card__copy-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.free-resources-page .fr-aip-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  padding-right: 2.2rem; 
  line-height: 1.35;
}

.free-resources-page .fr-aip-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.free-resources-page .fr-aip-card__prompt-preview {
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.76rem;
  font-family: "Courier New", Courier, monospace;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-top: 0.2rem;
  word-break: break-word;
  white-space: pre-line;
}

.fr-aip-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: #10b981;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 9999;
}

.fr-aip-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 767px) {
  .free-resources-page .fr-aip-grid {
      grid-template-columns: 1fr;
    }
}


.badge-primary {
  background: var(--gradient-primary);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-bestseller {
  background: var(--gradient-gold);
  color: #333;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-free {
  background: linear-gradient(135deg, #56ab2f, #a8e063);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

.badge-live {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: livePulse 2s infinite;
}

.badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: blink 1s infinite;
}
.badge-success {
  background: var(--success);
  color: black;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ============================================================
   FEATURED PLACED STUDENTS (compact, 4-card widget)
   Used by: includes/placed-students-featured.php
   Reused component intended for future pages as well.
============================================================ */
.students-featured-wrapper {
  overflow: hidden;
  position: relative;
}

.students-featured-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.students-featured-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 260px;
  max-width: 260px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.students-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

@keyframes studentsFeaturedScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Mobile: continuous, slow right-to-left marquee (default/base behaviour) */
@media (max-width: 575.98px) {
  .students-featured-wrapper {
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  }

  .students-featured-track {
    animation: studentsFeaturedScroll 45s linear infinite;
  }

  .students-featured-track:hover { animation-play-state: paused; }

  .students-featured-card { min-width: 260px; max-width: 260px; }
}

/* Tablet: static 2 columns x 2 rows grid */
@media (min-width: 576px) and (max-width: 991.98px) {
  .students-featured-wrapper { overflow: visible; }

  .students-featured-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
  }

  .students-featured-card { min-width: 0; max-width: none; }

  /* Hide the JS-cloned duplicates (only needed for the mobile marquee) */
  .students-featured-track .students-featured-card:nth-child(n+5) { display: none; }
}

/* Laptop / Desktop: static single row, 4 columns */
@media (min-width: 992px) {
  .students-featured-wrapper { overflow: visible; }

  .students-featured-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
  }

  .students-featured-card { min-width: 0; max-width: none; }

  /* Hide the JS-cloned duplicates (only needed for the mobile marquee) */
  .students-featured-track .students-featured-card:nth-child(n+5) { display: none; }
}

/* ============================================================
   COMPANIES SHOWCASE - description text styling
   Used by: includes/companies-showcase.php
============================================================ */
.companies-showcase-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto;
}

.companies-showcase-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
  padding: 5px 16px;
  border-radius: var(--radius-full);
}

/* ============================================================
   COURSE REVIEWS - continuous marquee (name, stars, review only)
   Used by: includes/reviews-core-java.php
============================================================ */
.reviews-marquee-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.reviews-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: reviewsMarqueeScroll 100s linear infinite;
}

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

@keyframes reviewsMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reviews-marquee-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-width: 300px;
  max-width: 300px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.reviews-marquee-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(108, 99, 255, 0.3);
}

.reviews-marquee-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin: 12px 0;
}

.reviews-marquee-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}