:root {
  --green: #1B5E20;
  --blue: #0D47A1;
  --gold: #F9A825;
  --white: #FFFFFF;
  --bg: #F8F9FA;
  --text: #222222;
  --muted: #5b6472;
  --border: rgba(27, 94, 32, 0.12);
  --shadow: 0 18px 45px rgba(18, 34, 26, 0.12);
  --radius: 16px;
  --logo-orange: #FF7A00;
  --moto-purple: #3B0D3B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  opacity: 0;
  transition: opacity .4s ease;
  overflow-x: clip;
}
body.ready { opacity: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-title { font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; margin-bottom: 1rem; color: var(--logo-orange); }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 760px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--logo-orange); color: var(--white); box-shadow: 0 10px 30px rgba(255, 122, 0, 0.18); }
.btn-primary:hover { background: var(--moto-purple); }

.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-secondary:hover { background: var(--white); color: var(--green); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--logo-orange); border-color: var(--logo-orange); }
.btn-outline:hover { background: var(--logo-orange); color: var(--white); }

.donation-form { display: grid; gap: 16px; }
.donation-amounts,
.frequency-options,
.payment-methods { display: flex; flex-wrap: wrap; gap: 10px; }
.amount-pill,
.frequency-pill,
.payment-option { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text); cursor: pointer; font-weight: 600; transition: all .2s ease; }
.amount-pill input,
.frequency-pill input,
.payment-option input { accent-color: var(--logo-orange); }
.amount-pill.active,
.frequency-pill.active,
.payment-option.active { background: rgba(255,122,0,0.14); border-color: var(--logo-orange); color: var(--logo-orange); }
.payment-option { flex-direction: column; align-items: flex-start; border-radius: 16px; padding: 14px 16px; min-width: 180px; }
.payment-title { font-weight: 700; }
.payment-detail { font-size: 0.9rem; color: var(--muted); }
.donation-field,
.donation-field-group input,
.donation-field-group select {
  width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--text); background: var(--white);
}
.donation-field:focus,
.donation-field-group input:focus,
.donation-field-group select:focus { outline: 2px solid rgba(255,122,0,0.18); border-color: var(--logo-orange); }
.donation-field-group { display: grid; gap: 6px; flex: 1; }
.donation-field-group label { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.inline-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.donation-fieldset { border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin: 0; }
.donation-fieldset legend { padding: 0 6px; font-weight: 700; color: var(--logo-orange); }
.payment-panel { display: grid; gap: 12px; padding: 4px 0 2px; }
.helper-text { margin: 0; color: var(--muted); font-size: 0.95rem; }

.volunteer-form { display: grid; gap: 14px; }
.volunteer-form-grid { display: grid; gap: 12px; }
.volunteer-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.volunteer-label { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.volunteer-field {
  width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--text); background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.volunteer-field:focus {
  outline: none; border-color: var(--logo-orange); box-shadow: 0 0 0 4px rgba(255,122,0,0.12);
  transform: translateY(-1px);
}
.volunteer-textarea { min-height: 120px; resize: vertical; }
.volunteer-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,248,240,0.95));
  border: 1px solid rgba(255,122,0,0.12);
}
.volunteer-info-card { background: linear-gradient(135deg, rgba(59,13,59,0.05), rgba(255,122,0,0.05)); }
.volunteer-benefits { display: grid; gap: 8px; padding-left: 18px; margin: 14px 0 0; color: var(--muted); }
.volunteer-benefits li::marker { color: var(--logo-orange); }
.volunteer-form .btn { width: 100%; margin-top: 4px; }

.form-status { margin-top: 4px; padding: 12px 14px; border-radius: 12px; font-size: 0.95rem; font-weight: 600; }
.form-status.ok { background: rgba(27, 94, 32, 0.08); color: var(--green); border: 1px solid rgba(27, 94, 32, 0.18); }
.form-status.err { background: rgba(198, 40, 40, 0.08); color: #c62828; border: 1px solid rgba(198, 40, 40, 0.2); }

.utility-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  height: 40px; display: flex; align-items: center;
}
 .utility-bar .container { display: flex; justify-content: space-between; align-items: center; font-size: 0.92rem; color: var(--muted); }
 .utility-links { display: flex; align-items: center; gap: 12px; }
 .utility-links a {
   display: inline-flex;
   width: 36px;
   height: 36px;
   border-radius: 50%;
   background: var(--bg);
   align-items: center;
   justify-content: center;
   transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
   color: var(--muted);
   border: 1px solid rgba(0,0,0,0.04);
   box-shadow: 0 8px 20px rgba(12,18,12,0.06);
   font-weight: 600;
 }
 .utility-links a:hover {
   transform: translateY(-4px);
   background: var(--logo-orange);
   color: var(--white);
   box-shadow: 0 14px 40px rgba(255,122,0,0.12);
 }
 .utility-links a img,
 .footer .socials a img { width: 18px; height: 18px; display: block; object-fit: contain; }

 /* Ensure icon anchors keep circular background */
 .utility-links a img { filter: none; }
 .utility-links a[aria-label="Email"], .utility-links a[href^="mailto:"] {
   background: transparent;
   border: 1px dashed rgba(0,0,0,0.06);
   color: var(--muted);
 }
 .utility-links a[aria-label="Email"]:hover, .utility-links a[href^="mailto:"]:hover {
   background: var(--logo-orange);
   color: var(--white);
   border-color: var(--logo-orange);
 }

