/* ================================================================
   ENVIRONMENTAL FOUNDATION THEME
   Referensi: https://www.ykan.or.id/id/
   Updated: 2026 — Nature-inspired, mission-driven design
   ================================================================ */

/* ----------------------------------------------------------------
   Design Tokens / CSS Variables
-----------------------------------------------------------------*/
:root {
    --eco-green-primary:  #228e94;
    --eco-green-dark:     #1f7e82;
    --eco-green-light:    #34cbd1;
    --eco-green-pale:     #d4ede1;
    --eco-accent-warm:    #40afc0;
    --eco-accent-earth:   #A0522D;
    --eco-bg-offwhite:    #F7F5F0;
    --eco-bg-sage:        #EBF0E9;
    --eco-text-dark:      #2C2C2A;
    --eco-text-muted:     #66665F;
    --eco-border-light:   #DDD9D0;
    --eco-shadow:         0 4px 20px rgba(29, 107, 68, 0.12);
    --eco-radius:         10px;
    --eco-transition:     all 0.3s ease;
}

/* ----------------------------------------------------------------
   Global / Body — environmental base
-----------------------------------------------------------------*/
body {
    background-color: var(--eco-bg-offwhite);
    color: var(--eco-text-dark);
    line-height: 1.7;
    font-size: 16px;
}

a { color: var(--eco-green-primary); }
a:hover { color: var(--eco-green-dark); }

h1, h2, h3, h4, h5, h6 {
    color: var(--eco-text-dark);
    font-family: 'Poppins', sans-serif;
}

/* ----------------------------------------------------------------
   Top Bar — dark green bar
-----------------------------------------------------------------*/
#top-bar {
    background-color: var(--eco-green-dark) !important;
    color: #c8e6d0 !important;
    border-bottom: none !important;
    font-size: 13px;
}
#top-bar p,
#top-bar strong { color: #c8e6d0; }
#top-bar .top-links-container > li > a {
    color: #c8e6d0 !important;
}
#top-bar .top-links-container > li > a:hover {
    color: #ffffff !important;
}

/* ----------------------------------------------------------------
   Header — sticky, white with shadow
-----------------------------------------------------------------*/
#header {
    border-bottom: none !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
#header-wrap {
    background-color: #fff !important;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

/* Logo sizing */
#logo a img.eco-logo-img {
    max-height: 52px;
    width: auto;
}

/* Navigation links */
#primary-menu .menu-container > .menu-item > .menu-link {
    position: relative;
    padding-bottom: 4px;
}
#primary-menu .menu-container > .menu-item > .menu-link > div {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13.5px;
    letter-spacing: 0.2px;
    color: var(--eco-text-dark);
    transition: color 0.25s ease;
}
/* Animated underline on hover */
#primary-menu .menu-container > .menu-item > .menu-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--eco-green-primary);
    border-radius: 2px;
    transition: width 0.28s ease, left 0.28s ease;
}
#primary-menu .menu-container > .menu-item:hover > .menu-link::after,
#primary-menu .menu-container > .menu-item.current > .menu-link::after {
    width: 100%; left: 0;
}
#primary-menu .menu-container > .menu-item:hover > .menu-link > div,
#primary-menu .menu-container > .menu-item.current > .menu-link > div {
    color: var(--eco-green-primary) !important;
}

/* Dropdown sub-menu refinement */
.sub-menu-container {
    border-top: 2px solid var(--eco-green-primary) !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.10) !important;
    min-width: 200px;
}
.sub-menu-container .menu-item .menu-link > div {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--eco-text-dark) !important;
    padding: 2px 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.sub-menu-container .menu-item:hover .menu-link > div {
    color: var(--eco-green-primary) !important;
    padding-left: 4px;
}

/* Donate / CTA button */
.eco-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: var(--eco-green-primary);
    color: #fff !important;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: var(--eco-transition);
    border: 2px solid var(--eco-green-primary);
    text-decoration: none;
}
.eco-nav-cta:hover {
    background: transparent !important;
    color: var(--eco-green-primary) !important;
    border-color: var(--eco-green-primary);
}

/* ----------------------------------------------------------------
   Hero / Slider — full-width with overlay text
-----------------------------------------------------------------*/
#slider { position: relative; overflow: hidden; }

/* Dark gradient overlay on hero image */
#slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 40, 22, 0.72) 0%,
        rgba(0, 40, 22, 0.40) 60%,
        transparent 100%
    );
    z-index: 5;
    pointer-events: none;
}

/* Hero text overlay */
.eco-hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 560px;
    padding: 0 60px;
    color: #fff;
}
.eco-hero-content h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 900;
    font-family: 'Merriweather', 'Poppins', serif;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.eco-hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.90);
    margin-bottom: 28px;
    line-height: 1.7;
}
.eco-hero-btn {
    display: inline-block;
    padding: 13px 32px;
    background-color: var(--eco-accent-warm);
    color: #fff !important;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--eco-transition);
    box-shadow: 0 4px 15px rgba(196, 135, 42, 0.4);
    margin-right: 12px;
}
.eco-hero-btn:hover {
    background-color: var(--eco-accent-earth) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 135, 42, 0.5);
}
.eco-hero-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid rgba(255,255,255,0.85);
    color: #fff !important;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--eco-transition);
}
.eco-hero-btn-outline:hover {
    background-color: rgba(255,255,255,0.15);
    color: #fff !important;
}
@media (max-width: 767px) {
    .eco-hero-content {
        padding: 0 20px;
        max-width: 100%;
        top: 40%;
    }
    .eco-hero-content h1 { font-size: 1.7rem; }
    .eco-hero-content p { font-size: 0.95rem; }
}

/* ----------------------------------------------------------------
   Impact Statistics section
-----------------------------------------------------------------*/
.eco-impact-section {
    background: linear-gradient(135deg, var(--eco-green-dark) 0%, var(--eco-green-primary) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.eco-impact-section::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.eco-impact-card {
    text-align: center;
    color: #fff;
    padding: 20px 10px;
}
.eco-impact-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    display: block;
}
.eco-impact-number span {
    color: var(--eco-accent-warm);
}
.eco-impact-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.82);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    display: block;
}
.eco-impact-icon {
    font-size: 2rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
    display: block;
}
@media (max-width: 767px) {
    .eco-impact-number { font-size: 2.2rem; }
    .eco-impact-section { padding: 40px 0; }
}

