*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Space Grotesk", "Inter", sans-serif;
  background: url('../default_imgs/bg.jpg') center/cover no-repeat fixed;
  overflow-x: hidden;
  scroll-behavior: smooth;
  max-width: 100vw;
  position: relative;
}

/* Color System */
:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #8b5cf6;
  --secondary: #06b6d4;
  --accent: #f43f5e;
  --pink: #ec4899;
  --dark: #0f172a;
  --gray: #64748b;
  --light-gray: #f8fafc;
}

/* Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.12), 0 2px 8px rgba(236, 72, 153, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(124, 58, 237, 0.22), 0 6px 16px rgba(236, 72, 153, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #06b6d4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

/* Section Badge */
.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.5);
  border-radius: 100px;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Hero Animated Text */
.hero-animated-text {
  font-family: "Outfit", "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  font-style: normal;
  overflow: visible;
  padding: 15px 0;
}

.hero-text-line {
  display: block;
  overflow: hidden;
  position: relative;
  padding: 0.18em 0;
  margin: 0;
  white-space: nowrap;
}

.hero-text-line:last-child {
  padding: 0.22em 0;
  margin: 0;
}

.hero-description-text {
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1.75;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.8);
  max-width: 720px;
}

/* Line mask wrapper — clips the reveal */
.hero-line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
}

.hero-line-inner {
  display: block;
  color: #020617;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translateY(110%) skewY(4deg);
  filter: blur(8px);
  will-change: transform, opacity, filter;
  animation: lineReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-line-inner.gradient {
  background: linear-gradient(135deg, #3b0764 0%, #6b21a8 45%, #0369a1 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  text-shadow: none;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9)) drop-shadow(0 2px 8px rgba(107, 33, 168, 0.3));
  animation: lineReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    premiumShimmer 4s ease-in-out infinite 1.5s;
}

@keyframes lineReveal {
  0% {
    opacity: 0;
    transform: translateY(110%) skewY(4deg);
    filter: blur(8px);
  }

  40% {
    opacity: 0.6;
    filter: blur(2px);
  }

  70% {
    transform: translateY(-4%) skewY(-1deg);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
    filter: blur(0);
  }
}

@keyframes premiumShimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 200% 50%;
  }
}

@media (max-width: 991px) {
  .hero-animated-text {
    font-size: clamp(2.8rem, 8vw, 5rem);
  }

  .hero-section {
    padding-top: 130px;
  }
}

@media (max-width: 767px) {
  .hero-animated-text {
    font-size: clamp(2.8rem, 10vw, 4.4rem);
  }

  .hero-section {
    padding-top: 110px;
  }
}

@media (max-width: 479px) {
  .hero-animated-text {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .hero-section {
    padding-top: 100px;
  }
}

/* ========== BUTTONS ========== */
.btn-primary-grad {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.btn-primary-grad:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45);
  color: #fff;
}

.btn-outline-grad {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: transparent;
  color: #7c3aed;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid #7c3aed;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-outline-grad:hover {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.3);
}

.hero-section {
  min-height: 100vh;
  background: #000;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#hero-frame-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  padding-top: 30px;
}

/* Hero Description Text (Transparent & High-Visibility) */
.hero-description-text {
  color: #f8fafc;
  font-size: 1.25rem;
  line-height: 1.75;
  font-weight: 400;
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 0, 0, 0.6);
  max-width: 720px;
}

/* Animated Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: floatBlob 20s infinite alternate;
  z-index: 0;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(100px, 50px) scale(1.2);
  }
}

/* ========== CARDS CAROUSEL ========== */
.cards-carousel-container {
  position: relative;
  width: 100%;
  padding: 10px 0 0;
  overflow: visible;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.cards-carousel {
  width: 100%;
  overflow: hidden;
  padding-bottom: 52px !important;
}

/* ── New full-image carousel card ── */
.cc-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  box-shadow: 0 20px 50px -8px rgba(124, 58, 237, 0.35), 0 4px 16px rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.45s;
}

.cc-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 32px 64px -8px rgba(124, 58, 237, 0.45), 0 8px 24px rgba(236, 72, 153, 0.2);
}

.cc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cc-card:hover .cc-img {
  transform: scale(1.08);
}

/* multi-stop gradient overlay — dark at bottom, purple tint at top */
.cc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(124, 58, 237, 0.25) 0%,
      rgba(15, 23, 42, 0.1) 35%,
      rgba(15, 23, 42, 0.55) 65%,
      rgba(15, 23, 42, 0.92) 100%);
  z-index: 1;
}