.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.site-head-spacer { height: 140px; }
.site-head .header { position: static; backdrop-filter: none; }
.site-head .navbar { min-height: 90px; }
.site-head.scrolled .navbar { min-height: 46px; }
.site-head .logo img { width: 140px; }
.site-head.scrolled .logo img { width: 72px; }
.site-head.scrolled .nav-link, .site-head.scrolled .nav-item > a { padding: 4px 0; font-size: 0.86rem; }
.site-head.scrolled .ticker { padding: 7px 0; }

.header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34,34,34,0.06);
}
.navbar { display: flex; align-items: center; justify-content: space-between; min-height: 90px; gap: 24px; }
.logo img { width: 140px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 28px; font-weight: 600; }
.nav-item { position: relative; }
.nav-link, .nav-item > a { color: var(--text); padding: 10px 0; display: inline-flex; align-items: center; gap: 6px; }
.nav-link:hover, .nav-item > a:hover, .nav-item.active > a { color: var(--green); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; padding: 14px 18px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s ease; z-index: 20;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 8px 0; color: var(--muted); }
.dropdown a:hover { color: var(--green); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; color: var(--green); }
.nav-close { display: none; }

.nav-cta-btn {
  background: transparent;
  color: var(--logo-orange);
  border: 0;
  border-radius: 0;
  padding: 10px 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: none;
  transition: color .28s ease, background-color .28s ease;
}
.nav-cta-btn:hover {
  background: transparent;
  color: var(--moto-purple);
}
.nav-cta-btn:focus-visible {
  outline: 2px solid rgba(255, 122, 0, 0.5);
  outline-offset: 4px;
}
.nav-cta-btn.active {
  background: transparent;
  color: var(--moto-purple);
}
.nav-cta-btn:active { transform: scale(0.97); }
.site-head.scrolled .nav-cta-btn { padding: 4px 0; font-size: 0.86rem; }

.ticker { background: var(--moto-purple); color: var(--white); border-bottom: 3px solid var(--logo-orange); padding: 12px 0; overflow: hidden; position: relative; z-index: 5; }
.ticker-inner { display: flex; align-items: center; gap: 16px; }
.ticker-label {
  flex-shrink: 0; background: var(--logo-orange); color: var(--white);
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 14px; border-radius: 999px;
}
.ticker-viewport { overflow: hidden; flex: 1; min-width: 0; }
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; align-items: center; gap: 48px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.ticker-list li { display: inline-flex; align-items: center; gap: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.92); }
.ticker-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--logo-orange); flex-shrink: 0; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-section {
  position: relative; min-height: 20vh; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background-image: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.2) 100%), url('../Images/hero/hero.jpg');
  background-size: cover; background-position: center; background-attachment: fixed;
}
.hero-section::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.22)); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 780px; color: var(--white); padding: 72px 0 84px; }
.hero-title { font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem, 3.2vw, 3.4rem); font-weight: 700; line-height: 1.05; margin: 0 0 16px; max-width: 700px; }
.hero-title span { display: block; color: var(--gold); }
.hero-text { font-size: 1.06rem; color: rgba(255,255,255,0.9); max-width: 680px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.scroll-indicator {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.75); font-size: 0.9rem; animation: bob 2s infinite;
}
.scroll-indicator span { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.75); border-radius: 999px; position: relative; }
.scroll-indicator span::after { content: ''; position: absolute; width: 5px; height: 8px; background: var(--white); left: 50%; top: 8px; transform: translateX(-50%); border-radius: 999px; animation: scroll 1.6s infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }
@keyframes scroll { 0%{opacity:0; transform:translate(-50%,0)} 50%{opacity:1} 100%{opacity:0; transform:translate(-50%,16px)} }

.card-grid { display: grid; gap: 24px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-grid.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,0.16); }
.card-body { padding: 24px; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, rgba(59,13,59,0.12), rgba(255,122,0,0.12)); color: var(--logo-orange); display: grid; place-items: center; margin-bottom: 16px; font-size: 1.35rem; transition: transform .25s ease; }
.card:hover .card-icon { transform: rotate(8deg) scale(1.05); }

.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.about-image, .vision-image { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.about-image img, .vision-image img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.mission-highlight { background: linear-gradient(135deg, var(--moto-purple), var(--logo-orange)); color: var(--white); border-radius: 24px; padding: 34px 34px; }
.mission-highlight h3 { color: var(--white); margin-bottom: 12px; font-family: 'Poppins', sans-serif; }

.split-section { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; align-items: center; }
.split-section .content { padding: 20px 0; }
.bg-soft { background: var(--bg); }
#why-work-matters {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #3B0D3B 0%, var(--moto-purple) 60%, #3B0D3B 100%);
  color: var(--white);
  padding: 110px 0;
}
#why-work-matters .why-work-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 48px;
  align-items: stretch;
}
#why-work-matters .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}
#why-work-matters .section-title { color: var(--white); margin-bottom: 16px; }
#why-work-matters .lead { color: rgba(255,255,255,0.88); font-size: 1.15rem; max-width: 640px; margin-bottom: 18px; }
#why-work-matters .content p { color: rgba(255,255,255,0.82); line-height: 1.7; margin-bottom: 14px; }
#why-work-matters .btn { align-self: flex-start; margin-top: 8px; }
#why-work-matters .about-image {
  height: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border-radius: 24px;
  overflow: hidden;
}
#why-work-matters .about-image img { height: 100%; min-height: 0; object-fit: cover; }