/* ----------------------------------------------------------------
   Section Wrapper — off-white and sage backgrounds
-----------------------------------------------------------------*/
.eco-section-white {
    background-color: #ffffff;
    padding: 70px 0;
}
.eco-section-offwhite {
    background-color: var(--eco-bg-offwhite);
    padding: 70px 0;
}
.eco-section-sage {
    background-color: var(--eco-bg-sage);
    padding: 70px 0;
}

/* ----------------------------------------------------------------
   Section Headings — with warm accent underline
-----------------------------------------------------------------*/
.eco-section-heading {
    text-align: center;
    margin-bottom: 48px;
}
.eco-section-heading h2,
.eco-section-heading h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--eco-green-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.eco-section-heading h2::after,
.eco-section-heading h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--eco-accent-warm);
    border-radius: 2px;
    margin: 10px auto 0;
}
.eco-section-heading p {
    color: var(--eco-text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ----------------------------------------------------------------
   Program / Layanan Cards — rounded with hover effect
-----------------------------------------------------------------*/
.eco-program-card {
    background: #fff;
    border-radius: var(--eco-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--eco-transition);
    height: 100%;
}
.eco-program-card:hover {
    box-shadow: var(--eco-shadow);
    transform: translateY(-5px);
}
.eco-program-card .eco-program-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.eco-program-card:hover .eco-program-img {
    transform: scale(1.05);
}
.eco-program-card .eco-program-body {
    padding: 22px;
}
.eco-program-card .eco-program-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--eco-green-dark);
    margin-bottom: 8px;
}
.eco-program-card .eco-program-body h3 a {
    color: var(--eco-green-dark);
}
.eco-program-card .eco-program-body h3 a:hover { color: var(--eco-green-primary); }
.eco-program-card .eco-program-body .subtitle,
.eco-program-card .eco-program-body p {
    font-size: 0.88rem;
    color: var(--eco-text-muted);
    line-height: 1.6;
    display: block;
    margin-top: 4px;
}

/* ----------------------------------------------------------------
   News / Artikel Cards — Cerita Konservasi
-----------------------------------------------------------------*/
.eco-news-card {
    background: #fff;
    border-radius: var(--eco-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: var(--eco-transition);
    height: 100%;
}
.eco-news-card:hover {
    box-shadow: var(--eco-shadow);
    transform: translateY(-4px);
}
.eco-news-card .entry-image { overflow: hidden; }
.eco-news-card .entry-image img {
    transition: transform 0.5s ease;
    height: 220px;
    width: 100%;
    object-fit: cover;
}
.eco-news-card:hover .entry-image img {
    transform: scale(1.05);
}
.eco-news-card .entry-title h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}
.eco-news-card .entry-title h3 a { color: var(--eco-text-dark); }
.eco-news-card .entry-title h3 a:hover { color: var(--eco-green-primary); }
.eco-news-card .entry-meta ul li a { color: var(--eco-green-primary); }
.eco-news-card .entry-content p {
    font-size: 0.9rem;
    color: var(--eco-text-muted);
    line-height: 1.65;
}
.eco-news-card-inner { padding: 20px; }

/* Owl carousel navigation for news */
#oc-posts .owl-nav .owl-prev,
#oc-posts .owl-nav .owl-next {
    background-color: var(--eco-green-primary) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
}
#oc-posts .owl-nav .owl-prev:hover,
#oc-posts .owl-nav .owl-next:hover {
    background-color: var(--eco-green-dark) !important;
}

/* ----------------------------------------------------------------
   Gallery / Album — Galeri Konservasi
-----------------------------------------------------------------*/
.eco-gallery-card {
    border-radius: var(--eco-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: var(--eco-transition);
}
.eco-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--eco-shadow);
}
.eco-gallery-card img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.eco-gallery-card:hover img { transform: scale(1.06); }
.eco-gallery-card .eco-gallery-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 18px 16px;
    background: linear-gradient(transparent, rgba(0,40,22,0.80));
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transition: var(--eco-transition);
}
.eco-gallery-card:hover .eco-gallery-label { opacity: 1; }

/* ----------------------------------------------------------------
   Gallery Index Page — album listing
-----------------------------------------------------------------*/
.eco-gallery-index-section {
    background: var(--eco-bg-offwhite);
    padding: 70px 0;
}

/* Album card */
.eco-album-card {
    border-radius: var(--eco-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--eco-transition);
    height: 100%;
}
.eco-album-card:hover {
    box-shadow: var(--eco-shadow);
    transform: translateY(-5px);
}
.eco-album-card-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}
.eco-album-card-img-wrap img {
    width: 100%;
    height: 255px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.eco-album-card:hover .eco-album-card-img-wrap img {
    transform: scale(1.06);
}
.eco-album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,40,22,0.72) 0%, rgba(0,40,22,0.25) 60%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--eco-transition);
}
.eco-album-card:hover .eco-album-overlay { opacity: 1; }
.eco-album-overlay i {
    font-size: 2.2rem;
    color: #fff;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}
.eco-album-card:hover .eco-album-overlay i { transform: scale(1); }

.eco-album-card-body {
    padding: 18px 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.eco-album-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}
.eco-album-card-body h3 a {
    color: var(--eco-text-dark);
}
.eco-album-card-body h3 a:hover { color: var(--eco-green-primary); }
.eco-album-view-link {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: var(--eco-green-primary);
    flex-shrink: 0;
}
.eco-album-view-link i { font-size: 11px; }

/* Load more */
.eco-load-more-wrap {
    text-align: center;
    margin-top: 48px;
}
.eco-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 36px;
    border: 2px solid var(--eco-green-primary);
    background: transparent;
    color: var(--eco-green-primary);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--eco-transition);
}
.eco-load-more-btn:hover {
    background: var(--eco-green-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(29,107,68,0.25);
}
.eco-load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Loader spinner */
.eco-loader {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.eco-loader-spinner {
    width: 38px; height: 38px;
    border: 3px solid var(--eco-green-pale);
    border-top-color: var(--eco-green-primary);
    border-radius: 50%;
    animation: ecoSpin 0.7s linear infinite;
}
@keyframes ecoSpin { to { transform: rotate(360deg); } }

/* Empty state */
.eco-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--eco-text-muted);
}
.eco-empty-state i {
    font-size: 4rem;
    opacity: 0.25;
    display: block;
    margin-bottom: 16px;
}
.eco-empty-state h4 {
    font-size: 1.2rem;
    color: var(--eco-text-muted);
    margin-bottom: 8px;
}
.eco-empty-state p { font-size: 0.9rem; margin: 0; }

