/* ===== CSS VARIABLES ===== */
:root {
  --navy: #0f1b3d;
  --navy-light: #1e2a4b;
  --navy-dark: #0a1128;
  --slate: #4a5568;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;

  /* Course-specific colors (from logos) */
  --color-hf: #1e2a4b;     /* Handflaps — dark navy */
  --color-tr: #6d8a8e;     /* Tendon Repair — steel teal */
  --color-ibra: #808590;   /* IBRA Bone — medium gray */
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: #0a1128;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.navbar.scrolled {
  background: #0a1128;
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-brand span { font-weight: 300; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* Courses button — contrasting */
.nav-courses-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px !important;
  padding: 8px 20px !important;
}

.nav-courses-btn:hover,
.nav-courses-btn.active {
  background: rgba(255,255,255,0.22) !important;
  border-color: rgba(255,255,255,0.35);
}

.nav-courses-btn svg {
  flex-shrink: 0;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  color: var(--gray-900) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.nav-course-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-dropdown-menu a:hover {
  background: var(--gray-100) !important;
  color: var(--navy) !important;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  background: #f0f2f7;
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  z-index: 1;
  background: linear-gradient(
    135deg,
    #eaeff8 0%,
    #f4f5f9 15%,
    #eaf1f2 30%,
    #f3f6f7 45%,
    #edeef1 60%,
    #f5f5f7 75%,
    #e8ecf5 90%,
    #eaeff8 100%
  );
  background-size: 400% 400%;
  animation: heroGradient 12s ease infinite;
}

@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 100% 25%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 0% 75%; }
  100% { background-position: 0% 50%; }
}

.h1-light {
  font-weight: 300;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* LEFT SIDE — big title */
.hero-left {
  text-align: left;
}

.hero-location {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* RIGHT SIDE — courses + subtitle */
.hero-right {
  text-align: left;
  padding-left: 40px;
}

.hero-rings-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.hero-rings-desc {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 24px;
  line-height: 1.6;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* Three overlapping rings */
.hero-rings {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.hero-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}

.hero-ring span {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.hero-ring + .hero-ring {
  margin-left: -16px;
}

.ring-hf {
  background: var(--color-hf);
  z-index: 3;
  box-shadow: 0 4px 15px rgba(30,42,75,0.3);
}

.ring-tr {
  background: var(--color-tr);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(109,138,142,0.3);
}

.ring-ibra {
  background: var(--color-ibra);
  z-index: 1;
  box-shadow: 0 4px 15px rgba(128,133,144,0.3);
}

.hero-ring:hover {
  transform: scale(1.12);
  z-index: 10;
  filter: brightness(1.1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.hero .subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-top: 32px;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.8;
  max-width: 400px;
}

.hero .subtitle strong {
  color: var(--navy);
  font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15,27,61,0.25);
}


.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15,27,61,0.35);
}

/* Hero quote */
.hero-quote {
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  font-style: italic;
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.hero-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #adb5bd;
  font-family: var(--font);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 100px 24px;
}

.section-sm {
  padding: 60px 24px;
}

.section-gray {
  background: var(--gray-100);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
  font-weight: 400;
}

.section-subtitle strong {
  color: var(--gray-900);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== VIDEO SECTION ===== */
.video-section {
  padding: 100px 24px;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-wrapper video {
  width: 100%;
  display: block;
}

.video-caption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.video-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.video-text h2 strong { color: var(--navy); }

.video-text p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.8;
}

/* ===== COURSE CARDS ===== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.course-card-img {
  padding: 32px 32px 0;
  display: flex;
  justify-content: center;
}

.course-card-img img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.course-card-body {
  padding: 24px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.course-card-body p {
  color: var(--gray-700);
  font-size: 0.925rem;
  line-height: 1.7;
  flex: 1;
}

.course-card-body .btn {
  margin-top: 24px;
  align-self: center;
}

/* ===== PARTNERS ===== */
.partners-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 100px;
}

.partner-logo img {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ===== VENUE / MAP ===== */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}

.venue-text .section-title {
  margin-bottom: 24px;
}

.venue-address {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.venue-description {
  font-size: 0.925rem;
  color: var(--gray-500);
  line-height: 1.8;
}

.venue-map iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 24px;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer strong { color: var(--white); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 140px 24px 80px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(109,138,142,0.12) 0%, transparent 60%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
}

.page-hero p strong {
  color: var(--white);
}

/* ===== FACULTY GRID ===== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.faculty-card {
  text-align: center;
}

.faculty-card-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--gray-200);
  transition: var(--transition);
}

.faculty-card:hover .faculty-card-img {
  border-color: var(--navy-light);
  transform: scale(1.05);
}

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

.faculty-card h3 {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
}

.faculty-card h3 strong {
  display: block;
  font-weight: 700;
}

.faculty-role {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.faculty-card {
  cursor: pointer;
}

/* ===== FACULTY SIDE PANEL ===== */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.4);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.panel-overlay.open {
  opacity: 1;
  visibility: visible;
}

.faculty-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,0.12);
}