.stats-section { background: linear-gradient(135deg, var(--green), var(--blue)); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; }
.stat-card { padding: 24px; border-radius: 18px; background: rgba(255,255,255,0.08); backdrop-filter: blur(4px); text-align: center; }
.stat-number { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--gold); }
.stat-label { margin-top: 6px; color: rgba(255,255,255,0.8); }

.program-card .card-image img { width: 100%; height: 220px; object-fit: cover; }
.program-card .card-body p { color: var(--muted); }
.program-card .card-list { padding-left: 18px; color: var(--muted); }

.gallery-preview .gallery-grid { columns: 3 260px; column-gap: 18px; }
.gallery-preview .gallery-grid figure { break-inside: avoid; margin: 0 0 18px; position: relative; overflow: hidden; border-radius: 16px; cursor: pointer; }
.gallery-preview .gallery-grid img { width: 100%; height: auto; transition: transform .35s ease; }
.gallery-preview .gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-preview .gallery-grid .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.46)); display: flex; align-items: flex-end; padding: 16px; color: var(--white); font-weight: 600; }

/* Homepage achievements snapshot */
.achievements-preview .home-achievements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.achievements-preview .achievement-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--moto-purple);
  box-shadow: 0 14px 34px rgba(59, 13, 59, 0.26);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.achievements-preview .achievement-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(59, 13, 59, 0.34);
}
.achievements-preview .achievement-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.08rem;
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 6px;
}
.achievements-preview .achievement-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}
.achievements-preview .achievements-more { text-align: center; margin-top: 28px; }
@media (max-width: 680px) {
  .achievements-preview .home-achievements {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }
  .achievements-preview .achievement-card { padding: 20px 22px; }
  .achievements-preview .achievements-more { margin-top: 34px; }
  .achievements-preview .achievements-more .btn { width: 100%; }
}
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.8); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox-stage { position: relative; max-width: min(960px, 100%); width: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox-caption { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 999px; background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); color: var(--white); font-weight: 600; }
.lightbox img { max-width: min(960px, 100%); max-height: min(80vh, 100%); border-radius: 20px; box-shadow: var(--shadow); }
.lightbox .close,
.lightbox-nav { position: absolute; border: 0; background: rgba(255,255,255,0.16); color: var(--white); cursor: pointer; backdrop-filter: blur(6px); }
.lightbox .close { top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; font-size: 1.7rem; display: grid; place-items: center; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }
.lightbox-nav:hover,
.lightbox .close:hover { background: rgba(255,255,255,0.24); }

.section.cta-full { padding: 0; }
.cta-section { background: linear-gradient(120deg, var(--logo-orange), var(--moto-purple)); color: var(--white); padding: 34px 24px; margin: 0; width: 100%; }
.cta-section h2 { margin: 0 0 8px; }
.cta-section p { margin: 0; }
.cta-section .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

.footer { background: var(--moto-purple); color: rgba(255,255,255,0.95); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 24px; }
.footer h4 { color: var(--white); font-family: 'Poppins', sans-serif; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255,255,255,0.8); }
.footer a:hover { color: var(--gold); }
.contact-list { margin-bottom: 12px; }
.map-card { margin-top: 10px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.map-card iframe { display: block; width: 100%; min-height: 180px; border: 0; }
.footer .socials { display: flex; gap: 8px; margin-top: 12px; }
.footer .socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.16); }

.page-hero { min-height: 360px; display: flex; align-items: end; padding: 110px 0 64px; background-size: cover; background-position: center; position: relative; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(59,13,59,0.5) 0%, rgba(59,13,59,0.72) 55%, rgba(59,13,59,0.88) 100%); }
.page-hero .container { position: relative; z-index: 1; color: var(--white); max-width: 920px; }
.page-hero h1 { font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 12px; line-height: 1.05; max-width: 740px; letter-spacing: -0.03em; }
.page-hero p { font-size: clamp(1rem, 1.1vw, 1.15rem); max-width: 780px; margin-top: 16px; color: rgba(255,255,255,0.92); }
.section { padding: 84px 0; }
.card-body h3 { margin-top: 0; color: var(--moto-purple); }
.card-grid { gap: 28px; }
.btn-secondary { border-color: rgba(255,255,255,0.55); }
.footer { padding: 70px 0 36px; }
.footer p, .footer li { color: rgba(255,255,255,0.85); }
.footer .contact-list li { line-height: 1.9; }
@media (max-width: 980px) {
  .page-hero { padding: 88px 0 54px; }
}

.page-intro { display: grid; gap: 18px; grid-template-columns: 1.2fr 0.8fr; align-items: center; }
.page-intro .card { padding: 28px; }
.program-list .program-card { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; margin-bottom: 24px; }
.program-list .program-card:nth-child(even) .card-image { order: 2; }
.program-list .program-card:nth-child(even) .card-body { order: 1; }
.objectives { margin-top: 14px; padding-left: 18px; }
.objectives li { margin-bottom: 8px; }

