:root {
  --primary: #ea5553;
  /* Pure Primary Red */
  --primary-dark: #ca3e3c;
  --primary-light: rgba(234, 85, 83, 0.1);
  --secondary: #10b981;
  /* Keep Emerald for success/vitality unless asked otherwise */
  --dark: #121212;
  /* Neutral Deep Black/Charcoal */
  --dark-mid: #262626;
  /* Neutral Mid Charcoal */
  --white: #ffffff;
  --gray-50: #f9f9f9;
  --gray-100: #f0f0f0;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-600: #525252;
  --gray-800: #171717;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .05);
  --shadow: 0 8px 24px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, .12);
  --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 1px 0 var(--gray-200), var(--shadow-sm);
  transition: var(--transition);
}

.navbar-brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff8a80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--gray-600) !important;
  margin-left: 8px;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary) !important;
  background: var(--primary-light);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  background: url('asset/images/bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(18, 18, 18, 0.90) 0%, rgba(18, 18, 18, 0.65) 60%, rgba(234, 85, 83, 0.35) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 20px;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(234, 85, 83, 0.20);
  border: 1px solid rgba(234, 85, 83, 0.4);
  color: #ffb3b1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: .4px;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8a80 100%);
  border: none;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  letter-spacing: .2px;
  box-shadow: 0 4px 20px rgba(234, 85, 83, 0.3);
  transition: var(--transition);
  color: white !important;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(234, 85, 83, 0.4);
}

.btn-outline-light {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-light:hover {
  transform: translateY(-2px);
}

/* ============================================================
   SECTION HEADINGS (shared)
   ============================================================ */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--gray-400);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   EXPERTS / ABOUT
   ============================================================ */
.experts {
  background: var(--gray-50);
  padding: 90px 0;
}

.expert-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.expert-card img {
  height: 240px;
  object-fit: cover;
  object-position: top;
}

.expert-card .card-body {
  padding: 22px;
}

.expert-card h5 {
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.text-red {
  color: var(--primary);
}

.exp {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 8px;
}

/* ============================================================
   PROGRAM SECTION
   ============================================================ */
.about-section {
  background: var(--white);
  padding: 90px 0;
}

.about-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -.5px;
}

.about-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15.5px;
  color: var(--gray-600);
}

.about-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--primary);
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 480px;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 992px) {
  .about-section {
    text-align: center;
  }

  .about-list li {
    text-align: left;
  }
}

/* ============================================================
   WHY / FEATURES
   ============================================================ */
.why-section {
  background: linear-gradient(160deg, var(--dark) 0%, #1e1e1e 100%);
  padding: 90px 0;
}

.why-section .section-heading {
  color: var(--white);
}

.why-section .section-sub {
  color: var(--gray-400);
}

.why-section .section-eyebrow {
  background: rgba(234, 85, 83, 0.15);
  color: #ffb3b1;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  padding: 28px;
  border-radius: var(--radius);
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(234, 85, 83, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.icon-box {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.why-section .icon-box {
  background: rgba(234, 85, 83, 0.18);
  color: #ffb3b1;
}

.feature-card h5 {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--gray-400);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-card {
    padding: 20px;
  }
}

/* ============================================================
   SESSIONS / COURSES CAROUSEL
   ============================================================ */
.sessions {
  background: var(--gray-50);
  padding: 90px 0;
}

/* Carousel wrapper */
.courses-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 20px;
}

.courses-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

/* Each course slide */
.course-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

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

.course-slide-header {
  background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
  padding: 24px 24px 20px;
  position: relative;
  overflow: hidden;
}

.course-slide-header::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(234, 85, 83, 0.12);
  border-radius: 50%;
  top: -40px;
  right: -30px;
}

.course-badge {
  display: inline-block;
  background: rgba(234, 85, 83, 0.20);
  color: #ffb3b1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.course-slide-header h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
  font-variant: small-caps;
}

.course-slide-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #000000;
}

.course-meta-item i {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.course-desc {
  font-size: 14px;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 16px;
}

.course-resource-link:hover {
  text-decoration: underline;
}

/* Book form inside slide */
.course-book-toggle {
  background: var(--primary);
  color: var(--white);
  border: none;
  width: 100%;
  padding: 11px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.course-book-toggle:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.course-book-form {
  display: none;
  margin-top: 16px;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}

.course-book-form.open {
  display: block;
}

.course-book-form input {
  width: 100%;
  padding: 9px 14px;
  font-size: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
  color: #000000;
}

.course-book-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.course-book-form button[type="submit"] {
  width: 100%;
  padding: 10px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.course-book-form button[type="submit"]:hover {
  background: var(--dark-mid);
}

/* Carousel Nav Buttons */
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
}

@media (max-width: 992px) {
  .course-slide {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .course-slide {
    flex: 0 0 calc(100%);
  }

  .course-meta-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: rgba(234, 85, 83, 0.03);
  padding: 90px 0;
}

.testimonial-card {
  background: var(--gray-50);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 24px;
  font-size: 64px;
  color: var(--primary-light);
  line-height: 1;
  font-family: serif;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.stars {
  color: #f59e0b;
  /* Professional Amber */
  font-size: 16px;
  letter-spacing: 2px;
}

.role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.review {
  font-size: 15px;
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 20px;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--gray-50);
  padding: 90px 0;
}

.contact-info {
  align-items: center;
  gap: 16px;
}

.contact-info .icon-box {
  margin-right: 0;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.contact-form-card h6 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-800);
}

.form-control {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  color: #000000;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.send-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #ff7070 100%);
  color: var(--white);
  border: none;
  padding: 13px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(234, 85, 83, 0.25);
}

.send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 85, 83, 0.35);
  color: var(--white);
}

@media (max-width: 992px) {
  .contact-form-card {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 24px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
  background: linear-gradient(160deg, var(--dark) 0%, #0a0a0a 100%);
  color: #cbd5e1;
  padding-top: 60px;
  padding-bottom: 28px;
}

.footer-title {
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff8a80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-text {
  color: #94a3b8;
  max-width: 280px;
  line-height: 1.7;
  font-size: 14.5px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #94a3b8;
  font-size: 14.5px;
  transition: var(--transition);
}

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

.social-icons a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #94a3b8;
  font-size: 17px;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  font-size: 13.5px;
  color: #525252;
}

@media (max-width: 768px) {
  .footer-text {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .footer-section {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-muted {
  color: var(--gray-400) !important;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .experts,
  .about-section,
  .why-section,
  .sessions,
  .testimonials,
  .contact-section {
    padding: 60px 0;
  }
}