/* ============================================================ */
/* COURSES.CSS — Course Index & Individual Course Styles        */
/* Shia Quran | shia-quran.com                        */
/* ============================================================ */

/* ── 1. COURSE INDEX HERO ── */
.course-index-hero {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 60%, var(--color-navy-light) 100%);
  padding: 8rem 0 7rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.course-index-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

.course-index-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 2;
}

.course-index-hero-text {
  position: relative;
}

.course-index-hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: #ffffff;
  font-weight: 800;
}

.course-index-hero-text p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.course-index-hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Premium Hero Button Overrides */
.course-index-hero-actions .btn-gold {
  background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold) 100%);
  color: var(--color-navy);
  border: none;
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}

.course-index-hero-actions .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.5);
  color: var(--color-navy);
}

.course-index-hero-actions .btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.course-index-hero-actions .btn-outline-white:hover {
  background: #ffffff;
  color: var(--color-navy-dark);
}

.course-index-hero-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: visible; /* To allow glow to show */
}

.course-index-hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-2xl);
  position: relative;
  z-index: 2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

/* Visibility Utilities */
.mobile-only { display: none; }
.desktop-only { display: block; }

@media (max-width: 768px) {
  .course-index-hero {
    padding: 5rem 0 4rem;
    text-align: center;
  }
  
  .course-index-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  
  .course-index-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .course-index-hero-actions {
    justify-content: center;
    width: 100%;
  }
  
  .course-index-hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
  
  .mobile-only { display: block; }
  .desktop-only { display: none; }
  
  .course-index-hero-image.mobile-only {
    width: 100%;
    max-width: 440px;
    margin: var(--space-6) 0 var(--space-10);
  }
  
  .course-index-hero-text h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: var(--space-4);
  }
  
  .course-index-hero-text p {
    font-size: var(--text-base);
    margin-bottom: var(--space-8);
  }
}

/* ── 2. BREADCRUMBS ── */
.course-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  width: fit-content;
}

@media (max-width: 768px) {
  .course-breadcrumb {
    margin-left: auto;
    margin-right: auto;
  }
}

.course-breadcrumb a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.course-breadcrumb a:hover {
  color: var(--color-gold);
}

.course-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--text-xs);
}

.course-breadcrumb__current {
  font-size: var(--text-xs);
  color: var(--color-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Badge upgrade */
.badge-gold-outline {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--color-gold);
  padding: 0.5rem 1.2rem;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  display: inline-flex;
}

.mobile-hidden { display: inline; }
@media (max-width: 768px) {
  .mobile-hidden { display: none; }
}

/* ── 3. PREMIUM COURSE CARDS (V3) ── */
.courses-listing {
  padding: var(--space-20) 0;
  background: #fdfcfe;
  position: relative;
}

.courses-listing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(201, 168, 76, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(201, 168, 76, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.courses-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  list-style: none;
  padding: 0;
  margin: 0;
}

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

@media (max-width: 640px) {
  .courses-listing-grid {
    grid-template-columns: 1fr;
  }
}

.course-card-v3 {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(27, 43, 75, 0.06);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.course-card-v3:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(27, 43, 75, 0.08), 
              0 10px 20px rgba(201, 168, 76, 0.05);
  border-color: rgba(201, 168, 76, 0.2);
}

.card-v3-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-v3-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.card-v3-overlay {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
}

.badge-v3 {
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-v3-gold {
  background: rgba(201, 168, 76, 0.9);
  color: #ffffff;
}

.card-v3-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-v3-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar for clean look */
}

.card-v3-tags::-webkit-scrollbar {
  display: none;
}

.tag-v3 {
  white-space: nowrap;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-navy-light);
  background: #f8f9fa;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #edf2f7;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.card-v3-title {
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.card-v3-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.card-v3-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f3f5;
  margin-bottom: 1.25rem;
}

.card-v3-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.card-v3-price .from {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-text-light);
}

.card-v3-price .val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-navy-dark);
}

.card-v3-price .period {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.card-v3-guarantee {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-success);
  background: rgba(46, 125, 50, 0.05);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
}

.card-v3-guarantee i {
  width: 14px;
  height: 14px;
}

.btn-v3-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #ffffff;
  color: #c5a02e;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #c5a02e;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.08);
}

