 :root {
      --primary: #0d6efd;
      --accent: #198754;
      --muted: #6b7280;
      --nav-height: 64px;

      --timeline-line: #16a34a;
      --timeline-bg: #ffffff;
      --timeline-light: #f9fafb;
    }

    * { box-sizing: border-box; }

    html, body {
      height: 100%;
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
      background-color: #f3f4f6;
      color: #111827;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4, h5 {
      font-family: "DM Serif Display", "Times New Roman", serif;
      letter-spacing: 0.02em;
      color: #343434;
    }

    a { text-decoration: none; }

    /* NAVBAR */
    .navbar-main {
      position: fixed;
      top: 0;
      inset-inline: 0;
      z-index: 1040;
      padding-block: 0.4rem;
      background: transparent;
      -webkit-backdrop-filter: blur(16px);
      transition: background-color 0.2s ease;
    }

    .navbar-main.navbar-scrolled {
      box-shadow: 0 6px 18px rgba(15,23,42,0.15);
      background: #ffffff;
    }

    .navbar-brand span {
      font-weight: 600;
      font-size: 1rem;
      line-height: 1.1;
    }

    .navbar-brand small {
      font-size: 0.75rem;
      color: #000000;
      display: block;
    }

    .navbar-main .nav-link {
      font-size: 0.9rem;
      font-weight: 500;
      color: #111827;
      opacity: 0.9;
    }

    .navbar-main .nav-link:hover {
      opacity: 1;
      color: var(--primary);
    }

    .navbar-main .btn {
      font-size: 0.8rem;
      font-weight: 500;
    }

    .navbar-main img.logo {
      max-height: 40px;
      width: auto;
    }

    /* HERO */
    .hero {
      position: relative;
      min-height: 100vh;
      padding-top: calc(var(--nav-height) + 1.5rem);
      display: flex;
      align-items: center;
      color: #ffffff;
      background-image:
        url("../images/web_banner.webp");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .hero-card {
      background: rgba(15,23,42,0.5);
      border-radius: 18px;
      padding: 2rem 1.6rem;
      box-shadow: 0 18px 40px rgba(15,23,42,0.6);
      max-width: 760px;
    }

    .hero-badge {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-weight: 600;
      color: #bfdbfe;
      margin-bottom: 0.6rem;
    }

    .hero-title {
      font-size: clamp(2.2rem, 4vw, 3.2rem);
      margin-bottom: 0.4rem;
      color: #f9fafb;
    }

    .hero-sub {
      font-size: 1rem;
      color: #e5e7eb;
      max-width: 38rem;
    }

    .hero-cta .btn { min-width: 150px; }

    .hero-cta .btn-primary {
      background: linear-gradient(135deg,#f97316,#facc15);
      border: none;
      color: #111827;
    }

    .hero-cta .btn-primary:hover {
      filter: brightness(1.05);
    }

    .hero-cta .btn-outline-light {
      border-color: rgba(248,250,252,0.8);
    }

    .hero-meta {
      margin-top: 1.4rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      font-size: 0.8rem;
    }

    .hero-meta span {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.35rem 0.7rem;
      border-radius: 999px;
      background: rgba(15,23,42,0.85);
      color: #e5e7eb;
    }

    .hero-meta span strong { color: #facc15; }

    .hero-note {
      margin-top: 0.8rem;
      font-size: 0.8rem;
      color: #e5e7eb;
      opacity: 0.95;
    }

    /* SECTIONS */
    section { scroll-margin-top: calc(var(--nav-height) + 12px); }

    .section-wrapper { padding-block: 3.5rem; }

    .section-card {
      background: #ffffff;
      border-radius: 16px;
      padding: 1.5rem 1.6rem;
      box-shadow: 0 10px 30px rgba(15,23,42,0.06);
      border: 1px solid rgba(226,232,240,0.9);
    }

    .stat-card {
      border-radius: 14px;
      background: linear-gradient(180deg,#ffffff 0%,#eff6ff 100%);
      padding: 0.9rem;
      border: 1px solid rgba(191,219,254,0.9);
    }

    .section-about {
      background:
        radial-gradient(circle at top left, rgba(249,115,22,0.09), transparent 35%),
        #f9fafb;
    }

    .section-journey { background: #a8c8e8; }
    .section-timeline { background: #ffffff; }
    .section-issues { background: #fefce8; }
    .section-vision { background: #ecfeff; }
    .section-activities { background: #ffffff; }
    .section-gallery { background: #5673f4; color: #e5e7eb; }
    .section-gallery h2 { color: #f9fafb; }
    .section-volunteer { background: #ffffff; }

    .gallery-img {
      object-fit: cover;
      width: 100%;
      height: 180px;
      border-radius: 12px;
      box-shadow: 0 14px 28px rgba(15,23,42,0.8);
    }

    footer {
      background: #0f172a;
      color: #9ca3af;
    }

    footer .fw-bold { color: #e5e7eb; }

    footer a {
      color: #9ca3af;
      font-size: 0.85rem;
    }

    footer a:hover { color: #f97316; }

    /* ==== BIOGRAPHY TIMELINE (center line, alternating cards) ==== */

    .timeline-background {
        background-image:
        url("../images/banner_main.jpg");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    .timeline-bio {
      position: relative;
      max-width: 1100px;
      margin: 1.5rem auto 0;
      padding: 1.5rem 0;
    }

    .timeline-bio::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 4px;
      background: var(--timeline-line);
      border-radius: 999px;
    }

    .timeline-item {
      position: relative;
      margin-bottom: 3rem;
    }

    .timeline-node {
      position: absolute;
      left: 50%;
      transform: translate(-50%, 0);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #ffffff;
      border: 3px solid #16a34a;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.78rem;
      font-weight: 700;
      color: #16a34a;
      z-index: 2;
      box-shadow: 0 4px 12px rgba(15,23,42,0.12);
    }

    .timeline-content {
      position: relative;
      width: 50%;
      padding: 0 1.5rem;
    }

    .timeline-content-left {
      margin-left: 0;
      margin-right: 50%;
      text-align: right;
    }

    .timeline-content-right {
      margin-left: 50%;
      margin-right: 0;
      text-align: left;
    }

    .timeline-card {
      display: inline-block;
      max-width: 100%;
      background: var(--timeline-bg);
      border-radius: 14px;
      padding: 1.3rem 1.4rem;
      box-shadow: 0 12px 26px rgba(15,23,42,0.08);
      border: 1px solid #e5e7eb;
    }

    .timeline-title {
      font-size: 1.1rem;
      margin-bottom: 0.25rem;
      color: #111827;
    }

    .timeline-subtitle {
      font-size: 0.9rem;
      color: #4b5563;
      margin-bottom: 0.3rem;
    }

    .timeline-date {
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #16a34a;
      margin-bottom: 0.4rem;
    }

    .timeline-body {
      font-size: 0.88rem;
      color: #6b7280;
      margin-bottom: 0;
      line-height: 1.5;
    }

    .timeline-tag {
      display: inline-block;
      margin-top: 0.3rem;
      font-size: 0.75rem;
      padding: 2px 8px;
      border-radius: 999px;
      background: #e0f2fe;
      color: #0369a1;
    }

    @media (max-width: 768px) {
      .hero {
        background-image: url("../images/closeup.png");
        padding-top: calc(var(--nav-height) + 1rem);
        align-items: flex-start;
      }
      .hero-card {
      background: rgba(15,23,42,0.5);
        margin-top: 6rem;
        padding: 1.6rem 1.2rem;
      }
      .hero-title { font-size: 1.9rem; }
      .hero-sub { font-size: 0.94rem; }
      .section-wrapper { padding-block: 3rem; }

      .timeline-bio::before {
        left: 24px;
        transform: none;
      }
      .timeline-node {
        left: 24px;
        transform: translate(-50%,0);
      }
      .timeline-content,
      .timeline-content-left,
      .timeline-content-right {
        width: 100%;
        margin: 0;
        padding-left: 3.5rem;
        padding-right: 0.5rem;
        text-align: left;
      }
      .timeline-card { width: 100%; }
    }

    /* Recent Activities carousel block */
    .activities-bg {
      border-radius: 20px;
      padding: 1.5rem;
      background: radial-gradient(circle at top left, rgba(249,115,22,0.25), transparent 55%),
                  radial-gradient(circle at bottom right, rgba(34,197,94,0.25), transparent 55%),
                  #fdfdfd;
      box-shadow: 0 20px 40px rgba(15,23,42,0.18);
    }

    .activity-img {
      width: 100%;
      border-radius: 22px;
      object-fit: cover;
      box-shadow: 0 10px 30px rgba(15,23,42,0.35);
    }

    .activity-title {
      font-size: 1.2rem;
      color: #b91c1c; /* deep red like sample */
      margin-bottom: 0.3rem;
    }

    .activity-text {
      font-size: 0.95rem;
      color: #1f2937;
    }

    /* Cards in Party & Social / service sections */
    .pill-heading {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: .12em;
      color: var(--muted);
      font-weight: 600;
      margin-bottom: .3rem;
    }

  #myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: rgb(27, 10, 134); /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}