/* ==========================================================================
   GCC University — Global Stylesheet
   Theme: Corporate · Executive · Premium
   ========================================================================== */

:root {
  --navy: #0A2540;
  --navy-800: #0f2f52;
  --navy-700: #16406b;
  --gold: #D4AF37;
  --gold-600: #b8952a;
  --gold-100: #f8f0d6;
  --white: #FFFFFF;
  --light: #F5F7FA;

  --bg: var(--white);
  --bg-alt: var(--light);
  --surface: var(--white);
  --text: #1c2b3a;
  --text-muted: #5b6b7c;
  --border: #e3e8ef;
  --heading: var(--navy);
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, .06);
  --shadow: 0 10px 30px rgba(10, 37, 64, .08);
  --shadow-lg: 0 20px 50px rgba(10, 37, 64, .14);
  --radius: 14px;
  --nav-h: 76px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Playfair Display", Georgia, serif;
}

[data-bs-theme="dark"] {
  --bg: #07182b;
  --bg-alt: #0b2036;
  --surface: #0f2944;
  --text: #d8e1ec;
  --text-muted: #93a4b8;
  --border: #1d3a5a;
  --heading: #f4f7fb;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .45);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  padding-top: var(--nav-h);
  transition: background-color .3s ease, color .3s ease;
}

h1, h2, h3, .display-font { font-family: var(--font-head); color: var(--heading); letter-spacing: -.01em; }
/* Playfair defaults to old-style figures; use lining figures so numbers align. */
h1, h2, h3, .display-font, .stat-num, .kpi-value, .date-badge .d, .score-ring strong, .module-list li::before, .trend-item .rank,
.about-visual .floating-badge strong { font-variant-numeric: lining-nums tabular-nums; }
h4, h5, h6 { color: var(--heading); font-weight: 700; }
a { color: var(--navy-700); }
[data-bs-theme="dark"] a:not([class]) { color: var(--gold); }
.text-muted, .text-secondary { color: var(--text-muted) !important; }
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
[data-bs-theme="dark"] .text-navy { color: var(--heading) !important; }
.bg-navy { background: var(--navy) !important; }
.bg-alt { background: var(--bg-alt); }
::selection { background: var(--gold); color: var(--navy); }

section { position: relative; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-600);
}
[data-bs-theme="dark"] .eyebrow { color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; margin: .6rem 0 1rem; }
.section-lead { color: var(--text-muted); font-size: 1.08rem; max-width: 680px; }
.text-center .section-lead { margin-inline: auto; }
.text-center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; padding: .7rem 1.4rem; transition: all .25s ease; }
.btn-sm { padding: .4rem .9rem; border-radius: 8px; }
.btn-gold { background: var(--gold); color: var(--navy); border: 2px solid var(--gold); }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-600); border-color: var(--gold-600); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212, 175, 55, .35); }
.btn-navy { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); transform: translateY(-2px); }
[data-bs-theme="dark"] .btn-navy { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-outline-light-gold { border: 2px solid rgba(255, 255, 255, .5); color: var(--white); background: transparent; }
.btn-outline-light-gold:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover, .btn-outline-navy.active { background: var(--navy); color: var(--white); }
[data-bs-theme="dark"] .btn-outline-navy { border-color: var(--border); color: var(--text); }
[data-bs-theme="dark"] .btn-outline-navy:hover, [data-bs-theme="dark"] .btn-outline-navy.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid rgba(212, 175, 55, .2); border-top-color: var(--gold);
  animation: spin .9s linear infinite;
}
.loader-logo { height: 60px; width: auto; }
.loader-lockup .brand-tagline { font-size: .8rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navbar ---------- */
.gccu-nav {
  height: var(--nav-h);
  background: rgba(10, 37, 64, .97);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s ease, height .3s ease;
}
.gccu-nav.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.gccu-nav .navbar-brand { display: flex; align-items: center; padding: 0; }
.brand-logo { height: 36px; width: auto; display: block; }
.footer-logo { height: 60px; width: auto; display: block; }
/* Logo + tagline lockup, mirroring the artwork: tagline centred under the wordmark between gold rules */
.brand-lockup { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.brand-tagline {
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--font-body); font-size: .62rem; font-weight: 500; line-height: 1; letter-spacing: .02em;
  color: rgba(255, 255, 255, .88);
}
.brand-tagline::before, .brand-tagline::after { content: ""; width: 14px; height: 1px; background: var(--gold); flex-shrink: 0; }
.gccu-nav .brand-lockup { gap: 3px; }
.gccu-nav .brand-tagline { font-size: .52rem; gap: 5px; }
.gccu-nav .brand-tagline::before, .gccu-nav .brand-tagline::after { width: 10px; }
.footer-lockup { gap: 6px; }
.footer-lockup .brand-tagline { font-size: .72rem; }
.gccu-nav .nav-link { color: rgba(255, 255, 255, .82); font-weight: 500; font-size: .84rem; padding: .5rem .5rem !important; position: relative; white-space: nowrap; }
.gccu-nav .nav-link:hover, .gccu-nav .nav-link.active { color: var(--gold); }
.gccu-nav .nav-link.active::after {
  content: ""; position: absolute; left: .5rem; right: .5rem; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px;
}
.gccu-nav .btn-gold.btn-sm { font-size: .84rem; padding: .38rem .85rem; white-space: nowrap; }
.gccu-nav .dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--shadow-lg); padding: .5rem; background: var(--surface); }
.gccu-nav .dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-size: .86rem; color: var(--text); }
.gccu-nav .dropdown-item:hover, .gccu-nav .dropdown-item.active { background: var(--gold-100); color: var(--navy); }
[data-bs-theme="dark"] .gccu-nav .dropdown-item:hover, [data-bs-theme="dark"] .gccu-nav .dropdown-item.active { background: var(--navy-700); color: var(--gold); }
.gccu-nav .navbar-toggler { border: 1px solid rgba(255, 255, 255, .3); padding: .4rem .6rem; }
.gccu-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(212, 175, 55, .4); }
.gccu-nav .navbar-toggler-icon { filter: invert(1); }
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: var(--white);
  display: grid; place-items: center; transition: all .25s ease;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); transform: rotate(20deg); }