.btn-v3-cta:hover {
  background: linear-gradient(135deg, #d4af37 0%, #c5a02e 100%);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.3);
  border-color: transparent;
}

.btn-v3-cta i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-v3-cta:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .course-card-v3 {
    border-radius: 20px;
  }
  .card-v3-image {
    height: 200px;
  }
  .card-v3-body {
    padding: 1.5rem;
  }
}

/* ── 4. INDIVIDUAL COURSE HERO ── */
.page-hero.course-hero {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 60%, var(--color-navy-light) 100%);
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-hero.course-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Redundant local fix removed - now handled globally in base.css */

/* ── 5. PREMIUM COURSE SECTIONS (Shared across all courses) ── */

/* Hero Layout (2-column) */
.nb-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  /* Mobile stacking is now handled globally in mobile-fixes.css */
  .nb-hero-layout { 
    padding-bottom: 2rem;
  }
}

.nb-hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  aspect-ratio: 4/5;
}
.nb-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero Image Badge (Refined & Responsive) */
.hero-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--color-white, #FFFFFF);
  padding: 10px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 10;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.hero-image-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.hero-image-badge .badge-icon i,
.hero-image-badge .badge-icon svg {
  color: var(--color-navy-dark) !important;
  width: 18px;
  height: 18px;
}

.hero-image-badge .badge-text {
  display: flex;
  flex-direction: column;
}

/* Specific overrides to prevent global white-text contrast fix */
.hero-image-badge .badge-label {
  margin: 0 !important;
  font-size: 0.7rem !important;
  color: #666 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
}

.hero-image-badge .badge-value {
  margin: 0 !important;
  font-size: 0.95rem !important;
  color: var(--color-navy) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

@media (max-width: 480px) {
  .hero-image-badge {
    bottom: 12px;
    right: 12px;
    padding: 8px 12px;
    gap: 8px;
  }
  .hero-image-badge .badge-icon {
    width: 30px;
    height: 30px;
  }
  .hero-image-badge .badge-value {
    font-size: 0.85rem !important;
  }
}

.nb-hero-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.nb-hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}
.nb-hero-features li i[data-lucide] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-gold, #C9A84C);
  stroke-width: 2.5;
}

.nb-hero-cta { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; margin-bottom: 2.5rem; }
.nb-hero-cta .btn-free {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg,#b8892a,#C9A84C);
  color: #111D33 !important; font-weight: 800; font-size: 1rem; padding: 0.95rem 1.8rem;
  border-radius: 14px; text-decoration: none; box-shadow: 0 8px 24px rgba(201,168,76,0.3);
  transition: all 0.3s ease;
}
.nb-hero-cta .btn-free:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(201,168,76,0.5); }

.nb-hero-cta .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.3);
  color: #ffffff !important; font-weight: 700; font-size: 1rem; padding: 0.95rem 1.8rem;
  border-radius: 14px; text-decoration: none; backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.nb-hero-cta .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); transform: translateY(-3px); }

