/* ═══════════════════════════════════════════════════════════
   RIDE TRANSIT INC. — SHARED DESIGN SYSTEM
   Poppins · Dark Gradient · Premium Icons · Scroll FX
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Poppins', sans-serif; color: #0A1E35; background: #fff; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: 'Poppins', sans-serif; cursor: pointer; border: none; }

/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --dark:       #070E1A;
  --navy:       #0A1E35;
  --navy-mid:   #0D2845;
  --navy-light: #112F5A;
  --blue:       #2196D9;
  --blue-glow:  rgba(33,150,217,0.25);
  --yellow:     #F5C518;
  --yellow-dk:  #C9A00E;
  --yellow-glow:rgba(245,197,24,0.2);
  --white:      #FFFFFF;
  --off-white:  #F8FAFB;
  --light:      #EEF3F8;
  --gray:       #556070;
  --muted:      #8E9BAA;
  --border-dk:  rgba(255,255,255,0.08);
  --border-lt:  rgba(10,30,53,0.08);
  --shadow-sm:  0 2px 12px rgba(10,30,53,0.08);
  --shadow-md:  0 8px 32px rgba(10,30,53,0.12);
  --shadow-lg:  0 20px 60px rgba(10,30,53,0.16);
  --shadow-xl:  0 32px 80px rgba(10,30,53,0.22);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── BACKGROUNDS ────────────────────────────────────────── */