/* category badge — top left */
.cc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
}

/* content panel — bottom */
.cc-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cc-duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
}

.cc-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.cc-desc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin: 0;
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 7px 16px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.5);
  transition: transform 0.25s, box-shadow 0.25s;
  letter-spacing: 0.02em;
}

.cc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.6);
  color: #fff;
}

/* Pagination dots */
.cards-carousel .swiper-pagination {
  bottom: 16px;
}

.cards-carousel .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(124, 58, 237, 0.3);
  opacity: 1;
  transition: all 0.3s;
}

.cards-carousel .swiper-pagination-bullet-active {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  width: 28px;
  border-radius: 6px;
}

.cards-carousel .swiper-button-next,
.cards-carousel .swiper-button-prev {
  display: none;
}

/* ── Hide carousel on responsive devices ── */
@media (max-width: 991px) {
  .cards-carousel-container {
    display: none;
  }
}

/* ── Responsive carousel: fixed height so cards stay small ── */
@media (max-width: 991px) {
  .cards-carousel-container {
    padding: 8px 0 0;
  }

  .cards-carousel {
    height: 300px;
    padding-bottom: 44px !important;
  }

  .cc-card {
    height: 100%;
    aspect-ratio: unset;
    border-radius: 14px;
  }

  .cc-title {
    font-size: 0.82rem;
  }

  .cc-desc {
    font-size: 0.65rem;
  }

  .cc-content {
    padding: 14px 12px 12px;
    gap: 5px;
  }

  .cc-badge {
    font-size: 0.6rem;
    padding: 4px 10px;
    top: 10px;
    left: 10px;
  }

  .cc-btn {
    font-size: 0.62rem;
    padding: 6px 12px;
  }

  .cc-duration {
    font-size: 0.6rem;
  }
}

@media (max-width: 767px) {
  .cards-carousel {
    height: 260px;
  }

  .cc-card {
    border-radius: 12px;
  }

  .cc-title {
    font-size: 0.75rem;
  }

  .cc-desc {
    font-size: 0.62rem;
  }

  .cc-content {
    padding: 11px 10px 10px;
    gap: 4px;
  }

  .cc-badge {
    font-size: 0.56rem;
    padding: 3px 9px;
    top: 8px;
    left: 8px;
  }

  .cc-btn {
    font-size: 0.58rem;
    padding: 5px 10px;
  }

  .cc-duration {
    font-size: 0.56rem;
  }
}

@media (max-width: 479px) {
  .cards-carousel {
    height: 230px;
  }

  .cc-card {
    border-radius: 10px;
  }

  .cc-title {
    font-size: 0.68rem;
  }

  .cc-desc {
    font-size: 0.58rem;
  }

  .cc-content {
    padding: 9px 8px 9px;
    gap: 3px;
  }

  .cc-badge {
    font-size: 0.52rem;
    padding: 3px 7px;
    top: 7px;
    left: 7px;
  }

  .cc-btn {
    font-size: 0.54rem;
    padding: 4px 9px;
  }

  .cc-duration {
    font-size: 0.52rem;
  }
}

/* Carousel section entry animation */
.carousel-card-anim {
  opacity: 0;
  transform: translateY(60px) scale(0.88) rotate(-2deg);
  filter: blur(6px);
}

.carousel-card-anim.card-entered {
  animation: cardSlideIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes cardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.88) rotate(-2deg);
    filter: blur(6px);
  }

  50% {
    opacity: 0.7;
    filter: blur(1px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

/* ========== COURSE CARDS ========== */
.courses-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 20px 16px 30px;
  align-items: stretch;
}

@media (max-width: 1199px) {
  .courses-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .courses-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 10px 12px 20px;
  }

  .course-card {
    clip-path: none !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07) !important;
    flex-direction: column;
    height: auto;
  }

  .course-card:hover {
    transform: none !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.1) !important;
  }

  .course-img-wrap {
    width: 100%;
    min-width: unset;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
  }

  .course-img-wrap img {
    border-radius: 0;
  }

  .course-body {
    padding: 8px 10px 10px;
  }

  .course-card-title {
    font-size: 0.68rem;
    margin-bottom: 0;
  }

  .course-card-desc,
  .course-progress,
  .course-tags {
    display: none !important;
  }

  .course-card-footer {
    padding-top: 6px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    flex-wrap: nowrap;
  }

  .course-students {
    display: none !important;
  }

  .course-enroll-btn {
    font-size: 0.52rem;
    padding: 3px 7px;
    gap: 3px;
    white-space: nowrap;
    border-radius: 20px;
  }

  .course-enroll-btn i {
    font-size: 0.48rem;
  }
}