.card-grid.three .card,
.card-grid.four .card { height: 100%; display: flex; flex-direction: column; }
.card-grid.three .card .card-body,
.card-grid.four .card .card-body { flex: 1; }
.news-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(27,94,32,0.06); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(18,34,26,0.14); }
.news-card .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { margin: 8px 0 8px; font-size: 1.05rem; color: var(--moto-purple); line-height: 1.35; }
.news-card p { color: var(--muted); margin: 0; font-size: 0.9rem; line-height: 1.55; }
.tag { display: inline-block; padding: 7px 11px; border-radius: 999px; background: rgba(255,122,0,0.12); color: var(--logo-orange); font-size: 0.9rem; font-weight: 600; }
.skills-head { text-align: center; max-width: 740px; margin: 0 auto; }
.skills-head .section-title { margin-bottom: 0.5rem; }
.skills-head .lead { margin-left: auto; margin-right: auto; }
.skill-grid { margin-top: 36px; }
.skill-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid rgba(59, 13, 59, 0.08); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.skill-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(59, 13, 59, 0.18); }
.skill-media { position: relative; }
.skill-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.skill-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(59,13,59,0) 55%, rgba(59,13,59,0.45)); }
.skill-play { position: absolute; top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.95); color: var(--logo-orange); font-size: 0.9rem; border: 2px solid var(--logo-orange); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.skill-card .card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.skill-card .card-body .tag { align-self: flex-start; }
.skill-card h3 { margin: 10px 0 8px; font-family: 'Poppins', sans-serif; font-size: 1.1rem; color: var(--moto-purple); line-height: 1.3; }
.skill-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.skill-btn { margin-top: auto; align-self: flex-start; padding: 9px 18px; font-size: 0.85rem; }
.skill-btn-icon { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; background: var(--logo-orange); color: var(--white); font-size: 0.55rem; }
.moto-basics-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid rgba(59, 13, 59, 0.08); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.moto-basics-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(59, 13, 59, 0.18); }
.moto-basics-card .card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.moto-basics-card h3 { margin: 10px 0 8px; font-family: 'Poppins', sans-serif; font-size: 1.1rem; color: var(--moto-purple); line-height: 1.3; }
.moto-basics-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.moto-basics-card .btn { margin-top: auto; align-self: flex-start; padding: 9px 18px; font-size: 0.85rem; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news-pagination {
  display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 32px; flex-wrap: wrap;
}
.news-pagination a {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  background: var(--white); color: var(--moto-purple); border: 1px solid var(--border); box-shadow: 0 8px 18px rgba(18,34,26,0.06);
  font-weight: 700; transition: all .2s ease;
}
.news-pagination a:hover,
.news-pagination a.active {
  background: var(--logo-orange); color: var(--white); border-color: var(--logo-orange); transform: translateY(-2px);
}
.news-feed { margin-top: 28px; }
.feed-card {
  background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid rgba(27,94,32,0.08);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.feed-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,34,26,0.10); }
.feed-image { overflow: hidden; }
.feed-image img { width: 100%; height: 100%; object-fit: cover; }
.feed-card--featured { margin-bottom: 28px; }
.feed-card--featured .feed-image img { aspect-ratio: 16/7; }
.feed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feed-card--small .feed-image img { aspect-ratio: 4/3; }
.feed-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.feed-card--featured .feed-body { padding: 24px 28px 28px; }
.feed-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.feed-cat {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--logo-orange); color: var(--white);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.feed-date,
.feed-comments { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.feed-comments { margin-left: auto; }
.feed-date svg,
.feed-comments svg { width: 14px; height: 14px; flex-shrink: 0; }
.feed-title { margin: 0; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; line-height: 1.35; color: var(--moto-purple); }
.feed-card--featured .feed-title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.3; margin-bottom: 10px; }
.feed-card--small .feed-title { font-size: 1.02rem; }
.feed-excerpt { margin: 0 0 16px; color: var(--muted); font-size: 0.97rem; line-height: 1.6; }
.feed-full-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.feed-full { overflow: hidden; min-height: 0; }
.feed-card--expanded .feed-full-wrap { grid-template-rows: 1fr; }
.feed-full p { color: var(--muted); font-size: 0.97rem; line-height: 1.7; margin: 0 0 12px; }
.feed-full p:last-child { margin: 0; }
.feed-link {
  margin-top: 18px; align-self: flex-start;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem;
  color: var(--logo-orange); display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: none; padding: 0; cursor: pointer; appearance: none;
  transition: gap .2s ease, color .2s ease;
}
.feed-link:hover { gap: 10px; color: var(--moto-purple); }

