/* ============================================================
   OTRB4H.ORG — Global Stylesheet
   Shared across: index, about, services, media, donate
   ============================================================ */

/* --- VARIABLES --- */
:root {
  --primary: #2c3e50;
  --accent: #e67e22;
  --light: #ecf0f1;
  --dark: #1a252f;
  --rainbow-grad: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
}

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

/* --- RAINBOW DIVIDER --- */
.rainbow-divider {
  height: 10px;
  background: var(--rainbow-grad);
  width: 100%;
}

/* --- HEADER --- */
header {
  background: #fff;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 3000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

/* --- DESKTOP NAV --- */
nav.desktop-nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  margin-left: 20px;
  font-size: 0.9rem;
  transition: 0.3s;
}

nav.desktop-nav a:hover,
nav.desktop-nav a.active {
  color: var(--accent);
}

nav.desktop-nav a.active {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* --- HAMBURGER --- */
.hamburger {
  display: none;
  width: 26px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 3001;
  background: none;
  border: none;
  padding: 0;
  position: relative;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; width: 80%; right: 0; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- MOBILE NAV --- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
  gap: 4px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.mobile-nav.open { right: 0; }

.mobile-nav a {
  text-decoration: none;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--accent); }

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/images/Rainbow Bridge.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* --- HERO (index only) --- */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/images/Rainbow Bridge.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  margin-bottom: 15px;
  text-transform: uppercase;
  max-width: 900px;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 3vw, 1.4rem);
  max-width: 800px;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* --- BUTTONS --- */
.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-main {
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: 0.3s;
  display: inline-block;
}

.btn-donate { background: var(--accent); color: white; }
.btn-outline { background: transparent; color: white; border: 2px solid white; }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }

/* --- SHARED SECTION STYLES --- */
.section-padding { padding: 80px 5%; }

.section-tag {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-sub,
.sub {
  text-align: center;
  color: #777;
  max-width: 560px;
  margin: 0 auto 50px;
  font-size: 0.95rem;
}

/* --- CTA BAND --- */
.cta-band {
  background: var(--primary);
  color: white;
  padding: 60px 5%;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 14px;
}

.cta-band p {
  opacity: 0.75;
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1rem;
}

/* --- FOOTER --- */
footer {
  background: #111;
  color: #777;
  padding: 60px 5%;
  text-align: center;
  font-size: 0.85rem;
}

footer p { margin: 6px 0; }
footer a { color: #999; text-decoration: underline; }

.social-hub { margin-bottom: 30px; }

.social-hub h4 {
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-size: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.social-links a {
  color: #fff;
  background: #222;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: 0.3s;
  border: 1px solid #333;
}

.social-links a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-4px);
  border-color: var(--accent);
}

.wechat-id {
  display: block;
  margin-top: 12px;
  color: #888;
  font-size: 0.8rem;
}

.legal-block {
  max-width: 800px;
  margin: 20px auto 0;
  padding-top: 20px;
  border-top: 1px solid #222;
  line-height: 1.6;
}

/* ============================================================
   INDEX PAGE
   ============================================================ */

.mission-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-logo {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.formula-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
  font-weight: 800;
  font-size: 1.3rem;
  flex-wrap: wrap;
}

.formula-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mission-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #555;
  margin-top: 15px;
}

.values-section {
  background: #f9f9f9;
  padding: 80px 5%;
  text-align: center;
}

.values-section .section-title { text-align: center; margin-bottom: 10px; }
.values-section .sub { color: #666; max-width: 600px; margin: 0 auto 50px; font-size: 1rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: white;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.value-card:hover { transform: translateY(-6px); }
.value-icon { font-size: 2.4rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 10px; font-weight: 800; }
.value-card p { color: #666; font-size: 0.92rem; line-height: 1.65; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.founder-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}

.founder-photo {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  aspect-ratio: 3/4;
}

.founder-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  background: #ecf0f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.85rem;
  border: 2px dashed #ccc;
  gap: 10px;
}

.founder-photo-placeholder i { font-size: 3rem; }

.bio-body p { color: #555; font-size: 1rem; line-height: 1.75; margin-bottom: 14px; }

.credential-list { list-style: none; margin-top: 20px; }

.credential-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  color: #444;
}

.credential-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
}

.docs-section { background: #f9f9f9; padding: 80px 5%; }
.docs-section .section-title { text-align: center; }

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.doc-card {
  background: white;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: transform 0.2s;
}

.doc-card:hover { transform: translateY(-4px); }
.doc-icon { font-size: 2.2rem; margin-bottom: 4px; line-height: 1; }
.doc-card h3 { font-size: 1rem; color: var(--primary); font-weight: 800; }
.doc-card p { font-size: 0.85rem; color: #777; line-height: 1.55; flex: 1; }

.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 8px 20px;
  border: 2px solid var(--accent);
  border-radius: 50px;
  transition: 0.2s;
  margin-top: auto;
  white-space: nowrap;
}

.doc-link:hover { background: var(--accent); color: white; }
.doc-link.placeholder { color: #aaa; border-color: #ddd; cursor: not-allowed; }
.doc-link.placeholder:hover { background: transparent; color: #aaa; }

.social-about { padding: 70px 5%; text-align: center; background: #f9f9f9; }
.social-about .section-title { margin-bottom: 10px; }
.social-about .sub { color: #666; max-width: 550px; margin: 0 auto 40px; }

.social-pill-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid #e8e8e8;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.social-pill:hover {
  transform: translateX(6px);
  border-color: var(--c);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.social-pill i { font-size: 1.3rem; color: var(--c); width: 24px; text-align: center; flex-shrink: 0; }

.social-pill span { display: flex; flex-direction: column; text-align: left; }
.social-pill em { font-style: normal; font-size: 0.78rem; color: #888; font-weight: 500; }

.id-band { background: var(--primary); color: white; padding: 50px 5%; text-align: center; }

.id-band h3 {
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.6;
}

.id-chips { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.id-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.9rem;
}

.id-chip strong { color: var(--accent); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.profile-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.css-badge {
  width: 320px;
  height: 320px;
  background: white;
  border-radius: 50%;
  border: 8px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.css-badge .top-text {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.css-badge .name { font-size: 1.7rem; color: var(--primary); font-weight: 900; line-height: 1.1; margin: 10px 0; }

.css-badge .banner {
  background: var(--accent);
  color: white;
  padding: 5px 18px;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin: 10px 0;
}

.css-badge .bottom-text { font-size: 0.78rem; color: var(--primary); font-weight: 700; margin-top: 5px; }

.badge-tag {
  background: var(--accent);
  color: white;
  padding: 7px 18px;
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 18px;
  display: inline-block;
}

.history-list { list-style: none; margin-top: 20px; }

.history-list li {
  margin-bottom: 14px;
  padding-left: 30px;
  position: relative;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.history-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
}

.btn-hire {
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  margin-top: 28px;
  transition: 0.3s;
  font-size: 1rem;
}

.btn-hire:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4); }

.spec-section { background: #f9f9f9; padding: 80px 5%; text-align: center; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.spec-card {
  background: white;
  border-radius: 14px;
  padding: 30px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}

.spec-card:hover { transform: translateY(-5px); }
.spec-icon { font-size: 2rem; margin-bottom: 14px; }
.spec-card h3 { font-size: 1rem; color: var(--primary); font-weight: 800; margin-bottom: 8px; }
.spec-card p { font-size: 0.85rem; color: #777; line-height: 1.6; }

.quote-band { background: var(--primary); color: white; padding: 60px 5%; text-align: center; }

.quote-band blockquote {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.quote-band cite { font-size: 0.9rem; opacity: 0.6; letter-spacing: 1px; }

.book-section { padding: 80px 5%; text-align: center; }
.book-section .section-title { margin-bottom: 10px; }
.book-section .sub { color: #777; max-width: 550px; margin: 0 auto 40px; font-size: 0.95rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card { background: #f9f9f9; border-radius: 14px; padding: 24px; text-align: center; transition: transform 0.2s; }
.contact-card:hover { transform: translateY(-4px); }
.contact-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 12px; }
.contact-card h3 { font-size: 0.95rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.contact-card a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.9rem; }

/* ============================================================
   MEDIA PAGE
   ============================================================ */

.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid #ddd;
  background: white;
  color: #666;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tab.active,
.filter-tab:hover { background: var(--accent); border-color: var(--accent); color: white; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
}

.photo-card {
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
}

.photo-card:hover { transform: scale(1.02); }

.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #bbb;
  gap: 8px;
  background: #f0f0f0;
  border: 2px dashed #ddd;
}

.photo-placeholder i { font-size: 2.5rem; }
.photo-placeholder span { font-size: 0.78rem; color: #ccc; }
.photo-placeholder .filename { font-size: 0.7rem; color: #aaa; font-family: monospace; }

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 20px 14px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s;
}

.photo-card:hover .photo-caption { opacity: 1; }

.video-section { background: #f9f9f9; padding: 70px 5%; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.video-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s;
}

.video-card:hover { transform: translateY(-4px); }

.video-thumb {
  aspect-ratio: 16/9;
  background: #1a252f;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb img { width: 100%; height: 100%; object-fit: cover; }

.video-placeholder-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #4a6070;
  gap: 10px;
  background: #0d1b2a;
}

.video-placeholder-thumb i { font-size: 3rem; color: #e67e22; }
.video-placeholder-thumb span { font-size: 0.8rem; color: #4a6070; }

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.2s;
}

.play-overlay i { font-size: 3rem; color: white; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)); }
.video-card:hover .play-overlay { background: rgba(0, 0, 0, 0.5); }

.video-info { padding: 16px; }
.video-info h3 { font-size: 0.95rem; color: var(--primary); font-weight: 700; margin-bottom: 6px; }
.video-info p { font-size: 0.82rem; color: #888; line-height: 1.5; }
.video-info .v-meta { font-size: 0.75rem; color: #bbb; margin-top: 6px; }

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#lightbox.open { display: flex; }
#lb-img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }

#lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

#lb-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.9rem;
  opacity: 0.7;
  text-align: center;
}

.social-feed { padding: 70px 5%; text-align: center; }
.social-feed .section-title { margin-bottom: 10px; }
.social-feed .sub { color: #777; max-width: 550px; margin: 0 auto 30px; font-size: 0.95rem; }

.ig-placeholder {
  max-width: 700px;
  margin: 0 auto;
  background: #f9f9f9;
  border: 2px dashed #ddd;
  border-radius: 16px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #aaa;
}

.ig-placeholder i { font-size: 3rem; color: #e1306c; }
.ig-placeholder p { font-size: 0.9rem; }
.ig-placeholder a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* ============================================================
   DONATE PAGE
   ============================================================ */

.give-section { background: #f9f9f9; padding: 80px 5%; }

.give-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.give-card {
  background: white;
  padding: 30px 24px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s;
}

.give-card:hover { transform: translateY(-5px); }
.give-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin: 14px 0 8px; }
.give-card p { font-size: 0.88rem; color: #777; margin-bottom: 4px; }
.give-card strong { color: var(--primary); }

.qr-img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  margin: 16px 0;
  border: 1px solid #eee;
  padding: 6px;
  border-radius: 10px;
}

.qr-placeholder {
  width: 170px;
  height: 170px;
  margin: 16px 0;
  background: #f5f5f5;
  border: 2px dashed #ddd;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ccc;
  gap: 6px;
  font-size: 0.72rem;
}

.qr-placeholder i { font-size: 2rem; }

.btn-zeffy {
  display: inline-block;
  margin-top: 14px;
  padding: 11px 22px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: 0.3s;
}

.btn-zeffy:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35); }

.impact-section { padding: 80px 5%; text-align: center; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
}

.impact-stat { background: #f9f9f9; border-radius: 16px; padding: 32px 20px; }
.impact-num { font-size: 2.4rem; font-weight: 900; color: var(--accent); line-height: 1; }
.impact-label { font-size: 0.85rem; color: #777; margin-top: 8px; line-height: 1.4; }

.why-section { background: var(--primary); color: white; padding: 80px 5%; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 28px 22px;
}

.why-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 14px; }
.why-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; opacity: 0.7; line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {
  nav.desktop-nav { display: none; }
  .hamburger { display: flex; }

  .section-padding,
  .give-section,
  .impact-section,
  .why-section,
  .spec-section,
  .docs-section,
  .social-about,
  .video-section,
  .social-feed { padding: 50px 5%; }

  /* Index */
  .mission-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .mission-logo { margin: 0 auto; }
  .formula-container { justify-content: center; font-size: 1.1rem; }

  /* About */
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo, .founder-photo-placeholder { max-width: 340px; margin: 0 auto; }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }

  /* Services */
  .profile-grid { grid-template-columns: 1fr; text-align: center; }
  .css-badge { margin: 0 auto; width: 280px; height: 280px; }
  .history-list li { text-align: left; }
  .spec-grid { grid-template-columns: 1fr; }

  /* Media */
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }

  /* Donate */
  .give-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .docs-grid { grid-template-columns: 1fr; }
  .doc-card { padding: 20px 16px; }
  .social-pill { padding: 12px 14px; font-size: 0.85rem; }
  .give-grid { grid-template-columns: 1fr; }
  .section-padding,
  .docs-section,
  .social-about { padding: 32px 4%; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.text-accent   { color: var(--accent); }
.text-white    { color: white; }
.text-center   { text-align: center; }
.text-primary  { color: var(--primary); }
.mt-12         { margin-top: 12px; }
.btn-white     { background: white; color: var(--primary); }

/* Services profile section — dark bg layout */
.profile-section {
  background: var(--dark);
  padding: 80px 5%;
}

.profile-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.profile-photo {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.profile-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 1rem;
}

.history-list--light li {
  color: rgba(255, 255, 255, 0.85);
}

.history-list--light li::before {
  color: var(--accent);
}

.cap-icon {
  color: var(--primary);
  font-size: 1.6rem;
  margin: 6px 0;
}

.contact-wechat {
  color: #555;
  font-size: 0.9rem;
}

/* ============================================================
   MENTORSHIP PAGE
   ============================================================ */

.mentorship-intro-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.mentorship-body {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 16px;
}

.mentorship-stat-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mentorship-stat-card {
  background: #f9f9f9;
  border-radius: 14px;
  padding: 24px 28px;
  border-left: 4px solid var(--accent);
}

.mentorship-stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.mentorship-stat-label {
  font-size: 0.88rem;
  color: #777;
  margin-top: 6px;
  line-height: 1.4;
}

.mentorship-offer-section {
  background: #f9f9f9;
  padding: 80px 5%;
  text-align: center;
}

.mentorship-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.mentorship-offer-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-align: left;
  transition: transform 0.2s;
}

.mentorship-offer-card:hover { transform: translateY(-5px); }

.mentorship-offer-card i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.mentorship-offer-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.mentorship-offer-card p {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.65;
}

.mentorship-steps {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mentorship-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mentorship-step:last-child { border-bottom: none; }

.step-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
}

.step-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.65;
}

@media (max-width: 1000px) {
  .mentorship-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .mentorship-offer-grid { grid-template-columns: 1fr 1fr; }
  .mentorship-offer-section { padding: 50px 5%; }
}

@media (max-width: 600px) {
  .mentorship-offer-grid { grid-template-columns: 1fr; }
}
