@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --eco-frame: #6F8E65;
    --eco-frame-dark: #5D7B54;
    --eco-primary: #4B7F3C;
    --eco-primary-hover: #3B682E;
    --eco-sage-bar: #A6C191;
    --eco-sage-soft: #EBF3E3;
    --eco-surface: #FAFBF8;
    --eco-white: #FFFFFF;
    --eco-text-dark: #1B2A1A;
    --eco-text-muted: #495A47;
    --eco-border: #DCE7D4;
    --eco-footer: #233822;
    --bs-secondary-color: #495A47;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--eco-surface);
    color: var(--eco-text-dark);
    margin: 0;
}

/* Framed Canvas Layout (Background Emerald Light-Beam Sesuai Referensi Gambar 2) */
body.eco-framed-body {
    background-color: #032110;
    background-image:
        radial-gradient(ellipse 65% 45% at 82% 88%, rgba(122, 218, 92, 0.52) 0%, rgba(62, 160, 74, 0.22) 42%, rgba(3, 33, 16, 0) 74%),
        radial-gradient(ellipse 55% 40% at 72% 42%, rgba(86, 186, 92, 0.36) 0%, rgba(28, 108, 52, 0.14) 50%, rgba(3, 33, 16, 0) 78%),
        radial-gradient(ellipse 50% 60% at 18% 58%, rgba(44, 148, 72, 0.28) 0%, rgba(3, 33, 16, 0) 70%),
        linear-gradient(128deg, #021B0D 0%, #06351A 28%, #0E5428 56%, #1D6E34 78%, #073319 100%);
    background-attachment: fixed;
    background-size: cover;
    padding: 24px 18px;
    min-height: 100vh;
}

/* Modal / Wadah Utama Halaman (Warna Putih-Krem Bersih Sebelumnya) */
.eco-page-shell {
    max-width: 1320px;
    margin: 0 auto;
    background-color: var(--eco-surface);
    border-radius: 28px;
    box-shadow: 0 28px 65px rgba(1, 20, 9, 0.45);
    overflow-x: clip;
}

/* Ruang napas horizontal pada setiap halaman agar tulisan & elemen tidak menempel dinding luar */
.eco-page-shell .container,
.eco-page-shell .container-fluid {
    padding-left: clamp(20px, 3.8vw, 52px) !important;
    padding-right: clamp(20px, 3.8vw, 52px) !important;
}

/* Kontras teks muted di permukaan terang */
.eco-page-shell .text-muted {
    color: var(--eco-text-muted) !important;
}

/* =========================================
   TOMBOL UTAMA (PILL FOREST GREEN)
   ========================================= */
.btn-green {
    background-color: var(--eco-primary);
    color: #ffffff;
    border: 1px solid var(--eco-primary);
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-green:hover {
    background-color: var(--eco-primary-hover);
    border-color: var(--eco-primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(75, 127, 60, 0.25);
}

.btn-outline-success {
    color: var(--eco-primary);
    border-color: var(--eco-primary);
    border-radius: 999px;
    font-weight: 600;
}
.btn-outline-success:hover {
    background-color: var(--eco-primary);
    border-color: var(--eco-primary);
    color: #ffffff;
}

/* =========================================
   NAVBAR PUTIH SOLID (ANTI KEBOCORAN GAMBAR SAAT SCROLL)
   ========================================= */
.navbar-dark-custom {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #E8F0E2;
    padding-top: 12px;
    padding-bottom: 12px;
    z-index: 1025 !important;
}

.eco-page-shell > .navbar-dark-custom {
    top: -1px;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
}

.eco-page-shell > .navbar-dark-custom.navbar-scrolled {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    box-shadow: 0 -4px 0 0 #FFFFFF, 0 8px 24px rgba(31, 46, 30, 0.12) !important;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--eco-primary) !important;
    letter-spacing: -0.3px;
}

.navbar-brand img {
    height: 40px !important;
    width: auto !important;
    max-width: 150px;
    object-fit: contain;
}

.navbar-dark-custom .navbar-nav .nav-link {
    color: #2E3D2D;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 8px 16px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.navbar-dark-custom .navbar-nav .nav-link:hover,
.navbar-dark-custom .navbar-nav .nav-link.active {
    color: var(--eco-primary) !important;
    background-color: var(--eco-sage-soft);
}

.navbar-dark-custom .dropdown-menu {
    background-color: #ffffff;
    border: 1px solid var(--eco-border);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(31, 46, 30, 0.12);
    padding: 6px;
}

.navbar-dark-custom .dropdown-menu .dropdown-item {
    color: #2E3D2D;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
}

.navbar-dark-custom .dropdown-menu .dropdown-item:hover {
    background-color: var(--eco-sage-soft);
    color: var(--eco-primary);
}

.navbar-dark-custom .dropdown-divider {
    border-color: #E8F0E2;
}

.navbar-toggler {
    border-color: var(--eco-border) !important;
    border-radius: 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2846, 61, 45, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Search Navbar Pill Ringkas */
.navbar-search-form {
    align-items: center;
}

.navbar-search-form .form-control {
    font-size: 0.84rem;
    padding: 0.32rem 0.85rem;
    height: 36px;
    width: 155px;
    max-width: 185px;
    border-radius: 999px;
    border: 1px solid #D5E2CC;
    background-color: #F6FAF2;
    color: var(--eco-text-dark);
    transition: all 0.2s ease;
}

.navbar-search-form .form-control:focus {
    width: 190px;
    max-width: 215px;
    background-color: #ffffff;
    border-color: var(--eco-primary);
    box-shadow: 0 0 0 0.2rem rgba(75, 127, 60, 0.18);
}

.navbar-search-form .btn-search-nav {
    font-size: 0.84rem;
    height: 36px;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    line-height: 1;
}

/* Tombol Auth Navbar Pill */
.btn-auth-nav {
    background-color: var(--eco-primary);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid var(--eco-primary);
    padding: 6px 18px !important;
    height: 36px !important;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.btn-auth-nav:hover {
    background-color: var(--eco-primary-hover);
    border-color: var(--eco-primary-hover);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(75, 127, 60, 0.28);
}

/* Override tombol user dropdown saat login agar terbaca di navbar putih */
.navbar-dark-custom .auth-nav-container .btn-outline-light {
    color: var(--eco-text-dark) !important;
    border-color: #CFE0C5 !important;
    background-color: #F6FAF2 !important;
    border-radius: 999px !important;
    height: 36px !important;
    padding: 0 14px !important;
}

.navbar-dark-custom .auth-nav-container .btn-outline-light:hover {
    background-color: var(--eco-sage-soft) !important;
    border-color: var(--eco-primary) !important;
}

.user-nav-dropdown .dropdown-toggle::after {
    vertical-align: middle;
}

/* Styling Dropdown User Elegan (Light Eco Theme) */
.user-dropdown-custom {
    background-color: #ffffff !important;
    border: 1px solid var(--eco-border) !important;
    border-radius: 14px;
    min-width: 210px;
    padding: 6px;
    margin-top: 8px !important;
    box-shadow: 0 12px 30px rgba(31, 46, 30, 0.14) !important;
}
.user-dropdown-custom .dropdown-item {
    color: var(--eco-text-dark) !important;
    font-size: 0.875rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.user-dropdown-custom .dropdown-item:hover {
    background-color: var(--eco-sage-soft) !important;
    color: var(--eco-primary) !important;
}
.user-dropdown-custom .dropdown-item.text-danger {
    color: #dc3545 !important;
}
.user-dropdown-custom .dropdown-item.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #b02a37 !important;
}
.user-dropdown-header-custom {
    padding: 8px 14px;
    border-bottom: 1px solid #E8F0E2;
    margin-bottom: 4px;
}
.user-dropdown-header-custom .user-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--eco-text-dark);
    line-height: 1.2;
}
.user-dropdown-header-custom .user-role {
    font-size: 0.75rem;
    color: var(--eco-primary);
    font-weight: 600;
    margin-top: 2px;
}

/* =========================================
   HERO FULL-BLEED CAROUSEL (SESUAI REFERENSI)
   ========================================= */
.eco-hero-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #1D301C;
}

.eco-hero-wrapper .carousel-item img {
    height: 540px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.eco-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        95deg,
        rgba(17, 32, 16, 0.82) 0%,
        rgba(23, 44, 21, 0.56) 48%,
        rgba(23, 44, 21, 0.18) 100%
    );
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.eco-hero-content {
    max-width: 600px;
    padding: 0 12px 48px 12px;
    pointer-events: auto;
}

.eco-hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(75, 127, 60, 0.92);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.eco-hero-title {
    font-size: clamp(2.1rem, 4.4vw, 3.45rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.eco-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 26px;
}

.eco-hero-subtitle a {
    color: #C7E8A9;
    font-weight: 700;
    text-decoration: none;
}

.eco-hero-subtitle a:hover {
    text-decoration: underline;
}

.btn-hero-eco {
    background-color: rgba(75, 127, 60, 0.88);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    padding: 11px 28px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.btn-hero-eco:hover {
    background-color: var(--eco-primary);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-hero-outline {
    background-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 11px 26px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.btn-hero-outline:hover {
    background-color: #ffffff;
    color: var(--eco-primary);
}

/* Carousel Controls */
.carousel-item img {
    height: 480px;
    object-fit: cover;
    object-position: center;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 4;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(25, 45, 24, 0.55);
    background-size: 50%, 50%;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(75, 127, 60, 0.9);
}

.carousel-container-box {
    border: 4px solid #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    border-radius: 20px;
    background-color: #ffffff;
}

/* =========================================
   FLOATING SAGE-GREEN PILL BAR (STATISTIK)
   ========================================= */
.eco-floating-bar-wrap {
    margin-top: -54px;
    position: relative;
    z-index: 10;
    padding: 0 clamp(20px, 3.8vw, 52px);
}

.eco-sage-pill-shell {
    background: linear-gradient(
        135deg,
        rgba(176, 206, 154, 0.52) 0%,
        rgba(148, 184, 128, 0.36) 100%
    );
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 12px 16px;
    box-shadow:
        0 18px 40px rgba(20, 42, 18, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    max-width: 1120px;
    margin: 0 auto;
}

.stats-box {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    box-shadow:
        0 6px 20px rgba(24, 46, 22, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.stats-box:hover {
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
        0 12px 28px rgba(75, 127, 60, 0.16),
        inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

/* Efek Glass pada Bootstrap Modal */
.modal-content {
    background: rgba(250, 251, 248, 0.86) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 24px 54px rgba(18, 36, 16, 0.28) !important;
}

.stat-item {
    padding: 8px 12px;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--eco-text-dark);
    line-height: 1;
}

/* =========================================
   SPLIT ABOUT SECTION (WELCOME STYLE)
   ========================================= */
.eco-about-section {
    background-color: var(--eco-surface);
    padding: 78px 0 72px 0;
}

.eco-about-photo-frame {
    position: relative;
    display: inline-block;
    max-width: 400px;
    width: 100%;
}

.eco-about-photo-card {
    background: #ffffff;
    padding: 14px;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(31, 46, 30, 0.1);
    border: 1px solid #EAF1E4;
}

.eco-about-photo-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: linear-gradient(135deg, #F3F8EE 0%, #E6F0DD 100%);
    border-radius: 14px;
    padding: 18px;
}

.eco-floating-badge-top {
    position: absolute;
    top: -18px;
    left: -18px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background-color: var(--eco-primary);
    color: #ffffff;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 24px rgba(75, 127, 60, 0.32);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
    z-index: 3;
}

.eco-floating-badge-bottom {
    position: absolute;
    bottom: -14px;
    right: -14px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid var(--eco-sage-soft);
    box-shadow: 0 8px 20px rgba(31, 46, 30, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eco-primary);
    font-size: 1.35rem;
    z-index: 3;
}

.about-dark {
    background-color: var(--eco-surface);
    color: var(--eco-text-dark);
    padding: 72px 0;
}

/* =========================================
   SOFT SAGE-GREEN SECTION (LAYANAN & BERITA)
   ========================================= */
.eco-sage-section {
    background-color: var(--eco-sage-soft);
    padding: 72px 0;
}

.eco-section-heading {
    color: #2B4727;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.service-card {
    border: 1px solid #DCE8D3;
    border-radius: 22px;
    padding: 28px 26px;
    background: #ffffff;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 26px rgba(43, 71, 39, 0.06);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: var(--eco-sage-soft);
    color: var(--eco-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

/* Pagination Dots Dekoratif (Sesuai Referensi) */
.eco-dots-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 34px;
}

.eco-dots-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #C3D6B6;
    display: inline-block;
}

.eco-dots-indicator span.active {
    width: 22px;
    border-radius: 999px;
    background-color: var(--eco-primary);
}

/* =========================================
   NEWS & UPDATES SECTION
   ========================================= */
.news-section {
    background-color: var(--eco-surface);
    padding: 72px 0;
}

.news-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #E3ECD9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 8px 24px rgba(31, 46, 30, 0.05);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(75, 127, 60, 0.14);
}

.news-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.news-date {
    font-size: 0.8rem;
    color: var(--eco-primary) !important;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--eco-text-dark);
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.2s;
}

.news-title:hover {
    color: var(--eco-primary);
}

/* =========================================
   BANNER SUBPAGES
   ========================================= */
.tagline-section {
    background-color: var(--eco-surface);
    padding: 50px 0;
}

.tagline-section h1 {
    color: var(--eco-text-dark);
    font-weight: 800;
}

.tagline-section p {
    color: var(--eco-text-muted);
    font-size: 1.05rem;
}

/* Banner Subpages — Efek Glassmorphism Hijau Emerald (Sesuai Gambar 2) */
.banner-box-style {
    position: relative;
    border: 1.5px solid rgba(255, 255, 255, 0.46);
    box-shadow:
        0 20px 44px rgba(3, 32, 15, 0.30),
        inset 0 1px 1px rgba(255, 255, 255, 0.55),
        inset 0 -1px 1px rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background:
        radial-gradient(ellipse 65% 80% at 88% 82%, rgba(132, 220, 102, 0.42) 0%, rgba(132, 220, 102, 0) 68%),
        radial-gradient(ellipse 55% 75% at 15% 15%, rgba(18, 86, 42, 0.45) 0%, rgba(18, 86, 42, 0) 65%),
        linear-gradient(135deg, rgba(16, 76, 38, 0.86) 0%, rgba(44, 124, 58, 0.78) 52%, rgba(82, 168, 78, 0.76) 100%);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    overflow: hidden;
}

.banner-box-style::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        118deg,
        rgba(255, 255, 255, 0.20) 0%,
        rgba(255, 255, 255, 0.04) 36%,
        rgba(255, 255, 255, 0.14) 68%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.banner-content-custom {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 72px 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* =========================================
   FOOTER DEEP FOREST GREEN (SELURUH TEKS PUTIH)
   ========================================= */
footer,
.eco-page-shell footer {
    background-color: var(--eco-footer);
    color: #FFFFFF !important;
    padding: 56px 0 28px 0;
}

footer h5,
.eco-page-shell footer h5 {
    color: #FFFFFF !important;
    font-weight: 700;
    margin-bottom: 16px;
}

footer p,
footer li,
footer a,
footer span,
footer div,
footer small,
.eco-page-shell footer p,
.eco-page-shell footer li,
.eco-page-shell footer a,
.eco-page-shell footer span,
.eco-page-shell footer .text-light,
.eco-page-shell footer .text-muted,
.eco-page-shell footer .text-white-50,
.eco-page-shell footer .text-secondary,
footer .text-light,
footer .text-muted,
footer .text-white-50,
footer .text-secondary {
    color: #FFFFFF !important;
}

footer .text-success,
.eco-page-shell footer .text-success {
    color: #9BE387 !important;
}

footer hr,
.eco-page-shell footer hr {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.banner-box-style .text-muted,
.banner-box-style .text-light {
    color: #EDF5EA !important;
}

.eco-page-shell > footer {
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
}

footer ul.list-unstyled li a {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

footer ul.list-unstyled li a:hover {
    color: #B4E197 !important;
    text-decoration: underline !important;
}

/* =========================================
   KOMPONEN SUBPAGES (LAYANAN, PROFIL, TESTIMONI, ORG)
   ========================================= */
.badge-organik {
    background-color: #E2F1D7;
    color: #2A5421;
    font-weight: 600;
}
.badge-anorganik {
    background-color: #DDEBF9;
    color: #164875;
    font-weight: 600;
}
.category-pill {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-block;
}
.step-card {
    border-radius: 18px;
    border: 1px dashed var(--eco-primary);
    background-color: #ffffff;
    padding: 22px;
    height: 100%;
    transition: all 0.3s ease;
}
.step-card:hover {
    border-style: solid;
    background-color: #F4FAF0;
    transform: translateY(-4px);
}
.step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--eco-primary);
    color: #ffffff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

/* Card Profil & Dashboard Pengguna */
.profile-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--eco-border);
    box-shadow: 0 6px 18px rgba(31, 46, 30, 0.05);
}
.stat-card-custom {
    border-radius: 18px;
    padding: 22px;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}
.stat-card-custom::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}
.stat-card-green {
    background: linear-gradient(135deg, #4B7F3C, #346028);
}
.stat-card-blue {
    background: linear-gradient(135deg, #2D7D9A, #1E5D75);
}
.stat-card-orange {
    background: linear-gradient(135deg, #E08A3C, #C26B22);
}
.stat-card-dark {
    background: linear-gradient(135deg, #2C462A, #1E331D);
}

/* Testimoni Card */
.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--eco-border);
    padding: 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 6px 18px rgba(31, 46, 30, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 26px rgba(75, 127, 60, 0.12);
}
.star-rating {
    color: #F4B400;
    font-size: 0.9rem;
}

/* Tombol WhatsApp */
.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    font-weight: 600;
    border-radius: 999px;
    transition: all 0.2s ease;
}
.btn-whatsapp:hover {
    background-color: #1ebc59;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

/* Search Result Highlight */
.search-highlight {
    background-color: #fff3cd;
    font-weight: bold;
    padding: 0 2px;
    border-radius: 2px;
}

/* Galeri 4:3 Aspect Ratio */
.gallery-img-4-3 {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-img-4-3:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Struktur Organisasi Hirarki */
.org-chart-wrapper {
    position: relative;
    padding: 10px 0;
}
.org-card {
    background: #ffffff;
    border: 1px solid var(--eco-border);
    border-radius: 18px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(31, 46, 30, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}
.org-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(75, 127, 60, 0.14);
    border-color: var(--eco-primary);
}
.org-role-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.org-level-pimpinan {
    border-top: 4px solid #4B7F3C;
    background: linear-gradient(180deg, #F5FAF1 0%, #ffffff 100%);
}
.org-level-ketua {
    border-top: 5px solid #2D7D9A;
    background: linear-gradient(180deg, #F1F8FB 0%, #ffffff 100%);
}
.org-level-sekretariat {
    border-top: 4px solid #3C9A76;
    background: linear-gradient(180deg, #F2FBF7 0%, #ffffff 100%);
}
.org-level-bendahara {
    border-top: 4px solid #E08A3C;
    background: linear-gradient(180deg, #FFF9F2 0%, #ffffff 100%);
}
.org-level-divisi {
    border-top: 4px solid #6F5CC1;
    background: linear-gradient(180deg, #F9F7FF 0%, #ffffff 100%);
}
.org-tree-line {
    width: 2px;
    height: 25px;
    background: #C7D8BE;
    margin: 0 auto;
}
.org-divider-title {
    position: relative;
    text-align: center;
    margin: 35px 0 25px 0;
}
.org-divider-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: #DCE7D4;
    z-index: 1;
}
.org-divider-title span {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--eco-text-dark);
    border: 1px solid var(--eco-border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 991.98px) {
    .eco-sage-pill-shell {
        border-radius: 26px;
        padding: 12px;
    }
    .stats-box {
        border-radius: 20px;
    }
    .stats-box .border-end {
        border-end: none !important;
        border-right: none !important;
    }
}

@media (max-width: 768px) {
    body.eco-framed-body {
        padding: 10px 8px;
    }
    .eco-page-shell {
        border-radius: 20px;
    }
    .eco-hero-wrapper .carousel-item img {
        height: 440px;
    }
    .eco-hero-content {
        padding-bottom: 24px;
    }
    .eco-floating-bar-wrap {
        margin-top: 16px;
        padding: 0 12px;
    }
    .eco-floating-badge-top {
        top: -10px;
        left: 8px;
        width: 74px;
        height: 74px;
        font-size: 0.65rem;
    }
    .eco-floating-badge-bottom {
        bottom: -10px;
        right: 8px;
        width: 48px;
        height: 48px;
    }
    .service-card {
        margin-bottom: 12px;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* =========================================
   EFEK SCROLL & KLIK SEDERHANA
   ========================================= */
.eco-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
}

.eco-reveal.eco-revealed {
    opacity: 1;
    transform: translateY(0);
}

.navbar-dark-custom.navbar-scrolled {
    box-shadow: 0 8px 24px rgba(31, 46, 30, 0.12) !important;
}

/* Tombol Back to Top */
.eco-back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background-color: var(--eco-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(20, 42, 18, 0.28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
    z-index: 1030;
}

.eco-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.eco-back-to-top:hover {
    background-color: var(--eco-primary-hover);
    transform: translateY(-3px);
}

/* Efek Ripple & Press saat Klik Tombol */
.eco-ripple-host {
    position: relative;
    overflow: hidden;
}

.eco-ripple-host:active {
    transform: scale(0.97);
}

.eco-ripple-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    transform: scale(0);
    animation: ecoRippleAnim 0.5s ease-out forwards;
    pointer-events: none;
}

@keyframes ecoRippleAnim {
    to {
        transform: scale(2.8);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