@media (max-width: 480px) {
  .courses-row {
    gap: 12px;
    padding: 10px 12px 20px;
  }

  .course-card-title {
    font-size: 0.72rem;
  }
}

/* Course cards Ã¯Â¿Â½ same design as courses.html unique-card */
.courses-section {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.courses-row {
  gap: 22px;
}

.course-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 58, 237, 0.15);
  box-shadow: 0 20px 40px -12px rgba(124, 58, 237, 0.15);
  clip-path: polygon(5% 0%, 100% 5%, 95% 100%, 0% 95%);
  border-radius: 36px 36px 24px 48px;
  transition:
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.45s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 56px -12px rgba(124, 58, 237, 0.3);
  border-color: rgba(124, 58, 237, 0.3);
}

.course-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0 0 50% 50% / 0 0 30px 30px;
}

.course-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  display: block;
}

.course-card:hover .course-img-wrap img {
  transform: scale(1.08);
}

.course-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.55), transparent 65%);
  pointer-events: none;
}

.course-img-label {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 60px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.course-body {
  padding: 15px 17px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: transparent;
  position: relative;
}

.course-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.course-card-desc {
  font-size: 0.76rem;
  color: #5b6e8c;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
  min-height: 0;
}

.course-progress {
  height: 4px;
  background: rgba(124, 58, 237, 0.12);
  border-radius: 10px;
  margin-bottom: 11px;
  overflow: hidden;
}

.course-progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  position: relative;
}

.course-progress-fill::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  filter: blur(2px);
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 11px;
}

.course-tag {
  padding: 3px 10px;
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 40px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #7c3aed;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  padding-top: 11px;
  margin-top: 5px;
}

.course-students {
  font-size: 0.7rem;
  font-weight: 700;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.07);
  padding: 4px 12px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-students i {
  font-size: 0.65rem;
}

.course-enroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(124, 58, 237, 0.35);
  transition: all 0.25s;
}

.course-enroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
  color: #fff;
}

/* ========== ABOUT SECTION Ã¯Â¿Â½ REDESIGN ========== */
.about-section {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

/* Top-left radial glow matching hero blobs */
.about-section::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle,
      rgba(124, 58, 237, 0.09) 0%,
      transparent 65%);
  top: -180px;
  left: -180px;
  pointer-events: none;
  z-index: 1;
}

.about-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .about-section::before {
    background: #f8f4ff;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }
}

/* LEFT PANEL */
.about-left {
  padding: 80px 60px 80px max(60px, calc((100vw - 1320px) / 2 + 60px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

@media (max-width: 1400px) {
  .about-left {
    padding: 80px 60px 80px 80px;
  }
}

@media (max-width: 991px) {
  .about-left {
    padding: 60px 24px 40px 24px;
  }
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 20px;
}

.about-eyebrow span {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  border-radius: 2px;
}

.about-headline {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 20px;
}

.about-headline em {
  font-style: normal;
  background: linear-gradient(135deg, #7c3aed, #ec4899, #06b6d4);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s linear infinite;
}

.about-desc {
  font-size: 0.97rem;
  color: #64748b;
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 440px;
}

/* Stat row */
.about-stats {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border: 1.5px solid rgba(124, 58, 237, 0.15);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.13), 0 2px 8px rgba(236, 72, 153, 0.07);
  max-width: 440px;
}

.about-stat {
  flex: 1;
  padding: 20px 12px;
  text-align: center;
  border-right: 1.5px solid rgba(124, 58, 237, 0.1);
  transition: background 0.3s;
}

.about-stat:last-child {
  border-right: none;
}

.about-stat:hover {
  background: rgba(124, 58, 237, 0.05);
}

.about-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.about-stat-label {
  font-size: 0.68rem;
  color: #9ca3af;
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.about-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Decorative dot-grid behind left content */
.about-left-dots {
  position: absolute;
  bottom: 40px;
  right: 30px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(rgba(124, 58, 237, 0.25) 1.5px,
      transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.6;
  pointer-events: none;
}

/* RIGHT PANEL */
.about-right {
  padding: 80px 40px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  position: relative;
}

@media (max-width: 991px) {
  .about-right {
    padding: 40px 24px 60px;
    background: transparent;
  }
}

.about-right-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 8px;
}

.about-right-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  line-height: 1.2;
}

/* Feature grid Ã¯Â¿Â½ 2Ã¯Â¿Â½2 */
.about-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

@media (max-width: 480px) {
  .about-feat-grid {
    grid-template-columns: 1fr;
  }
}

.about-feat-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 18px;
  border: 1.5px solid rgba(124, 58, 237, 0.1);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.1), 0 2px 6px rgba(236, 72, 153, 0.06);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.about-feat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(124, 58, 237, 0.06),
      rgba(236, 72, 153, 0.04));
  opacity: 0;
  transition: opacity 0.3s;
}