@media (max-width: 575.98px) {
  /* g-5's 3rem gutter is wider than the container padding on phones and causes sideways scroll */
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .brand-logo { height: 34px; }
  .gccu-nav .brand-tagline { font-size: .5rem; gap: 4px; }
  .gccu-nav .brand-tagline::before, .gccu-nav .brand-tagline::after { width: 8px; }
  .gccu-nav .navbar-brand { margin-right: .5rem; }
}
@media (max-width: 1199.98px) {
  .gccu-nav { height: auto; min-height: var(--nav-h); }
  .gccu-nav .navbar-collapse {
    background: var(--navy); margin: .5rem -12px -8px; padding: 1rem 1.25rem 1.25rem;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .gccu-nav .nav-link.active::after { display: none; }
  .gccu-nav .dropdown-menu { background: var(--navy-800); box-shadow: none; }
  .gccu-nav .dropdown-item { color: rgba(255, 255, 255, .8); }
}

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(212, 175, 55, .18), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(22, 64, 107, .9), transparent 60%),
    linear-gradient(135deg, #061a2e 0%, var(--navy) 50%, #0d3358 100%);
  color: var(--white); overflow: hidden; padding: 80px 0 140px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 190px; opacity: .55; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; line-height: 1.08; }
.hero h1 .highlight { color: var(--gold); font-style: italic; }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.15rem; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(212, 175, 55, .12); border: 1px solid rgba(212, 175, 55, .35);
  color: var(--gold); padding: .45rem 1rem; border-radius: 50px; font-size: .85rem; font-weight: 600;
}
.hero-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px); border-radius: 20px; padding: 1.75rem; color: var(--white);
  animation: float 6s ease-in-out infinite;
}
.hero-card .mini-stat { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hero-card .mini-stat:last-child { border-bottom: 0; }
.hero-card .mini-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(212, 175, 55, .15); color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.hero-card .mini-stat strong { display: block; font-size: 1rem; }
.hero-card .mini-stat small { color: rgba(255, 255, 255, .6); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.trust-row { color: rgba(255, 255, 255, .6); font-size: .85rem; }
.trust-row .avatars { display: flex; }
.trust-row .avatars span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--navy);
  display: grid; place-items: center; font-size: .7rem; font-weight: 700; margin-left: -8px; color: var(--navy);
}
.trust-row .avatars span:first-child { margin-left: 0; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(212, 175, 55, .2), transparent 60%),
    linear-gradient(135deg, #061a2e, var(--navy) 60%, #0d3358);
  color: var(--white); padding: 90px 0 70px; overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-header .container { position: relative; }
.page-header h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 800; }
.page-header p { color: rgba(255, 255, 255, .75); max-width: 640px; font-size: 1.08rem; }
.page-header .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); margin-bottom: 1rem; }
.page-header .breadcrumb a { color: var(--gold); text-decoration: none; }
.page-header .breadcrumb-item.active { color: rgba(255, 255, 255, .7); }