/* ----------------------------------------------------------------
   Gallery Detail Page — photo grid
-----------------------------------------------------------------*/
.eco-gallery-detail-section {
    background: var(--eco-bg-offwhite);
    padding: 50px 0 70px;
}

/* Meta bar: back link + photo count */
.eco-album-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--eco-border-light);
}
.eco-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--eco-green-primary);
    transition: var(--eco-transition);
}
.eco-back-link:hover {
    color: var(--eco-green-dark);
    gap: 2px;
}
.eco-photo-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--eco-text-muted);
    background: var(--eco-bg-sage);
    padding: 5px 14px;
    border-radius: 20px;
}

/* Individual photo item */
.eco-photo-item {
    border-radius: var(--eco-radius);
    overflow: hidden;
    position: relative;
    background: #e0ddd8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: var(--eco-transition);
}
.eco-photo-item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    transform: translateY(-3px);
}
.eco-photo-item a {
    display: block;
    position: relative;
    overflow: hidden;
}
.eco-photo-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}
.eco-photo-item:hover img { transform: scale(1.07); }
.eco-photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 40, 22, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--eco-transition);
}
.eco-photo-item:hover .eco-photo-overlay { opacity: 1; }
.eco-photo-overlay i {
    font-size: 1.8rem;
    color: #fff;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}
.eco-photo-item:hover .eco-photo-overlay i { transform: scale(1); }

/* Photo caption */
.eco-photo-caption {
    padding: 9px 12px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--eco-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #fff;
}

/* Page title for galeri variant */
.eco-page-title-galeri { padding: 55px 0 45px !important; }

.eco-testimonial-section {
    background-color: var(--eco-bg-offwhite);
    padding: 60px 0;
}
.eco-testimonial-section .testi-content p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--eco-text-muted);
    line-height: 1.8;
}
.eco-testimonial-section .testi-meta {
    color: var(--eco-green-primary);
    font-weight: 700;
}

/* ----------------------------------------------------------------
   Contact / Kirim Masukan Section
-----------------------------------------------------------------*/
.eco-contact-section {
    background-color: #fff;
    padding: 70px 0;
}
.eco-contact-section .fancy-title h3 {
    color: var(--eco-green-dark);
    font-size: 1.5rem;
}
.eco-contact-section .fancy-title h3::after {
    background-color: var(--eco-accent-warm);
}
.eco-contact-section .sm-form-control {
    border-radius: 6px;
    border-color: var(--eco-border-light);
    font-size: 15px;
    padding: 10px 14px;
    background-color: var(--eco-bg-offwhite);
    color: var(--eco-text-dark);
}
.eco-contact-section .sm-form-control:focus {
    border-color: var(--eco-green-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px var(--eco-green-pale);
    outline: none;
}

/* ----------------------------------------------------------------
   Contact Page — redesigned components
-----------------------------------------------------------------*/

/* Page title banner */
.eco-page-title-kontak {
    padding: 60px 0 50px !important;
}
.eco-page-title-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.eco-page-title-badge {
    display: inline-block;
    background: rgba(196, 135, 42, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.eco-page-title-kontak h1 {
    font-size: 2.4rem !important;
    font-weight: 800 !important;
    margin-bottom: 10px;
    color: #fff !important;
}
.eco-page-title-sub {
    color: rgba(255,255,255,0.80);
    font-size: 1rem;
    max-width: 520px;
    margin: 0;
    line-height: 1.65;
}
.eco-breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
.eco-breadcrumb .breadcrumb-item,
.eco-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,0.70); font-size: 13px; }
.eco-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.95); }
.eco-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.35); }

/* Contact Info Cards Bar */
.eco-contact-info-bar {
    background: #fff;
    padding: 48px 0;
    border-bottom: 1px solid var(--eco-border-light);
}
.eco-contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 24px;
    background: var(--eco-bg-offwhite);
    border-radius: var(--eco-radius);
    border: 1px solid var(--eco-border-light);
    height: 100%;
    transition: var(--eco-transition);
}
.eco-contact-info-card:hover {
    border-color: var(--eco-green-pale);
    box-shadow: var(--eco-shadow);
    transform: translateY(-4px);
}
.eco-contact-info-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--eco-green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}
.eco-contact-info-body h5 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--eco-text-muted);
    margin-bottom: 5px;
}
.eco-contact-info-body p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--eco-text-dark);
    line-height: 1.55;
}
.eco-contact-info-body a {
    color: var(--eco-text-dark);
}
.eco-contact-info-body a:hover { color: var(--eco-green-primary); }

/* Main contact section */
.eco-contact-main-section {
    background: var(--eco-bg-offwhite);
    padding: 70px 0;
}

/* Form card */
.eco-contact-form-card {
    background: #fff;
    border-radius: var(--eco-radius);
    padding: 40px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.06);
    height: 100%;
}
.eco-contact-form-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--eco-border-light);
}
.eco-contact-form-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--eco-green-dark);
    margin-bottom: 6px;
    position: relative;
    padding-bottom: 14px;
}
.eco-contact-form-header h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: var(--eco-accent-warm);
    border-radius: 2px;
}
.eco-contact-form-header p {
    color: var(--eco-text-muted);
    font-size: 0.92rem;
    margin: 0;
}