.faculty-panel.open {
  transform: translateX(0);
}

.panel-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.panel-close:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.panel-body {
  padding: 48px 40px 60px;
}

.panel-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--gray-200) center/cover no-repeat;
  margin-bottom: 28px;
}

.panel-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.panel-title {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 0;
}

.panel-divider {
  width: 40px;
  height: 3px;
  background: var(--navy-light);
  border-radius: 2px;
  margin: 24px 0;
}

.panel-bio {
  font-size: 0.925rem;
  color: var(--gray-700);
  line-height: 1.85;
}

/* ===== REGISTRATION FORM ===== */
.form-section {
  padding: 100px 24px;
}

.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font);
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,27,61,0.1);
}

.checkbox-group {
  margin-bottom: 16px;
}

.checkbox-group p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
  margin-bottom: 6px;
}

.checkbox-item:hover {
  background: var(--gray-100);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  cursor: pointer;
}

.checkbox-item label {
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 500;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--navy-light);
  box-shadow: 0 8px 25px rgba(15,27,61,0.25);
}

/* ===== COURSE DETAIL HERO ===== */
.course-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--course-bg, var(--gray-100));
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}

.course-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--course-gradient,
    linear-gradient(135deg, rgba(230,235,245,0.6) 0%, rgba(240,243,248,0.4) 40%, rgba(235,240,245,0.5) 100%)
  );
}

.course-hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.course-hero-left {
  text-align: left;
}

.course-hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--course-color-muted, var(--gray-500));
  margin-bottom: 28px;
}

.course-hero-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: 24px;
}

.course-hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  color: var(--course-color-text, var(--gray-900));
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
}

.course-hero-right {
  text-align: left;
  padding-left: 48px;
  display: flex;
  align-items: center;
}

.course-hero-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--course-desc, var(--gray-500));
  margin-bottom: 0;
}

.course-hero-desc strong {
  color: var(--course-color-text, var(--gray-900));
  font-weight: 600;
}