/* ---------- Stats ---------- */
.stats-strip { margin-top: -80px; z-index: 5; }
.stat-card {
  background: var(--surface); border-radius: var(--radius); padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow); border-bottom: 3px solid var(--gold); height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-card .stat-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1rem; }
.stat-card .stat-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--heading); line-height: 1; }
.stat-card .stat-label { color: var(--text-muted); font-weight: 500; margin-top: .4rem; }

/* ---------- Cards ---------- */
.gcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); height: 100%; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
}
.gcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212, 175, 55, .5); }
.gcard .gcard-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.gcard .gcard-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); background: var(--bg-alt); }
.gcard h5 { font-size: 1.1rem; margin-bottom: .5rem; }
.gcard p { color: var(--text-muted); font-size: .94rem; }

.icon-box {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem;
  background: var(--gold-100); color: var(--gold-600); margin-bottom: 1.1rem; transition: all .3s ease;
}
[data-bs-theme="dark"] .icon-box { background: rgba(212, 175, 55, .12); color: var(--gold); }
.gcard:hover .icon-box { background: var(--navy); color: var(--gold); transform: rotate(-6deg) scale(1.05); }

.card-banner {
  height: 150px; position: relative; display: flex; align-items: flex-end; padding: 1rem 1.25rem;
  color: var(--white); overflow: hidden;
}
.card-banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.card-banner > * { position: relative; z-index: 1; }
.card-banner .banner-icon { position: absolute; right: 1.25rem; top: 1rem; font-size: 3.2rem; opacity: .22; z-index: 1; transition: transform .4s ease; }
.gcard:hover .card-banner .banner-icon { transform: scale(1.15) rotate(-8deg); }
.bn-1 { background: linear-gradient(135deg, #0A2540, #16406b); }
.bn-2 { background: linear-gradient(135deg, #0f2f52, #1f5a8a); }
.bn-3 { background: linear-gradient(135deg, #1b2a3a, #3a506b); }
.bn-4 { background: linear-gradient(135deg, #3d2f07, #8c6d17); }
.bn-5 { background: linear-gradient(135deg, #0A2540, #6b5516); }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 6px; background: var(--gold-100); color: #7a5f12;
}
[data-bs-theme="dark"] .tag { background: rgba(212, 175, 55, .15); color: var(--gold); }
.tag-navy { background: rgba(10, 37, 64, .08); color: var(--navy); }
[data-bs-theme="dark"] .tag-navy { background: rgba(255, 255, 255, .08); color: var(--text); }
.tag-light { background: rgba(255, 255, 255, .15); color: var(--white); }

.meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--text-muted); }
.meta i { color: var(--gold); margin-right: .3rem; }

.pill-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill { font-size: .78rem; padding: .28rem .7rem; border-radius: 50px; border: 1px solid var(--border); color: var(--text-muted); background: var(--bg-alt); }

/* ---------- Avatars ---------- */
.avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-weight: 700; font-size: 1.2rem; color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  border: 3px solid var(--gold);
}
.avatar-sm { width: 40px; height: 40px; font-size: .85rem; border-width: 2px; }
.avatar-lg { width: 96px; height: 96px; font-size: 1.8rem; }

/* ---------- Partners ---------- */
.partner-logo {
  height: 88px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 700; color: var(--text-muted); font-size: 1rem; transition: all .3s ease; filter: grayscale(1);
}
.partner-logo i { font-size: 1.5rem; }
.partner-logo:hover { color: var(--navy); border-color: var(--gold); filter: none; box-shadow: var(--shadow); transform: translateY(-3px); }
[data-bs-theme="dark"] .partner-logo:hover { color: var(--gold); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 1.25rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track .partner-logo { width: 210px; flex-shrink: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About block ---------- */
.about-visual {
  border-radius: 20px; min-height: 420px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  padding: 2rem; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end;
}
.about-visual::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  border: 60px solid rgba(212, 175, 55, .12); top: -120px; right: -120px;
}
.about-visual .floating-badge {
  position: absolute; top: 2rem; left: 2rem; background: var(--gold); color: var(--navy);
  border-radius: 14px; padding: 1rem 1.25rem; font-weight: 700; box-shadow: var(--shadow-lg);
}
.about-visual .floating-badge strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: .45rem 0 .45rem 2rem; position: relative; }
.check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .5rem;
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold-100); color: var(--gold-600); font-size: .7rem; display: grid; place-items: center;
}
[data-bs-theme="dark"] .check-list li::before { background: rgba(212, 175, 55, .15); color: var(--gold); }

/* ---------- Event date badge ---------- */
.date-badge {
  width: 66px; flex-shrink: 0; text-align: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--surface);
}
.date-badge .m { background: var(--navy); color: var(--gold); font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: .25rem 0; letter-spacing: .08em; }
.date-badge .d { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--heading); padding: .2rem 0; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--surface); border-radius: 18px; padding: 2.5rem; box-shadow: var(--shadow); position: relative; max-width: 820px; margin: 0 auto;
}
.testimonial .quote-icon { position: absolute; top: -22px; left: 2.5rem; width: 48px; height: 48px; border-radius: 12px; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; }
.testimonial blockquote { font-size: 1.18rem; line-height: 1.7; font-style: italic; color: var(--text); margin: .5rem 0 1.5rem; }
.stars { color: var(--gold); font-size: .85rem; }
.carousel-indicators.gold-dots { position: static; margin-top: 2rem; }
.carousel-indicators.gold-dots [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border-radius: 18px; padding: 2.25rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--heading); }
.form-control, .form-select { border-radius: 10px; padding: .7rem 1rem; border-color: var(--border); background-color: var(--surface); color: var(--text); }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(212, 175, 55, .2); background-color: var(--surface); color: var(--text); }
.search-box { position: relative; }
.search-box i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-box .form-control { padding-left: 2.6rem; height: 52px; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-item .icon-box { margin-bottom: 0; flex-shrink: 0; }

.filter-bar { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1rem; box-shadow: var(--shadow-sm); }
.chip-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 50px;
  padding: .45rem 1rem; font-size: .87rem; font-weight: 500; transition: all .2s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold-600); }