/* Form controls */
.eco-form-group { display: flex; flex-direction: column; gap: 6px; }
.eco-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--eco-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.eco-required { color: var(--eco-accent-warm); }
.eco-form-control {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--eco-border-light);
    border-radius: 8px;
    font-size: 15px;
    color: var(--eco-text-dark);
    background: var(--eco-bg-offwhite);
    transition: var(--eco-transition);
    outline: none;
    font-family: 'Lato', sans-serif;
    line-height: 1.5;
}
.eco-form-control::placeholder { color: #b0aca5; }
.eco-form-control:focus {
    border-color: var(--eco-green-primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--eco-green-pale);
}
textarea.eco-form-control { resize: vertical; min-height: 140px; }

/* Submit button */
.eco-submit-btn {
    display: inline-flex;
    align-items: center;
    padding: 13px 32px;
    background: var(--eco-green-primary);
    color: #fff !important;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: var(--eco-transition);
    box-shadow: 0 4px 15px rgba(29,107,68,0.30);
}
.eco-submit-btn:hover {
    background: var(--eco-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(29,107,68,0.40);
}

/* Map card */
.eco-map-card {
    border-radius: var(--eco-radius);
    overflow: hidden;
    box-shadow: 0 2px 18px rgba(0,0,0,0.06);
    height: 100%;
    min-height: 420px;
    background: var(--eco-bg-sage);
}
.eco-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}
.eco-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 420px;
    color: var(--eco-text-muted);
    gap: 12px;
}
.eco-map-placeholder i { font-size: 3rem; opacity: 0.35; }
.eco-map-placeholder p { font-size: 0.95rem; margin: 0; }

/* ----------------------------------------------------------------
   Buttons — rounded solid green
-----------------------------------------------------------------*/
.button,
.button.button-3d,
button.button {
    background-color: var(--eco-green-primary) !important;
    border-color: var(--eco-green-primary) !important;
    color: #fff !important;
    border-radius: 30px !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--eco-transition) !important;
}
.button:hover,
.button.button-3d:hover,
button.button:hover {
    background-color: var(--eco-green-dark) !important;
    border-color: var(--eco-green-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 78, 55, 0.3) !important;
}

/* ----------------------------------------------------------------
   Promo/CTA Banner — Dukung Kami
-----------------------------------------------------------------*/
.eco-cta-section {
    background: linear-gradient(135deg, var(--eco-green-dark) 0%, var(--eco-green-primary) 60%, #2d8a58 100%) !important;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Decorative blurred circles */
.eco-cta-deco {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}
.eco-cta-deco-1 {
    width: 380px; height: 380px;
    top: -120px; left: -80px;
}
.eco-cta-deco-2 {
    width: 280px; height: 280px;
    bottom: -100px; right: -60px;
    background: rgba(196,135,42,0.12);
}

.eco-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.eco-cta-icon-wrap {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: #fff;
}

.eco-cta-title {
    color: #fff !important;
    font-size: 2.1rem;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.2;
}
.eco-cta-sub {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 32px;
}
.eco-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 24px;
}
.eco-cta-note {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin: 0;
    letter-spacing: 0.3px;
}

/* Keep old span rule for backward compat */
.eco-cta-section p,
.eco-cta-section span {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
}
.eco-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background-color: var(--eco-accent-warm);
    color: #fff !important;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--eco-transition);
    box-shadow: 0 4px 20px rgba(196,135,42,0.45);
    text-decoration: none !important;
}
.eco-cta-btn:hover {
    background-color: #b07322 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(196,135,42,0.55);
}
.eco-cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border: 2px solid rgba(255,255,255,0.55);
    color: #fff !important;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--eco-transition);
    text-decoration: none !important;
}
.eco-cta-btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   QR Code section — compact centered block
-----------------------------------------------------------------*/
.eco-qr-section { padding: 50px 0; background: var(--eco-bg-offwhite); }
.eco-qr-section img { max-width: 280px; margin: 0 auto; display: block; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }

/* ----------------------------------------------------------------
   Footer — dark green
-----------------------------------------------------------------*/
#footer.dark {
    background-color: var(--eco-green-dark) !important;
}
#footer.dark #copyrights {
    background-color: rgba(0,0,0,0.2) !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.75);
}
#footer.dark #copyrights a {
    color: rgba(255,255,255,0.85);
}
#footer.dark #copyrights a:hover {
    color: var(--eco-accent-warm);
}

/* ----------------------------------------------------------------
   Content wrapper background — off-white
-----------------------------------------------------------------*/
#content { background-color: var(--eco-bg-offwhite); }

/* ----------------------------------------------------------------
   Feature boxes — override theme default with eco style
-----------------------------------------------------------------*/
.feature-box.fbox-outline {
    border-color: var(--eco-border-light) !important;
    border-radius: var(--eco-radius) !important;
    background: #fff;
    transition: var(--eco-transition);
}
.feature-box.fbox-outline:hover {
    border-color: var(--eco-green-primary) !important;
    box-shadow: var(--eco-shadow);
    transform: translateY(-4px);
}

/* Section divider — leaf wave SVG */
.eco-divider-wave {
    line-height: 0;
    overflow: hidden;
    background: transparent;
}
.eco-divider-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ----------------------------------------------------------------
   Smooth scroll
-----------------------------------------------------------------*/
html { scroll-behavior: smooth; }

/* ----------------------------------------------------------------
   Misc overrides for bg-color utilities
-----------------------------------------------------------------*/
.bg-color,
.bg-color #header-wrap { background-color: var(--eco-green-primary) !important; }
.color { color: var(--eco-green-primary) !important; }
.border-color { border-color: var(--eco-green-primary) !important; }
::selection { background: var(--eco-green-primary); color: #fff; }

/* ----------------------------------------------------------------
   Transparent Header (homepage only)
-----------------------------------------------------------------*/
/* Position the header itself as absolute so it overlays the slider */
#header.eco-header-transparent {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 200;
}
#header.eco-header-transparent #header-wrap {
    background: linear-gradient(to bottom, rgba(0, 20, 10, 0.65) 0%, rgba(0, 20, 10, 0.10) 100%) !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* After scroll: pin to top as fixed */
#header.eco-header-transparent.scrolled,
#header.eco-header-transparent.sticky-header {
    position: fixed !important;
    top: 0;
}
#header.eco-header-transparent.scrolled #header-wrap,
#header.eco-header-transparent.sticky-header #header-wrap {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.10) !important;
}

