@import url('./variables.css');
@import url('./animations.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

/* CSS RESET & BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--jsc-dark);
  background-color: var(--jsc-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--jsc-dark);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-h2); color: #1A3A6B; }
h3 { font-size: var(--text-h3); }

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

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* LAYOUT CONTAINER & SECTIONS (80px DESKTOP / 48px MOBILE SPACING) */
.jsc-container, .container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (max-width: 767px) {
  .jsc-container, .container {
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
  }
}

.jsc-section, section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

@media (max-width: 767px) {
  .jsc-section, section {
    padding-top: var(--section-padding-y-mobile);
    padding-bottom: var(--section-padding-y-mobile);
  }
}

.jsc-bg-white { background-color: var(--jsc-white); }
.jsc-bg-offwhite { background-color: var(--jsc-offwhite); }
.jsc-bg-burgundy-tint { background-color: #F9F2F4; }
.jsc-bg-navy-tint { background-color: #F0F3F8; }

/* BUTTONS & CTAs (DARK ORANGE PILLS) */
.jsc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
  white-space: nowrap;
}

.jsc-btn-primary {
  background-color: #D4652E;
  color: var(--jsc-white);
  box-shadow: var(--shadow-cta);
  border: none;
}

.jsc-btn-primary:hover {
  background-color: #C45A28;
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(212, 101, 46, 0.45);
}

/* SECTION HEADER CONSISTENCY (EYEBROW 12px, H2 NAVY 32px, SUBHEADING 16px) */
.jsc-section-header, .section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px auto;
}

.jsc-eyebrow, .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #D4652E;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.jsc-section-header h2, .section-heading h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1A3A6B;
}

.jsc-section-subheading, .section-heading p {
  color: var(--jsc-gray);
  font-size: 16px;
  margin-top: 8px;
}

/* SECTION 01: WHITE NAVBAR (64px CIRCULAR LOGO) */
.jsc-header, .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  background-color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.jsc-header.scrolled {
  background-color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 6px 0;
}

.jsc-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo .logo-img, .logo-img {
  height: 64px;
  width: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(139, 26, 58, 0.15);
}

@media (max-width: 768px) {
  .navbar-logo .logo-img, .logo-img {
    height: 48px;
    width: 48px;
  }
}

.jsc-nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.jsc-nav-link {
  color: #1C1C1E;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.jsc-nav-link:hover, .jsc-nav-link.active {
  color: #8B1A3A;
}

.jsc-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #8B1A3A;
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.jsc-nav-link:hover::after, .jsc-nav-link.active::after {
  width: 100%;
}

.jsc-mobile-toggle {
  display: none;
  background: none;
  color: #1C1C1E;
  font-size: 1.75rem;
  cursor: pointer;
}

/* Mobile Nav Drawer */
.jsc-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #3D0E1A;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.jsc-mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.jsc-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  color: var(--jsc-white);
  font-size: 2rem;
  cursor: pointer;
}

.jsc-mobile-drawer .jsc-nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jsc-white);
}

@media (max-width: 991px) {
  .jsc-nav-menu, .jsc-header-cta {
    display: none;
  }
  .jsc-mobile-toggle {
    display: block;
  }
}

/* SECTION 02: HERO ("JEEV STUDY CIRCLE" BRAND HEADER) */
.jsc-hero {
  min-height: 100vh;
  min-height: 700px;
  background: linear-gradient(135deg, #8B1A3A 0%, #1A3A6B 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  color: var(--jsc-white);
  overflow: hidden;
}

.jsc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.jsc-hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .jsc-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
}

.hero-brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D4652E;
  margin-bottom: 16px;
}

.jsc-hero-title {
  font-size: 56px;
  color: var(--jsc-white);
  font-weight: 800;
  margin-top: 12px;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

@media (max-width: 767px) {
  .jsc-hero-title {
    font-size: 36px;
  }
}

.jsc-hero-title .highlight {
  color: #D4652E;
  position: relative;
  display: inline-block;
}

.jsc-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 560px;
}