/* --------------------------------------------------------------------------
   Firestore loader output (news, events, jobs, MOTO Basics)
   Rendered by js/load-*.js into the containers below.
--------------------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-card .news-date { margin-top: auto; padding-top: 12px; color: var(--muted); font-size: 0.85rem; }
.news-card.no-img .card-body { padding-top: 20px; }

.sidebar { position: sticky; top: 120px; display: grid; gap: 18px; }
.sidebar-card { background: var(--white); border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--border); padding: 22px; }
.sidebar-card h3 { margin: 0 0 12px; font-family: 'Poppins', sans-serif; font-size: 1.05rem; color: var(--moto-purple); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.news-search { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--text); }

.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.timeline-card { background: var(--white); border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--border); padding: 24px; transition: transform .25s ease, box-shadow .25s ease; }
.timeline-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(18,34,26,0.12); }
.timeline-card h3 { margin: 0 0 8px; font-family: 'Poppins', sans-serif; font-size: 1.1rem; color: var(--moto-purple); }
.timeline-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.event-image { margin-bottom: 14px; }
.event-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.event-when { color: var(--logo-orange); font-weight: 600; }

.jobs-list { display: grid; gap: 22px; margin-top: 28px; }
.job-card { border: 1px solid rgba(27, 94, 32, 0.08); overflow: hidden; }
.job-image { overflow: hidden; }
.job-image img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.job-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.job-head h3 { margin: 0; color: var(--moto-purple); font-family: 'Poppins', sans-serif; font-size: 1.15rem; }
.job-meta { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.job-meta span { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.job-body { margin-top: 12px; }
.job-body p { color: var(--muted); margin: 0 0 10px; }
.job-requirements { padding-left: 18px; margin: 0; color: var(--muted); font-size: 0.93rem; }
.job-requirements li { margin-bottom: 6px; }
.job-empty { color: var(--muted); text-align: center; padding: 32px 0; }

.mv-card { height: 100%; display: flex; flex-direction: column; }
.mv-banner { position: relative; height: 190px; }
.mv-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mv-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(59,13,59,0.35) 0%, rgba(59,13,59,0.7) 100%); }
.mv-title {
  position: absolute; inset: 0; display: grid; place-items: center; margin: 0; z-index: 2;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.08em;
  color: var(--white); text-transform: uppercase; text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.mv-badge {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); z-index: 3;
  width: 68px; height: 68px; filter: drop-shadow(0 10px 18px rgba(18,34,26,0.30));
}
.mv-body { padding: 58px 26px 28px; text-align: center; flex: 1; }
.mv-body p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.project-card .card-image { overflow: hidden; }
.project-card .card-image img { width: 100%; height: 110px; object-fit: cover; }
.project-card { color: var(--white); display: flex; flex-direction: column; }
.project-card h3 { color: var(--white); margin: 0 0 6px; font-size: 1.05rem; line-height: 1.3; }
.project-card p { color: rgba(255,255,255,0.88); margin: 0 0 12px; font-size: 0.9rem; line-height: 1.45; }
.project-card .card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.project-card .btn { margin-top: auto; align-self: flex-start; padding: 9px 16px; font-size: 0.85rem; }

.achievements-section { position: relative; overflow: hidden; }
.achievements-section::before,
.achievements-section::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.achievements-section::before { width: 560px; height: 560px; top: -180px; left: -180px; background: radial-gradient(circle, rgba(255, 122, 0, 0.10), transparent 62%); }
.achievements-section::after { width: 620px; height: 620px; bottom: -240px; right: -200px; background: radial-gradient(circle, rgba(59, 13, 59, 0.09), transparent 62%); }

.achievements-wrap {
  max-width: 1160px; margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px); position: relative;
}

.achievements-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moto-purple);
}
.section-label::before {
  content: '';
  flex-shrink: 0;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--logo-orange), var(--moto-purple));
}
.hero-section .section-label,
.page-hero .section-label {
  color: var(--gold);
}
.hero-section .section-label::before,
.page-hero .section-label::before {
  background: linear-gradient(90deg, var(--logo-orange), var(--gold));
}
.hero-section .section-label::before {
  content: none;
}
.achievements-title {
  margin: 0 0 16px; font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.15; color: var(--moto-purple);
}
.achievements-intro {
  max-width: 640px; margin: 0 auto; color: var(--muted);
  font-size: 1.05rem; line-height: 1.7;
}

.achievements-grid {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px; align-items: start;
}

.achievements-media {
  position: sticky; top: 130px; margin: 0;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 34, 26, 0.16);
  border: 1px solid rgba(59, 13, 59, 0.08);
}
.achievements-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.achievements-stat {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(59, 13, 59, 0.08);
  box-shadow: 0 16px 40px rgba(18, 34, 26, 0.20);
}
.achievements-stat-label {
  display: block; margin-bottom: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--logo-orange);
}
.achievements-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.achievements-pillars li {
  position: relative; padding-left: 22px;
  color: var(--moto-purple); font-size: 0.88rem; font-weight: 600; line-height: 1.3;
}
.achievements-pillars li::before {
  content: '\2713'; position: absolute; left: 0; top: 1px;
  width: 15px; height: 15px; border-radius: 50%;
  background: rgba(255, 122, 0, 0.13); color: var(--logo-orange);
  font-size: 0.6rem; font-weight: 800; line-height: 15px; text-align: center;
}

.achievements-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.achievement-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid rgba(59, 13, 59, 0.08);
  border-radius: 16px; padding: 13px 18px;
  box-shadow: 0 8px 24px rgba(18, 34, 26, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.achievement-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(18, 34, 26, 0.13); }
.achievement-body h3 { margin: 0 0 2px; font-family: 'Poppins', sans-serif; font-size: 1rem; line-height: 1.3; color: var(--moto-purple); }
.achievement-body p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.section-heading { text-align: center; max-width: 760px; margin: 0 auto; }
.section-heading .section-title { margin-bottom: 14px; }
.section-heading .lead { margin: 0 auto; }
.about-achievements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.about-achievements .achievement-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; height: 100%; }

.about-us-page .volunteer-card,
.about-us-page .volunteer-info-card { min-height: 100%; }
.about-us-page .volunteer-card {
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(27,94,32,0.12);
}
.about-us-page .volunteer-info-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,122,0,0.08));
  border: 1px solid rgba(255,122,0,0.16);
}
.about-us-page .volunteer-info-card h3 { color: var(--moto-purple); }
.about-us-page .volunteer-info-card p { color: var(--text); }
.about-us-page .volunteer-benefits {
  padding-left: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 12px;
}
.about-us-page .volunteer-benefits li { position: relative; padding-left: 28px; color: var(--muted); }
.about-us-page .volunteer-benefits li::before {
  content: '\2713'; position: absolute; left: 0; top: 0; color: var(--logo-orange); font-size: 0.95rem; line-height: 1.2;
}
.about-us-page .volunteer-form-grid { display: grid; gap: 18px; }
.about-us-page .volunteer-form-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
}
.about-us-page .volunteer-form .btn { margin-top: 4px; padding: 16px 22px; }
.about-us-page .volunteer-label { color: var(--muted); }
.about-us-page .volunteer-field { min-height: 48px; }
.about-us-page .volunteer-textarea { min-height: 130px; }

/* --------------------------------------------------------------------------
   Engage with Us page
--------------------------------------------------------------------------- */
.engage-page .page-hero {
  min-height: 300px;
  padding: 120px 0 72px;
  align-items: flex-end;
}
.engage-page .page-hero::after {
  background: linear-gradient(100deg, rgba(59,13,59,0.9) 0%, rgba(59,13,59,0.72) 55%, rgba(59,13,59,0.6) 100%);
}
.engage-page .page-hero h1 { max-width: 740px; }
.engage-page .page-hero p { max-width: 720px; margin-top: 18px; }