.about-feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 20px 44px rgba(124, 58, 237, 0.22), 0 6px 14px rgba(236, 72, 153, 0.1);
}

.about-feat-card:hover::before {
  opacity: 1;
}

.about-feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.about-feat-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.about-feat-desc {
  font-size: 0.74rem;
  color: #6b7280;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* Trusted-by logos strip */
.about-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.about-trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
  white-space: nowrap;
}

.about-trust-pill {
  padding: 5px 14px;
  background: #fff;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #374151;
  transition: all 0.25s;
}

.about-trust-pill:hover {
  border-color: #7c3aed;
  color: #7c3aed;
  transform: translateY(-2px);
}

/* Timeline */
.timeline-item {
  background: white;
  border-radius: 24px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.1), 0 2px 6px rgba(236, 72, 153, 0.06);
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(124, 58, 237, 0.2), 0 4px 12px rgba(236, 72, 153, 0.08);
}

/* Counter */
.counter-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Testimonial Card */
.testimonial-card {
  background: white;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.12), 0 2px 8px rgba(236, 72, 153, 0.07);
  height: 100%;
}

/* ========== COURSES & GALLERY SECTIONS (SUBTLE BLUR BACKGROUND) ========== */
.courses-section,
.gallery-section {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  position: relative;
}

.gallery-section {
  overflow: hidden;
}

.gallery-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(124, 58, 237, 0.07) 0%,
      transparent 65%);
  top: -150px;
  left: -150px;
  pointer-events: none;
}

.gallery-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
      rgba(236, 72, 153, 0.06) 0%,
      transparent 65%);
  bottom: -120px;
  right: -120px;
  pointer-events: none;
}

/* Ticker */
.gallery-ticker {
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 40px;
  mask-image: linear-gradient(90deg,
      transparent,
      #000 10%,
      #000 90%,
      transparent);
  -webkit-mask-image: linear-gradient(90deg,
      transparent,
      #000 10%,
      #000 90%,
      transparent);
}

.gallery-ticker-inner {
  display: inline-flex;
  gap: 40px;
  animation: tickerScroll 22s linear infinite;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.gallery-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
}

.gallery-ticker-item span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

/* Main Swiper */
.gallery-swiper {
  width: 100%;
  padding: 20px 0 60px !important;
}

.gallery-slide {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.13), 0 2px 8px rgba(236, 72, 153, 0.07);
  border: 1px solid rgba(124, 58, 237, 0.08);
  transition:
    box-shadow 0.4s ease,
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-slide:hover {
  box-shadow: 0 24px 52px rgba(124, 58, 237, 0.26), 0 6px 16px rgba(236, 72, 153, 0.1);
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.25);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.gallery-slide:hover img {
  transform: scale(1.07);
}

.gallery-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(15, 23, 42, 0.75) 0%,
      rgba(15, 23, 42, 0.05) 55%,
      transparent 100%);
  z-index: 1;
}

.gallery-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 20px 18px;
  z-index: 3;
  transform: translateY(6px);
  transition: transform 0.4s ease;
}

.gallery-slide:hover .gallery-slide-info {
  transform: translateY(0);
}

.gallery-slide-tag {
  display: inline-block;
  padding: 3px 10px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border-radius: 50px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 7px;
}

.gallery-slide-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

/* Swiper bullets */
.gallery-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(124, 58, 237, 0.25);
  opacity: 1;
  transition: all 0.3s;
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  width: 28px;
  border-radius: 6px;
}

/* Custom nav arrows */
.gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.gallery-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(124, 58, 237, 0.2);
  background: #fff;
  color: #7c3aed;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.16), 0 1px 4px rgba(236, 72, 153, 0.08);
  transition: all 0.3s;
}