/* Nav link color: white on transparent bg */
#header.eco-header-transparent #primary-menu .menu-container > .menu-item > .menu-link > div {
    color: rgba(255,255,255,0.95);
}
#header.eco-header-transparent.scrolled #primary-menu .menu-container > .menu-item > .menu-link > div,
#header.eco-header-transparent.sticky-header #primary-menu .menu-container > .menu-item > .menu-link > div {
    color: var(--eco-text-dark);
}

/* Underline accent: white on transparent, green after scroll */
#header.eco-header-transparent #primary-menu .menu-container > .menu-item > .menu-link::after {
    background: rgba(255,255,255,0.80);
}
#header.eco-header-transparent.scrolled #primary-menu .menu-container > .menu-item > .menu-link::after,
#header.eco-header-transparent.sticky-header #primary-menu .menu-container > .menu-item > .menu-link::after {
    background: var(--eco-green-primary);
}

/* Search icon */
#header.eco-header-transparent #top-search a { color: rgba(255,255,255,0.90); }
#header.eco-header-transparent.scrolled #top-search a,
#header.eco-header-transparent.sticky-header #top-search a { color: var(--eco-text-dark); }

/* Donate CTA on transparent */
#header.eco-header-transparent .eco-nav-cta {
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.75);
    color: #fff !important;
    backdrop-filter: blur(4px);
}
#header.eco-header-transparent .eco-nav-cta:hover {
    background: #fff !important;
    color: var(--eco-green-dark) !important;
    border-color: #fff;
}
#header.eco-header-transparent.scrolled .eco-nav-cta,
#header.eco-header-transparent.sticky-header .eco-nav-cta {
    background: var(--eco-green-primary) !important;
    border-color: var(--eco-green-primary);
    color: #fff !important;
}
#header.eco-header-transparent.scrolled .eco-nav-cta:hover,
#header.eco-header-transparent.sticky-header .eco-nav-cta:hover {
    background: transparent !important;
    color: var(--eco-green-primary) !important;
}

/* Logo: white inversion on transparent, normal after scroll */
#header.eco-header-transparent .eco-logo-img {
    filter: brightness(0) invert(1);
    transition: filter 0.35s ease;
}
#header.eco-header-transparent.scrolled .eco-logo-img,
#header.eco-header-transparent.sticky-header .eco-logo-img {
    filter: none;
}
.eco-logo-img {
    height: 70px !important;
    object-fit: contain;
}

/* ----------------------------------------------------------------
   Top Bar — social icons & divider
-----------------------------------------------------------------*/
.eco-topbar-social {
    color: rgba(200, 230, 208, 0.80) !important;
    font-size: 14px;
    transition: var(--eco-transition);
    line-height: 1;
}
.eco-topbar-social:hover { color: #fff !important; }
.eco-topbar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.25);
}

/* ----------------------------------------------------------------
   Hero Slider — overlay architecture
-----------------------------------------------------------------*/
.eco-hero-slider { position: relative; overflow: hidden; }
.eco-hero-slider .slider-inner { position: relative; }

.eco-slide-item { position: relative; }
.eco-slide-img {
    height: 680px;
    width: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 767px) {
    .eco-slide-img { height: 480px; }
}

/* gradient overlay */
.eco-hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 30, 16, 0.80) 0%,
        rgba(0, 30, 16, 0.50) 55%,
        rgba(0, 30, 16, 0.15) 100%
    );
    z-index: 5;
    pointer-events: none;
}

.eco-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.eco-hero-overlay .container { pointer-events: all; }

/* hero text content */
.eco-hero-content {
    max-width: 600px;
    color: #fff;
    animation: heroFadeUp 0.9s ease both;
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.eco-hero-badge {
    display: inline-block;
    background: rgba(196, 135, 42, 0.90);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.eco-hero-content h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Merriweather', 'Poppins', serif;
    line-height: 1.18;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.eco-hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 30px;
    line-height: 1.75;
    max-width: 520px;
}
.eco-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 767px) {
    .eco-hero-content h1 { font-size: 1.75rem; }
    .eco-hero-content p  { font-size: 0.95rem; }
    .eco-hero-content    { padding: 0 8px; }
}

/* ----------------------------------------------------------------
   Wave Dividers
-----------------------------------------------------------------*/
.eco-wave-divider {
    line-height: 0;
    overflow: hidden;
    margin-bottom: -2px;
}
.eco-wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}
.eco-wave-green-to-white { background-color: var(--eco-green-dark); }

/* ----------------------------------------------------------------
   Footer — class-based refactored styles
-----------------------------------------------------------------*/
.eco-footer-logo img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    display: block;
}
.eco-footer-desc {
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 20px;
}
.eco-footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.eco-social-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.10);
    border-radius: 50%;
    color: #fff !important;
    font-size: 15px;
    transition: var(--eco-transition);
    border: 1px solid rgba(255,255,255,0.15);
}
.eco-social-btn:hover {
    background: var(--eco-accent-warm);
    border-color: var(--eco-accent-warm);
    transform: translateY(-3px);
    color: #fff !important;
}
.eco-footer-heading {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.eco-footer-links {
    list-style: none;
    padding: 0; margin: 0;
}
.eco-footer-links li { margin-bottom: 9px; }
.eco-footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: var(--eco-transition);
}
.eco-footer-links a:hover {
    color: var(--eco-accent-warm);
    padding-left: 5px;
}
.eco-footer-contact {
    list-style: none;
    padding: 0; margin: 0;
}
.eco-footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.70);
    font-size: 0.9rem;
    line-height: 1.5;
}
.eco-footer-contact i {
    color: var(--eco-accent-warm);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}
