:root {
            --primary-green: #438a70;
            --dark-green: #2c4a3a;
            --green: #2d7a4f;
            --green-light: #3a9e68;
            --green-dark: #1b5236;
            --gold: #c9a84c;
            --cream: #f7f4ef;
            --dark: #1a1a1a;
            --gray: #6b7280;
        }

        body { 
            font-family: 'Segoe UI', 'DM Sans', sans-serif; 
            margin: 0; 
            background: var(--cream);
            color: var(--dark);
            overflow-x: hidden;
        }

        /* --- STICKY HEADER LOGIC --- */
        #mainHeader {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            z-index: 1050;
            transition: all 0.4s ease-in-out;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        #mainHeader.scrolled {
            top: 0;
            width: 100%;
            border-radius: 0;
        }

        .topbar {
            background-color: var(--dark-green);
            color: white;
            font-size: 13px;
            padding: 8px 25px;
            transition: all 0.3s ease;
        }

        #mainHeader.scrolled .topbar {
            margin-top: -40px;
            opacity: 0;
        }

        .navbar { padding: 15px 25px; background: white !important; }
        .navbar-brand { color: var(--primary-green) !important; font-weight: 700; font-size: 26px; }
        .btn-donate { background-color: #5cb874; color: white; border-radius: 4px; padding: 8px 20px; font-weight: 600; text-decoration: none; }

        /* --- HERO SLIDER STYLE --- */
        .hero-slider .carousel-item {
            height: 100vh;
            min-height: 600px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        /* Overlay Gelap agar teks terbaca */
        .hero-slider .carousel-item::before {
            content: "";
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.7);
        }

        .carousel-caption {
            top: 60%;
            transform: translateY(-50%);
            bottom: auto;
            text-align: center;
        }

        /* Animasi halusan untuk Carousel */
        .carousel-fade .carousel-item { transition-duration: 1.5s; }

        /* --- SECTION LAIN --- */
        * --- ABOUT SECTION --- */
        .about-section { padding: 80px 0; background: white; }
        .about-badge { color: var(--primary-green); font-weight: 600; text-transform: uppercase; font-size: 14px; }
        .about-title { font-weight: 700; color: #333; margin-top: 10px; }
        
        .tab-box { background-color: #f1f8f5; padding: 30px; border-radius: 4px; margin-top: 25px; }
        .nav-tabs-custom .nav-link {
            border: none;
            background: white;
            margin-right: 10px;
            color: #333;
            padding: 10px 25px;
            font-weight: 500;
        }
        .nav-tabs-custom .nav-link.active {
            background-color: var(--dark-green);
            color: white;
        }
        .btn-readmore { background-color: #5cb874; color: white; border: none; padding: 10px 25px; margin-top: 20px; border-radius: 4px; }

        .btn-up {
            position: fixed; bottom: 20px; right: 20px; background: #5cb874; color: white;
            width: 40px; height: 40px; border-radius: 5px; display: flex; align-items: center; justify-content: center;
            z-index: 1000;
        }

        h1, h2, h3, h4 {
      font-family: 'Playfair Display', serif;
    }

    /* ── LABEL ── */
    .section-label {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--green);
    }

    /* ══════════════════════════════════════
       SECTION 1 – SERVICES / CAUSES
    ══════════════════════════════════════ */
    #services {
      padding: 100px 0 60px;
      background: var(--cream);
    }

    /* Cards overlap hero above via negative margin (simulated here) */
    .services-cards-wrapper {
      margin-top: -60px;
      position: relative;
      z-index: 10;
    }

    .service-card {
      position: relative;
      border-radius: 0px;
      overflow: hidden;
      height: 340px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.22);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      cursor: pointer;
    }

    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    }

    .service-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s ease;
    }

    .service-card:hover img {
      transform: scale(1.07);
    }

    /* gradient overlay */
    .service-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(20,50,30,0.9) 40%, rgba(20,50,30,0.2) 100%);
    }

    .service-card-body {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 2;
      padding: 28px 24px;
    }

    .service-badge {
      display: inline-block;
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #fff;
      background: var(--green);
      padding: 4px 10px;
      border-radius: 3px;
      margin-bottom: 10px;
    }

    .service-card h4 {
      font-size: 1.35rem;
      color: #fff;
      margin-bottom: 6px;
      line-height: 1.25;
    }

    .service-card p {
      font-size: 0.8rem;
      color: rgba(255,255,255,0.75);
      margin: 0;
      line-height: 1.5;
    }

    .btn-donate-all {
      background: var(--green);
      color: #fff;
      border: none;
      border-radius: 0px;
      padding: 13px 38px;
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      transition: background 0.25s, transform 0.25s;
    }

    .btn-donate-all:hover {
      background: var(--green-dark);
      color: #fff;
      transform: translateY(-2px);
    }

    /* arrow btn */
    .arrow-btn {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 2px solid var(--green);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--green);
      transition: background 0.25s, color 0.25s;
      text-decoration: none;
    }
    .arrow-btn:hover { background: var(--green); color: #fff; }

    /* ─── ACHIEVEMENT BANNER ─── */
    #achievement {
      background: url('https://images.unsplash.com/photo-1532996122724-e3c354a0b15b?w=1600&q=80') center/cover no-repeat fixed;
      position: relative; padding: 90px 0;
    }
    #achievement::before { content:''; position:absolute; inset:0; background: rgba(0,0,0,.7); }
    #achievement .container { position: relative; z-index: 2; }
    .stat-box { text-align: center; padding: 30px 20px; border: 1px dashed rgba(255,255,255,.3); border-radius: 8px; }
    .stat-box i { font-size: 2.5rem; color: var(--cream); }
    .stat-box h3 { font-size: 2rem; font-weight: 900; color: var(--green); margin: 8px 0 4px; font-family:'DM Sans',sans-serif; }
    .stat-box p { color: #ccc; font-size: .9rem; margin: 0; }
    .stat-box1 { text-align: center; padding: 5px 5px; border: 1px dashed rgba(255,255,255,.3); border-radius: 8px; margin-top: 5px; }
    .btn-join {
      background: transparent;
      color: #fff;
      border: 2px solid var(--green-light);
      border-radius: 8px;
      padding: 13px 40px;
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      transition: background 0.25s, color 0.25s, transform 0.25s;
    }

    .btn-join:hover {
      background: var(--green-light);
      color: #fff;
      transform: translateY(-2px);
    }

    #eventCarousel .carousel-item {
        transition: transform 1.2s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    }

    #eventCarousel .card-wrapper {
        padding: 0 12px;
        height: 100%;
    }

    .nav-arrow {
        font-size: 1.2rem;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        border: none;
    }
    
    .nav-arrow:hover {
        background-color: #2d5a34 !important;
    }

    .carousel-control-prev-icon, 
    .carousel-control-next-icon {
        display: none;
    }

    /* ══════════════════════════════════════
       SECTION 3 – RECENT CAUSES
    ══════════════════════════════════════ */
    #recent-causes {
      padding: 100px 0;
      background: #fff;
    }

    .cause-card {
      border-radius: 14px;
      overflow: hidden;
      border: none;
      box-shadow: 0 8px 30px rgba(0,0,0,0.08);
      transition: transform 0.35s ease, box-shadow 0.35s ease;
    }

    .cause-card:hover {
      transform: translateY(-7px);
      box-shadow: 0 20px 48px rgba(0,0,0,0.15);
    }

    .cause-img-wrap {
      position: relative;
      height: 200px;
      overflow: hidden;
    }

    .cause-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .cause-card:hover .cause-img-wrap img {
      transform: scale(1.07);
    }

    .donate-now-badge {
      position: absolute;
      top: 14px;
      right: 14px;
      background: var(--green);
      color: #fff;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 4px;
    }

    .cause-meta {
      display: flex;
      gap: 10px;
      font-size: 0.7rem;
      color: var(--gray);
      margin-bottom: 8px;
    }

    .cause-meta span { display: flex; align-items: center; gap: 4px; }

    .cause-card .card-body {
      padding: 22px;
    }

    .cause-card h5 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .progress {
      height: 6px;
      border-radius: 3px;
      background: #e9ecef;
      margin: 14px 0 6px;
    }

    .progress-bar {
      background: var(--green);
      border-radius: 3px;
    }

    .raised-info {
      display: flex;
      justify-content: space-between;
      font-size: 0.72rem;
      color: var(--gray);
    }

    .raised-info strong { color: var(--green); }

    .btn-read-more {
      background: transparent;
      color: var(--green);
      border: 2px solid var(--green);
      border-radius: 7px;
      padding: 8px 24px;
      font-size: 0.78rem;
      font-weight: 600;
      transition: background 0.25s, color 0.25s;
      margin-top: 16px;
      width: 100%;
    }

    .btn-read-more:hover {
      background: var(--green);
      color: #fff;
    }


    .section-title { color: #2d5a27; font-weight: bold; letter-spacing: 1px; }
        .section-subtitle { font-weight: bold; max-width: 600px; margin: 0 auto; color: #333; }

        /* Kustomisasi Card */
        .event-card { border: none; border-radius: 0; overflow: hidden; background-color: #2d5a27; color: white; height: 100%; }
        .event-image-wrapper { position: relative; }
        
        /* Label Tanggal di Pojok Gambar */
        .date-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: #f1f1f1;
            color: #333;
            padding: 5px 10px;
            font-weight: bold;
            font-size: 0.85rem;
            border-radius: 4px;
        }

        .card-body { padding: 1.5rem; }
        .event-meta { font-size: 0.8rem; margin-bottom: 15px; opacity: 0.9; }
        .event-title { font-size: 1.1rem; font-weight: bold; margin-bottom: 10px; line-height: 1.4; }
        .event-text { font-size: 0.85rem; line-height: 1.6; opacity: 0.85; margin-bottom: 20px; }
        
        .btn-read-more {
            background-color: #f1f1f1;
            color: #2d5a27;
            border-radius: 0;
            font-weight: bold;
            font-size: 0.8rem;
            padding: 8px 20px;
            border: none;
        }
        .btn-read-more:hover { background-color: #e2e2e2; color: #1e3d1a; }

        .ln-section-wrapper {
            padding: 60px 0;
            background-color: #ffffff;
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

        .ln-header-group {
            text-align: center;
            margin-bottom: 50px;
        }

        .ln-tagline {
            color: #5cb85c;
            font-weight: 700;
            font-size: 0.85rem;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            display: block;
            margin-bottom: 10px;
        }

        .ln-main-title {
            font-weight: 800;
            font-size: 2rem;
            color: #2c3e50;
            max-width: 750px;
            margin: 0 auto;
            line-height: 1.3;
        }

        /* Container Kartu */
        .ln-card-item {
            border: none;
            background: #fff;
            height: 100%;
            display: flex;
            flex-direction: column;
            box-shadow: 0 5px 15px rgba(0,0,0,0.02);
            transition: transform 0.3s ease;
        }

        .ln-card-item:hover {
            transform: translateY(-5px);
        }

        /* Bagian Gambar */
        .ln-img-container {
            position: relative;
            width: 100%;
            padding-top: 75%; /* Aspect Ratio 4:3 */
            overflow: hidden;
        }

        .ln-img-container img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Overlay Info di Gambar */
        .ln-img-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: #ffffff;
            padding: 10px 15px;
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            align-items: center;
        }

        /* Konten Teks */
        .ln-content-body {
            padding: 20px 0;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .ln-category-label {
            color: #5cb85c;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 8px;
            text-decoration: none;
        }

        .ln-post-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .ln-post-excerpt {
            font-size: 0.9rem;
            color: #6c757d;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        /* Tombol Spesifik */
        .ln-btn-action {
            background-color: #5cb85c;
            color: #ffffff !important;
            padding: 8px 18px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            border-radius: 4px;
            text-decoration: none;
            display: inline-block;
            width: fit-content;
            margin-top: auto;
            border: none;
            transition: background 0.3s;
        }

        .ln-btn-action:hover {
            background-color: #4cae4c;
        }

    /* ─── GALLERY ─── */
    #gallery { background: #fff; padding: 90px 0; }
    .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 250px 250px; gap: 6px; }
    .gallery-item { position: relative; overflow: hidden; cursor: pointer; }
    .gallery-item:first-child { grid-row: span 2; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
    .gallery-item:hover img { transform: scale(1.08); }
    .gallery-overlay {
      position: absolute; inset: 0; background: rgba(58,158,78,.75);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      opacity: 0; transition: opacity .3s; color: #fff;
    }
    .gallery-item:hover .gallery-overlay { opacity: 1; }
    .gallery-overlay i { font-size: 2rem; margin-bottom: 6px; }
    .gallery-overlay span { font-size: .8rem; font-weight: 600; }

        /* ─── VOLUNTEER ─── */
    #volunteer { background: var(--light-bg); padding: 90px 0; }
    .volunteer-left { background: #fff; border-radius: 10px; padding: 40px; }
    .vol-check li { display: flex; gap: 10px; margin-bottom: 8px; font-size: .9rem; }
    .vol-check li i { color: var(--green); margin-top: 3px; }
    .vol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .vol-card { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; }
    .vol-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
    .vol-card-info {
      position: absolute; bottom: 0; left: 0; right: 0;
      background: rgba(0,0,0,.55); color: #fff; padding: 10px 12px;
    }
    .vol-card-info h6 { margin: 0; font-size: .85rem; font-weight: 700; }
    .vol-card-info small { font-size: .7rem; color: #ccc; }
    .vol-social {
      position: absolute; inset: 0; background: rgba(58,158,78,.85);
      display: flex; align-items: center; justify-content: center; gap: 10px;
      opacity: 0; transition: opacity .3s;
    }
    .vol-card:hover .vol-social { opacity: 1; }
    .vol-social a { color: #fff; font-size: 1.1rem; width: 34px; height: 34px; border: 2px solid rgba(255,255,255,.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .2s; }
    .vol-social a:hover { background: #fff; color: var(--green); }


    /* ─── FOOTER ─── */
    #footer { background: #111; color: #aaa; }
    #footer-main { padding: 70px 0 40px; }
    #footer h6 { color: #fff; font-family: 'DM Sans', sans-serif; font-weight: 700; margin-bottom: 20px; font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; }
    #footer p, #footer li, #footer a { font-size: .85rem; }
    #footer a { color: #aaa; text-decoration: none; transition: color .2s; }
    #footer a:hover { color: var(--green); }
    #footer ul { list-style: none; padding: 0; margin: 0; }
    #footer ul li { margin-bottom: 8px; }
    #footer ul li::before { content: '›'; color: var(--green); margin-right: 6px; }
    .footer-newsletter input { background: #222; border: 1px solid #333; color: #fff; border-radius: 4px 0 0 4px; padding: 8px 12px; font-size: .85rem; }
    .footer-newsletter input::placeholder { color: #666; }
    .footer-newsletter input:focus { outline: none; border-color: var(--green); }
    .footer-newsletter button { background: var(--green); color: #fff; border: none; padding: 8px 16px; border-radius: 0 4px 4px 0; font-size: .85rem; font-weight: 600; }
    .footer-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
    .footer-gallery img { width: 100%; height: 60px; object-fit: cover; border-radius: 4px; transition: opacity .2s; }
    .footer-gallery img:hover { opacity: .7; }
    #footer-bottom { background: #0a0a0a; padding: 16px 0; font-size: .8rem; color: #555; }
    #footer-bottom a { color: #555; }
    #footer-bottom a:hover { color: var(--green); }
    .footer-social a { color: #666; font-size: 1rem; margin-left: 10px; transition: color .2s; }
    .footer-social a:hover { color: var(--green); }