.gallery-nav-btn:hover {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border-color: transparent;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.gallery-lightbox-inner {
  position: relative;
  max-width: 880px;
  width: 90%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(124, 58, 237, 0.4);
  border: 1.5px solid rgba(124, 58, 237, 0.2);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-lightbox.open .gallery-lightbox-inner {
  transform: scale(1);
}

.gallery-lightbox-inner img {
  width: 100%;
  display: block;
}

.gallery-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  z-index: 10000;
}

.gallery-lightbox-close:hover {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border-color: transparent;
}

.gallery-lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
      rgba(124, 58, 237, 0.1) 0%,
      transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.contact-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
      rgba(236, 72, 153, 0.08) 0%,
      transparent 70%);
  bottom: -100px;
  left: -80px;
  pointer-events: none;
}

.contact-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  border: 1.5px solid rgba(124, 58, 237, 0.15);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 1;
  padding: 44px 40px;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #ec4899, #06b6d4);
}

.contact-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #f8f4ff;
  border: 1.5px solid rgba(124, 58, 237, 0.1);
  border-radius: 14px;
  transition: all 0.25s;
}

.contact-info-row:hover {
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.05);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
}

.contact-info-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
}

/* ========== VERIFY SECTION ========== */
.verify-section {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.verify-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
      rgba(124, 58, 237, 0.1) 0%,
      transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.verify-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
      rgba(236, 72, 153, 0.08) 0%,
      transparent 70%);
  bottom: -100px;
  left: -80px;
  pointer-events: none;
}

.verify-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  border: 1.5px solid rgba(124, 58, 237, 0.15);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* top gradient bar */
.verify-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #ec4899, #06b6d4);
}

.verify-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}

.verify-input-wrap {
  position: relative;
}

.verify-input-wrap i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #7c3aed;
  font-size: 0.95rem;
  pointer-events: none;
}

.verify-input {
  width: 100%;
  padding: 16px 18px 16px 46px;
  border: 1.5px solid rgba(124, 58, 237, 0.2);
  border-radius: 14px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #f8f4ff;
  color: #0f172a;
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.verify-input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
  background: #fff;
}

.verify-input::placeholder {
  color: #9ca3af;
}

.verify-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.verify-qr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: #f8f4ff;
  border: 1.5px solid rgba(124, 58, 237, 0.2);
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #7c3aed;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  font-family: inherit;
}

.verify-qr-btn:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: #7c3aed;
  transform: translateY(-2px);
}

.verify-submit-btn {
  flex: 1;
  padding: 14px 28px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.verify-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.45);
}

/* trust badges row */
.verify-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #f3f4f6;
}

.verify-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
}

.verify-trust-item i {
  color: #7c3aed;
}

/* result area */
.verify-result {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-result-success {
  background: linear-gradient(135deg,
      rgba(16, 185, 129, 0.06),
      rgba(6, 182, 212, 0.04));
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 28px;
  width: 100%;
}

.verify-result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.verify-result-field {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(124, 58, 237, 0.08);
}

.verify-result-field label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  display: block;
  margin-bottom: 3px;
}