.eco-footer-newsletter-text {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 14px;
}
.eco-footer-subscribe-btn {
    display: inline-block;
    padding: 9px 22px;
    background: var(--eco-accent-warm);
    color: #fff !important;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--eco-transition);
}
.eco-footer-subscribe-btn:hover {
    background: var(--eco-accent-earth) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   Transparent header scroll behavior — JS helper
-----------------------------------------------------------------*/

/* ----------------------------------------------------------------
   Inner Page Title — richer banner style
-----------------------------------------------------------------*/
#page-title.bg-color {
    background: linear-gradient(135deg, var(--eco-green-dark) 0%, var(--eco-green-primary) 100%) !important;
    padding: 50px 0 !important;
    position: relative;
    overflow: hidden;
}
#page-title.bg-color::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
#page-title.bg-color::after {
    content: '';
    position: absolute;
    bottom: -40px; left: 10%;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(196,135,42,0.07);
    pointer-events: none;
}
#page-title.bg-color h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.5px;
    color: #fff !important;
    margin-bottom: 8px;
}
#page-title.bg-color .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}
#page-title.bg-color .breadcrumb-item,
#page-title.bg-color .breadcrumb-item a {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}
#page-title.bg-color .breadcrumb-item.active { color: rgba(255,255,255,0.95); }
#page-title.bg-color .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.40);
}


/* =========================================
   ARTIKEL / BERITA — new eco-news-* styles
   ========================================= */

.eco-news-section { background: var(--eco-bg-offwhite); padding: 70px 0; }
.eco-page-title-berita { padding: 55px 0 45px !important; }

/* --- Article list card --- */
.eco-news-list-card {
    background: #fff;
    border-radius: var(--eco-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--eco-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.eco-news-list-card:hover { box-shadow: var(--eco-shadow); transform: translateY(-5px); }

.eco-news-list-img-wrap { display: block; position: relative; overflow: hidden; }
.eco-news-list-img-wrap img {
    width: 100%; height: 230px; object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.eco-news-list-card:hover .eco-news-list-img-wrap img { transform: scale(1.06); }

.eco-news-cat-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--eco-green-primary); color: #fff;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; padding: 4px 12px; border-radius: 20px;
}

.eco-news-list-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }

.eco-news-list-meta { display: flex; gap: 14px; margin-bottom: 10px; }
.eco-news-list-meta span {
    font-size: 12px; color: var(--eco-text-muted);
    display: flex; align-items: center; gap: 5px;
}

.eco-news-list-body h2 { font-size: 1rem; font-weight: 700; line-height: 1.45; margin-bottom: 10px; }
.eco-news-list-body h2 a { color: var(--eco-text-dark); }
.eco-news-list-body h2 a:hover { color: var(--eco-green-primary); }

.eco-news-list-body p {
    font-size: 0.88rem; color: var(--eco-text-muted);
    line-height: 1.65; margin-bottom: 14px; flex: 1;
}

.eco-news-read-more {
    font-size: 13px; font-weight: 700; color: var(--eco-green-primary);
    display: inline-flex; align-items: center; gap: 4px;
    transition: var(--eco-transition);
    margin-top: auto;
}
.eco-news-read-more:hover { color: var(--eco-green-dark); gap: 8px; }

/* Load more */
.eco-load-more-wrap { text-align: center; margin-top: 42px; }
.eco-load-more-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--eco-green-primary); color: #fff;
    border: none; padding: 13px 36px; border-radius: 30px;
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: var(--eco-transition);
}
.eco-load-more-btn:hover { background: var(--eco-green-dark); transform: translateY(-2px); }
.eco-load-more-btn:disabled { opacity: 0.55; cursor: default; transform: none; }

.eco-loader { text-align: center; padding: 20px 0; }
.eco-loader-spinner {
    display: inline-block; width: 36px; height: 36px;
    border: 3px solid rgba(29,107,68,0.2);
    border-top-color: var(--eco-green-primary);
    border-radius: 50%;
    animation: eco-spin 0.75s linear infinite;
}
@keyframes eco-spin { to { transform: rotate(360deg); } }

/* --- Sidebar --- */
.eco-news-sidebar { position: sticky; top: 90px; }
.eco-sidebar-widget {
    background: #fff; border-radius: var(--eco-radius);
    padding: 24px; margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.eco-sidebar-heading {
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--eco-text-muted);
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid var(--eco-border-light);
}
.eco-cat-list { list-style: none; padding: 0; margin: 0; }
.eco-cat-list li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; font-size: 0.9rem; color: var(--eco-text-dark);
    border-bottom: 1px solid var(--eco-border-light);
    transition: var(--eco-transition);
}
.eco-cat-list li:last-child a { border-bottom: none; }
.eco-cat-list li a:hover { color: var(--eco-green-primary); padding-left: 4px; }

.eco-sidebar-tabs { display: flex; margin-bottom: 16px; border-bottom: 2px solid var(--eco-border-light); }
.eco-stab {
    flex: 1; padding: 8px 0; font-size: 13px; font-weight: 600;
    background: transparent; border: none; cursor: pointer;
    color: var(--eco-text-muted);
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: var(--eco-transition);
}
.eco-stab.active { color: var(--eco-green-primary); border-bottom-color: var(--eco-green-primary); }
.eco-stab-content { display: none; }
.eco-stab-content.active { display: block; }