.engage-page .section { padding: clamp(88px, 10vw, 124px) 0; }
.engage-page .section-heading .lead { font-size: 1.06rem; line-height: 1.75; }
.engage-intro .section-heading { max-width: 880px; }

.engage-form-section { background: var(--bg); }
.engage-form-section .section-heading { max-width: 680px; }

#partner-form { scroll-margin-top: 110px; }

.engage-form-card {
  max-width: 760px;
  margin: 48px auto 0;
  background: var(--white);
  border: 1px solid rgba(59, 13, 59, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(18, 34, 26, 0.12);
  padding: clamp(28px, 5vw, 48px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.engage-form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(18, 34, 26, 0.16);
}
.engage-form-card .donation-form { gap: 20px; }
.engage-form-card .donation-field-group { gap: 8px; }
.engage-form-card .donation-field-group label { color: var(--moto-purple); font-weight: 600; }
.engage-form-card input,
.engage-form-card textarea {
  width: 100%;
  border: 1px solid rgba(34, 34, 34, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.engage-form-card input:focus,
.engage-form-card textarea:focus {
  outline: none;
  border-color: var(--logo-orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
  transform: translateY(-1px);
}
.engage-form-card textarea { resize: vertical; min-height: 140px; }
.engage-form-card ::placeholder { color: var(--muted); opacity: 0.75; }

.optional-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.engage-submit {
  width: 100%;
  padding: 17px 24px;
  margin-top: 6px;
  border-radius: 14px;
  font-size: 1.05rem;
}

.engage-contact .section-heading { max-width: 680px; }

.engage-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.engage-contact-card {
  background: var(--white);
  border: 1px solid rgba(59, 13, 59, 0.08);
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 10px 30px rgba(18, 34, 26, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.engage-contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(18, 34, 26, 0.12);
}
.engage-contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.14), rgba(59, 13, 59, 0.12));
  color: var(--logo-orange);
  margin-bottom: 16px;
  transition: transform .25s ease;
}
.engage-contact-card:hover .engage-contact-icon { transform: rotate(6deg) scale(1.06); }
.engage-contact-card:nth-child(even) .engage-contact-icon {
  background: linear-gradient(135deg, rgba(59, 13, 59, 0.12), rgba(255, 122, 0, 0.1));
  color: var(--moto-purple);
}
.engage-contact-icon svg { width: 26px; height: 26px; }
.engage-contact-card h3 {
  margin: 0 0 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--logo-orange);
}
.engage-contact-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text);
  word-break: break-word;
}
.engage-contact-card a { color: var(--moto-purple); font-weight: 600; }
.engage-contact-card a:hover { color: var(--logo-orange); }