.verify-result-field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-animation {
  animation: fadeInUp 0.45s ease-out;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1199px) {
  .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 991px) {
  .section-title {
    font-size: 2rem;
  }

  .contact-card {
    padding: 32px 24px;
  }

  .verify-card {
    padding: 32px 20px !important;
  }

  .verify-actions {
    flex-direction: column;
  }

  .verify-qr-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .hero-section .d-flex.gap-3 {
    justify-content: center;
  }

  .cards-carousel-container {
    padding: 10px 0 36px;
  }

  .counter-number {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-stats {
    max-width: 100%;
  }

  .about-stat-num {
    font-size: 1.25rem;
  }

  .about-cta-row {
    justify-content: center;
  }

  .about-right-title {
    font-size: 1.3rem;
  }

  .gallery-nav {
    margin-top: 4px;
  }

  .contact-section .rounded-4 iframe {
    height: 280px;
  }

  .verify-result-row {
    grid-template-columns: 1fr;
  }

  .footer-modern {
    padding: 40px 0 20px;
  }

  .wa-float-label {
    display: none;
  }
}

@media (max-width: 576px) {

  .btn-primary-grad,
  .btn-outline-grad {
    padding: 10px 20px;
    font-size: 0.82rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .section-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .about-feat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-trust {
    gap: 6px;
  }

  .course-card-title {
    font-size: 1rem;
  }

  .verify-trust {
    flex-direction: column;
    gap: 10px;
  }

  .contact-card {
    padding: 24px 16px;
  }

  .contact-section .rounded-4 iframe {
    height: 240px;
  }

  .gallery-lightbox-inner {
    width: 95%;
  }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border-radius: 10px;
}

/* ========== FLOATING WHATSAPP ========== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
}

.wa-float-label {
  background: #fff;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px 6px 16px;
  border-radius: 50px 0 0 50px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
  border: 1.5px solid rgba(124, 58, 237, 0.2);
  border-right: none;
}

.wa-float:hover .wa-float-label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.wa-float-btn {
  width: clamp(42px, 5vw, 50px);
  height: clamp(42px, 5vw, 50px);
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: #fff;
  box-shadow:
    0 6px 22px rgba(124, 58, 237, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s;
  position: relative;
  flex-shrink: 0;
}

.wa-float:hover .wa-float-btn {
  transform: scale(1.1);
  box-shadow:
    0 12px 30px rgba(124, 58, 237, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.14);
}

.wa-float-btn::before,
.wa-float-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.3);
  animation: waRing 2.4s ease-out infinite;
}

.wa-float-btn::after {
  animation-delay: 1.2s;
}

@keyframes waRing {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@media (max-width: 991px) {
  .wa-float {
    bottom: 24px;
    right: 24px;
  }
}

@media (max-width: 576px) {
  .wa-float {
    bottom: 16px;
    right: 16px;
  }

  .wa-float-btn {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }

  .wa-float-label {
    display: none;
  }
}


/* ========== NEW COURSE CARDS (5-col small) ========== */
.crs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

.crs-grid .crs-card {
  width: calc(20% - 13px);
}

@media (max-width: 991px) {
  .crs-grid .crs-card {
    width: calc(50% - 8px);
  }
}

/* Card visibility limits — index page only */
/* lg (≥992px): show max 8 */
body.page-index .crs-grid .crs-card[data-index="8"],
body.page-index .crs-grid .crs-card[data-index="9"] {
  display: none;
}

/* md (768px–991px): show max 6 */
@media (max-width: 991px) {

  body.page-index .crs-grid .crs-card[data-index="6"],
  body.page-index .crs-grid .crs-card[data-index="7"],
  body.page-index .crs-grid .crs-card[data-index="8"],
  body.page-index .crs-grid .crs-card[data-index="9"] {
    display: none;
  }
}

/* sm (≤767px): show max 4 */
@media (max-width: 767px) {

  body.page-index .crs-grid .crs-card[data-index="4"],
  body.page-index .crs-grid .crs-card[data-index="5"],
  body.page-index .crs-grid .crs-card[data-index="6"],
  body.page-index .crs-grid .crs-card[data-index="7"],
  body.page-index .crs-grid .crs-card[data-index="8"],
  body.page-index .crs-grid .crs-card[data-index="9"] {
    display: none;
  }
}

.crs-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px -4px rgba(124, 58, 237, 0.18), 0 2px 8px rgba(236, 72, 153, 0.08);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s, border-color 0.4s;
  cursor: pointer;
}

.crs-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 52px -8px rgba(124, 58, 237, 0.32), 0 6px 16px rgba(236, 72, 153, 0.14);
  border-color: rgba(124, 58, 237, 0.28);
}

.crs-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.crs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.crs-card:hover .crs-thumb img {
  transform: scale(1.08);
}

.crs-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.5), transparent 65%);
  pointer-events: none;
}

.crs-duration {
  font-size: 0.68rem;
  font-weight: 700;
  color: #7c3aed;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(124, 58, 237, 0.07);
  padding: 3px 9px;
  border-radius: 40px;
  white-space: nowrap;
}

.crs-duration i {
  font-size: 0.62rem;
}

.crs-body {
  padding: 11px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.crs-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.3;
}

.crs-desc {
  font-size: 0.66rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.crs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 9px;
}

.crs-tag {
  padding: 2px 8px;
  border: 1.5px solid rgba(124, 58, 237, 0.22);
  border-radius: 50px;
  font-size: 0.57rem;
  font-weight: 600;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.04);
}

.crs-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  padding-top: 8px;
  margin-top: auto;
  gap: 5px;
}



.crs-enroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.32);
  transition: transform 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.crs-enroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(124, 58, 237, 0.42);
  color: #fff;
}

/* Show-more state: reveal hidden cards */
body.page-index .crs-grid.crs-expanded .crs-card {
  display: flex !important;
}

/* Feature strip */
.crs-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

@media (max-width: 991px) {
  .crs-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .crs-features {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

.crs-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 13px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #ede9fe;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.11), 0 1px 5px rgba(236, 72, 153, 0.06);
}

.crs-feat-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #7c3aed;
}

.crs-feat-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.crs-feat-desc {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.4;
}