.eco-sidebar-post {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 10px 0; border-bottom: 1px solid var(--eco-border-light);
}
.eco-sidebar-post:last-child { border-bottom: none; }
.eco-sidebar-post-img {
    flex-shrink: 0; width: 72px; height: 56px;
    border-radius: 6px; overflow: hidden; display: block;
}
.eco-sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.eco-sidebar-post-text { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.eco-sidebar-post-text a { font-size: 0.85rem; font-weight: 600; color: var(--eco-text-dark); line-height: 1.4; }
.eco-sidebar-post-text a:hover { color: var(--eco-green-primary); }
.eco-sidebar-post-text span { font-size: 11px; color: var(--eco-text-muted); display: flex; align-items: center; gap: 4px; }

.eco-tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-tag {
    padding: 4px 12px; background: var(--eco-bg-sage);
    color: var(--eco-text-muted); font-size: 12px; font-weight: 600;
    border-radius: 20px; border: 1px solid var(--eco-border-light);
    transition: var(--eco-transition); text-decoration: none;
}
.eco-tag:hover { background: var(--eco-green-primary); color: #fff; border-color: var(--eco-green-primary); }

/* --- Article detail --- */
.eco-article-detail-wrap { background: var(--eco-bg-offwhite); }

.eco-article-header {
    background: linear-gradient(135deg, var(--eco-green-dark) 0%, var(--eco-green-primary) 100%);
    padding: 55px 0 45px;
}
.eco-article-header h1 { color: #fff !important; font-size: 2rem; font-weight: 800; line-height: 1.25; margin-bottom: 12px; }

.eco-article-cat-label {
    display: inline-block; background: var(--eco-accent-warm);
    color: #fff; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    padding: 4px 14px; border-radius: 20px; margin-bottom: 14px;
}
.eco-article-cat-label a { color: #fff !important; }

.eco-article-lead {
    color: rgba(255,255,255,0.82); font-size: 1rem;
    max-width: 680px; line-height: 1.7; margin-bottom: 16px;
}

.eco-article-header-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.eco-article-header-meta span {
    color: rgba(255,255,255,0.72); font-size: 13px;
    display: flex; align-items: center; gap: 6px;
}

.eco-article-featured-img { background: #fff; padding: 0 0 10px; }
.eco-article-featured-img img {
    width: 100%; max-height: 500px; object-fit: cover;
    border-radius: 0 0 var(--eco-radius) var(--eco-radius);
    display: block;
}

.eco-article-body {
    background: #fff; border-radius: var(--eco-radius);
    padding: 36px; box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-bottom: 24px; font-size: 1rem; line-height: 1.85;
    color: var(--eco-text-dark);
}
.eco-article-body img { max-width: 100%; border-radius: 6px; margin: 12px 0; }

.eco-article-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.eco-tags-label {
    font-size: 13px; font-weight: 700; color: var(--eco-text-muted);
    display: flex; align-items: center; gap: 5px; white-space: nowrap;
}

.eco-share-bar {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 24px; background: #fff;
    border-radius: var(--eco-radius); margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.eco-share-bar > span { font-size: 13px; font-weight: 700; color: var(--eco-text-muted); white-space: nowrap; }

.eco-related-section { margin-bottom: 32px; }
.eco-related-heading {
    font-size: 1.1rem; font-weight: 700; color: var(--eco-green-dark);
    margin-bottom: 18px; padding-bottom: 10px;
    border-bottom: 2px solid var(--eco-accent-warm);
    display: inline-block;
}
.eco-related-card {
    display: flex; gap: 12px; align-items: flex-start;
    background: #fff; border-radius: 8px;
    padding: 12px; box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    transition: var(--eco-transition); height: 100%;
}
.eco-related-card:hover { box-shadow: var(--eco-shadow); transform: translateY(-2px); }
.eco-related-img { flex-shrink: 0; width: 90px; height: 68px; border-radius: 6px; overflow: hidden; }
.eco-related-img img { width: 100%; height: 100%; object-fit: cover; }
.eco-related-body { display: flex; flex-direction: column; gap: 6px; }
.eco-related-body a { font-size: 0.88rem; font-weight: 600; color: var(--eco-text-dark); line-height: 1.4; }
.eco-related-body a:hover { color: var(--eco-green-primary); }
.eco-related-body span { font-size: 11px; color: var(--eco-text-muted); display: flex; align-items: center; gap: 4px; }

.eco-comments-section { margin-top: 8px; }

/* Light breadcrumb (on dark header backgrounds) */
.eco-breadcrumb-light .breadcrumb-item,
.eco-breadcrumb-light .breadcrumb-item a { color: rgba(255,255,255,0.65); font-size: 13px; }
.eco-breadcrumb-light .breadcrumb-item.active { color: rgba(255,255,255,0.90); }
.eco-breadcrumb-light .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.35); }

/* Page title inner flex layout (shared) */
.eco-page-title-badge {
    display: inline-block; background: var(--eco-accent-warm);
    color: #fff; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    padding: 4px 14px; border-radius: 20px; margin-bottom: 10px;
}
.eco-page-title-sub { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin: 0; }
.eco-breadcrumb .breadcrumb-item,
.eco-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,0.70); font-size: 13px; }
.eco-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.95); }
.eco-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.40); }

/* =========================================
   PROFIL / PAGES — eco-profile-* styles
   ========================================= */

.eco-profile-page-title { padding: 55px 0 45px !important; }

.eco-profile-section {
    background: var(--eco-bg-offwhite);
    padding: 70px 0 80px;
}

/* Accent bar */
.eco-profile-accent-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.eco-profile-accent-dot {
    display: inline-block;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--eco-green-primary);
    flex-shrink: 0;
}
.eco-profile-accent-dot--warm { background: var(--eco-accent-warm); width: 8px; height: 8px; }
.eco-profile-accent-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--eco-green-primary) 0%, transparent 100%);
    border-radius: 2px;
}

/* Main content card */
.eco-profile-card {
    background: #fff;
    border-radius: var(--eco-radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    overflow: hidden;
}

.eco-profile-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 36px 28px;
    background: linear-gradient(135deg, rgba(29,107,68,0.05) 0%, rgba(196,135,42,0.04) 100%);
    border-bottom: 1px solid var(--eco-border-light);
}

.eco-profile-card-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: var(--eco-green-primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 22px;
}

.eco-profile-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--eco-green-dark);
    margin: 0 0 6px;
    line-height: 1.3;
}

.eco-profile-card-lead {
    color: var(--eco-text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.eco-profile-divider {
    height: 1px;
    background: var(--eco-border-light);
    margin: 0 36px;
}

/* Body / rich text */
.eco-profile-body {
    padding: 32px 36px;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--eco-text-dark);
}
.eco-profile-body img { max-width: 100%; border-radius: 8px; margin: 14px 0; }
.eco-profile-body h2,
.eco-profile-body h3 { color: var(--eco-green-dark); font-weight: 700; margin-top: 28px; }
.eco-profile-body ul,
.eco-profile-body ol { padding-left: 20px; }
.eco-profile-body ul li,
.eco-profile-body ol li { margin-bottom: 6px; }
.eco-profile-body blockquote {
    border-left: 4px solid var(--eco-green-primary);
    background: var(--eco-bg-sage);
    margin: 20px 0;
    padding: 14px 20px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--eco-green-dark);
}