.bg-dark      { background: var(--dark); }
.bg-navy      { background: var(--navy); }
.bg-gradient  { background: linear-gradient(150deg, #060d18 0%, #0a1e35 40%, #0d2e58 75%, #0a2558 100%); }
.bg-light     { background: var(--off-white); }
.bg-white     { background: #fff; }
.bg-yellow    { background: var(--yellow); }

/* ── SECTION WRAPPER ────────────────────────────────────── */
.section      { padding: 100px 0; }
.section-sm   { padding: 70px 0; }
.container    { width: 92%; max-width: 1200px; margin: 0 auto; }
.container-lg { width: 92%; max-width: 1400px; margin: 0 auto; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 24px; height: 2px; background: var(--yellow); flex-shrink: 0;
}
.eyebrow-blue { color: var(--blue); }
.eyebrow-blue::before { background: var(--blue); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; }
.display-xl { font-size: clamp(2.8rem, 5.5vw, 4.2rem); font-weight: 800; }
.display-lg { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; }
.display-md { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
.display-sm { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; }
.text-white  { color: #fff; }
.text-yellow { color: var(--yellow); }
.text-blue   { color: var(--blue); }
.text-muted  { color: var(--muted); }
.text-light  { color: rgba(255,255,255,0.75); }
.text-center { text-align: center; }
.lead {
  font-size: 1.1rem; font-weight: 400; line-height: 1.8; color: var(--gray);
  max-width: 600px;
}
.lead-light { color: rgba(255,255,255,0.72); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.85rem 2rem; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.02em;
  transition: var(--transition); cursor: pointer;
}
.btn-yellow {
  background: var(--yellow); color: var(--navy);
}
.btn-yellow:hover {
  background: #f0bc00; transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--yellow-glow);
}
.btn-white {
  background: #fff; color: var(--navy);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  border-color: #fff; background: rgba(255,255,255,0.06);
}
.btn-navy {
  background: var(--navy); color: #fff;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.82rem; }
.btn i { font-size: 1.1em; }

/* ── NAVIGATION ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 5%; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.navbar.transparent { background: transparent; }
.navbar.solid {
  background: rgba(7,14,26,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.navbar.page-nav {
  background: rgba(7,14,26,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--yellow);
}
.nav-logo img { height: 38px; }
.nav-links {
  display: flex; align-items: center; gap: 0.2rem;
}
.nav-links a {
  padding: 0.5rem 0.9rem; border-radius: 6px;
  font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.82);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; background: rgba(255,255,255,0.07);
}
.nav-links .has-dropdown { position: relative; }
.nav-cta {
  background: var(--yellow); color: var(--navy);
  padding: 0.55rem 1.4rem; border-radius: 6px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em;
  transition: var(--transition);
}
.nav-cta:hover { background: #f0bc00; transform: translateY(-1px); box-shadow: 0 4px 16px var(--yellow-glow); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(7,14,26,0.98); backdrop-filter: blur(12px);
  padding: 1.5rem 5%; flex-direction: column; gap: 0.3rem;
  border-top: 1px solid var(--border-dk);
}
.mobile-menu a {
  color: rgba(255,255,255,0.82); font-size: 1rem; font-weight: 500;
  padding: 0.8rem 0; border-bottom: 1px solid var(--border-dk); display: block;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: linear-gradient(150deg, #060d18 0%, #0a1e35 40%, #0d2e58 75%, #0a2558 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(33,150,217,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,197,24,0.12); border: 1px solid rgba(245,197,24,0.3);
  color: var(--yellow); font-size: 0.72rem; font-weight: 700;
  padding: 0.4rem 1rem; border-radius: 40px; letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.hero-title { margin-bottom: 1.4rem; }
.hero-title em { color: var(--yellow); font-style: normal; }
.hero-desc { margin-bottom: 2rem; }
.hero-tagline {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em;
  color: var(--yellow); opacity: 0.85; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .num { font-size: 1.9rem; font-weight: 800; color: var(--yellow); line-height: 1; }
.hero-stat .lbl { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 4px; letter-spacing: 0.04em; line-height: 1.4; }

/* ── INNER PAGE HERO ────────────────────────────────────── */
.page-hero {
  padding: 160px 0 90px;
  background: linear-gradient(150deg, #060d18 0%, #0a1e35 40%, #0d2e58 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(33,150,217,0.1) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { color: var(--yellow); }

/* ── GLASS CARD (dark backgrounds) ─────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.glass-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.glass-card-accent { border-top: 3px solid var(--yellow); }
.glass-card-blue   { border-top: 3px solid var(--blue); }

/* ── WHITE CARD (light backgrounds) ────────────────────── */
.white-card {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.white-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-5px);
  border-color: rgba(33,150,217,0.2);
}
.white-card-accent { border-top: 4px solid var(--yellow); }
.white-card-blue   { border-top: 4px solid var(--blue); }
.white-card-navy   { border-top: 4px solid var(--navy); }

/* ── ICON BOX ───────────────────────────────────────────── */
.icon-box {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.icon-box-yellow { background: rgba(245,197,24,0.15); color: var(--yellow); }
.icon-box-blue   { background: rgba(33,150,217,0.15); color: var(--blue); }
.icon-box-navy   { background: var(--navy); color: var(--yellow); }
.icon-box-white  { background: rgba(255,255,255,0.1); color: #fff; }
.icon-box-lg { width: 64px; height: 64px; font-size: 1.7rem; border-radius: 16px; }
.icon-box-sm { width: 40px; height: 40px; font-size: 1.1rem; border-radius: 10px; }

/* ── STAT BOX ───────────────────────────────────────────── */
.stat-box { text-align: center; }
.stat-box .num {
  font-size: 2.8rem; font-weight: 800; color: var(--yellow); line-height: 1;
  display: block;
}
.stat-box .unit { font-size: 1.2rem; font-weight: 700; }
.stat-box .label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 6px; letter-spacing: 0.05em; }
.stat-box-light .num { color: var(--navy); }
.stat-box-light .label { color: var(--gray); }

/* ── SECTION HEADER ─────────────────────────────────────── */
.section-header { max-width: 600px; }
.section-header.centered { margin: 0 auto; text-align: center; }
.section-header .lead { margin-top: 1rem; }

/* ── DIVIDER ────────────────────────────────────────────── */
.divider {
  width: 60px; height: 4px; background: var(--yellow);
  border-radius: 2px; margin: 1.2rem 0;
}
.divider.centered { margin: 1.2rem auto; }
.divider-blue { background: var(--blue); }

/* ── GRID UTILS ─────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: 3.5rem; align-items: center; }
.grid-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 3.5rem; align-items: center; }

/* ── STEP / PROCESS ─────────────────────────────────────── */
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-line {
  position: absolute; left: 24px; top: 48px; bottom: -24px;
  width: 2px; background: rgba(255,255,255,0.1);
}

/* ── TABLE ──────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: var(--navy); color: rgba(255,255,255,0.9);
  padding: 1rem 1.2rem; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-align: left;
}
.data-table td {
  padding: 0.9rem 1.2rem; font-size: 0.88rem; color: var(--gray);
  border-bottom: 1px solid var(--border-lt);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--off-white); }
.data-table .td-good { color: #16a34a; font-weight: 600; }
.data-table .td-bad  { color: #dc2626; }
.data-table .td-num  { color: var(--navy); font-weight: 700; font-size: 1rem; }

/* ── BADGE / CHIP ───────────────────────────────────────── */
.badge {
  display: inline-block; padding: 0.25rem 0.75rem;
  border-radius: 20px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-yellow { background: rgba(245,197,24,0.18); color: #a07800; }
.badge-blue   { background: rgba(33,150,217,0.15); color: #1565a0; }
.badge-green  { background: rgba(22,163,74,0.15); color: #166534; }
.badge-red    { background: rgba(220,38,38,0.12); color: #991b1b; }

/* ── QUOTE / CALLOUT ────────────────────────────────────── */
.callout {
  border-left: 4px solid var(--yellow);
  padding: 1.2rem 1.5rem;
  background: rgba(245,197,24,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem; font-style: italic; color: var(--navy);
  margin: 1.5rem 0;
}

/* ── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  background: var(--yellow);
  padding: 50px 0;
}
.stats-bar-grid {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 1rem; align-items: center;
}
.stats-bar-item { text-align: center; }
.stats-bar-item .num { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stats-bar-item .lbl { font-size: 0.78rem; font-weight: 600; color: rgba(10,30,53,0.7); margin-top: 6px; letter-spacing: 0.04em; }
.stats-bar-divider { width: 1px; height: 50px; background: rgba(10,30,53,0.15); margin: 0 auto; }

/* ── CTA SECTION ────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #070E1A 0%, #0A1E35 50%, #0F2D5A 100%);
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(245,197,24,0.08) 0%, transparent 60%);
}
.cta-section .container { position: relative; z-index: 1; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #040b14;
  padding: 80px 0 0;
  color: rgba(255,255,255,0.65);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 60px;
}
.footer-brand img { height: 34px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; color: #fff; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-bottom .footer-legal { display: flex; gap: 1.5rem; }
.footer-bottom .footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom .footer-legal a:hover { color: var(--yellow); }

/* ── SVG ILLUSTRATIONS ──────────────────────────────────── */
.illustration { width: 100%; height: auto; }

/* ── SCROLL ANIMATIONS (AOS override) ──────────────────── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ── YELLOW ACCENT LINE ─────────────────────────────────── */
.y-accent {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--yellow); border-radius: 0 3px 3px 0;
}

/* ── HIGHLIGHT LIST ─────────────────────────────────────── */
.check-list { list-style: none; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.95rem; color: var(--gray);
  padding: 0.6rem 0; border-bottom: 1px solid var(--border-lt);
}
.check-list li:last-child { border-bottom: none; }
.check-list li i { color: var(--blue); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.check-list-light li { color: rgba(255,255,255,0.8); border-bottom-color: var(--border-dk); }
.check-list-light li i { color: var(--yellow); }

/* ── PILL NAV (within page) ─────────────────────────────── */
.pill-nav {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 3rem;
}
.pill-nav a {
  padding: 0.5rem 1.2rem; border-radius: 40px;
  font-size: 0.85rem; font-weight: 500;
  border: 1.5px solid var(--border-lt); color: var(--gray);
  transition: var(--transition);
}
.pill-nav a:hover, .pill-nav a.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* ── TESTIMONIAL / QUOTE ────────────────────────────────── */
.quote-block {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 2.5rem; position: relative; overflow: hidden;
}
.quote-block::before {
  content: '"'; position: absolute; top: -10px; left: 20px;
  font-size: 8rem; color: rgba(245,197,24,0.12); font-family: serif; line-height: 1;
}

/* ── KRI TRAFFIC LIGHT ──────────────────────────────────── */
.kri-green  { color: #16a34a; font-weight: 600; }
.kri-yellow { color: #ca8a04; font-weight: 600; }
.kri-red    { color: #dc2626; font-weight: 600; }
.kri-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.kri-dot-green  { background: #16a34a; }
.kri-dot-yellow { background: #eab308; }
.kri-dot-red    { background: #dc2626; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-bar-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .grid-2-3, .grid-3-2 { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .nav-links { display: none; }
  .nav-cta-desk { display: none; }
  .nav-hamburger { display: flex; }
  .stats-bar-grid { grid-template-columns: repeat(2,1fr); }
  .stats-bar-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .display-xl { font-size: 2.2rem; }
  .display-lg { font-size: 1.9rem; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   EXTENDED COMPONENT STYLES — added for 7-page site
═══════════════════════════════════════════════════════════ */

/* ── Extra text vars ── */
:root {
  --text-body:  #2a3f55;
  --text-muted: #6b7c8d;
}

/* ── Navbar (exact markup used in HTML) ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px; transition: var(--transition);
}
.navbar .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.navbar .nav-logo img { height: 38px; width: auto; }

.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-menu li a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,0.82); transition: var(--transition);
}
.nav-menu li a:hover,
.nav-menu li a.active { color: #fff; background: rgba(255,255,255,0.07); }

.btn-nav {
  background: var(--yellow); color: var(--navy) !important;
  padding: 8px 20px !important; border-radius: 8px !important;
  font-weight: 700 !important;
}
.btn-nav:hover { background: #f0bc00 !important; transform: translateY(-1px); }

/* Scrolled state */
.navbar.scrolled {
  background: rgba(7,14,26,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.25);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
  z-index: 1100;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: rgba(7,14,26,0.98); backdrop-filter: blur(12px);
    padding: 24px 5%; gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu li { width: 100%; }
  .nav-menu li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); border-radius: 0; }
  .nav-menu li:last-child a { border-bottom: none; }
  .btn-nav { border-radius: 8px !important; margin-top: 8px; text-align: center; display: block; }
}

/* ── Hero (index-specific classes) ── */
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 56px;
  padding: 140px 0 80px; position: relative; z-index: 1;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 120px 0 60px; }
  .hero-inner > *:last-child { display: none; }
}
.hero-content {}
.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900; line-height: 1.1;
  color: #fff; margin-bottom: 20px;
}
.hero-title span { color: var(--yellow); }
.hero-title em { color: var(--blue); font-style: normal; }
.hero-sub {
  font-size: 1rem; line-height: 1.8;
  color: rgba(255,255,255,0.65); margin-bottom: 32px; max-width: 520px;
}
.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px;
}

.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500;
}

.trust-item i { color: var(--blue); font-size: 14px; }

/* Scroll cue */
.hero-scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
}

.hero-scroll-cue span {
  display: block; width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,0.2); border-radius: 20px;
  position: relative;
}

.hero-scroll-cue span::after {
  content: ''; position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: rgba(255,255,255,0.4);
  border-radius: 2px;
  animation: scrollCue 2s ease-in-out infinite;
}

@keyframes scrollCue { 0%{opacity:1;top:5px} 80%{opacity:0;top:18px} 100%{opacity:0;top:5px} }

/* ── Section header (consistent across all pages) ── */
.section-header {
  text-align: center; margin-bottom: 56px;
}
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(33,150,217,0.08); color: var(--blue);
  border: 1px solid rgba(33,150,217,0.2); border-radius: 24px;
  padding: 6px 16px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.2;
  color: #fff; margin-bottom: 16px;
}
.section-sub {
  font-size: 0.95rem; line-height: 1.8;
  color: rgba(255,255,255,0.55); max-width: 600px; margin: 0 auto;
}

/* ── Buttons (primary + ghost) ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #1565a8);
  color: #fff; font-weight: 700; font-size: 0.92rem;
  transition: var(--transition); border: none; cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1a7abf, #1050a0);
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(33,150,217,0.35);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.2);
  font-weight: 600; font-size: 0.92rem;
  transition: var(--transition); text-decoration: none;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5); color: #fff;
  background: rgba(255,255,255,0.05);
}
.btn-lg { padding: 14px 36px !important; font-size: 1rem !important; }

/* ── Link arrow ── */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.84rem; font-weight: 600; color: var(--blue);
  transition: var(--transition); text-decoration: none; margin-top: 10px;
}
.link-arrow:hover { gap: 10px; color: #1565a8; }
.link-arrow i { font-size: 14px; }

/* ── check-list / check-item (div-based) ── */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; line-height: 1.65;
}
.check-item i { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, #070E1A 0%, #0A1E35 50%, #0F2D5A 100%);
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-inner {
  position: relative; z-index: 1; max-width: 640px; margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800; color: #fff; margin: 12px 0 16px;
}
.cta-inner p {
  font-size: 0.95rem; line-height: 1.8; color: rgba(255,255,255,0.55); margin-bottom: 32px;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(245,197,24,0.07) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.cta-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ── Footer extras ── */
.footer-cert {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  padding: 4px 0;
}
.footer-cert i { color: var(--blue); font-size: 14px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 14px; }
.footer-social {
  display: flex; gap: 10px; margin-top: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 16px;
  transition: var(--transition);
}
.footer-social a:hover { background: rgba(33,150,217,0.15); color: var(--blue); border-color: rgba(33,150,217,0.25); }

/* Mobile footer fix */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE ALIGNMENT & OVERFLOW FIXES
═══════════════════════════════════════════════════════════ */

/* Prevent horizontal scroll on all screens */
html, body { max-width: 100%; overflow-x: hidden; }

/* Container: ensure side padding on small screens */
@media (max-width: 480px) {
  .container, .container-lg {
    width: 94%;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Section headers: fix alignment on mobile */
@media (max-width: 768px) {
  .section-header {
    max-width: 100%;
    padding: 0;
  }
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    word-break: break-word;
    hyphens: auto;
  }
  .section-sub {
    font-size: 0.9rem;
  }
  /* Ensure grids with gap don't bleed off-screen */
  .grid-2, .grid-3, .grid-4 {
    width: 100%;
  }
}

/* Table mobile: ensure all data tables scroll horizontally */
.data-table,
table.data-table {
  min-width: 400px;
}

/* Wrap ALL tables in horizontal scroll on mobile */
@media (max-width: 768px) {
  .kri-table,
  .incident-table,
  .shift-table {
    min-width: 480px;
  }
  /* Ensure parent scroll wrapper works */
  [style*="overflow-x:auto"],
  [style*="overflow-x: auto"] {
    -webkit-overflow-scrolling: touch;
  }
}

/* Fix image + text overlay on mobile (cards with absolute badges/labels) */
@media (max-width: 480px) {
  /* Prevent badge text from overflowing card bounds */
  .training-card,
  .service-tile,
  .stat-box {
    overflow: hidden;
  }
  /* Ensure section labels don't clip on narrow screens */
  .section-label {
    white-space: normal;
    word-break: break-word;
  }
  /* Hero actions spacing */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Fix nav + content overlap on scroll on very small screens */
@media (max-width: 360px) {
  .container, .container-lg { width: 96%; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.4rem; }
}