/* Course-specific colors & backgrounds */
.theme-hf {
  --course-color: var(--color-hf);
  --course-bg: #f0f2f7;
  --course-gradient: linear-gradient(160deg, #eaeff8 0%, #f4f5f9 35%, #e8ecf5 70%, #f0f2f7 100%);
  --course-color-text: var(--color-hf);
  --course-color-muted: rgba(30,42,75,0.4);
  --course-dot: rgba(30,42,75,0.2);
  --course-desc: rgba(30,42,75,0.55);
}

.theme-tr {
  --course-color: var(--color-tr);
  --course-bg: #f0f4f5;
  --course-gradient: linear-gradient(160deg, #eaf1f2 0%, #f3f6f7 35%, #e8f0f1 70%, #f0f4f5 100%);
  --course-color-text: var(--color-tr);
  --course-color-muted: rgba(109,138,142,0.5);
  --course-dot: rgba(109,138,142,0.25);
  --course-desc: rgba(109,138,142,0.7);
}

.theme-ibra {
  --course-color: var(--color-ibra);
  --course-bg: #f2f2f4;
  --course-gradient: linear-gradient(160deg, #edeef1 0%, #f5f5f7 35%, #eaebee 70%, #f2f2f4 100%);
  --course-color-text: var(--color-ibra);
  --course-color-muted: rgba(128,133,144,0.5);
  --course-dot: rgba(128,133,144,0.25);
  --course-desc: rgba(128,133,144,0.7);
}

/* Course-themed button */
.btn-course {
  background: var(--course-color, var(--navy));
  color: var(--white);
  border: none;
}

.btn-course:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Course-themed feature icons */
.theme-hf .feature-icon  { background: linear-gradient(135deg, var(--color-hf) 0%, #2c3e6b 100%); }
.theme-tr .feature-icon  { background: linear-gradient(135deg, var(--color-tr) 0%, #8ba5a9 100%); }
.theme-ibra .feature-icon { background: linear-gradient(135deg, var(--color-ibra) 0%, #9a9da6 100%); }


/* ===== COURSE CONTENT ===== */
.course-content {
  padding: 100px 24px;
}

.course-content-inner {
  max-width: 720px;
  margin: 0 auto;
}

.course-content-inner h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--course-color-text, var(--gray-900));
  text-align: center;
}

.course-content-inner h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--course-color-text, var(--navy));
  border-radius: 2px;
  margin: 16px auto 0;
  opacity: 0.4;
}

.course-content-inner p {
  color: var(--gray-700);
  line-height: 1.9;
  font-size: 0.975rem;
}

/* ===== FEATURES LIST ===== */
.features-section {
  padding: 100px 24px;
  background: var(--gray-100);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.features-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--course-color-text, var(--gray-900));
}

.features-intro p {
  color: var(--gray-700);
  line-height: 1.8;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== INLINE FEE CARD ===== */
.fee-card-inline {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.fee-card-inline .fee-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 4px;
}

.fee-card-inline .fee-price {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}

.fee-card-inline .fee-note {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 12px;
}

.fee-card-inline .fee-note a {
  color: var(--course-color-text, var(--navy));
  font-weight: 600;
  text-decoration: underline;
}

.fee-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.fee-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fee-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.fee-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.fee-price-row .btn {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ===== PRICING PAGE ===== */
.pricing-grid {
  display: grid;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.pricing-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.pricing-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 14px;
}

.pricing-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.pricing-card-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--gray-200);
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}

.pricing-list li span {
  color: var(--gray-500);
}

.pricing-list li strong {
  color: var(--gray-900);
  font-weight: 600;
  text-align: right;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--navy);
  margin-bottom: 20px;
}

.pricing-amount-currency {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.05em;
}

.pricing-amount-value {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-cta {
  margin-top: auto;
  align-self: stretch;
  justify-content: center;
}

/* Course-color accent stripe */
.pricing-hf {
  border-top: 4px solid var(--color-hf);
}
.pricing-tr {
  border-top: 4px solid var(--color-tr);
}
.pricing-ibra {
  border-top: 4px solid var(--color-ibra);
}

/* Combo cards */
.combo-card {
  border-top: 4px solid var(--navy);
}

.combo-modules {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.combo-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}

.combo-pill-hf  { background: var(--color-hf); }
.combo-pill-tr  { background: var(--color-tr); }
.combo-pill-ibra { background: var(--color-ibra); }

.combo-plus {
  font-weight: 700;
  color: var(--gray-500);
  font-size: 1rem;
}

.combo-tag {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.pricing-amount-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pricing-amount-row .pricing-amount {
  margin-bottom: 0;
}

.pricing-saving {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.pricing-strike {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-decoration: line-through;
}

.pricing-save {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;
  background: #e8f5e9;
  color: #1b5e20;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Featured combo (full week) */
.combo-card-featured {
  border-top: 4px solid var(--navy);
  background: linear-gradient(180deg, var(--white) 0%, #f7f9fc 100%);
  box-shadow: 0 12px 40px rgba(15,27,61,0.12);
  grid-column: span 2;
}

.combo-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== RESERVED AREA NAV LINK ===== */
.nav-reserved {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px !important;
  padding: 8px 16px !important;
}

.nav-reserved:hover,
.nav-reserved.active {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.4);
}

.nav-reserved svg {
  flex-shrink: 0;
}

/* ===== YEAR SELECTOR ===== */
.year-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 48px;
  padding: 8px;
  background: var(--gray-100);
  border-radius: 50px;
  width: fit-content;
  max-width: 100%;
}

.year-btn {
  background: transparent;
  border: none;
  color: var(--gray-700);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.year-btn:hover {
  background: var(--white);
  color: var(--navy);
}

.year-btn.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15,27,61,0.25);
}

/* ===== PDF GRID ===== */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.pdf-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  color: inherit;
}

.pdf-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-light);
}

.pdf-card:hover .pdf-download {
  background: var(--navy);
  color: var(--white);
}

.pdf-icon {
  flex-shrink: 0;
  width: 52px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  position: relative;
}

.pdf-icon::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(225deg, var(--white) 50%, transparent 50%);
  border-top-right-radius: 8px;
}

.pdf-info {
  flex: 1;
  min-width: 0;
}

.pdf-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.pdf-info p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.4;
  margin: 0;
}