.engage-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--logo-orange), var(--moto-purple));
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}
.engage-cta::before,
.engage-cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.engage-cta::before {
  width: 420px; height: 420px; top: -180px; left: -140px;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 62%);
}
.engage-cta::after {
  width: 480px; height: 480px; bottom: -220px; right: -160px;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 62%);
}
.engage-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}
.engage-cta h2 {
  margin: 0 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.15;
}
.engage-cta p {
  margin: 0 auto 34px;
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}
.engage-cta-btn {
  background: var(--white);
  color: var(--moto-purple);
  padding: 16px 34px;
  font-size: 1.02rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.engage-cta-btn:hover {
  background: var(--moto-purple);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

@media (max-width: 980px) {
  .card-grid.two, .card-grid.three, .card-grid.four, .stats-grid, .footer-grid, .page-intro, .split-section, .about-grid, .program-list .program-card { grid-template-columns: 1fr; }
  .about-achievements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .event-grid { grid-template-columns: 1fr; }
  .achievements-grid { gap: 40px; }
  .achievements-media { position: relative; }
  .achievements-header { margin-bottom: 48px; }
  .achievement-card { padding: 13px 18px; }
  #why-work-matters { padding: 88px 0; }
  #why-work-matters .why-work-inner { gap: 28px; }
  #why-work-matters .about-image { height: 260px; align-self: start; }
  #why-work-matters .about-image img { height: 260px; }
}

@media (max-width: 680px) {
  .program-list .program-card:nth-child(even) .card-image, .program-list .program-card:nth-child(even) .card-body { order: initial; }
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: absolute; left: 16px; right: 16px; top: 96px; z-index: 1500; display: none; flex-direction: column; align-items: flex-start; background: var(--white); padding: 20px; padding-right: 48px; border-radius: 18px; box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-close { display: inline-flex; align-items: center; justify-content: center; position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--text); font-size: 1.1rem; line-height: 1; cursor: pointer; transition: color .25s ease, background-color .25s ease; }
  .nav-close:hover { color: var(--logo-orange); background: rgba(34,34,34,0.06); }
  .dropdown { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; padding: 8px 0 0 14px; display: none; }
  .nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
  .volunteer-form-row { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .job-head { flex-direction: column; align-items: flex-start; }
  .hero-section { background-attachment: scroll; }
  .achievements-grid { grid-template-columns: 1fr; gap: 28px; }
  .achievements-media { position: relative; }
  .achievements-media img { aspect-ratio: 4 / 3; }
  .achievements-stat { position: static; margin: 14px; }
  .achievements-header { margin-bottom: 40px; }
  .about-achievements { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .utility-bar { display: none; }
  .hero-content { padding-bottom: 90px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section { padding: 72px 0; }
  .cta-section { padding: 24px 22px; }
  .gallery-preview .gallery-grid { grid-template-columns: 1fr; }
  .feed-grid { grid-template-columns: 1fr; }
  .feed-card--featured .feed-image img { aspect-ratio: 4/3; }
  .feed-card--featured .feed-body { padding: 20px 22px 24px; }
}

@media (max-width: 680px) {
  .mv-banner { height: 150px; }
  .mv-title { font-size: 1rem; }
  .mv-badge { width: 56px; height: 56px; bottom: -28px; }
  .mv-body { padding: 46px 22px 24px; }
  .ticker { padding: 10px 0; }
  .ticker-label { display: none; }
  .ticker-list li { font-size: 0.82rem; }
}

@media (max-width: 980px) {
  .engage-page .page-hero { padding: 104px 0 60px; }
  .engage-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engage-cta { padding: 72px 0; }
}

@media (max-width: 560px) {
  .engage-contact-grid { grid-template-columns: 1fr; }
  .engage-form-card { padding: 26px 22px; }
  .engage-cta { padding: 64px 0; }
  .engage-cta p { font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   About Us page - scoped layout refinements
--------------------------------------------------------------------------- */
.about-us-page { overflow-x: clip; }

.about-us-page .page-hero {
  min-height: 480px;
  padding: 150px 0 92px;
  align-items: flex-end;
}
.about-us-page .page-hero::after {
  background: linear-gradient(180deg, rgba(10, 4, 12, 0.38) 0%, rgba(10, 4, 12, 0.55) 55%, rgba(10, 4, 12, 0.84) 100%);
}
.about-us-page .page-hero .container { max-width: none; }
.about-us-page .page-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  max-width: 800px;
}
.about-us-page .page-hero p {
  font-size: clamp(1.05rem, 1.15vw, 1.22rem);
  max-width: 760px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.94);
}
.about-us-page .page-hero .section-label { margin-bottom: 22px; }

.about-us-page .split-section {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 64px);
}
.about-us-page .split-section .content { padding: 8px 0 8px 8px; }
.about-us-page .split-section .content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-us-page .split-section .content .lead {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.about-us-page .about-image {
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(18, 34, 26, 0.14);
}
.about-us-page .about-image img { min-height: 460px; }

.about-us-page .card-grid.three { gap: 32px; }
.about-us-page .mv-card {
  border: 1px solid rgba(59, 13, 59, 0.08);
  box-shadow: 0 20px 45px rgba(18, 34, 26, 0.1);
}
.about-us-page .mv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(18, 34, 26, 0.16);
}
.about-us-page .mv-banner { height: 210px; }
.about-us-page .mv-body { padding: 66px 34px 34px; }
.about-us-page .mv-body p { font-size: 1rem; line-height: 1.75; }

.about-us-page .objectives-section { padding: 64px 0; }
.about-us-page .objectives-section .section-heading .section-label { margin-bottom: 10px; }
.about-us-page .objectives-section .section-heading .section-title { margin-bottom: 8px; }
.about-us-page .objective-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.about-us-page .objective-grid .card {
  border: 1px solid rgba(59, 13, 59, 0.12);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(59, 13, 59, 0.06);
}
.about-us-page .objective-grid .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(59, 13, 59, 0.12);
}
.about-us-page .objective-grid .card-body { padding: 20px 20px 22px; }
.about-us-page .objective-grid h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--moto-purple);
  margin: 0 0 6px;
}
.about-us-page .objective-grid .card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.about-us-page #achievements { padding: 64px 0; }
.about-us-page #achievements .section-heading .section-label { margin-bottom: 10px; }
.about-us-page #achievements .section-heading .section-title { margin-bottom: 8px; }
.about-us-page .about-achievements { gap: 14px; margin-top: 26px; }
.about-us-page .about-achievements .achievement-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--moto-purple);
  box-shadow: 0 12px 30px rgba(59, 13, 59, 0.24);
}
.about-us-page .about-achievements .achievement-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(59, 13, 59, 0.32);
}
.about-us-page .about-achievements .achievement-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 5px;
}
.about-us-page .about-achievements .achievement-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .about-us-page .mv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-us-page .objective-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-us-page .about-achievements { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .about-us-page .page-hero { min-height: 380px; padding: 120px 0 60px; }
  .about-us-page .about-image img { min-height: 320px; }
  .about-us-page .split-section { grid-template-columns: 1fr; }
  .about-us-page .split-section .content { padding: 0; }
}