@media (max-width: 991px) {
  .jsc-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.jsc-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

@media (max-width: 991px) {
  .jsc-hero-actions {
    justify-content: center;
  }
}

.jsc-trust-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .jsc-trust-badges {
    justify-content: center;
  }
}

.jsc-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.jsc-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #D4652E;
}

/* HERO TRUST SIGNALS */
.hero-trust-signals {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 991px) {
  .hero-trust-signals {
    justify-content: center;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jsc-hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.jsc-hero-img-box {
  position: relative;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.2);
  max-width: 460px;
  width: 100%;
  aspect-ratio: 5/6;
}

.jsc-hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Badges */
.jsc-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: 12px;
  color: var(--jsc-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.jsc-floating-card.card-placed {
  top: 10%;
  left: -20px;
}

.jsc-floating-card.card-partners {
  bottom: 12%;
  right: -20px;
}

@media (max-width: 576px) {
  .jsc-floating-card.card-placed { left: 5px; top: 5%; }
  .jsc-floating-card.card-partners { right: 5px; bottom: 5%; }
}

.jsc-floating-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #D4652E;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jsc-floating-text h4 {
  color: var(--jsc-white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.jsc-floating-text p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

/* SECTION 03: TRUST BAR / STATS FLOATING CARD */
.jsc-stats-bar {
  position: relative;
  margin-top: -40px;
  z-index: 10;
  background: var(--jsc-white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 40px;
}

@media (max-width: 767px) {
  .jsc-stats-bar {
    padding: 24px;
    margin-top: -30px;
  }
}

.jsc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

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

@media (max-width: 576px) {
  .jsc-stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.jsc-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.jsc-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--jsc-light-border);
}

@media (max-width: 991px) {
  .jsc-stat-item:not(:last-child)::after {
    display: none;
  }
}

.jsc-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.jsc-stat-icon.burgundy-icon {
  background-color: rgba(139, 26, 58, 0.08);
  color: #8B1A3A;
}

.jsc-stat-icon.navy-icon {
  background-color: rgba(26, 58, 107, 0.08);
  color: var(--jsc-navy);
}

.jsc-stat-number {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.jsc-stat-burgundy { color: #8B1A3A; }
.jsc-stat-navy { color: var(--jsc-navy); }

.jsc-stat-label {
  font-size: 14px;
  color: var(--jsc-gray);
  font-weight: 500;
}

/* SECTION 04: COURSE CARDS (PROMINENT PRICES & DIFFERENT FEES) */
.jsc-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.jsc-filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background-color: var(--jsc-white);
  color: var(--jsc-gray);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid var(--jsc-light-border);
  transition: all var(--transition-fast);
}

.jsc-filter-btn:hover, .jsc-filter-btn.active {
  background-color: #D4652E;
  color: var(--jsc-white);
  border-color: #D4652E;
  box-shadow: var(--shadow-sm);
}

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

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

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

.course-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--jsc-light-border);
  background: var(--jsc-white);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

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

.category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #D4652E;
  color: var(--jsc-white);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-badge.cat-job-ready {
  background: #D4652E;
}

.category-badge.cat-skill-enhancement {
  background: var(--jsc-navy);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--jsc-dark);
  line-height: 1.3;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--jsc-gray);
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.course-price, .course-fee {
  font-size: 22px;
  font-weight: 800;
  color: #8B1A3A;
  margin: 8px 0;
}

.course-eligibility {
  font-size: 12px;
  color: var(--jsc-gray);
  margin-bottom: 12px;
}

.course-highlights {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pill {
  font-size: 10.5px;
  padding: 3px 8px;
  background: #FFF0F5;
  color: #8B1A3A;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.enquire-btn {
  width: 100%;
  background: #D4652E;
  color: var(--jsc-white);
  border: none;
  padding: 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: auto;
  transition: background 300ms ease, transform 300ms ease;
}

.enquire-btn:hover {
  background: #C45A28;
  transform: scale(1.02);
}

/* SECTION 05: PATHWAYS (LIGHT BURGUNDY TINT BACKGROUND & STEP COLOR CIRCLES) */
.pathways-section {
  background-color: #F9F2F4;
}

.jsc-pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.jsc-pathway-card {
  background-color: var(--jsc-white);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--jsc-light-border);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.jsc-pathway-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.jsc-pathway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.jsc-pathway-burgundy::before { background-color: #8B1A3A; }
.jsc-pathway-navy::before { background-color: var(--jsc-navy); }
.jsc-pathway-orange::before { background-color: #D4652E; }

.jsc-pathway-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.jsc-pathway-desc {
  color: var(--jsc-gray);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.jsc-step-flow-prominent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--jsc-light-border);
}

.jsc-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.jsc-node-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--jsc-white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jsc-pathway-burgundy .jsc-node-circle { background: #8B1A3A; }
.jsc-pathway-navy .jsc-node-circle { background: #1A3A6B; }
.jsc-pathway-orange .jsc-node-circle { background: #D4652E; }

.jsc-step-node span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--jsc-dark);
}

/* SECTION 06: PARTNER LOGOS INFINITE MARQUEE (FULL COLOR) */
.partners-section {
  background-color: var(--jsc-white);
  padding: 60px 0;
}

.partners-marquee {
  overflow: hidden;
  padding: 32px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marquee-scroll 25s linear infinite;
  width: max-content;
}

.logo-wrapper {
  width: 140px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: none;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.logo-wrapper:hover img {
  opacity: 1;
}

img[src*="axis"] {
  border-radius: 4px;
  background: transparent;
}

img[src*="muthoot"] {
  border-radius: 4px;
  background: transparent;
}

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

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SECTION 07: WHY JSC BENTO GRID (LIGHT BURGUNDY TINT BACKGROUND) */
.why-jsc-section {
  background-color: #F9F2F4;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 20px;
}

.jsc-bento-card {
  background-color: var(--jsc-white);
  border-radius: 16px;
  padding: 28px 20px;
  border: 1px solid var(--jsc-light-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.bento-grid .featured-card {
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(135deg, #FFF5F0 0%, #FFEEE5 100%);
  border: 2px solid #8B1A3A;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.bento-grid .nep-card {
  grid-column: 1;
  grid-row: 3;
}

.bento-grid .sales-card {
  grid-column: 1;
  grid-row: 4;
}

.bento-grid .usp-image-card {
  grid-column: 2 / 4;
  grid-row: 3 / 5;
  border-radius: 16px;
  overflow: hidden;
  min-height: 100%;
  box-shadow: var(--shadow-sm);
}

.bento-grid .usp-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-nism:hover { background-color: #F0F4FF; }
.card-flexible:hover { background-color: #FFF5F0; }
.card-fasttrack:hover { background-color: #F0FFF4; }
.card-experts:hover { background-color: #FFF0F5; }
.card-nep:hover { background-color: #F5F0FF; }
.sales-card:hover { background-color: #FFF8F0; }

.jsc-bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(139, 26, 58, 0.08);
  color: #8B1A3A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
}

.featured-card .jsc-bento-icon {
  background-color: rgba(212, 101, 46, 0.15);
  color: #D4652E;
  margin: 0 auto 14px auto;
}

.sales-card .jsc-bento-icon {
  background-color: rgba(212, 101, 46, 0.12);
  color: #D4652E;
  margin: 0 auto 14px auto;
}

.jsc-bento-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--jsc-dark);
  text-align: center;
}

.jsc-bento-desc {
  font-size: 0.9rem;
  color: var(--jsc-gray);
  text-align: center;
}

/* SECTION 08: DIRECTOR'S DESK */
.directors-desk {
  padding: 80px 0;
  background: #FFFFFF;
}

.director-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

.director-photo-col {
  flex: 0 0 280px;
  text-align: center;
}

.director-photo-frame {
  width: 220px;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid #8B1A3A;
  box-shadow: 0 12px 32px rgba(139, 26, 58, 0.15);
}

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

.director-name {
  font-size: 20px;
  font-weight: 700;
  color: #1C1C1E;
  margin-bottom: 4px;
}

.director-titles span {
  font-size: 14px;
  color: #8B1A3A;
  font-weight: 500;
}

.director-past-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

.role-pill {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 50px;
  background: #F5F0F2;
  color: #8B1A3A;
  font-weight: 500;
}

.director-content-col {
  flex: 1;
}

.director-quote {
  font-size: 18px;
  font-style: italic;
  color: #1C1C1E;
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 24px;
  background: #FBF7F8;
  border-left: 4px solid #8B1A3A;
  border-radius: 0 12px 12px 0;
}

.quote-mark {
  font-size: 32px;
  color: #8B1A3A;
  font-family: Georgia, serif;
  line-height: 0;
  vertical-align: -8px;
}

.director-bio {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 24px;
}

.director-bio p {
  margin-bottom: 12px;
}

.director-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.d-stat {
  text-align: center;
  padding: 16px 8px;
  background: #F8F7F4;
  border-radius: 12px;
}

.d-stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #8B1A3A;
}

.d-stat-label {
  font-size: 11px;
  color: #6B7280;
  margin-top: 4px;
  line-height: 1.4;
}

/* SECTION 09: BLOG CARDS */
.jsc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

.blog-card {
  border-radius: 16px;
  border: 1px solid var(--jsc-light-border);
  background: var(--jsc-white);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.06);
}

.blog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-category-pill {
  display: inline-block;
  background: #FFF0F5;
  color: #8B1A3A;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
  width: max-content;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-excerpt {
  color: var(--jsc-gray);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.blog-link {
  margin-top: auto;
  color: #8B1A3A;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-link:hover {
  color: #D4652E;
}

/* SECTION 10: ENQUIRY FORM (LIGHT NAVY TINT BACKGROUND) */
.enquiry-section {
  background-color: #F0F3F8;
}

.enquiry-form-container {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--jsc-light-border);
  border-left: 4px solid #8B1A3A;
  box-shadow: var(--shadow-md);
  max-width: 840px;
  margin: 0 auto;
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group-full {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .form-group-full {
    grid-column: span 1;
  }
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--jsc-dark);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #D1D5DB;
  font-size: 15px;
  background: var(--jsc-white);
  color: var(--jsc-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: #D4652E;
  box-shadow: 0 0 0 3px rgba(212, 101, 46, 0.15);
}

.form-submit-btn {
  width: 100%;
  height: 52px;
  border-radius: var(--radius-pill);
  background: #D4652E;
  color: var(--jsc-white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 300ms ease, transform 300ms ease;
  margin-top: 10px;
  border: none;
}

.form-submit-btn:hover {
  background: #C45A28;
  transform: scale(1.02);
}

.privacy-note {
  text-align: center;
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.jsc-form-error {
  color: #DC2626;
  font-size: 0.75rem;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-input {
  border-color: #DC2626;
}

.form-group.error .jsc-form-error {
  display: block;
}

/* SECTION 11: GALLERY WITH HOVER OVERLAY */
.gallery-strip {
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  gap: 12px;
  width: max-content;
}

.gallery-item {
  width: 280px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  background: rgba(139, 26, 58, 0.75);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

.view-full-gallery-container {
  text-align: center;
  margin-top: 24px;
}

.view-full-gallery-link {
  color: #8B1A3A;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 200ms ease;
}

.view-full-gallery-link:hover {
  color: #D4652E;
}

/* SECTION 12: FOOTER (DARK BURGUNDY #3D0E1A) */
.jsc-footer {
  background-color: #3D0E1A;
  color: var(--jsc-white);
  padding-top: 60px;
  padding-bottom: 40px;
}

.jsc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

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

@media (max-width: 576px) {
  .jsc-footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  background: #D4652E;
  color: var(--jsc-white);
}

.jsc-footer-col h4 {
  color: var(--jsc-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.jsc-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jsc-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.jsc-footer-links a:hover {
  color: #D4652E;
}

.jsc-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.jsc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
}

/* ============================================ */
/* MOBILE RESPONSIVE FIXES (BELOW 768px) */
/* ============================================ */
@media (max-width: 768px) {

  /* 1. NAVBAR */
  .jsc-header, .navbar {
    padding: 6px 16px !important;
  }

  .navbar-logo .logo-img, .logo-img, .footer-logo {
    height: 48px !important;
    width: 48px !important;
  }

  .jsc-nav-menu, .nav-links {
    display: none !important;
  }

  .jsc-mobile-toggle, .hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
  }

  .hamburger span {
    width: 24px;
    height: 2px;
    background: #1C1C1E;
    transition: all 0.3s;
  }

  .jsc-mobile-drawer, .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #3D0E1A;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .jsc-mobile-drawer.open, .mobile-menu.active {
    display: flex !important;
  }

  .jsc-mobile-drawer a, .mobile-menu a {
    font-size: 20px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
  }

  .navbar .nav-cta, .jsc-header-cta {
    display: none !important;
  }

  /* 2. HERO */
  .jsc-hero, .hero-section {
    padding-top: 100px !important;
    min-height: auto !important;
    padding-bottom: 40px !important;
  }

  .jsc-hero-grid, .hero-layout {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 24px !important;
  }

  .jsc-hero-content, .hero-text {
    width: 100% !important;
    padding: 0 16px !important;
  }

  .jsc-hero-title, .hero-text h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  .jsc-eyebrow, .eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .jsc-hero-subtitle, .hero-text p {
    font-size: 15px !important;
  }

  .jsc-hero-actions, .hero-buttons {
    justify-content: center !important;
  }

  .jsc-hero-actions .jsc-btn-primary, .hero-buttons .btn-primary {
    width: 100% !important;
    text-align: center !important;
    padding: 14px 24px !important;
  }

  .jsc-trust-badges, .hero-trust-pills {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .hero-trust-signals {
    justify-content: center !important;
  }

  .jsc-hero-image-wrapper, .hero-image {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }

  .jsc-hero-img-box img, .hero-image img {
    width: 100% !important;
    height: auto !important;
  }

  .jsc-floating-card, .floating-badge {
    display: none !important;
  }

  /* 3. STATS BAR — 2x2 grid */
  .jsc-stats-bar, .stats-bar {
    margin-top: -20px !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding: 20px !important;
    border-radius: 12px !important;
  }

  .jsc-stats-grid, .stats-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  .jsc-stat-item, .stat-item {
    text-align: center !important;
    padding: 0 !important;
  }

  .jsc-stat-number, .stat-number {
    font-size: 28px !important;
  }

  .jsc-stat-label, .stat-label {
    font-size: 12px !important;
  }

  .stat-divider, .jsc-stat-item:not(:last-child)::after {
    display: none !important;
  }

  /* 4. SECTIONS */
  section, .jsc-section, .section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .jsc-section-header h2, .section-heading h2 {
    font-size: 24px !important;
  }

  .jsc-section-subheading, .section-heading p {
    font-size: 14px !important;
  }

  /* 5. COURSES CARDS — single column */
  .jsc-courses-grid, .courses-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .jsc-filter-tabs, .filter-tabs {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .jsc-filter-btn, .filter-tab {
    font-size: 13px !important;
    padding: 6px 14px !important;
  }

  /* 6. PATHWAYS — single column */
  .jsc-pathways-grid, .pathways-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .jsc-pathway-card, .pathway-card {
    padding: 20px !important;
  }

  .jsc-step-flow-prominent, .pathway-steps {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  /* 7. PARTNERS */
  .logo-wrapper {
    width: 100px !important;
    height: 40px !important;
  }

  .marquee-track {
    gap: 32px !important;
  }

  /* 8. BENTO GRID — single column */
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .bento-grid .featured-card,
  .bento-grid .nep-card,
  .bento-grid .sales-card,
  .bento-grid .usp-image-card {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .usp-image-card {
    min-height: 200px !important;
  }

  /* 9. DIRECTOR'S DESK MOBILE */
  .director-layout {
    flex-direction: column !important;
    text-align: center !important;
  }
  .director-photo-col {
    flex: none !important;
    width: 100% !important;
  }
  .director-content-col {
    text-align: left !important;
  }
  .director-quote {
    font-size: 16px !important;
  }
  .director-stats {
    grid-template-columns: 1fr 1fr !important;
  }

  /* 10. BLOG CARDS */
  .jsc-blog-grid, .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* 11. ENQUIRY FORM */
  .enquiry-layout, div[style*="grid-template-columns: 1fr 400px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .enquiry-form-container, .enquiry-form {
    width: 100% !important;
    padding: 24px !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  div[style*="min-height: 420px"], .enquiry-image {
    display: none !important;
  }

  input, select, .form-input {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    padding: 14px 16px !important;
  }

  .form-submit-btn, .submit-btn {
    font-size: 16px !important;
    padding: 14px !important;
  }

  /* 12. GALLERY */
  .gallery-item img, .gallery-strip img {
    width: 220px !important;
    height: 160px !important;
  }

  /* 13. FOOTER */
  .jsc-footer-grid, .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }

  .footer-brand {
    grid-column: 1 / -1 !important;
  }

  .jsc-footer-bottom, .footer-bottom {
    font-size: 11px !important;
    text-align: center !important;
  }

  /* 14. FLOATING WIDGET */
  .jsc-floating-widget, .floating-widget {
    bottom: 16px !important;
    right: 16px !important;
  }

  .jsc-widget-card, .floating-widget.expanded {
    width: calc(100vw - 32px) !important;
    right: 0 !important;
  }
}

/* ============================================ */
/* TABLET (768px - 1023px) */
/* ============================================ */
@media (min-width: 769px) and (max-width: 1023px) {

  .jsc-hero-grid, .hero-layout {
    gap: 24px !important;
  }

  .jsc-hero-title, .hero-text h1 {
    font-size: 40px !important;
  }

  .jsc-courses-grid, .courses-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .jsc-blog-grid, .blog-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .jsc-footer-grid, .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* =================================================================== */
/* INNER PAGES & COMPONENT EXTENSIONS                                  */
/* =================================================================== */

/* Pathway Headlines & Subtitles (A1) */
.pathway-title {
  font-size: 20px;
  font-weight: 700;
  color: #1C1C1E;
  margin-bottom: 4px;
}
.pathway-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #8B1A3A;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

/* Read More Button (A5) */
.read-more-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #D4652E;
  color: #FFFFFF;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.read-more-btn:hover {
  background: #C45A28;
  color: #FFFFFF;
  transform: scale(1.03);
}

/* Reusable Page Hero Banner */
.page-hero {
  min-height: 40vh;
  background: linear-gradient(135deg, #8B1A3A 0%, #1A3A6B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: #FFFFFF;
}
.page-hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #FFD700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #FFFFFF;
  line-height: 1.2;
}
.page-hero-sub {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 16px auto;
  opacity: 0.9;
}
.page-hero-breadcrumb {
  font-size: 14px;
  opacity: 0.85;
}
.page-hero-breadcrumb a {
  color: #FFFFFF;
  text-decoration: underline;
}
.page-hero-breadcrumb span {
  color: #FFD700;
  font-weight: 600;
}

/* About Us Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1A3A6B;
  margin-bottom: 16px;
  line-height: 1.6;
}
.about-body {
  color: #4B5563;
  line-height: 1.7;
}
.about-img-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 1023px) {
  .what-we-do-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .what-we-do-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 28px 20px;
  border: 1px solid var(--jsc-light-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1C1C1E;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.92rem;
  color: #6B7280;
  line-height: 1.6;
}

/* Courses Contour & Syllabus Accordions */
.contour-section {
  padding: 60px 0;
}
.contour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .contour-grid { grid-template-columns: 1fr; }
}
.contour-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--jsc-light-border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contour-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.contour-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1C1C1E;
  margin-bottom: 8px;
}
.contour-card p {
  font-size: 0.95rem;
  color: #4B5563;
  margin-bottom: 12px;
}
.contour-badge {
  display: inline-block;
  background: #EEF2FF;
  color: #1A3A6B;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.contour-banner {
  background: #FFFFFF;
  border: 1px solid var(--jsc-light-border);
  border-radius: 12px;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.contour-outcome {
  font-size: 1.05rem;
  color: #8B1A3A;
}
.contour-notes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.c-note-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  color: #FFF;
}
.c-note-badge.cat-job-ready { background: #D4652E; }
.c-note-badge.cat-skill-enhancement { background: #1A3A6B; }

.course-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  gap: 12px;
}
.view-details-btn {
  font-size: 13px;
  font-weight: 600;
  color: #1A3A6B;
  text-decoration: none;
}
.view-details-btn:hover { text-decoration: underline; }

.course-detail-block {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--jsc-light-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  scroll-margin-top: 90px;
}
.course-detail-header {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #E5E7EB;
}
@media (max-width: 991px) {
  .course-detail-header { grid-template-columns: 1fr; }
}
.course-detail-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1C1C1E;
  margin: 12px 0;
}
.course-detail-desc {
  color: #4B5563;
  line-height: 1.7;
}
.course-detail-sidebar {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
}
.sidebar-price {
  font-size: 2rem;
  font-weight: 800;
  color: #D4652E;
  margin-bottom: 16px;
}
.sidebar-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 13px;
  color: #4B5563;
}
.sidebar-meta li {
  margin-bottom: 8px;
}
.sidebar-meta li span {
  font-weight: 700;
  color: #1C1C1E;
}
.full-width { width: 100%; text-align: center; }

.course-modules-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1C1C1E;
  margin-bottom: 20px;
}
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.accordion-item {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  background: #FFF;
}
.accordion-header {
  width: 100%;
  text-align: left;
  background: #F9FAFB;
  padding: 16px 20px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: #1C1C1E;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.accordion-item.active .accordion-header {
  background: #EEF2FF;
  color: #1A3A6B;
}
.accordion-content {
  padding: 16px 20px;
  display: none;
  background: #FFFFFF;
}
.accordion-content ul {
  margin: 0;
  padding-left: 20px;
}
.accordion-content li {
  font-size: 0.95rem;
  color: #4B5563;
  margin-bottom: 6px;
}

/* Pathways Page Detailed Models */
.pathway-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.pathway-detail-grid.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}
@media (max-width: 991px) {
  .pathway-detail-grid, .pathway-detail-grid.reverse { grid-template-columns: 1fr; }
}
.pathway-detail-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1C1C1E;
  margin: 12px 0 4px 0;
}
.pathway-detail-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #8B1A3A;
  margin-bottom: 20px;
}
.pathway-desc-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1A3A6B;
  margin-bottom: 12px;
}
.pathway-flow-container {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}
.flow-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 12px;
}
.pathway-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFF;
  border: 1px solid #D1D5DB;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.flow-step.highlight {
  background: #8B1A3A;
  color: #FFF;
  border-color: #8B1A3A;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #EEF2FF;
  color: #1A3A6B;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}
.flow-step.highlight .step-num {
  background: #FFF;
  color: #8B1A3A;
}
.flow-arrow {
  color: #9CA3AF;
  font-weight: 700;
}
.target-audience-box {
  font-size: 0.95rem;
  color: #4B5563;
  padding: 12px 16px;
  background: #FFFBEB;
  border-left: 4px solid #F59E0B;
  border-radius: 4px;
}
.pathway-img-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.pathway-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================ */
/* HOMEPAGE POPUP BANNER */
/* ============================================ */
.popup-banner-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.popup-banner-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-banner {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    max-width: 520px;
    width: 90%;
    max-height: 85vh;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    animation: popupSlideUp 0.4s ease;
}

@keyframes popupSlideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.popup-image {
    width: 100%;
    max-height: 250px;
    overflow: hidden;
}

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

.popup-content {
    padding: 28px 24px;
    text-align: center;
}

.popup-title {
    font-size: 24px;
    font-weight: 700;
    color: #1C1C1E;
    margin-bottom: 8px;
}

.popup-subtitle {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 12px;
    line-height: 1.5;
}

.popup-body {
    font-size: 14px;
    color: #4B5563;
    margin-bottom: 16px;
    line-height: 1.6;
}

.popup-cta {
    display: inline-block;
    padding: 12px 32px;
    background: #D4652E;
    color: #FFFFFF;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.popup-cta:hover {
    background: #C45A28;
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .popup-banner {
        max-width: 92%;
        margin: 16px;
    }
    .popup-title {
        font-size: 20px;
    }
    .popup-image {
        max-height: 180px;
    }
    .popup-content {
        padding: 20px 16px;
    }
}