.nb-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.nb-stat { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.nb-stat i[data-lucide] { width: 18px; height: 18px; color: var(--color-gold,#C9A84C); stroke-width: 2.5; }
.nb-stat strong { color: #fff; font-weight: 800; }

/* Why cards */
.nb-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.nb-why-card {
  background: #fff;
  border: 1px solid #E8E2D9;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.nb-why-card:hover { box-shadow: 0 12px 32px rgba(27,43,75,0.1); transform: translateY(-3px); }
.nb-why-card .card-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-gold-dark,#b8892a);
}
.nb-why-card .card-icon i[data-lucide] { width: 22px; height: 22px; stroke-width: 2; }
.nb-why-card h3 { font-size: 1.05rem; color: var(--color-navy,#1B2B4B); margin-bottom: 0.5rem; }
.nb-why-card p { font-size: 0.85rem; color: #555; line-height: 1.7; margin: 0; }

/* Who is it for */
.nb-who { padding: 4rem 0; }
.nb-who-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.nb-who-item {
  background: var(--color-navy,#1B2B4B);
  color: #fff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
}
.nb-who-item .wi {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-gold,#C9A84C);
}
.nb-who-item .wi i[data-lucide] { width: 20px; height: 20px; stroke-width: 2; }
.nb-who-item h4 { font-size: 1rem; color: var(--color-gold,#C9A84C); margin-bottom: 0.4rem; }
.nb-who-item p { font-size: 0.83rem; color: rgba(255,255,255,0.85); margin: 0; line-height: 1.6; }

/* Dark banner */
.nb-dark-banner { background:var(--color-navy,#1B2B4B);color:white;padding:2rem;border-radius:var(--radius-lg);margin-top:3rem;display:flex;align-items:center;gap:2rem;flex-wrap:wrap; }
.nb-dark-banner h3 { color:var(--color-gold,#C9A84C);margin-bottom:0.75rem; }
.nb-dark-banner p { color:rgba(255,255,255,0.88) !important;margin-bottom:1.5rem;font-size:0.93rem;line-height:1.7; }

/* Pricing teaser */
.nb-pricing-teaser { padding:4rem 0;background:var(--color-cream,#F8F4EE); }
.nb-price-grid { 
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1.5rem;
  margin-top:2.5rem; 
}

@media (max-width: 640px) {
  .nb-price-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

.nb-price-card { 
  background:#fff;
  border:2px solid #E8E2D9;
  border-radius:14px;
  padding:1.5rem;
  text-align:center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

@media (max-width: 480px) {
  .nb-price-card {
    padding: 1rem 0.75rem;
  }
}

.nb-price-card:hover { 
  box-shadow: 0 12px 32px rgba(27,43,75,0.12);
  transform: translateY(-4px); 
  border-color: var(--color-gold);
}
.nb-price-card.featured { 
  border-color:var(--color-gold,#C9A84C);
  box-shadow:0 8px 24px rgba(201,168,76,0.18);
  background: linear-gradient(to bottom, #fff, #fffbf2);
  transform: scale(1.05);
  z-index: 2;
}

@media (max-width: 640px) {
  .nb-price-card.featured {
    transform: scale(1);
  }
}

.nb-price-card .pc-label { font-size:0.72rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:#888;margin-bottom:0.5rem; }
.nb-price-card .pc-amount { 
  font-size: clamp(1.75rem, 5vw, 2.5rem); 
  font-weight:800;
  color:var(--color-navy,#1B2B4B);
  line-height:1; 
}
.nb-price-card .pc-amount sup { font-size:0.9rem;font-weight:700;vertical-align:super; }
.nb-price-card .pc-per { font-size:0.7rem;color:#888;margin-top:0.3rem; }
.nb-price-card .pc-tag { display:inline-block;background:rgba(201,168,76,0.1);color:var(--color-gold-darker);font-size:0.65rem;font-weight:700;padding:2px 8px;border-radius:100px;margin-top:0.5rem; }
.nb-price-free {
  background:linear-gradient(135deg,var(--color-navy),var(--color-navy-dark));
  border-radius:14px;
  padding:2rem;
  text-align:center;
  color:#fff;
  margin-top:2.5rem;
  box-shadow: var(--shadow-lg);
}
.nb-price-free strong { font-size:1.1rem;display:block;margin-bottom:0.5rem; }
.nb-price-free p { font-size:0.9rem;color:rgba(255,255,255,0.9);margin:0; }

/* Foundation Banner (used for course steps) */
.foundation-banner {
  background: var(--color-white);
  border: 1px solid rgba(27,43,75,0.1);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.foundation-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.foundation-banner__content {
  flex: 1;
  min-width: 280px;
}

.foundation-banner__image {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--color-white);
}

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

@media (max-width: 768px) {
  .foundation-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  
  .foundation-banner__image {
    order: -1;
    width: 120px;
    height: 120px;
  }
  
  .foundation-banner__content {
    min-width: 0;
  }
}

/* Curriculum */
.nb-curriculum { background: #F8F4EE; padding: 4rem 0; }
.nb-curriculum-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 2rem; }
.nb-curriculum-table th {
  background: var(--color-navy,#1B2B4B);
  color: #fff;
  padding: 0.9rem 1.25rem;
  text-align: left;
}
.nb-curriculum-table th:first-child { border-radius: 12px 0 0 0; }
.nb-curriculum-table th:last-child { border-radius: 0 12px 0 0; }
.nb-curriculum-table td { padding: 0.9rem 1.25rem; border-bottom: 1px solid #E8E2D9; }
.nb-curriculum-table tr:nth-child(even) td { background: #fff; }
.nb-curriculum-table tr:nth-child(odd) td { background: #faf7f2; }
.nb-curriculum-table .unit-num { font-weight: 700; color: var(--color-gold-dark,#b8892a); }
@media (max-width: 640px) {
  .nb-curriculum-table { font-size: 0.8rem; }
  .nb-curriculum-table th, .nb-curriculum-table td { padding: 0.7rem 0.9rem; }
}

/* FAQ */
.nb-faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}
.nb-faq-item h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.75rem;
  color: var(--color-navy);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.nb-faq-item h3 i[data-lucide] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-gold,#C9A84C);
  margin-top: 3px;
  stroke-width: 2;
}

/* Bottom CTA */
.nb-cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201,168,76,0.1);
}
.nb-cta-section::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.nb-cta-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2);
  color: var(--color-gold); font-size: 0.8rem; font-weight: 700;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}
.nb-cta-title { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; line-height: 1.2; position: relative; }
.nb-cta-desc { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 3rem; font-size: 1.05rem; line-height: 1.7; position: relative; }

.nb-cta-btns { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; position: relative; }

.nb-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 1.1rem 2.2rem; border-radius: 14px; font-weight: 800;
  font-size: 1.05rem; text-decoration: none; transition: all 0.3s ease;
  cursor: pointer;
}

.nb-btn-gold {
  background: linear-gradient(135deg, #C9A84C 0%, #b8892a 100%);
  color: #0f172a !important;
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.nb-btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(201,168,76,0.5); }

.nb-btn-outline {
  background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.3);
  color: #ffffff !important; backdrop-filter: blur(4px);
}
.nb-btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); transform: translateY(-3px); }

.nb-cta-trust { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; position: relative; }
.nb-cta-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.nb-cta-trust-item i[data-lucide] { width: 16px; height: 16px; color: var(--color-gold); stroke-width: 2.5; }

/* ── 6. COURSE OVERVIEW V2 (PREMIUM) ── */
.nb-about-v2 { padding: var(--space-20) 0; background: #ffffff; position: relative; overflow: hidden; }
.nb-about-v2::before {
  content: ''; position: absolute; top:0; right:0; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.nb-about-v2-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.4rem;
  margin-top: 3.5rem;
  align-items: start;
}

.v2-narrative .main-card {
  background: #fdfcfe;
  border: 1px solid rgba(27,43,75,0.08);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.v2-card-icon {
  width: 50px; height: 50px; background: var(--color-navy); color: var(--color-gold);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.v2-card-icon i { width: 24px; height: 24px; stroke-width: 2.5; }

.v2-narrative h3 { font-size: 1.6rem; color: var(--color-navy); margin-bottom: 1rem; }
.v2-narrative p { font-size: 1.05rem; line-height: 1.75; color: var(--color-text); margin-bottom: 2.5rem; }

.v2-sub-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.08); }
.v2-sub-item h4 { font-size: 1.1rem; color: var(--color-navy); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 10px; }
.v2-sub-item h4 i { width: 18px; height: 18px; color: var(--color-gold-dark); flex-shrink: 0; }
.v2-sub-item p { font-size: 0.92rem; margin: 0; color: #555; line-height: 1.7; }

.v2-highlights { display: flex; flex-direction: column; gap: 1.5rem; }
.highlight-box {
  display: flex; gap: 1.25rem; padding: 1.75rem; border-radius: 20px;
  background: #fff; border: 1px solid rgba(201,168,76,0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.highlight-box:hover { transform: translateX(8px); border-color: var(--color-gold); background: #fffdf9; box-shadow: 0 10px 30px rgba(201,168,76,0.1); }
.hb-icon {
  width: 48px; height: 48px; border-radius: 14px; background: rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center; color: var(--color-gold-dark); flex-shrink:0;
}
.hb-icon i { width: 22px; height: 22px; stroke-width: 2.5; }
.hb-content h4 { font-size: 1.15rem; color: var(--color-navy); margin-bottom: 0.4rem; }
.hb-content p { font-size: 0.9rem; margin: 0; line-height: 1.7; color: #555; }

.nb-seo-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 4rem; opacity: 0.4; }
.nb-seo-pills span { font-size: 0.7rem; color: #777; border: 1px solid #eee; padding: 2px 8px; border-radius: 100px; }

@media (max-width: 1024px) {
  .nb-about-v2-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 640px) {
  .v2-sub-sections { grid-template-columns: 1fr; gap: 1.5rem; }
  .v2-narrative .main-card { padding: 1.75rem; }
  .nb-about-v2 { padding: 4rem 0; }
  .highlight-box { padding: 1.25rem; }
}