@media (max-width: 640px) {
  .about-us-page .page-hero { min-height: 320px; padding: 100px 0 48px; }
  .about-us-page .about-image img { min-height: 260px; }
  .about-us-page .mv-grid { grid-template-columns: 1fr; }
  .about-us-page .objective-grid { grid-template-columns: 1fr; }
  .about-us-page .about-achievements { grid-template-columns: 1fr; }
  .about-us-page .mv-body { padding: 56px 22px 26px; }
}

/* --------------------------------------------------------------------------
   MOTO Basics - videos + step-by-step guides
--------------------------------------------------------------------------- */
.moto-basics-page .empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }

/* Topic filter bar */
.basics-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.basics-chip {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 18px;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all .2s ease;
}
.basics-chip:hover { border-color: var(--logo-orange); color: var(--logo-orange); }
.basics-chip.active { background: var(--logo-orange); border-color: var(--logo-orange); color: var(--white); }

/* Format badge (Video / Guide / Video + Guide) */
.basics-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.basics-badge.video { background: var(--logo-orange); }
.basics-badge.guide { background: var(--moto-purple); }
.basics-badge.both { background: linear-gradient(90deg, var(--logo-orange), var(--moto-purple)); }

/* Card media with no cover image */
.skill-media.no-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(59, 13, 59, 0.14), rgba(255, 122, 0, 0.14));
}
.skill-media-count {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--moto-purple);
}
.skill-media-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--logo-orange);
  font-size: 0.95rem;
  border: 2px solid var(--logo-orange);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Listing cards */
.basics-card { cursor: pointer; }
.basics-card:focus-visible { outline: 3px solid rgba(255, 122, 0, 0.4); outline-offset: 3px; }
.basics-card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.basics-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.basics-open { margin-top: 16px; }

/* Detail modal */
.basics-detail { position: fixed; inset: 0; z-index: 1200; display: none; }
.basics-detail.open { display: block; }
.basics-detail-backdrop { position: absolute; inset: 0; background: rgba(59, 13, 59, 0.62); backdrop-filter: blur(3px); }
.basics-detail-panel {
  position: relative;
  z-index: 1;
  margin: 3vh auto 0;
  width: min(880px, calc(100% - 24px));
  height: 94vh;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.basics-detail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.basics-detail-kicker {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--moto-purple);
}
.basics-detail-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--moto-purple);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: all .2s ease;
}
.basics-detail-close:hover { background: var(--logo-orange); color: var(--white); border-color: var(--logo-orange); }
.basics-detail-scroll { overflow-y: auto; padding: 30px 40px 44px; }

.basics-detail-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.basics-detail-meta .basics-badge { position: static; }
.basics-detail-head h2,
.basics-detail-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--moto-purple);
  margin: 14px 0 10px;
  line-height: 1.2;
}
.basics-detail-desc { color: var(--muted); font-size: 1.02rem; max-width: 72ch; line-height: 1.7; }

.basics-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 20px; }
.basics-tab {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 20px;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
}
.basics-tab.active { background: var(--logo-orange); border-color: var(--logo-orange); color: var(--white); }

.basics-video-pane .video-frame { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.basics-video-link { margin-top: 14px; }

.basics-guide-intro { color: var(--muted); font-size: 1.05rem; line-height: 1.75; max-width: 72ch; }
.basics-guide-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }

.basics-materials {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 22px;
}
.basics-materials h4 { margin: 0 0 10px; font-family: 'Poppins', sans-serif; font-size: 0.95rem; color: var(--moto-purple); }
.basics-materials ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); }
.basics-materials li::marker { color: var(--logo-orange); }

/* Step reading view */
.basics-step-view {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 34, 26, 0.06);
}
.basics-step-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.basics-step-progress[hidden] { display: none; }
.basics-step-counter { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--moto-purple); white-space: nowrap; }
.basics-step-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.basics-step-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--logo-orange), var(--moto-purple)); transition: width .3s ease; }

.basics-step-block { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 18px 0; }
.basics-step-block + .basics-step-block { border-top: 1px dashed var(--border); }
.basics-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--logo-orange), var(--moto-purple));
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.25);
  flex-shrink: 0;
}
.basics-step-content h3 { margin: 0 0 6px; font-family: 'Poppins', sans-serif; font-size: 1.15rem; color: var(--moto-purple); }
.basics-step-content p { margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.7; max-width: 70ch; }
.basics-step-media { margin: 0 0 14px; }
.basics-step-media img { width: 100%; max-width: 640px; border-radius: 14px; box-shadow: 0 12px 30px rgba(18, 34, 26, 0.12); }

.basics-step-nav { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.basics-step-nav .btn { margin: 0; }
.basics-step-nav .btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

@media (max-width: 640px) {
  .basics-detail-panel { margin: 0; width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; }
  .basics-detail-scroll { padding: 22px 18px 34px; }
  .basics-step-block { grid-template-columns: 1fr; gap: 12px; }
  .basics-step-number { width: 38px; height: 38px; font-size: 0.95rem; }
  .basics-step-view { padding: 16px; }
  .basics-step-nav { position: sticky; bottom: 0; background: var(--white); padding: 12px 0; border-top: 1px solid var(--border); margin-top: 14px; }
  .basics-step-nav .btn { flex: 1; text-align: center; }
}