/* Share bar */
.eco-profile-share {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 36px 28px;
    background: var(--eco-bg-sage);
}
.eco-profile-share-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--eco-green-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 575.98px) {
    .eco-profile-card-header { flex-direction: column; padding: 24px 20px 20px; }
    .eco-profile-body { padding: 24px 20px; }
    .eco-profile-divider { margin: 0 20px; }
    .eco-profile-share { padding: 16px 20px 20px; }
}

/* =========================================
   QR CODE / DONASI BANNER
   ========================================= */

.eco-qr-section {
    background: #fff;
    padding: 70px 0;
}

.eco-qr-banner {
    display: flex;
    align-items: center;
    gap: 56px;
    background: linear-gradient(135deg, var(--eco-green-dark) 0%, var(--eco-green-primary) 60%, #2e8b57 100%);
    border-radius: 16px;
    padding: 52px 60px;
    position: relative;
    overflow: hidden;
}

/* decorative circle blobs */
.eco-qr-banner::before,
.eco-qr-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}
.eco-qr-banner::before { width: 320px; height: 320px; top: -80px; right: 220px; }
.eco-qr-banner::after  { width: 200px; height: 200px; bottom: -60px; left: 40%; }

.eco-qr-text { flex: 1; position: relative; z-index: 1; }

.eco-qr-kicker {
    display: inline-block;
    background: var(--eco-accent-warm);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.eco-qr-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 14px;
}

.eco-qr-desc {
    color: rgba(255,255,255,0.82);
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 28px;
}

.eco-qr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--eco-green-dark);
    font-size: 14px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 30px;
    transition: var(--eco-transition);
    text-decoration: none;
}
.eco-qr-btn:hover {
    background: var(--eco-accent-warm);
    color: #fff;
    transform: translateY(-2px);
}

.eco-qr-img-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.eco-qr-img-wrap img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.20);
}

.eco-qr-caption {
    font-size: 12px;
    color: rgba(255,255,255,0.70);
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 767.98px) {
    .eco-qr-banner {
        flex-direction: column;
        padding: 36px 28px;
        gap: 32px;
        text-align: center;
    }
    .eco-qr-desc { margin-left: auto; margin-right: auto; }
    .eco-qr-title { font-size: 1.5rem; }
}

/* =========================================
   PROGRAM — Mega Dropdown (grid style)
   ========================================= */

/* Wrapper positioning */
.eco-menu-program { position: static !important; }

.eco-mega-dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    z-index: 500;
    padding-top: 6px;
}

.eco-menu-program:hover .eco-mega-dropdown,
.eco-menu-program.menu-item-open .eco-mega-dropdown {
    display: block;
}

.eco-mega-inner {
    background: #fff;
    border-top: 2px solid var(--eco-green-primary);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 28px 32px 32px;
    max-width: 1140px;
    margin: 0 auto;
}

/* Heading row */
.eco-mega-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--eco-border-light);
}
.eco-mega-heading span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--eco-green-dark);
}
.eco-mega-heading p {
    font-size: 12px;
    color: var(--eco-text-muted);
    margin: 0;
}

/* Grid of cards */
.eco-mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

/* Each card */
.eco-mega-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: var(--eco-transition);
    background: var(--eco-bg-offwhite);
}
.eco-mega-item:hover {
    background: var(--eco-bg-sage);
    border-color: var(--eco-green-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(29,107,68,0.10);
}

.eco-mega-item-img {
    flex-shrink: 0;
    width: 52px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--eco-green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.eco-mega-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.eco-mega-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    font-size: 18px;
}

.eco-mega-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.eco-mega-item-body strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--eco-text-dark);
    line-height: 1.35;
    transition: color 0.2s ease;
}
.eco-mega-item:hover .eco-mega-item-body strong {
    color: var(--eco-green-primary);
}
.eco-mega-item-body span {
    font-size: 11.5px;
    color: var(--eco-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* On transparent header: dropdown needs solid bg immediately */
#header.eco-header-transparent .eco-mega-dropdown { padding-top: 0; }
#header.eco-header-transparent .eco-mega-inner {
    border-top-color: var(--eco-green-primary);
}

/* Hide on mobile (handled by Canvas off-canvas menu) */
@media (max-width: 991.98px) {
    .eco-mega-dropdown { display: none !important; }
}

/* =========================================
   PROGRAM PAGE — eco-prog-* styles
   ========================================= */

.eco-program-page-title { padding: 55px 0 45px !important; }

.eco-program-page-section {
    background: var(--eco-bg-offwhite);
    padding: 70px 0 80px;
}

/* Card */
.eco-prog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: var(--eco-radius);
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    transition: var(--eco-transition);
    text-decoration: none;
    color: inherit;
}
.eco-prog-card:hover {
    box-shadow: 0 8px 32px rgba(29,107,68,0.13);
    transform: translateY(-6px);
    color: inherit;
    text-decoration: none;
}

/* Image */
.eco-prog-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--eco-green-dark);
}
.eco-prog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}
.eco-prog-card:hover .eco-prog-card-img-wrap img {
    transform: scale(1.07);
}

/* No-image placeholder */
.eco-prog-card-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--eco-green-dark), var(--eco-green-primary));
    font-size: 52px;
    color: rgba(255,255,255,0.35);
}

/* Hover overlay */
.eco-prog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,40,22,0.72) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 18px 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.eco-prog-card:hover .eco-prog-card-overlay { opacity: 1; }
.eco-prog-card-cta {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Body */
.eco-prog-card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.eco-prog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--eco-green-dark);
    margin: 0 0 10px;
    line-height: 1.4;
}
.eco-prog-card-desc {
    font-size: 0.875rem;
    color: var(--eco-text-muted);
    line-height: 1.65;
    flex: 1;
    margin: 0 0 16px;
}
.eco-prog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--eco-green-primary);
    margin-top: auto;
    transition: gap 0.2s ease, color 0.2s ease;
}
.eco-prog-card:hover .eco-prog-card-link {
    gap: 9px;
    color: var(--eco-green-dark);
}

/* Empty state */
.eco-prog-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--eco-text-muted);
}
.eco-prog-empty i { font-size: 48px; margin-bottom: 16px; display: block; opacity: 0.4; }
