*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --navy: #0D1B2A;
    --navy-mid: #1A2E45;
    --gold: #C9A84C;
    --gold-light: #E8C96E;
    --gold-pale: #F9F2E2;
    --teal: #1E7A6E;
    --teal-light: #25998A;
    --white: #FFFFFF;
    --offwhite: #F7F6F2;
    --gray-light: #EEECe6;
    --gray-mid: #8A8A8A;
    --gray-dark: #3D3D3D;
    --text: #1A1A1A;
  }
  body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); }

  /* ===== TOP BAR ===== */
  .topbar { background: var(--navy); color: rgba(255,255,255,0.7); font-size: 12px; padding: 6px 0; }
  .topbar .inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; }
  .topbar a { color: var(--gold-light); text-decoration: none; }
  .topbar span { margin: 0 16px 0 0; }

  /* ===== NAV ===== */
  nav { background: var(--white); border-bottom: 1px solid #e8e6df; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(13,27,42,0.07); }
  .nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
  .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .logo-mark { width: 44px; height: 44px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .logo-mark svg { width: 26px; height: 26px; }
  .logo-text { display: flex; flex-direction: column; line-height: 1; }
  .logo-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -0.3px; }
  .logo-sub { font-size: 9.5px; font-weight: 500; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-top: 3px; }
  .nav-links { display: flex; align-items: center; gap: 4px; }
  .nav-links a { font-size: 13.5px; font-weight: 500; color: var(--gray-dark); text-decoration: none; padding: 8px 14px; border-radius: 6px; transition: background 0.2s, color 0.2s; }
  .nav-links a:hover { background: var(--offwhite); color: var(--navy); }
  .nav-links .dropdown { position: relative; }
  .nav-links .dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.6; }
  .nav-cta { background: var(--gold); color: var(--navy); font-size: 13.5px; font-weight: 600; padding: 10px 22px; border-radius: 7px; text-decoration: none; transition: background 0.2s; }
  .nav-cta:hover { background: var(--gold-light); }

  /* ===== BREADCRUMB ===== */
  .breadcrumb-bar { background: var(--offwhite); border-bottom: 1px solid #e8e5de; padding: 10px 0; }
  .breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; font-size: 12.5px; color: var(--gray-mid); display: flex; align-items: center; gap: 6px; }
  .breadcrumb-inner a { color: var(--teal); text-decoration: none; }
  .breadcrumb-inner a:hover { text-decoration: underline; }
  .breadcrumb-inner span { color: var(--gray-mid); }

  /* ===== COURSE BANNER ===== */
  .course-banner {
    background: var(--navy);
    position: relative; overflow: hidden; padding: 52px 0 48px;
  }
  .course-banner-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
  }
  .course-banner-accent { position: absolute; right: -60px; top: -60px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%); }
  .course-banner-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; position: relative; z-index: 2; }

  .course-category-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3); border-radius: 100px; padding: 5px 14px; font-size: 11px; font-weight: 600; color: var(--gold-light); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
  .course-category-badge span { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
  .course-banner h1 { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 14px; }
  .course-banner .course-excerpt { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 24px; max-width: 620px; }
  .course-banner .course-excerpt a { color: var(--gold-light); text-decoration: underline; }

  .course-meta-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
  .meta-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; padding: 7px 14px; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.85); }
  .meta-tag svg { width: 14px; height: 14px; opacity: 0.7; }

  .course-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-gold { background: var(--gold); color: var(--navy); font-weight: 600; font-size: 14px; padding: 13px 26px; border-radius: 8px; text-decoration: none; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background 0.2s; display: inline-flex; align-items: center; gap: 8px; }
  .btn-gold:hover { background: var(--gold-light); }
  .btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); font-weight: 500; font-size: 14px; padding: 12px 24px; border-radius: 8px; text-decoration: none; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: border-color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
  .btn-outline-white:hover { border-color: rgba(255,255,255,0.6); }

  /* Course image card */
  .course-image-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; position: relative; }
  .course-image-card img { width: 100%; height: 100%; object-fit: cover; }
  .course-image-card .emoji { width: 3em !important;height: 3em !important; }
  .course-image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1A2E45 0%, #0D1B2A 100%); }
  .course-code-badge { position: absolute; bottom: 14px; left: 14px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 5px; }

  /* ===== TABS SECTION ===== */
  .tabs-wrapper { background: var(--white); border-bottom: 1px solid #e8e5de; position: sticky; top: 72px; z-index: 90; }
  .tabs-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; gap: 0; }
  .tab-btn { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; color: var(--gray-mid); background: none; border: none; border-bottom: 3px solid transparent; padding: 18px 24px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
  .tab-btn:hover { color: var(--navy); }
  .tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }

  /* ===== TAB CONTENT ===== */
  .tab-content-wrapper { max-width: 1200px; margin: 0 auto; padding: 40px 32px 64px; }
  .tab-panel { display: none; }
  .tab-panel.active { display: block; }

  /* ===== TAB 1: COURSE SCHEDULE ===== */
  .schedule-filters { margin-bottom: 20px; }
  .city-filter-label { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 12px; }
  .city-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
  .city-btn { font-family: 'DM Sans', sans-serif; font-size: 12.5px; font-weight: 500; color: var(--navy); background: var(--offwhite); border: 1.5px solid #e8e5de; border-radius: 6px; padding: 7px 14px; cursor: pointer; transition: all 0.2s; }
  .city-btn:hover { border-color: var(--navy); background: var(--white); }
  .city-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

  .search-filter-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
  .search-filter-input { flex: 1; max-width: 420px; padding: 10px 16px; border: 1.5px solid #e2dfd6; border-radius: 8px; font-size: 13.5px; color: var(--navy); font-family: 'DM Sans', sans-serif; background: var(--offwhite); outline: none; transition: border-color 0.2s; }
  .search-filter-input:focus { border-color: var(--navy); background: var(--white); }
  .search-icon-wrap { position: relative; flex: 1; max-width: 420px; }
  .search-icon-wrap input { width: 100%; padding: 10px 16px 10px 40px; }
  .search-icon-wrap::before { content: '🔍'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; pointer-events: none; }
  .results-count { font-size: 13px; color: var(--gray-mid); }

  /* DataTable Styles Override */
  .schedule-table-wrap { background: var(--white); border: 1px solid #e8e5de; border-radius: 12px; overflow: hidden; }
  table.schedule-dt { width: 100% !important; border-collapse: collapse; }
  table.schedule-dt thead tr { background: var(--navy); }
  table.schedule-dt thead th { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85); letter-spacing: 0.5px; text-transform: uppercase; padding: 14px 16px; border: none; cursor: pointer; }
  table.schedule-dt thead th.sorting::after,
  table.schedule-dt thead th.sorting_asc::after,
  table.schedule-dt thead th.sorting_desc::after { color: rgba(255,255,255,0.5); }
  table.schedule-dt tbody tr { border-bottom: 1px solid #f0ede6; transition: background 0.15s; }
  table.schedule-dt tbody tr:last-child { border-bottom: none; }
  table.schedule-dt tbody tr:hover { background: #f9f7f3; }
  table.schedule-dt tbody tr:nth-child(even) { background: var(--offwhite); }
  table.schedule-dt tbody tr:nth-child(even):hover { background: #f0ede6; }
  table.schedule-dt tbody td { font-size: 13.5px; color: var(--gray-dark); padding: 13px 16px; border: none; vertical-align: middle; }
  table.schedule-dt tbody td:first-child { font-weight: 500; color: var(--navy); }
  .dt-btn-pdf { font-family: 'DM Sans', sans-serif; font-size: 11.5px; font-weight: 600; background: rgba(201,168,76,0.15); color: #8B6914; border: 1px solid rgba(201,168,76,0.4); border-radius: 5px; padding: 5px 11px; cursor: pointer; text-decoration: none; margin-right: 6px; transition: all 0.2s; }
  .dt-btn-pdf:hover { background: rgba(201,168,76,0.3); }
  .dt-btn-register { font-family: 'DM Sans', sans-serif; font-size: 11.5px; font-weight: 600; background: var(--navy); color: var(--white); border: none; border-radius: 5px; padding: 5px 11px; cursor: pointer; text-decoration: none; transition: background 0.2s; }
  .dt-btn-register:hover { background: var(--navy-mid); }
  .fee-badge { font-weight: 600; color: var(--teal); }

  /* DataTable pagination override */
  .dataTables_wrapper .dataTables_paginate .paginate_button { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--navy) !important; border: 1px solid #e8e5de !important; border-radius: 6px; padding: 5px 11px; margin: 0 2px; cursor: pointer; }
  .dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--navy) !important; color: var(--white) !important; border-color: var(--navy) !important; }
  .dataTables_wrapper .dataTables_paginate .paginate_button:hover { background: var(--offwhite) !important; color: var(--navy) !important; }
  .dataTables_wrapper .dataTables_info { font-size: 13px; color: var(--gray-mid); font-family: 'DM Sans', sans-serif; }
  .dataTables_wrapper .dataTables_length select { font-family: 'DM Sans', sans-serif; font-size: 13px; padding: 5px 8px; border: 1px solid #e8e5de; border-radius: 6px; color: var(--navy); }
  .dataTables_wrapper .dataTables_filter { display: none; } /* We use our custom search */
  .dt-footer-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-top: 1px solid #e8e5de; }
  .dt-footer-row .dataTables_length label {display: inline-flex;gap: 10px;justify-content: center;align-items: center;font-size: 14px;}

  /* ===== TAB 2: SYLLABUS ===== */
  .syllabus-header { margin-bottom: 32px; }
  .syllabus-header h2 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
  .syllabus-header p { font-size: 14.5px; color: var(--gray-mid); line-height: 1.6; }
  .syllabus-days { display: flex; flex-direction: column; gap: 20px; }
  .syllabus-day { border: 1px solid #e8e5de; border-radius: 12px; overflow: hidden; }
  .syllabus-day-header { background: var(--navy); padding: 18px 24px; display: flex; align-items: center; gap: 16px; cursor: pointer; }
  .day-number { width: 36px; height: 36px; background: var(--gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--navy); flex-shrink: 0; }
  .day-info h4 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
  .day-info span { font-size: 12px; color: rgba(255,255,255,0.5); }
  .day-toggle { margin-left: auto; color: rgba(255,255,255,0.5); font-size: 18px; transition: transform 0.3s; }
  .syllabus-day.open .day-toggle { transform: rotate(180deg); }
  .syllabus-day-body { padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
  .syllabus-day.open .syllabus-day-body { max-height: 600px; padding: 24px; }
  .syllabus-topics, .syllabus-day-body ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .syllabus-topics li, .syllabus-day-body li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--gray-dark); line-height: 1.5; }
  .syllabus-topics li::before, .syllabus-day-body li:before { content: ''; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
  .syllabus-note { margin-top: 16px; background: var(--gold-pale); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; padding: 12px 16px; font-size: 13px; color: var(--gray-dark); }
  p.no-data {border: 1px solid #fbd9d3;border-radius: 6px;padding: 15px;background-color: #ffefea;color: #000;}

  /* ===== TAB 3: RELATED COURSES ===== */
  .related-courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .related-course-card { background: var(--white); border: 1px solid #e8e5de; border-radius: 12px; overflow: hidden; transition: all 0.2s; display: flex; flex-direction: column; }
  .related-course-card:hover { box-shadow: 0 8px 32px rgba(13,27,42,0.1); transform: translateY(-3px); }
  .rcc-thumb { height: 160px; background: linear-gradient(135deg, var(--navy-mid), var(--navy)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
  .rcc-thumb-icon { font-size: 40px; opacity: 0.4; }
  .rcc-code-badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; }
  .rcc-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .rcc-body h4 { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.4; }
  .rcc-body p { font-size: 12.5px; color: var(--gray-mid); line-height: 1.5; flex: 1; }
  .rcc-meta { display: flex; gap: 12px; font-size: 11.5px; color: var(--gray-mid); }
  .rcc-footer { padding: 13px 18px; border-top: 1px solid #f0ede6; display: flex; justify-content: space-between; align-items: center; }
  .rcc-link { font-size: 13px; font-weight: 600; color: var(--teal); text-decoration: none; }
  .rcc-enroll { font-size: 12px; font-weight: 600; background: var(--gold-pale); color: var(--navy); padding: 6px 14px; border-radius: 6px; text-decoration: none; }

  /* ===== TAB 4: AVAILABLE CITIES ===== */
  .cities-section-header { margin-bottom: 28px; }
  .cities-section-header h2 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
  .cities-section-header p { font-size: 14.5px; color: var(--gray-mid); }
  .cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .city-card { background: var(--white); border: 1px solid #e8e5de; border-radius: 12px; padding: 20px 18px; text-decoration: none; transition: all 0.2s; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
  .city-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform 0.2s; }
  .city-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,168,76,0.15); transform: translateY(-2px); }
  .city-card:hover::before { transform: scaleX(1); }
  .city-flag { font-size: 22px; margin-bottom: 4px; }
  .city-name { font-size: 15px; font-weight: 600; color: var(--navy); }
  .city-country { font-size: 12px; color: var(--gray-mid); }
  .city-sessions { font-size: 12px; font-weight: 500; color: var(--teal); margin-top: 4px; }
  .city-next { font-size: 11px; color: var(--gray-mid); }
  .city-arrow { position: absolute; right: 14px; bottom: 14px; font-size: 16px; color: var(--gold); opacity: 0; transition: opacity 0.2s; }
  .city-card:hover .city-arrow { opacity: 1; }

  /* ===== SIDEBAR / CTA ASIDE ===== */
  .course-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
  .course-sidebar { position: sticky; top: 130px; }
  .sidebar-card { background: var(--white); border: 1px solid #e8e5de; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 24px rgba(13,27,42,0.08); }
  .sidebar-card-header { background: var(--navy); padding: 20px; }
  .sidebar-card-header h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
  .sidebar-card-header p { font-size: 12.5px; color: rgba(255,255,255,0.55); }
  .sidebar-card-body { padding: 20px; }
  .sidebar-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0ede6; }
  .sidebar-item:last-child { border-bottom: none; }
  .sidebar-item-label { font-size: 12px; color: var(--gray-mid); font-weight: 500; }
  .sidebar-item-value { font-size: 13px; font-weight: 600; color: var(--navy); text-align: right; }
  .sidebar-cta-block { padding: 16px 20px 20px; border-top: 1px solid #f0ede6; display: flex; flex-direction: column; gap: 10px; }
  .btn-navy-full { width: 100%; padding: 13px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; font-family: 'DM Sans', sans-serif; text-align: center; text-decoration: none; display: block; transition: background 0.2s; }
  .btn-navy-full:hover { background: var(--navy-mid); }
  .btn-gold-full { width: 100%; padding: 12px; background: var(--gold); color: var(--navy); font-size: 14px; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; font-family: 'DM Sans', sans-serif; text-align: center; text-decoration: none; display: block; transition: background 0.2s; }
  .btn-gold-full:hover { background: var(--gold-light); }
  .sidebar-help { text-align: center; font-size: 12px; color: var(--gray-mid); padding: 12px 20px; }
  .sidebar-help a { color: var(--teal); text-decoration: none; font-weight: 500; }

  /* ===== CTA SECTION ===== */
  .cta-section { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%); padding: 64px 0; }
  .cta-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
  .cta-text h2 { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
  .cta-text p { font-size: 15px; color: rgba(255,255,255,0.75); }
  .cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
  .btn-white { background: var(--white); color: var(--teal); font-weight: 700; font-size: 14px; padding: 13px 28px; border-radius: 8px; text-decoration: none; }
  .btn-outline-wh { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: var(--white); font-weight: 500; font-size: 14px; padding: 12px 28px; border-radius: 8px; text-decoration: none; }

  /* ===== FOOTER ===== */
  footer { background: var(--navy); color: rgba(255,255,255,0.6); }
  .footer-top { max-width: 1200px; margin: 0 auto; padding: 60px 32px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
  .footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 20px; max-width: 280px; margin-top: 16px; }
  .social-links { display: flex; gap: 10px; }
  .social-link { width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; text-decoration: none; color: rgba(255,255,255,0.6); }
  .footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
  .footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 10px; }
  .footer-col a:hover { color: var(--gold-light); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
  .footer-bottom-inner { max-width: 1200px; margin: 0 auto; padding: 20px 32px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
  .whatsapp-fab { position: fixed; bottom: 28px; right: 28px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); cursor: pointer; z-index: 999; font-size: 26px; }

  /* Section label */
  .section-label { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }