/* ============================================================
   THEKCHEN CHOLING MELAKA — style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&family=Noto+Serif+SC:wght@400;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --gold:        #C9921A;
  --gold-light:  #E8B84B;
  --gold-pale:   #F5DFA0;
  --dark:        #1A1108;
  --dark-brown:  #2C1A06;
  --brown-mid:   #4A2C0A;
  --cream:       #FDF6EC;
  --cream-light: #FFF9F2;
  --text-dark:   #2C1A06;
  --text-mid:    #5C3D15;
  --text-light:  #8A6030;
  --white:       #FFFFFF;
  --orange-cta:  #C0521A;
  --orange-hover:#A03E10;
  --shadow:      0 4px 24px rgba(0,0,0,0.15);
  --shadow-gold: 0 4px 20px rgba(201,146,26,0.25);
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  0.3s ease;
  --font-heading:'Cinzel', serif;
  --font-body:   'Lato', sans-serif;
  --font-chinese:'Noto Serif SC', serif;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── TOP BAR ───────────────────────────────────────────────── */
.topbar {
  background: var(--dark);
  color: #ccc;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--brown-mid);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-left span, .topbar-right a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ccc;
}
.topbar-right a:hover { color: var(--gold-light); }
.topbar-right .lang a { color: var(--gold-light); font-weight: 600; }
.topbar-right .lang span { color: #777; margin: 0 4px; }

/* ── NAVIGATION ────────────────────────────────────────────── */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid var(--gold-pale);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 10px;
  flex-wrap: nowrap;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-logo img { height: 50px; width: auto; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text .en {
  font-family: var(--font-heading);
  font-size: 11px;
  color: var(--dark-brown);
  font-weight: 700;
  letter-spacing: 0.2px;
  max-width: 140px;
  line-height: 1.3;
}
.nav-logo-text .cn {
  font-family: var(--font-chinese);
  font-size: 20px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1px;
  flex-wrap: nowrap;
}
.nav-links > li > a {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--gold);
}
.nav-links > li > a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-links .btn-donate {
  background: var(--gold);
  color: var(--white) !important;
  padding: 7px 14px !important;
  border-radius: 50px !important;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  font-size: 16px !important;
}
.nav-links .btn-donate:hover {
  background: var(--gold-light);
}
.nav-links .btn-contact {
  color: var(--text-dark);
  border: 1.5px solid #ddd;
  border-radius: 50px;
  font-size: 16px !important;
  padding: 7px 12px !important;
}
.nav-links .btn-contact:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-brown);
  border-radius: 2px;
  transition: var(--transition);
}
.disable-link {
    pointer-events: none;
    color: #999999;
    cursor: not-allowed;
    text-decoration: none;
}
  .nav-links li {
      position: relative;
    }
    .nav-links li a .dropdown-arrow {
      font-size: 11px;
      margin-left: 4px;
      transition: transform 0.25s ease;
      display: inline-block;
    }
    .nav-links li:hover > a .dropdown-arrow {
      transform: rotate(180deg);
    }
    .nav-dropdown {
      display: none;
      position: absolute;
      top: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%);
      min-width: 210px;
      background: #fff;
      border: 1px solid rgba(200,146,42,0.20);
      border-top: 3px solid #C8922A;
      border-radius: 0 0 10px 10px;
      box-shadow: 0 8px 30px rgba(26,15,5,0.13);
      z-index: 1000;
      padding: 6px 0;
      list-style: none;
    }
    .nav-links li:hover > .nav-dropdown {
      display: block;
    }
    .nav-dropdown li {
      position: static;
    }
    .nav-dropdown li a {
      display: flex !important;
      align-items: center;
      gap: 9px;
      padding: 10px 18px !important;
      font-size: 14px !important;
      color: #4A3728 !important;
      white-space: nowrap;
      transition: background 0.2s, color 0.2s;
      border-radius: 0 !important;
    }
    .nav-dropdown li a i {
      color: #C8922A;
      font-size: 13px;
      width: 16px;
      text-align: center;
      flex-shrink: 0;
    }
    .nav-dropdown li a:hover {
      background: #FDF6EC;
      color: #C8922A !important;
    }
    .nav-dropdown li a:hover i {
      color: #9A6E1E;
    }
    .nav-dropdown li a.active::after {
      display: none !important;
    }
    .nav-dropdown-divider {
      height: 1px;
      background: rgba(200,146,42,0.15);
      margin: 5px 0;
    }

    /* Mobile dropdown */
    @media (max-width: 768px) {
      .nav-dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid #C8922A;
        border-top: none;
        border-radius: 0;
        background: #FDF6EC;
        padding: 0;
        display: none;
      }
      .nav-links li.mobile-open > .nav-dropdown {
        display: block;
      }
      .nav-dropdown li a {
        padding: 9px 20px !important;
        font-size: 13px !important;
      }
    }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 263px;
}
.hero-tag {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
  font-weight: 700;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 54px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
}
.hero h1 span { color: var(--gold-light); }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange-cta);
  color: var(--white);
  border-color: var(--orange-cta);
}
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-outline-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-dark:hover { border-color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-cta-orange {
  background: var(--orange-cta);
  color: var(--white);
}
.btn-cta-orange:hover { background: var(--orange-hover); }

/* ── STATS BAR ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-radius: var(--radius);
  margin: 0 auto 50px;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 20px;
  position: relative;
  z-index: 3;
  margin-top: -30px;
  border-top: 3px solid var(--gold-pale);
}
.stat-item {
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid #eee;
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-brown);
}
.stat-sub {
  font-size: 13px;
  color: var(--text-light);
}

/* ── SECTION COMMON ────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--cream); }

.section-title {
  text-align: center;
  margin-bottom: 10px;
}
.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--dark-brown);
  position: relative;
  display: inline-block;
  padding: 0 20px;
}
.section-title h2::before,
.section-title h2::after {
  content: '—';
  color: var(--gold);
  margin: 0 8px;
  opacity: 0.7;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 17px;
  margin-bottom: 36px;
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 30px;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-pale));
}
.section-divider span { font-size: 18px; }

/* ── OFFERINGS GRID ────────────────────────────────────────── */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.offering-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
}
.offering-card .card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  position: relative;
}
.offering-card .card-img-wrap {
  position: relative;
}
.offering-card .card-icon {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold);
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  border: 2px solid var(--gold-pale);
}
.offering-card .card-body {
  padding: 28px 16px 20px;
  text-align: center;
}
.offering-card .card-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--dark-brown);
  margin-bottom: 5px;
}
.offering-card .card-body p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.5;
}
.offering-card .btn-offer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--orange-cta);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 50px;
  transition: var(--transition);
}
.offering-card .btn-offer:hover { background: var(--orange-hover); }

/* ── EVENTS SECTION ────────────────────────────────────────── */
.events-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.events-header h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--dark-brown);
  display: flex;
  align-items: center;
  gap: 10px;
}
.events-header a {
  font-size: 15px;
  color: var(--orange-cta);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.events-header a:hover { color: var(--orange-hover); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.event-card:hover { transform: translateY(-4px); }
.event-card .event-img-wrap {
  position: relative;
}
.event-card .event-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.event-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--orange-cta);
  color: var(--white);
  border-radius: 8px;
  padding: 4px 8px;
  text-align: center;
  line-height: 1.1;
  font-weight: 700;
  min-width: 42px;
}
.event-badge .month { font-size: 11px; text-transform: uppercase; }
.event-badge .day { font-size: 18px; }
.event-card .event-body {
  padding: 14px;
}
.event-card .event-body h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--dark-brown);
  margin-bottom: 8px;
}
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}
.event-meta span {
  font-size: 14px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}
.event-meta span i { color: var(--gold); }

.btn-register {
  display: block;
  text-align: center;
  background: var(--orange-cta);
  color: var(--white);
  padding: 9px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-register:hover { background: var(--orange-hover); }
.btn-join {
  display: block;
  text-align: center;
  background: var(--dark-brown);
  color: var(--white);
  padding: 9px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-join:hover { background: var(--brown-mid); }

/* ── DHARMA VIDEO + QUOTE ──────────────────────────────────── */
.dharma-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.dharma-video {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--dark);
  min-height: 220px;
}
.dharma-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.dharma-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.dharma-video-overlay h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 18px;
  margin-bottom: 4px;
}
.dharma-video-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-bottom: 14px;
}
.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FF0000;
  color: var(--white);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  width: fit-content;
  transition: var(--transition);
}
.btn-watch:hover { background: #cc0000; }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.play-btn:hover { background: rgba(255,255,255,0.35); }

.quote-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--gold-pale);
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: '"';
  font-size: 140px;
  line-height: 1;
  color: var(--gold-pale);
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: Georgia, serif;
  pointer-events: none;
}
.quote-text {
  font-size: 20px;
  font-style: italic;
  color: var(--dark-brown);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}
.quote-author {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.quote-dots {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}
.quote-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-pale);
}
.quote-dots span.active { background: var(--gold); }

/* ── SPIRITUAL SERVICES ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-pale);
}
.service-icon {
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 12px;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--dark-brown);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── DONATE BANNER ─────────────────────────────────────────── */
.donate-banner {
  position: relative;
  background:
    linear-gradient(to right, rgba(10,5,0,0.75), rgba(10,5,0,0.6)),
    url('assets/donate-bg.jpg') center/cover no-repeat;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 0 60px;
}
.donate-banner-text h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--white);
  margin-bottom: 10px;
}
.donate-banner-text p {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  max-width: 480px;
  line-height: 1.7;
}
.donate-banner-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-donate-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-brown);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  transition: var(--transition);
  border: 2px solid var(--gold-pale);
}
.btn-donate-banner:hover {
  background: var(--brown-mid);
}
.secure-badge {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 5px;
}
.secure-badge::before { content: '🔒'; }

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 50px 0 0;
  border-top: 3px solid var(--brown-mid);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand .logo-wrap img { height: 50px; }
.footer-brand .brand-name-en {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--white);
  font-weight: 700;
}
.footer-brand .brand-name-cn {
  font-family: var(--font-chinese);
  font-size: 17px;
  color: var(--gold);
}
.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brown-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  color: var(--white);
}
.social-links a:hover { background: var(--gold); }

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 17px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--brown-mid);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  align-items: flex-start;
}
.footer-contact-item i {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  margin: 14px 0;
}
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--brown-mid);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-radius: 50px 0 0 50px;
  font-size: 15px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  font-size: 15px;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--gold-light); }

.subscribe-checks { display: flex; flex-direction: column; gap: 6px; }
.subscribe-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}
.subscribe-checks input[type="checkbox"] { accent-color: var(--gold); }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ── BACK TO TOP ───────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
  text-decoration: none;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold-light); }

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE STYLES
   ══════════════════════════════════════════════════════════════ */

/* ── About Hero Banner ─────────────────────────────────────── */
.hero-about {
  background: url("20.png") center/cover no-repeat;
  min-height: 320px;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-about::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,15,5,0.72) 0%, rgba(61,43,31,0.55) 100%);
}
.hero-about-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  padding: 60px 24px;
}
.hero-about-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 12px;
}
.hero-about-content h1 .highlight { color: var(--gold-light); }
.hero-about-content p {
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
}
.hero-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.hero-divider span {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
.hero-divider i { color: var(--gold-light); font-size: 1.2rem; }

/* ── Ornament divider ──────────────────────────────────────── */
.ornament {
  text-align: center;
  margin: 4px 0 10px;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 6px;
  opacity: .7;
}

/* ── Who We Are ──────────────────────────────────────────────── */
.who-section {
  padding: 70px 0 60px;
  background: var(--cream);
}
.who-grid {
  display: grid;
  grid-template-columns: 300px 1fr 220px;
  gap: 36px;
  align-items: start;
}
.who-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26,15,5,0.16);
  border: 3px solid #F5E8D0;
}
.who-img img { width: 100%; height: 260px; object-fit: cover; }
.who-text h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--dark-brown);
  margin-bottom: 6px;
}
.who-text p {
  font-size: 17px;
  color: #5a4535;
  line-height: 1.8;
  margin-top: 12px;
}
.vision-mission { display: flex; flex-direction: column; gap: 16px; }
.vm-card {
  background: #F8F4EF;
  border: 1px solid rgba(200,146,42,0.25);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.vm-card .icon { font-size: 1.6rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.vm-card h4 { font-family: var(--font-heading); font-size: 0.85rem; color: #9A6E1E; margin-bottom: 4px; letter-spacing: 1px; text-transform: uppercase; }
.vm-card p { font-style: italic; font-size: 0.95rem; color: var(--dark-brown); font-weight: 600; line-height: 1.4; }

/* ── Journey Timeline ────────────────────────────────────────── */
.journey-section {
  padding: 65px 0;
  position: relative;
  background: url("background.jpeg") no-repeat center center;
  background-size: cover;
}
.journey-section .section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--dark-brown);
  text-align: center;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 36px;
}
.journey-section .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 10px auto 0;
}
.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  gap: 0;
  flex-wrap: wrap;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 30px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
}
.tl-item {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  text-align: center;
  padding: 0 10px;
  position: relative;
}
.tl-icon {
  width: 60px; height: 60px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(200,146,42,0.35);
  position: relative;
  z-index: 2;
}
.tl-year {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 6px;
}
.tl-desc { font-size: 17px; color: #6b5040; line-height: 1.5; }

/* ── Spiritual Director ──────────────────────────────────────── */
.spiritual-section {
  padding: 65px 0;
  background: var(--cream);
}
.spiritual-grid {
  display: grid;
  grid-template-columns: 320px 1fr 240px;
  gap: 40px;
  align-items: start;
}
.spiritual-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26,15,5,0.16);
  border: 3px solid #F5E8D0;
}
.spiritual-img img { width: 100%; height: 200px; object-fit: cover; }
.spiritual-text .label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.spiritual-text h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--dark-brown);
  margin-bottom: 14px;
}
.spiritual-text p { font-size: 17px; color: #5a4535; line-height: 1.9; margin-bottom: 10px; }
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  transition: background var(--transition), transform var(--transition);
}
.btn-play:hover { background: #9A6E1E; transform: translateY(-1px); }
.btn-play .play-icon { font-size: 1rem; }
.dharma-list h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--dark-brown);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.dharma-list ul { display: flex; flex-direction: column; gap: 10px; }
.dharma-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-dark);
}
.dharma-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ── About Temple Services ───────────────────────────────────── */
.about-services-section {
  padding: 65px 0;
  background: var(--cream);
}
.about-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 20px;
}
.about-service-card {
  background: var(--white);
  border: 1px solid rgba(200,146,42,0.25);
  border-radius: var(--radius);
  padding: 28px 16px 22px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(26,15,5,0.16);
}
.about-service-card .icon { font-size: 2rem; color: var(--gold); margin-bottom: 12px; }
.about-service-card h4 { font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--dark-brown); margin-bottom: 8px; }
.about-service-card p { font-size: 16px; color: #7a6050; line-height: 1.5; }

/* ── About Gallery ───────────────────────────────────────────── */
.gallery-section {
  padding: 65px 0;
  background: var(--cream);
}
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.gallery-tabs button {
  background: #F8F4EF;
  border: 1px solid rgba(200,146,42,0.25);
  border-radius: 30px;
  padding: 7px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-tabs button.active,
.gallery-tabs button:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background: #F5E8D0;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-more { text-align: center; margin-top: 24px; }
.btn-gallery-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-gallery-outline:hover { background: var(--gold); color: var(--white); }

/* ── Community Outreach ──────────────────────────────────────── */
.outreach-section {
  padding: 65px 0;
  background: url("background.jpeg") no-repeat center center;
  background-size: cover;
}
.outreach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}
.outreach-card {
  background: var(--white);
  border: 1px solid rgba(200,146,42,0.25);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.outreach-card:hover { transform: translateY(-3px); box-shadow: 0 4px 24px rgba(26,15,5,0.10); }
.outreach-card .icon { font-size: 2rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.outreach-card h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--dark-brown); margin-bottom: 6px; }
.outreach-card p { font-size: 16px; color: #6b5040; line-height: 1.6; }

/* ── Responsive – About page extras ─────────────────────────── */
@media (max-width: 1024px) {
  .who-grid          { grid-template-columns: 1fr 1fr; }
  .who-img           { grid-column: 1 / -1; }
  .vision-mission    { flex-direction: row; }
  .spiritual-grid    { grid-template-columns: 1fr 1fr; }
  .spiritual-img     { grid-column: 1 / -1; }
  .gallery-grid      { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .who-grid          { grid-template-columns: 1fr; }
  .spiritual-grid    { grid-template-columns: 1fr; }
  .vision-mission    { flex-direction: column; }
  .timeline::before  { display: none; }
  .tl-item           { min-width: 120px; }
  .gallery-grid      { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   END ABOUT PAGE STYLES
   ══════════════════════════════════════════════════════════════ */

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid #eee; padding: 14px; }
  .stat-item:nth-child(odd) { border-right: 1px solid #eee; }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 24px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .navbar .container { flex-wrap: wrap; position: relative; }

  .hero { min-height: 400px; }
  .hero-btns { flex-direction: column; }
  .dharma-section { grid-template-columns: 1fr; }
  .donate-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; max-width: 100%; border-radius: 0; }
  .offerings-grid { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .offerings-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
}