.chip.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
[data-bs-theme="dark"] .chip.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.result-count { font-size: .9rem; color: var(--text-muted); }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--text-muted); }
.empty-state i { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding: 1rem 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--gold), rgba(212, 175, 55, .1)); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 3rem 2.5rem 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 2.5rem 3rem; }
.tl-item::before {
  content: ""; position: absolute; top: 1.4rem; right: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 4px solid var(--bg); box-shadow: 0 0 0 2px var(--gold);
}
.tl-item:nth-child(even)::before { left: -9px; right: auto; }
.tl-item.upcoming::before { background: var(--bg); }
.tl-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.tl-card .tl-date { font-weight: 700; color: var(--gold-600); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
[data-bs-theme="dark"] .tl-card .tl-date { color: var(--gold); }
@media (max-width: 767.98px) {
  .timeline::before { left: 9px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 2rem 2.5rem; }
  .tl-item::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
}

/* ---------- Program (academy) ---------- */
.program-card { border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-head { padding: 2rem; color: var(--white); background: linear-gradient(135deg, var(--navy), var(--navy-700)); position: relative; overflow: hidden; }
.program-head.alt { background: linear-gradient(135deg, #2c2306, #7a5f12); }
.program-head::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06); }
.program-head h3 { color: var(--white); font-size: 1.7rem; }
.program-head .ph-icon { width: 60px; height: 60px; border-radius: 14px; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem; }
.program-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.program-facts div { padding: 1rem; text-align: center; border-right: 1px solid var(--border); }
.program-facts div:last-child { border-right: 0; }
.program-facts small { display: block; color: var(--text-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.program-facts strong { color: var(--heading); font-size: .95rem; }
.module-list { list-style: none; padding: 0; margin: 0; counter-reset: mod; }
.module-list li { counter-increment: mod; display: flex; align-items: center; gap: .9rem; padding: .7rem 0; border-bottom: 1px dashed var(--border); font-weight: 500; }
.module-list li:last-child { border-bottom: 0; }
.module-list li::before { content: counter(mod, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; color: var(--gold); min-width: 28px; }

/* ---------- Launchpad ---------- */
.score-ring { position: relative; width: 200px; height: 200px; margin: 0 auto; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .ring-bg { stroke: var(--border); }
.score-ring .ring-fg { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.2, .8, .2, 1); }
.score-ring .score-value { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring .score-value strong { font-family: var(--font-head); font-size: 3.2rem; color: var(--heading); line-height: 1; }
.score-ring .score-value small { color: var(--text-muted); font-weight: 600; }
.readiness-level { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 50px; font-weight: 700; font-size: .9rem; }
.level-high { background: rgba(25, 135, 84, .12); color: #146c43; }
.level-mid { background: rgba(212, 175, 55, .18); color: #7a5f12; }
.level-low { background: rgba(220, 53, 69, .12); color: #b02a37; }
[data-bs-theme="dark"] .level-high { color: #75d7a6; }
[data-bs-theme="dark"] .level-mid { color: var(--gold); }
[data-bs-theme="dark"] .level-low { color: #f1959f; }
.reco-item { display: flex; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.reco-item:last-child { border-bottom: 0; }
.reco-item i { color: var(--gold); margin-top: .25rem; }
.city-card { border: 2px solid var(--gold); border-radius: var(--radius); padding: 1.5rem; background: linear-gradient(135deg, var(--gold-100), transparent); }
[data-bs-theme="dark"] .city-card { background: linear-gradient(135deg, rgba(212, 175, 55, .12), transparent); }
.city-bar { height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.city-bar span { display: block; height: 100%; background: var(--navy); border-radius: 4px; transition: width 1s ease; }
[data-bs-theme="dark"] .city-bar span { background: var(--gold); }
.step-dots { display: flex; gap: .5rem; }
.step-dots span { flex: 1; height: 5px; border-radius: 3px; background: var(--border); transition: background .3s; }
.step-dots span.done { background: var(--gold); }

/* ---------- GCC Media ---------- */
.media-tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.media-tab {
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; flex-shrink: 0;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  border-radius: 12px; padding: .65rem 1rem; font-weight: 600; font-size: .9rem; transition: all .2s ease;
}
.media-tab i { color: var(--gold); }
.media-tab .count { font-size: .72rem; font-weight: 700; padding: .1rem .45rem; border-radius: 50px; background: var(--bg-alt); color: var(--text-muted); }
.media-tab:hover { border-color: var(--gold); }
.media-tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.media-tab.active .count { background: rgba(255, 255, 255, .15); color: var(--white); }
[data-bs-theme="dark"] .media-tab.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
[data-bs-theme="dark"] .media-tab.active i { color: var(--navy); }
[data-bs-theme="dark"] .media-tab.active .count { background: rgba(10, 37, 64, .15); color: var(--navy); }

.news-card h5, .news-lead h3 { line-height: 1.35; }
.stretched-title { color: var(--heading); text-decoration: none; }
.stretched-title:hover { color: var(--gold-600); text-decoration: underline; }
[data-bs-theme="dark"] .stretched-title:hover { color: var(--gold); }
.news-lead {
  display: flex; gap: 1.5rem; align-items: flex-start; padding: 2rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.news-lead-icon { width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.6rem; background: var(--navy); color: var(--gold); }
.coverage a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.coverage a:hover { color: var(--gold-600); }
.resource-tile {
  display: block; height: 100%; padding: 1.25rem; border-radius: var(--radius); text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: all .25s ease;
}
.resource-tile:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.media-note { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-muted); }
@media (max-width: 575.98px) {
  #newsChips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; }
  #newsChips .chip { flex-shrink: 0; }
  .news-lead { flex-direction: column; padding: 1.4rem; }
  .news-lead-icon { width: 52px; height: 52px; font-size: 1.3rem; }
}

/* ---------- Community ---------- */
.cat-list .list-group-item { border: 0; border-radius: 10px !important; margin-bottom: .25rem; background: transparent; color: var(--text); display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 500; }
.cat-list .list-group-item:hover { background: var(--bg-alt); }
.cat-list .list-group-item.active { background: var(--navy); color: var(--white); }
[data-bs-theme="dark"] .cat-list .list-group-item.active { background: var(--gold); color: var(--navy); }
.cat-list .badge { background: var(--gold-100); color: #7a5f12; }
.thread { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem; margin-bottom: 1rem; transition: border-color .25s, box-shadow .25s; }
.thread:hover { border-color: rgba(212, 175, 55, .6); box-shadow: var(--shadow); }
.thread h5 { font-size: 1.05rem; cursor: pointer; }
.thread h5:hover { color: var(--gold-600); }
.vote-box { display: flex; flex-direction: column; align-items: center; min-width: 52px; }
.vote-box button { border: 0; background: transparent; color: var(--text-muted); padding: 0; }
.vote-box button:hover, .vote-box button.voted { color: var(--gold); }
.vote-box strong { color: var(--heading); }
.thread-stats { display: flex; gap: 1.2rem; font-size: .85rem; color: var(--text-muted); }
.replies { border-top: 1px solid var(--border); margin-top: 1rem; padding-top: 1rem; }
.reply { display: flex; gap: .8rem; padding: .8rem; border-radius: 10px; background: var(--bg-alt); margin-bottom: .6rem; }
.reply.accepted { border-left: 3px solid #198754; }
.trend-item { display: flex; gap: .8rem; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.trend-item:last-child { border-bottom: 0; }
.trend-item .rank { font-family: var(--font-head); font-weight: 800; color: var(--gold); font-size: 1.3rem; min-width: 26px; }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem; margin-bottom: 1.5rem; }

/* ---------- Dashboard ---------- */
.dash-body { background: var(--bg-alt); }
.kpi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); height: 100%; transition: transform .3s; }
.kpi-card:hover { transform: translateY(-4px); }
.kpi-card .kpi-label { color: var(--text-muted); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.kpi-card .kpi-value { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--heading); line-height: 1.1; margin: .35rem 0; }
.kpi-card .kpi-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 1.15rem; }
.kpi-delta { font-size: .82rem; font-weight: 600; color: #146c43; }
[data-bs-theme="dark"] .kpi-delta { color: #75d7a6; }
.chart-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); height: 100%; }
.chart-card h6 { margin-bottom: .15rem; }
.chart-wrap { position: relative; height: 300px; }
.table-gccu { --bs-table-bg: transparent; color: var(--text); }
.table-gccu thead th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); border-bottom-color: var(--border); }
.table-gccu td { border-color: var(--border); vertical-align: middle; color: var(--text); }

/* ---------- Modal ---------- */
.modal-content { border: 0; border-radius: 18px; background: var(--surface); color: var(--text); }
.modal-header { border-bottom: 1px solid var(--border); padding: 1.25rem 1.5rem; }
.modal-header.navy { background: var(--navy); color: var(--white); border-radius: 18px 18px 0 0; }
.modal-header.navy .modal-title { color: var(--white); }
.modal-header.navy .btn-close { filter: invert(1) grayscale(1) brightness(2); }
.modal-body { padding: 1.5rem; }
.article-body p { line-height: 1.8; color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(500px 200px at 90% 50%, rgba(212, 175, 55, .25), transparent 70%), linear-gradient(135deg, var(--navy), var(--navy-700));
  border-radius: 24px; padding: 3.5rem; color: var(--white); overflow: hidden;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .75); }

/* ---------- Footer ---------- */
.gccu-footer { background: #061a2e; color: rgba(255, 255, 255, .7); padding: 80px 0 0; }
.gccu-footer h6 { color: var(--white); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 1.25rem; }
.gccu-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s, padding .2s; }
.gccu-footer a:hover { color: var(--gold); }
.gccu-footer ul { list-style: none; padding: 0; }
.gccu-footer ul li { margin-bottom: .6rem; font-size: .92rem; }
.gccu-footer ul li a:hover { padding-left: 4px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .06); margin-right: .4rem; }
.social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3rem; padding: 1.5rem 0; font-size: .87rem; }
.newsletter .form-control { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--white); }
.newsletter .form-control::placeholder { color: rgba(255, 255, 255, .45); }

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed; right: 24px; bottom: 24px; z-index: 1030; width: 48px; height: 48px; border-radius: 12px;
  border: 0; background: var(--gold); color: var(--navy); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .3s ease;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--navy); color: var(--gold); }

/* ---------- Toast ---------- */
.toast-container { z-index: 1090; }
.toast { border: 0; border-left: 4px solid var(--gold); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }

/* ---------- Scroll animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.fade-up { animation: fadeUp .8s ease both; }
.fade-up.d1 { animation-delay: .15s; }
.fade-up.d2 { animation-delay: .3s; }
.fade-up.d3 { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.data-error { border: 1px dashed var(--gold); border-radius: var(--radius); padding: 1.5rem; background: var(--gold-100); color: #5d4a0e; }
[data-bs-theme="dark"] .data-error { background: rgba(212, 175, 55, .1); color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 767.98px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 120px; min-height: auto; }
  .cta-band { padding: 2rem 1.5rem; }
  .form-card { padding: 1.5rem; }
  .testimonial { padding: 2rem 1.5rem; }
  .program-facts { grid-template-columns: 1fr 1fr 1fr; }
}