.pdf-download {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.pdf-empty {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-top: 40px;
}

/* ===== RESERVED AREA — COURSE SELECTOR ===== */
.reserved-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.reserved-course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: var(--transition);
}

.reserved-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.reserved-lock {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.reserved-course-card:hover .reserved-lock {
  background: var(--navy);
  color: var(--white);
}

.reserved-course-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.reserved-course-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.reserved-course-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 240px;
}

.reserved-cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.reserved-course-card:hover .reserved-cta {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15,27,61,0.25);
}

/* Course-color accent stripe */
.reserved-hf   { border-top: 4px solid var(--color-hf); }
.reserved-tr   { border-top: 4px solid var(--color-tr); }
.reserved-ibra { border-top: 4px solid var(--color-ibra); }

.reserved-hint {
  margin: 48px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  max-width: 520px;
}

/* Breadcrumb in page-hero */
.reserved-breadcrumb {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 600;
}

.reserved-breadcrumb a {
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.reserved-breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .partners-row { grid-template-columns: repeat(2, 1fr); }
  .venue-grid { grid-template-columns: 1fr; }
  .pdf-grid { grid-template-columns: 1fr; }
  .pricing-grid-3 { grid-template-columns: 1fr; max-width: 480px; }
  .pricing-grid-2 { grid-template-columns: 1fr; max-width: 480px; }
  .combo-card-featured { grid-column: span 1; }
  .reserved-courses { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: -24px;
    right: -24px;
    background: #0a1128;
    padding: 16px 24px 24px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    gap: 4px;
  }

  .nav-links.open a {
    padding: 12px 16px;
  }

  .nav-links.open .nav-courses-btn {
    background: rgba(255,255,255,0.08) !important;
    border: none;
    border-radius: 8px !important;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links.open .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: auto;
  }

  .nav-links.open .nav-dropdown-menu a {
    color: rgba(255,255,255,0.7) !important;
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .nav-links.open .nav-dropdown-menu a:hover {
    background: rgba(255,255,255,0.08) !important;
    color: var(--white) !important;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-left { text-align: center; }
  .hero-right {
    text-align: center;
    padding-left: 0;
    border-left: none;
    padding-top: 32px;
  }
  .hero-rings { justify-content: center; margin-left: 0; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5rem); }

  .courses-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }

  .course-hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
    gap: 16px;
  }
  .course-hero-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .course-hero-icon {
    margin-left: auto;
    margin-right: auto;
  }
  .course-hero-right {
    text-align: center;
    padding-left: 0;
    padding-top: 12px;
    justify-content: center;
  }
  .course-hero h1 { font-size: clamp(2.5rem, 12vw, 4.5rem); }
  .course-hero { min-height: 70vh; padding: 120px 24px 60px; }

  .hero { padding: 100px 24px 60px; }
  .hero .subtitle { max-width: 100%; }
  .hero-rings-desc { max-width: 100%; }

  .section { padding: 60px 24px; }
  .section-sm { padding: 40px 24px; }

  .venue-grid { gap: 32px; }

  .faculty-panel { width: 100%; max-width: 100%; }
}

@media (max-width: 480px) {
  .faculty-grid { grid-template-columns: 1fr; }
  .faculty-card-img { width: 140px; height: 140px; }
  .hero-ring { width: 100px; height: 100px; }
  .hero-ring span { font-size: 0.65rem; }
  .hero-ring + .hero-ring { margin-left: -12px; }
  .course-hero-icon { width: 72px; height: 72px; }
  .panel-body { padding: 32px 24px 48px; }
}
