:root {
    --primary: #655CA5;
    --accent: #6CE5E8;
    --text: #111827;
    --muted: #6b7280;
  }
  
  .upskill-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
  }
  
  .upskill-hero-bg {
    background:
      radial-gradient(1000px 500px at 20% 20%, rgba(108, 229, 232, 0.25), transparent 60%),
      radial-gradient(800px 500px at 80% 30%, rgba(101, 92, 165, 0.35), transparent 55%),
      linear-gradient(180deg, #efeefe 0%, #f7f8fb 50%, #ffffff 100%);
    filter: saturate(1.05);
  }
  
  .upskill-blob {
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.55;
    animation: upskillFloat 7s ease-in-out infinite;
  }
  
  .upskill-blob-1 {
    top: 8%;
    left: -8%;
    background: rgba(108, 229, 232, 0.55);
  }
  
  .upskill-blob-2 {
    bottom: -10%;
    right: -8%;
    background: rgba(101, 92, 165, 0.45);
    animation-duration: 9s;
  }
  
  @keyframes upskillFloat {
    0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
    50% { transform: translateY(-18px) translateX(12px) scale(1.05); }
  }
  
  /* Badge */
  .upskill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(101, 92, 165, 0.12);
    border: 1px solid rgba(101, 92, 165, 0.22);
    backdrop-filter: blur(10px);
    color: var(--primary);
  }
  
  .upskill-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.55);
    animation: pulse 1.6s ease-in-out infinite;
  }
  
  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.22); opacity: 0.8; }
  }
  
  /* Headings */
  .upskill-title {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  
  .text-primary { color: var(--primary); }
  
  .upskill-subtitle {
    max-width: 860px;
    margin: 0 auto;
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    color: var(--muted);
    line-height: 1.75;
  }
  
  /* Buttons */
  .upskill-btn-lg {
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
  }
  
  .btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(101, 92, 165, 0.22);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(101, 92, 165, 0.28);
    filter: brightness(1.03);
  }
  
  .btn-outline {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary);
    border: 2px solid rgba(101, 92, 165, 0.35);
    backdrop-filter: blur(10px);
  }
  
  .btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
  }
  
  /* Stats */
  .stat-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    transition: all 0.25s ease;
  }
  
  .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(101, 92, 165, 0.14);
  }
  
  .stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(101, 92, 165, 0.08);
  }
  
  .stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
  }
  
  .stat-label {
    font-size: 0.95rem;
    color: var(--muted);
  }
  
  /* Mobile spacing */
  @media (max-width: 640px) {
    .upskill-hero { min-height: 86vh; }
    .stat-card { padding: 16px; }
  }

  

  /* ===========================
   Upskill CTA Section
=========================== */

.upskill-cta {
    margin-top: 5rem;
  }
  
  .cta-bg {
    background:
      radial-gradient(700px 400px at 10% 20%, rgba(108, 229, 232, 0.3), transparent 60%),
      radial-gradient(800px 500px at 90% 80%, rgba(101, 92, 165, 0.4), transparent 60%),
      linear-gradient(135deg, #655CA5 0%, #7c6fb8 100%);
  }
  
  .cta-glow {
    width: 500px;
    height: 500px;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.6;
  }
  
  .cta-glow-1 {
    top: -20%;
    left: -10%;
    background: rgba(108, 229, 232, 0.6);
  }
  
  .cta-glow-2 {
    bottom: -20%;
    right: -10%;
    background: rgba(255, 255, 255, 0.25);
  }
  
  .cta-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
  }
  
  /* Badge */
  .cta-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(101, 92, 165, 0.15);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
  }
  
  /* Title */
  .cta-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1f2937;
  }
  
  /* Subtitle */
  .cta-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.7;
  }
  
  /* Points */
  .cta-point {
    background: rgba(101, 92, 165, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
  }
  
  /* Buttons */
  .cta-btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 12px 30px rgba(101, 92, 165, 0.35);
    transition: all 0.3s ease;
  }
  
  .cta-btn-primary:hover {
    background: #7c6fb8;
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(101, 92, 165, 0.45);
  }
  
  .cta-btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .cta-btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
  }
  
  /* Mobile */
  @media (max-width: 768px) {
    .cta-card {
      padding: 2rem;
      text-align: center;
    }
  }

  
  /* ===========================
   Testimonials
=========================== */

.upskill-testimonials {
    background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
  }
  
  .testi-badge {
    display: inline-block;
    background: rgba(101, 92, 165, 0.15);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
  }
  
  .testi-title {
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 800;
    margin-top: 1rem;
    color: #111827;
  }
  
  .testi-subtitle {
    margin-top: 0.75rem;
    color: #6b7280;
    max-width: 700px;
    margin-inline: auto;
  }
  
  /* Carousel */
  .testi-carousel {
    position: relative;
    overflow: hidden;
  }
  
  .testi-track {
    display: flex;
    transition: transform 0.6s ease;
  }
  
  .testi-card {
    min-width: 33.333%;
    padding: 1rem;
  }
  
  .testi-card > div {
    background: white;
    border-radius: 20px;
    padding: 2rem;
  }
  
  /* Card design */
  .testi-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .testi-stars {
    color: #fbbf24;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .testi-text {
    color: #374151;
    font-size: 1rem;
    line-height: 1.7;
    flex: 1;
  }
  
  .testi-user {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
    align-items: center;
  }
  
  .testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
  }
  
  .testi-name {
    font-weight: 700;
  }
  
  .testi-role {
    font-size: 0.85rem;
    color: #6b7280;
  }
  
  /* Nav buttons */
  .testi-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 999px;
    width: 48px;
    height: 48px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
  }
  
  .testi-prev { left: 10px; }
  .testi-next { right: 10px; }
  
  /* Mobile */
  @media (max-width: 768px) {
    .testi-card { min-width: 100%; }
  }
  


  /* ===== Testimonials Slider ===== */

.testi-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.testi-track {
  display: flex;
  transition: transform 0.6s ease;
}

/* Card width logic */
.testi-card {
  flex: 0 0 33.3333%;
  padding: 1rem;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .testi-card { flex: 0 0 50%; }
}

@media (max-width: 768px) {
  .testi-card { flex: 0 0 100%; }
}

/* Card UI */
.testi-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

  /* ============================
   Category Cards (Course Style)
============================ */

.category-course-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.category-course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(101,92,165,0.25);
}

/* Banner */
.category-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1),
    rgba(101,92,165,0.7)
  );
}

/* Badge */
.category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.95);
  color: #111827;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  z-index: 2;
}

/* Body */
.category-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Title */
.category-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}

/* Description */
.category-desc {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
  flex: 1;
}

/* Footer */
.category-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
}

.category-meta {
  font-weight: 700;
  color: var(--primary);
}

.category-arrow {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.category-course-card:hover .category-arrow {
  transform: translateX(6px);
}
