:root {
    --color-primary: #35542E;
    --color-secondary: #75B368;
    --color-accent: #f8c330;
    --color-light-bg: #ffffff;
    --color-light-text: #35542E;
    --color-light-shadow: rgba(0, 0, 0, 0.1);
    --color-header-bg: var(--color-primary);
    --color-header-text: #ffffff;
    --color-header-shadow: var(--color-light-shadow);
    --color-button-primary-bg: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    --color-button-primary-text: #ffffff;
    --color-gradient-text: linear-gradient(45deg, var(--color-accent), #ffffff);
}

.dark-mode {
    --color-light-bg: #35542E;
    --color-light-text: #f3f4f6;
    --color-light-shadow: rgba(255, 255, 255, 0.1);
    --color-header-bg: var(--color-secondary);
    --color-header-text: #ffffff;
    --color-header-shadow: var(--color-light-shadow);
    --color-gradient-text: linear-gradient(45deg, var(--color-accent), #a1a1aa);
}

/* base dan utilites*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--color-light-bg);
    color: var(--color-light-text);
    transition: background-color 0.3s, color 0.3s;
    min-height: 100vh;
}

/* Utilitas */
.flex-col { display: flex; flex-direction: column; }
.flex-display { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.auto-margin { margin-left: auto; margin-right: auto; }
.mt-20 { margin-top: 5rem; }
.p-10 { padding: 2.5rem; }
.rounded-3xl { border-radius: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.max-w-5xl { max-width: 64rem; }
.gap-12 { gap: 3rem; }
.p-1 { padding: 0.25rem; }
.h-80 { height: 20rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mr-4 { margin-right: 1rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.w-16 { width: 4rem !important; }
.h-16 { height: 4rem !important; }
.rounded-full { border-radius: 50% !important; }
.p-8 { padding: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.mr-3 { margin-right: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-white { color: white; }
.rounded-full { border-radius: 9999px; }
.transition-default { transition: all 0.3s ease-in-out; }
.static { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.hidden { display: none !important; }
.z-10 { z-index: 10; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.p-6 { padding: 1.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 0.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-accent { color: var(--color-accent); }
.transform { transform: var(--transform, none); }
.-translate-x-1\/2 { --transform: translateX(-50%); }
.bottom-12 { bottom: 3rem; }
.left-1\/2 { left: 50%; }
.min-height-screen { min-height: 100vh; }
.overflow-hidden { overflow: hidden; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.leading-relaxed { line-height: 1.625; }
.mb-8 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.opacity-90 { opacity: 0.9; }
.bg-gradient-to-br.from-white.to-gray-50 { background: linear-gradient(to bottom right, #ffffff, #f9fafb); }
.text-gray-700 { color: #374151; }
.text-yellow-300 { color: #f6d744; }

.text-center {
    text-align: center;
}

.gap-8 {
    gap: 2rem;
}

/* Utilitas untuk Pengumuman Section (Light Mode) */
.text-gray-600 { color: #75B368; }
.text-gray-700 { color: #35542E; }
.text-gray-300 { color: #d1d5db; }
.text-green-600 { color: #75B368; }
.text-yellow-600 { color: #d97706; }
.text-purple-600 { color: #9333ea; }
.border-opacity-30 { border-color: rgba(255, 255, 255, 0.3); } /* Untuk card hero, digunakan kembali di sini */
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-2xl { font-size: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.p-8 { padding: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.max-w-6xl { max-width: 72rem; }
.rounded-2xl { border-radius: 1rem; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 1s linear infinite; }
.border-b-2 { border-bottom-width: 2px; }

/* Warna Tambahan */
.text-gray-800 { color: #1f2937; }
.text-orange { color: #f97316; } /* Warna Oranye Utama */
.text-blue-600 { color: #2563eb; } /* Warna Biru Utama */

.bg-gradient-primary-accent { background: linear-gradient(to right, var(--color-primary), var(--color-secondary)); } /* Garis tepi Sejarah */
.bg-gradient-primary-green700 { background: linear-gradient(to right, var(--color-primary), #35542E); } /* Fakta Menarik */
.bg-gradient-accent-blue500 { background: linear-gradient(to right, #4c51bf, #3b82f6); } /* Keunggulan Kami */

/* Ukuran Teks Tambahan */
.text-6xl { font-size: 3.75rem; }
.text-5xl { font-size: 3rem; }
.text-4xl { font-size: 2.25rem; }
.text-2xl { font-size: 1.5rem; }

/* Padding & Margin Tambahan */
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 0.75rem; }
.p-10 { padding: 2.5rem; }
.h-8 { height: 2rem; }
.h-4 { height: 1rem; }

/* Tata Letak & Bentuk */
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }
.w-full { width: 100%; }
.h-1 { height: 0.25rem; }
.rounded-3xl { border-radius: 1.5rem; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.overflow-hidden { overflow: hidden; }

/* Grid */
@media (min-width: 1024px) {
    .lg-grid-cols-3 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.gap-10 { gap: 2.5rem; }

@media (min-width: 768px) {
    .md-grid-cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .lg-grid-cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gap-8 { gap: 2rem; }
.text-center { text-align: center; }
.bg-gradient-to-r {
}
.bg-gradient-br-gray-white {
    background: linear-gradient(to bottom right, #f3f4f6, #ffffff);
}
.bg-gray-200 { background-color: #e5e7eb; }


/* header */

.header-shadow {
    box-shadow: 0 4px 6px -1px var(--color-header-shadow);
}

.bg-primary {
    background-color: #75B368;
}

.dark-mode .bg-primary {
    background-color: #35542E;
}

.container {
    max-width: 1200px;
    padding-left: 1rem;
    padding-right: 1rem;
}

#lang-toggle,
#theme-toggle {
    background: none;
    border: none;
    color: var(--color-header-text);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
}

#lang-toggle:hover,
#theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-accent);
}

#auth-link, #logout-link, #logout-link-header {
    text-decoration: none;
}

.border { border-width: 1px; border-style: solid; }
.border-white { border-color: white; }

.hover-bg-white:hover {
    background-color: white;
    color: var(--color-header-bg) !important;
}

/* tampilan hero */

.hero-background {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
        url('../images/gunung2.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    position: relative;
}

.gradient-text {
    background: var(--color-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-accent);
}

.bg-gradient-accent-primary {
    background: var(--color-button-primary-bg);
    color: var(--color-button-primary-text);
}

.hover-scale-105:hover {
    transform: scale(1.05);
}

.pulse-button {
    position: relative;
    overflow: hidden;
}
.pulse-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: width 0.4s ease, height 0.4s ease, top 0.4s ease, left 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.pulse-button:hover::before {
    width: 300%;
    height: 300%;
}

.glow-button {
    box-shadow: 0 0 15px rgba(117, 179, 104, 0.7);
}
.glow-button:hover {
    box-shadow: 0 0 25px rgba(117, 179, 104, 1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 15;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px 0 rgba(31, 38, 135, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
.animate-bounce {
    animation: bounce 2s infinite;
}

.absolute.bottom-12.left-1\/2.transform.-translate-x-1\/2.animate-bounce.text-white {
    z-index: 20;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    flex-direction: column;
}

@media (min-width: 600px) {
.button-container {
    flex-direction: row;
    gap: 2rem;
}
}

.pulse-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 100%;
    max-width: 350px;
}

.button-reserve {
    background-color: #75B368;
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 0 15px rgba(40, 167, 69, 0.5);
    animation: pulse 2s infinite;
    }

.button-reserve:hover {
    background-color: #75B368;
    transform: scale(1.05);
    box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.4), 0 0 25px #35542E;
}

.button-location {
    background-color: transparent;
    border: 2px solid #75B368;
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.button-location:hover {
    background-color: #75B368;
    color: #ffffff;
    transform: scale(1.05);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.pulse-button i { margin-right: 0.75rem; font-size: 1.25em; }

.login-button {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #ffffff;
    border-radius: 9999px;
    color: #ffffff;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.15s ease-out;
}

.login-button:hover {
    background-color: #ffffff;
    color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Perbaikan untuk Hero Content agar tetap di tengah */
.hero-content {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* untuk ukuran layar berbeda */
@media (min-width: 640px) {
    .sm-flex-row { flex-direction: row; }
    .sm-space-x-8 > * + * { margin-left: 2rem; margin-top: 0; }
    .sm-space-y-0 > * + * { margin-top: 0; }
}

@media (min-width: 768px) {
    .md-text-8xl { font-size: 4.5rem; }
    .gap-8 {
        gap: 3rem;
    }

    .md-grid-cols-3 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .text-2xl { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
    .lg-text-8xl { font-size: 6rem; }
}

/* pengumuman*/

/* light mode */
.bg-gradient-br-green-blue {
    background: linear-gradient(to bottom right, #f0fff0, #ffffff);
}

.card-announcement {
    background: linear-gradient(135deg, #e0ffe0, #ffffff);
    border: 1px solid rgba(190, 255, 190, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card-announcement:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.text-primary {
    color: var(--color-secondary);
}

.animated-border {
    position: relative;
}

.animated-border::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
    margin: 8px auto 0;
    border-radius: 50%;
    transform: scaleX(0.8);
    transition: transform 0.5s ease;
}

#pengumuman-empty i {
    color: var(--color-secondary);
    opacity: 0.4;
    transition: color 0.3s;
}

/* mode dark */

.dark-mode .bg-gradient-br-green-blue {
    background: linear-gradient(to bottom right, var(--color-light-bg), #35542E);
}

.dark-mode .bg-white,
.dark-mode .card-announcement {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    color: var(--color-light-text);
}

.dark-mode .text-gray-600 {
    color: #f3f4f6;
}
.dark-mode .text-gray-700 {
    color: #f3f4f6;
}
.dark-mode #pengumuman-empty i {
    color: var(--color-secondary);
    opacity: 0.8;
}

.dark-mode .text-4xl.font-bold.text-primary {
    background: none;
    color: #ffffff;
    -webkit-text-fill-color: initial;
}

.dark-mode .text-xl.text-gray-600 {
    color: #e5e7eb;
}

.dark-mode .animated-border::after {
    background: var(--color-secondary);
}

/* bagaian mengapa pilih gunung butak */
@keyframes fadeInMoveUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.bg-gradient-br-gray-white { background: linear-gradient(to bottom right, #f3f4f6, #ffffff); }

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f3f4f6;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    overflow: hidden;
    opacity: 0;
    animation: fadeInMoveUp 1s ease-out forwards;
}

.grid-cols-1 > .stat-card:nth-child(1) { animation-delay: 0.1s; }
.grid-cols-1 > .stat-card:nth-child(2) { animation-delay: 0.3s; }
.grid-cols-1 > .stat-card:nth-child(3) { animation-delay: 0.5s; }

.gradient-text {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: var(--color-accent) !important;
    -webkit-font-smoothing: auto !important;
    transform: none !important;
}
.grid-cols-1 > .stat-card:nth-child(2) .gradient-text { /* Sulit */
    color: #f97316 !important;
}

.stat-card .h-1.bg-gradient-to-r.from-green-400.to-green-600 { background: linear-gradient(to right, #4ade80, #16a34a); }
.stat-card .h-1.bg-gradient-to-r.from-orange-400.to-orange-600 { background: linear-gradient(to right, #fb923c, #ea580c); }
.stat-card .h-1.bg-gradient-to-r.from-blue-400.to-blue-600 { background: linear-gradient(to right, #60a5fa, #2563eb); }

.bg-gradient-to-r.from-green-100.to-green-200 { background: linear-gradient(to right, #dcfce7, #bbf7d0); }
.bg-gradient-to-r.from-orange-100.to-orange-200 { background: linear-gradient(to right, #ffedd5, #fed7aa); }
.bg-gradient-to-r.from-blue-100.to-blue-200 { background: linear-gradient(to right, #eff6ff, #dbeafe); }

.stat-card .fa-mountain { color: var(--color-primary); }
.stat-card .fa-bolt { color: #f97316; }
.stat-card .fa-clock { color: #2563eb; }

.elevation-bar.bg-gray-200, .difficulty-bar.bg-gray-200 {
    height: 4px !important;
    background: #e0e0e0 !important;
    width: 100% !important;
    max-width: 80% !important;
    margin: 0.5rem auto 0.75rem auto !important;
    border-radius: 9999px;
}
.progress-bar { border-radius: 0; overflow: visible; position: relative; }
.elevation-bar .progress-fill, .difficulty-bar .progress-fill { width: 0 !important; background: none !important; }

.stat-card p.text-lg.text-gray-600 { color: #35542E !important; }
.stat-card .difficulty-section p.text-lg.text-gray-600 { color: #f97316 !important; }

.stat-card .p-10 > div {
    animation: none !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* mode dark */
.dark-mode .bg-gradient-br-gray-white { background: linear-gradient(to bottom right, var(--color-primary), var(--color-secondary)); }

.dark-mode .bg-gradient-to-r.from-green-100.to-green-200,
.dark-mode .bg-gradient-to-r.from-orange-100.to-orange-200,
.dark-mode .bg-gradient-to-r.from-blue-100.to-blue-200 { background: var(--color-primary) !important; }

.dark-mode .stat-card .fa-mountain,
.dark-mode .stat-card .fa-bolt,
.dark-mode .stat-card .fa-clock {
    color: var(--color-accent) !important;
}

.dark-mode .stat-card { background-color: #75B368; border-color: #4b5563; }
.dark-mode .stat-card .text-gray-800 { color: #35542E; }
.dark-mode .bg-gray-200 { background-color: #75B368; }
.dark-mode .stat-card.glass-card { background: #75B368; border: 1px solid #4b5563; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }

/* untuk cuaca */

.feature-badge.glass-card {
    background: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
}
.text-gray-800 {
    color: #1f2937;
}

.stat-card p.text-2xl.font-bold.text-primary {
    color: var(--color-secondary);
}

.w-20.h-20.rounded-full {
    &.from-green-100.to-green-200 { background: linear-gradient(to right, #dcfce7, #bbf7d0); }
    &.from-blue-100.to-blue-200 { background: linear-gradient(to right, #eff6ff, #dbeafe); }
    &.from-yellow-100.to-yellow-200 { background: linear-gradient(to right, #fef3c7, #fde68a); }
    &.from-purple-100.to-purple-200 { background: linear-gradient(to right, #f3e8ff, #e9d5ff); }
}

.stat-card .fa-temperature-high { color: #4ade80; }
.stat-card .fa-wind { color: #60a5fa; }
.stat-card .fa-cloud-sun { color: #fbbf24; }
.stat-card .fa-tree { color: #a855f7; }

/* mode dark */
.dark-mode .bg-white {
    background-color: var(--color-secondary);
    border: 1px solid var(--color-primary);
}
.dark-mode .text-gray-800 {
    color: var(--color-primary);
}
.dark-mode .text-gray-600 {
    color: var(--color-primary);
    opacity: 0.8;
}

.dark-mode .w-20.h-20.rounded-full {
    background: var(--color-primary) !important;
}

.dark-mode .stat-card p.text-2xl.font-bold.text-primary {
    color: var(--color-accent);
}

.dark-mode .stat-card .fa-temperature-high { color: var(--color-secondary); }
.dark-mode .stat-card .fa-wind { color: var(--color-accent); }
.dark-mode .stat-card .fa-cloud-sun { color: var(--color-accent); }
.dark-mode .stat-card .fa-tree { color: var(--color-accent); }


/* tampilan mengapa mendaki gunung butak */

/* mode light */
.bg-gradient-primary-accent {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
}

.bg-gradient-primary-accent .text-white {
    color: white;
}

.bg-gradient-primary-accent i {
    color: white;
    opacity: 0.9;
}

/* mode dark */

.dark-mode .bg-gradient-primary-accent {
    background: linear-gradient(to right, var(--color-secondary), var(--color-primary));
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.dark-mode .bg-gradient-primary-accent h3,
.dark-mode .bg-gradient-primary-accent h4,
.dark-mode .bg-gradient-primary-accent p,
.dark-mode .bg-gradient-primary-accent i {
    color: #ffffff !important;
}

.dark-mode #tentang {
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-secondary)) !important;
}

.dark-mode .feature-card .bg-white {
    background-color: var(--color-secondary) !important;
}

.dark-mode .max-w-4xl h2,
.dark-mode .max-w-4xl p {
    color: var(--color-light-text) !important;
}

.dark-mode .feature-card .bg-white h3 {
    color: var(--color-primary) !important;
}
.dark-mode .feature-card .bg-white p {
    color: var(--color-primary) !important;
    opacity: 0.9;
}

.dark-mode .bg-gradient-primary-green700 {
    background: linear-gradient(to right, var(--color-secondary), var(--color-primary)) !important;
}
.dark-mode .bg-gradient-accent-blue500 {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary)) !important;
}

.dark-mode .text-primary { color: var(--color-primary) !important; }
.dark-mode .text-yellow-300 { color: var(--color-accent) !important; }

.dark-mode .feature-card img {
    filter: brightness(0.7) contrast(1.1);
    opacity: 0.9;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.dark-mode .feature-card .overflow-hidden.rounded-2xl.shadow-xl {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* untuk keuntungan mendaki bersama kami */

.benefits-section {
    background: linear-gradient(135deg, #35542E 0%, #75B368 100%);
    margin-top: 5rem;
    border-radius: 1.5rem;
    padding: 3rem;
    color: #FFFFFF;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cards-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-badge {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature-badge.card-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.feature-badge i {
    color: #FFC107;
}

@media (min-width: 768px) {
    .cards-grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
    }

    .cards-grid-wrapper > .feature-badge:nth-child(2) {
        transform: translateY(1.5rem);
    }

    .cards-grid-wrapper > .feature-badge:nth-child(3) {
        transform: translateY(3rem);
    }
}

.feature-card {
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    position: relative;
    background: none !important;
    background-color: #75B368 !important;
    border: none !important;
}

.feature-card.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px 0 rgba(31, 38, 135, 0.5);
}

.feature-card .h-72 {
    height: 18rem;
    overflow: hidden;
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-card .absolute {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(to right, #2563eb, #9333ea);
}

.feature-card:hover .absolute {
    opacity: 0.2;
}

.feature-card .p-8 {
    padding: 2rem;
}

.feature-card .w-16 {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #DBEAFE, #93C5FD);
    color: #2563EB;
}

.feature-card h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--color-primary);
}

.feature-card p {
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.625;
    text-align: center;
}

.feature-card {
    background-color: #75B368 !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card .p-8 {
    background-color: #75B368 !important;
}

.feature-card .w-16 {
    background: #35542E !important;
    background-color: #35542E !important;
    color: white !important;
}

.feature-card i {
    color: white !important;
}

.feature-card h3 {
    color: #35542E !important;
}

.feature-card p {
    color: #35542E !important;
    opacity: 0.9;
}

/* untuk waktu mendaki */

.time-card-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
}

.time-card {
    flex: 1 1 350px;
    min-width: 300px;
    max-width: 48%;
    border-radius: 1.5rem;
    padding: 2.5rem;
    overflow: hidden;
    background: linear-gradient(to bottom, #497241 0%, #1f331b 100%);
    border-top: 4px solid #75B368;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: default;
}

.time-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .time-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.card-header {
    margin-bottom: 2rem;
}

.main-icon-container {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    background: #75B368;
    color: #f3f4f6;
}

.main-icon-container i {
    font-size: 2.25rem;
}

.card-header h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f3f4f6;
}

.card-header p {
    font-size: 1.125rem;
    color: #f3f4f6;
    opacity: 0.8;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.list-icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.card-list-item > div:last-child p {
    font-size: 1.125rem;
    font-weight: 500;
    color: #f3f4f6;
}

.card-list-item > div:last-child strong {
    font-weight: 700;
}

.checkmark-circle {
    background-color: #75B368;
}

.checkmark-circle i {
    color: #f8c330;
}
.time-icon.yellow {
    background-color: #fef08a;
}
.time-icon.yellow i {
    color: #1f2937;
}

.time-icon.orange {
    background-color: #ffe6b8;
}
.time-icon.orange i {
    color: #1f2937;
}

.time-icon.red {
    background-color: #fee2e2;
}
.time-icon.red i {
    color: #dc2626;
}

.time-icon.indigo {
    background-color: #e0e7ff;
}
.time-icon.indigo i {
    color: #4f46e5;
}

.time-icon-wrapper i {
    font-size: 1rem;
}

.dark-mode-toggle {
    background-color: #75B368;
    color: #35542E;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
}
.dark-mode-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}

/* dark mode */



.dark-mode body {
    background-color: #1f2937;
}

.dark-mode .time-card {
    background: linear-gradient(to bottom, #75B368 0%, #9BC45F 100%);
    border-top: 4px solid #35542E;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.dark-mode .time-card:hover {
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.dark-mode .main-icon-container {
    background: #35542E;
    color: #f3f4f6;
}

.dark-mode .checkmark-circle {
     background-color: #35542E;
}
.dark-mode .checkmark-circle i {
    color: #f8c330;
}

.dark-mode .list-icon-wrapper.time-icon {
    background-color: #35542E;
}

.dark-mode .time-icon.yellow i,
.dark-mode .time-icon.red i,
.dark-mode .time-icon.indigo i,
.dark-mode .time-icon.orange i {
    color: #f3f4f6;
}

/* untuk tampilan cuaca */

.weather-container {
    padding: 3rem 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-card {
    background-color: #75B368;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.4);
    max-width: 1200px;
    width: 95%;
    transition: background-color 0.3s, box-shadow 0.3s;
}

/*  Header  */
.header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.header h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #f3f4f6;
    margin: 0;
}

.header p {
    color: #d1d5db;
    margin-top: 0.5rem;
}

.forecast-area > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.weather-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: none;
    border: none;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.weather-card p,
.weather-card .capitalize,
.weather-card .min-max-temp {
    color: #35542E !important;
}

.weather-card .text-gray-500 {
    opacity: 1 !important;
    color: #4b5563 !important;
}

.flex-col-items-center span:nth-child(3) {
    color: #75B368 !important;
    opacity: 1 !important;
}

.flex-col-items-center span:nth-child(2) {
    color: #4b5563 !important;
    opacity: 1 !important;
}

.weather-card span {
    color: inherit;
    opacity: 1 !important;
}

.weather-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.weather-card h4 {
    font-weight: bold;
    font-size: 1.125rem;
    color: #35542E;
    margin-bottom: 0.25rem;
}

.weather-icon-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}
.weather-icon-container span {
    font-size: 3.5rem;
    line-height: 1;
}

.weather-card .text-3xl {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.weather-card .capitalize {
    text-transform: capitalize;
    font-weight: 500;
    color: #35542E;
    margin-bottom: 1.5rem;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.flex-col-items-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flex-col-items-center i {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.fa-tint {
    color: #4b7bc2;
}

.fa-wind {
    color: var(--color-secondary);
}

.flex-col-items-center span:nth-child(2) {
    font-size: 0.875rem;
    color: var(--color-light-text);
}

.flex-col-items-center span:nth-child(3) {
    font-size: 0.75rem;
    color: var(--color-secondary);
}

.min-max-temp {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-secondary);
}

.progress-bar-container {
    margin-top: 1rem;
}

.progress-bar-bg {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--color-secondary), var(--color-primary));
    border-radius: 9999px;
}

@media (max-width: 768px) {
    .main-card {
        padding: 1.5rem;
    }

    .forecast-area > div {
        grid-template-columns: repeat(2, 1fr);
    }

    .header h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 500px) {
    .forecast-area > div {
        grid-template-columns: 1fr;
    }
}

/* Efek Loading */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--color-accent);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* untuk rute gunung */

.card-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}
@media (min-width: 1024px) {
    .card-grid-container {
        grid-template-columns: 3fr 2fr;
    }
}

.card-lokasi {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(25, 50, 60, 0.1);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    height: 100%;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(25, 50, 60, 0.18);
}

/* tampilan header */

.header-section {
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 3rem;
    padding: 0 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.header-section .title-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: #35542E;
    margin: 0 auto 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.header-section .title-main::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #A5D6A7;
    border-radius: 1.5px;
    transform: translateX(-50%);
}

.header-section .subtitle-main {
    font-size: 1.5rem;
    font-weight: 400;
    color: #35542E;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 600px;
}

/* mode dark */
.dark-mode .header-section .title-main {
    color: #ffffff;
}
.dark-mode .header-section .title-main::after {
    background-color: #75B368;
}
.dark-mode .header-section .subtitle-main {
    color: #ffffff;
}

.card-rute .card-inner-border {
    border: 3px solid #75B368;
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-rute .card-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #35542E;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.6rem;
}
.card-rute .card-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 4px;
    background: linear-gradient(90deg, #75B368 0%, #A5D6A7 100%);
    border-radius: 2px;
}

.route-list-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.route-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s ease-out;
}
.route-item:hover {
    transform: translateX(5px);
}
.icon-circle {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
    background-color: #75B368;
    color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(53, 84, 46, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease-out, box-shadow 0.2s ease-out;
}
.route-item:hover .icon-circle {
    background-color: #35542E;
    box-shadow: 0 6px 15px rgba(53, 84, 46, 0.5);
}

.route-item-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #35542E;
    margin: 0;
}
.route-item-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.4;
}

.travel-tips-container {
    padding: 1.5rem;
    background-color: #f7fcf7;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-top: 2.5rem;
}
.tips-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #35542E;
    margin-bottom: 1rem;
}
.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #4b5563;
    transition: color 0.2s ease-out;
}
.tip-item:hover {
    color: #35542E;
}
.tip-icon {
    color: #3b82f6;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: transform 0.2s ease-out;
}
.tip-item:hover .tip-icon {
    transform: scale(1.1);
}

.card-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(25, 50, 60, 0.1);
    height: 100%;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.card-map:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(25, 50, 60, 0.18);
}

.map-header-bar {
    height: 35px;
    background: linear-gradient(90deg, #6b46c1 0%, #805ad5 100%);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* Tata Letak Grid Lokasi & Fitur Bawah */
.mt-20.grid-cols-1.md-grid-cols-3.gap-8 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .mt-20.grid-cols-1.md-grid-cols-3.gap-8 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .mt-20.grid-cols-1.md-grid-cols-3.gap-8 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* mode dark */

/* bagian untuk tampilan utama */
.dark-mode .section-location {
    background: linear-gradient(to right, var(--color-secondary), var(--color-primary));
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    color: #f3f4f6 !important;
}

.dark-mode .header-section .title-main {
    color: #a5d6a7 !important;
}
.dark-mode .header-section .subtitle-main {
    color: #d1d5db !important;
}

/* Kartu Lokasi */
.dark-mode .card-lokasi {
    background-color: #35542E !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dark-mode .card-hover:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* Kartu Rute Akses */
.dark-mode .card-rute .card-inner-border {
    border: 2px solid #a5d6a7 !important;
}
.dark-mode .card-rute .card-title {
    color: #f3f4f6 !important;
}

/* Teks Rute Item */
.dark-mode .route-item-title {
    color: #f3f4f6 !important;
}
.dark-mode .route-item-desc {
    color: #d1d5db !important;
    opacity: 0.9;
}

.dark-mode .icon-circle {
    color: #223a20 !important;
}
.dark-mode .icon-bg-hijau {
    background-color: #a5d6a7 !important;
}

/* Tips Perjalanan */
.dark-mode .travel-tips-container {
    border-top: 1px solid #4b5563 !important;
}
.dark-mode .tips-title, .dark-mode .tip-item {
    color: #35542E !important;
}
.dark-mode .tip-icon {
    color: #35542E !important;
}

/* Peta */
.dark-mode .map-header-bar {
    background: linear-gradient(to right, #4b5563, #35542E) !important;
}

/* Kartu Fitur Bawah */
.dark-mode .section-location .feature-badge {
    background: #75B368 !important;
}
.dark-mode .section-location .feature-badge h4 {
    color: #f3f4f6 !important;
}
.dark-mode .section-location .feature-badge p {
    color: #d1d5db !important;
}

/* bagian testimoni */

/* mode light */

.testimonial-card .w-20.h-20 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 1.8rem !important;
    line-height: 1 !important;

    background-color: #35542E !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.dark-mode  .testimonial-card .w-20.h-20 {
    background-color: #75B368 !important;
    color: #35542E !important;
}

.testimonial-card .user-name,
.testimonial-card h3.font-bold {
    color: #35542E !important;
}
#testimoni {
    background: linear-gradient(to bottom right, #f8f8f8 0%, #ffffff 100%);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

#testimoni .text-center {
    margin-bottom: 3.5rem;
}
#testimoni h2.text-4xl {
    font-size: 2.5rem;
    font-weight: 800;
    color: #35542E;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}
#testimoni h2.text-4xl::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #75B368 0%, #A5D6A7 100%);
    border-radius: 2px;
    transform: translateX(-50%);
}
#testimoni p.text-xl {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.testimonial-card > div {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}
.testimonial-card .bg-gradient-to-br {
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%) !important;
}

#prev-testimonial, #next-testimonial {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 20;
    width: 45px;
    height: 45px;
    opacity: 0.8;
}
#prev-testimonial:hover, #next-testimonial:hover {
    background-color: #f0f0f0;
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
}
#prev-testimonial i, #next-testimonial i {
    color: #35542E;
    font-size: 1.25rem;
}

#testimoni .bg-gradient-primary-accent {
    background: linear-gradient(135deg, #35542E 0%, #75B368 80%) !important;
    padding: 3rem;
    margin-top: 2rem !important;
}
#testimoni .text-7xl {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
#testimoni .text-xl {
    font-size: 1rem;
    opacity: 0.9;
}
.feature-badge > .bg-gradient-primary-accent {
    background: linear-gradient(135deg, #75B368 0%, #35542E 100%) !important;
}
.glow-button {
    background: linear-gradient(45deg, #75B368 0%, #35542E 100%) !important;
    box-shadow: 0 5px 20px rgba(53, 84, 46, 0.4);
}

/* mode dark */
.dark-mode .testimonial-card > div {
    background: linear-gradient(135deg, #35542E 0%, #75B368 100%) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dark-mode .testimonial-card,
.dark-mode .testimonial-card div,
.dark-mode .testimonial-card p,
.dark-mode .testimonial-card span,
.dark-mode .testimonial-card a,
.dark-mode .testimonial-card h4,
.dark-mode .testimonial-card .text-gray-600,
.dark-mode .testimonial-card .text-primary {
    color: #f3f4f6 !important;
}

.dark-mode .testimonial-card .text-gray-900,
.dark-mode .testimonial-card .text-black {
    color: #f3f4f6 !important;
}

.dark-mode .testimonial-card .rating .fa-star,
.dark-mode .testimonial-card .rating i {
    color: #FFC107 !important;
}

.dark-mode #testimoni {
    background: linear-gradient(to bottom right, #75B368 20%, #35542E 80%);
}

.dark-mode #testimoni h2.text-4xl {
    color: #f3f4f6 !important;
}

.dark-mode #testimoni h2.text-4xl,
.dark-mode #testimoni p.text-xl {
    color: #f3f4f6 !important;
}
.dark-mode #testimoni h2.text-4xl::after {
    background: linear-gradient(90deg, #A5D6A7 0%, #75B368 100%);
}

.dark-mode .testimonial-card > div {
    background: linear-gradient(135deg, #35542E 0%, #75B368 100%) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dark-mode #prev-testimonial, .dark-mode #next-testimonial {
    background-color: #75B368;
    border: 1px solid #35542E;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.dark-mode #prev-testimonial i, .dark-mode #next-testimonial i {
    color: #A5D6A7;
}

.dark-mode #testimoni .bg-gradient-primary-accent {
    background: linear-gradient(135deg, #35542E 0%, #203A1F 100%) !important;
}

.dark-mode .feature-badge > .bg-gradient-primary-accent {
    background: linear-gradient(135deg, #35542E 0%, #75B368 100%) !important;
}
.dark-mode .glow-button {
    background: linear-gradient(45deg, #35542E 0%, #75B368 100%) !important;
    color: #203A1F !important;
}

/* bagian poster */

/* mode light */
#poster-slider {
    background: linear-gradient(to bottom right, #f8f8f8 0%, #ffffff 100%);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

#poster-slider .text-center {
    margin-bottom: 3.5rem;
}
#poster-slider h2.text-4xl {
    font-size: 2.5rem;
    font-weight: 800;
    color: #35542E;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}
#poster-slider h2.text-4xl::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #75B368 0%, #A5D6A7 100%);
    border-radius: 2px;
    transform: translateX(-50%);
}
#poster-slider p.text-xl {
    font-size: 1.1rem;
    color: #75B368;
    margin-bottom: 3rem;
}

.poster-card {
    padding-left: 1rem;
    padding-right: 1rem;
}

.poster-card > div {
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%) !important;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}
.poster-card:hover > div {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.poster-card .bg-gray-200 {
    background-color: #e5e7eb;
}

#prev-poster, #next-poster {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 20;
    transition: all 0.2s ease;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
}
#prev-poster:hover, #next-poster:hover {
    background-color: #f0f0f0;
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
}
#prev-poster i, #next-poster i {
    color: #35542E;
    font-size: 1.25rem;
}

#poster-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 4px;
    border: none;
    opacity: 0.6;
}
#poster-dots .dot.active {
    background-color: #75B368;
    width: 20px;
    height: 12px;
    border-radius: 10px;
    opacity: 1;
    transform: scale(1.1);
}

/* Alternative style - uncomment to use pill-shaped dots instead of rounded */
/*
#poster-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: #d1d5db;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 4px;
}
#poster-dots .dot.active {
    background-color: #75B368;
    width: 24px;
    border-radius: 12px;
    transform: scale(1.1);
}
*/

/* dark mode */
.dark-mode #poster-slider {
    background: linear-gradient(to bottom right, #35542E 0%, #75B368 100%);
}

.dark-mode #poster-slider h2.text-4xl,
.dark-mode #poster-slider p.text-xl {
    color: #f3f4f6 !important;
}

.dark-mode #poster-slider h2.text-4xl::after {
    background: linear-gradient(90deg, #A5D6A7 0%, #75B368 100%);
}

.dark-mode .poster-card > div {
    background: linear-gradient(135deg, #35542E 0%, #75B368 100%) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dark-mode .poster-card .bg-gray-200 {
    background-color: #35542E !important;
}

.dark-mode #prev-poster, .dark-mode #next-poster {
    background-color: #35542E;
    border: 1px solid #75B368;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.dark-mode #prev-poster:hover, .dark-mode #next-poster:hover {
    background-color: #75B368;
}
.dark-mode #prev-poster i, .dark-mode #next-poster i {
    color: #A5D6A7;
}

.dark-mode #poster-dots .dot {
    background-color: #75B368;
    opacity: 0.6;
}
.dark-mode #poster-dots .dot.active {
    background-color: #A5D6A7;
    opacity: 1;
}

/* untuk footer */

footer.bg-dark-green {
    background-color: #35542E;
    color: #ffffff;
    padding: 4rem 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
}
.dark-mode footer.bg-dark-green {
    background-color: #35542E;
}

footer .border-t {
    border-top: 1px solid #4b5563;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0 !important;
    padding-bottom: 0.5rem;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
footer .grid-cols-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    footer .md-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

footer .flex-display {
    display: flex;
    align-items: center;
}
footer .fa-mountain {
    color: #75B368;
    font-size: 1.75rem;
    margin-right: 0.75rem;
}
footer p.text-gray-300 {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 0.95rem;
}
footer h4.text-lg {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.social-icons-wrapper {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

footer .social-badge {
    background-color: #75B368;
    color: #ffffff;
    border-radius: 9999px;
    transition: all 0.3s ease;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer .social-badge:hover {
    background-color: #ffffff;
    color: #35542E;
}
.dark-mode footer .social-badge:hover {
    background-color: #d1d5db;
    color: #35542E;
}

footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin-bottom: 0.75rem;
}
footer a.nav-link {
    color: #d1d5db;
    font-size: 0.95rem;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}
footer a.nav-link:hover {
    color: #75B368;
}
footer a.nav-link[data-translate-key="nav_about_us"] {
    position: relative;
    padding-bottom: 0.5rem;
}

footer ul li.flex-display {
    display: flex;
    align-items: center;
}

footer ul li i {
    color: #75B368;
    font-size: 0.9rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* untuk scroll btn*/
#scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1020;
    background-color: #75B368;
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

#scroll-to-top-btn:hover {
    background-color: #35542E;
}

#scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top-btn i.fa-arrow-up {
    font-size: 1.2rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0);}
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stats-container {
    /* Warna Gradient: #35542E dan #75B368 */
    background: linear-gradient(135deg, #35542E, #75B368);
    border-radius: 1.5rem; /* Sudut membulat */
    padding: 3rem;
    color: white;
    width: 100%;
    max-width: 1280px; /* Batas lebar maksimal yang ditingkatkan */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Animasi Fade In saat dimuat */
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

/* Grid Layout */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default 1 kolom untuk mobile */
    gap: 2rem;
}

/* Stat Item */
.stat-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    border-radius: 1rem;
}

/* Efek Hover */
.stat-item:hover {
    transform: translateY(-8px) scale(1.03);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Nilai Statistik */
.stat-value {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-value {
     animation: pulse 0.8s ease-in-out infinite;
     color: #ffdd57;
}

.stat-label {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 400;
    margin-top: 0;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-container {
        padding: 4rem;
    }
}

// untuk komentar
.auto-margin { margin-left: auto; margin-right: auto; }
.container { max-width: 1200px; width: 95%; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.text-center { text-align: center; }
.mb-16 { margin-bottom: 4rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-8 { margin-top: 2rem; }
.text-4xl { font-size: 2.25rem; }
.text-3xl { font-size: 1.875rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.max-w-3xl { max-width: 48rem; }
.leading-relaxed { line-height: 1.625; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-1 > * + * { margin-left: 0.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.p-8 { padding: 2rem; }
.p-3 { padding: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.hidden { display: none !important; }
.relative { position: relative; }
.absolute { position: absolute; }
.top-1/2 { top: 50%; }
.left-4 { left: 1rem; }
.right-4 { right: 1rem; }
.transform { transform: translate(0, 0); } /* Base */
.-translate-y-1/2 { transform: translateY(-50%); }
.z-10 { z-index: 10; }
.border { border-width: 1px; border-style: solid; }
.border-gray-300 { border-color: #D1D5DB; }
.border-gray-200 { border-color: #E5E7EB; }
.border-l-4 { border-left-width: 4px; }
.bg-white { background-color: #fff; }
.bg-gray-100 { background-color: #F3F4F6; }
.bg-gray-50 { background-color: #F9FAFB; }
.bg-red-100 { background-color: #FEE2E2; }
.bg-green-100 { background-color: #D1FAE5; }
.text-gray-800 { color: #1F2937; }
.text-gray-600 { color: #4B5563; }
.text-gray-500 { color: #6B7280; }
.text-red-700 { color: #B91C1C; }
.text-green-700 { color: #047857; }
.text-white { color: #fff; }
.cursor-pointer { cursor: pointer; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-duration: 150ms; }
.transition-default { transition: all 300ms ease; }
.hover-scale-105:hover { transform: scale(1.05); }

/* Layouts */
.flex-display { display: flex; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.overflow-hidden { overflow: hidden; }

/* Testimonial Slider */
#testimoni-container {
    display: flex;
    white-space: nowrap; /* Penting untuk slider horizontal */
}
.transition-transform { transition-property: transform; transition-duration: 500ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

.testimonial-card {
    min-width: 33.3333%; /* Menampilkan 3 kartu per view */
    flex-shrink: 0;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .testimonial-card {
        min-width: 50%;
    }
}

@media (max-width: 640px) {
    .testimonial-card {
        min-width: 100%;
        padding: 0;
    }
    .left-4 { left: 0.5rem; }
    .right-4 { right: 0.5rem; }
}

.rating > label {
    text-shadow: 1px 1px 0 #888;
}
.rating > input:checked ~ label,
.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
    color: #ffc107;
}
.rating > input:checked + label:hover,
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label,
.rating > input:checked ~ label:hover ~ label {
    color: #ffd700;
}

.dark-mode {
    background-color: #2c4426;
}

.dark-mode .py-20 {
    background-image: linear-gradient(to bottom right, #35542E, #75B368);
}

.dark-mode {
    background-color: #35542E;
    color: #e0eee0;
}

.dark-mode .py-20 {
    background-image: linear-gradient(to bottom right, #75B368, #35542E);
}

.dark-mode .section-location {
    background-color: #75B368;
}

.dark-mode h2,
.dark-mode h3,
.dark-mode strong,
.dark-mode .header h1,
.dark-mode .card-list-item p {
    color: #35542E !important;
}

.dark-mode .text-gray-600,
.dark-mode .card-header p,
.dark-mode .header p,
.dark-mode .loading p {
    color: #4a6c42 !important;
}

.dark-mode .time-card,
.dark-mode .main-card {
    background-color: #35542E;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4), 0 10px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #4a6c42;
}

.dark-mode .main-icon-container {
    color: #75B368;
}

.dark-mode .checkmark-circle { background-color: #75B368; }
.dark-mode .time-icon.yellow { background-color: #fcd34d; color: #35542E; }
.dark-mode .time-icon.orange { background-color: #fb923c; color: #35542E; }
.dark-mode .time-icon.red { background-color: #f87171; color: #35542E; }
.dark-mode .time-icon.indigo { background-color: #818cf8; color: #35542E; }

.dark-mode .spinner {
    border: 4px solid #4a6c42;
    border-top: 4px solid #75B368;
}

#darkModeToggle {
    background-color: #75B368;
    color: white;
}

#darkModeToggle:hover {
    background-color: #619c53;
}

.dark-mode #darkModeToggle {
    background-color: #e0eee0;
    color: #35542E;
}
.dark-mode #darkModeToggle:hover {
    background-color: #ffffff;
}


.main-container {
            width: 100%;
            max-width: 960px;
        }

        .header-title {
            font-size: 2.25rem;
            font-weight: 800;
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: 1fr; \
            gap: 2rem; \
            margin-left: auto;
            margin-right: auto;
        }

        @media (min-width: 768px) {
            .stats-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .glass-card {
            padding: 1.5rem;
            border-radius: 0.75rem;
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            transition: all 0.3s ease-in-out;
            text-align: center;
        }

        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 40px 0 rgba(31, 38, 135, 0.5);
            background: rgba(255, 255, 255, 0.15);
        }

        .card-icon {
            font-size: 2.5rem;
            color: #38bdf8;
            margin-bottom: 0.75rem;
        }

        .stat-number {
            font-size: 2.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .gradient-text {
            background-image: linear-gradient(45deg, #38bdf8, #818cf8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
        }

        .stat-label {
            font-size: 1.125rem;
            opacity: 0.9;
        }

.login-button,
#logout-link-header {
    border-radius: 9999px;
    background-color: #75B368;
    color: white;
    border: none;
    outline: 1px solid white;
    outline-offset: -1px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.login-button {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: bold;
}

#logout-link-header {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
}

#auth-display { display: flex; align-items: center; gap: 0.75rem; }
.login-button:hover, #logout-link-header:hover { background-color: #ffffff; outline: 2px solid white; }

#auth-display a {
    &.login-button {
        height: 40px !important;
        line-height: 40px !important;
        border-radius: 20px !important;
        padding: 0 20px !important;
        font-size: 1rem !important;
        font-weight: bold !important;
    }

    &#logout-link-header {
        height: 30px !important;
        line-height: 30px !important;
        border-radius: 15px !important;
        padding: 0 12px !important;
        font-size: 0.75rem !important;
    }

    background-color: #75B368 !important;
    color: white !important;
    border: none !important;
    outline: 1px solid white !important;
    outline-offset: -1px !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

/* Teks Sapaan */
#greeting-text, #user-fullname {
    font-size: 0.875rem;
    color: white;
}

#user-fullname {
    font-weight: 600;
}

/* Hover */
#auth-display a:hover {
    background-color: #ffffff !important;
    color: #35542E !important;
    outline: 2px solid white !important;
}

/* Modern Announcement Section Styles */
#pengumuman-container {
    margin: 0 auto;
    padding: 0 1rem;
}

#pengumuman-content {
    width: 100%;
}

.announcement-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbf8 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #75B368;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #75B368, #35542E, #75B368);
    background-size: 200% 100%;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.announcement-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #35542E;
    margin: 0;
    flex: 1;
}

.announcement-date {
    font-size: 0.75rem;
    color: #75B368;
    font-weight: 500;
    background: rgba(117, 179, 104, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    align-self: flex-start;
}

.announcement-content {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.announcement-author {
    font-size: 0.875rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
}

.announcement-author i {
    margin-right: 0.5rem;
}

.announcement-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.tag-penting {
    background-color: #fee2e2;
    color: #dc2626;
}

.tag-info {
    background-color: #dbeafe;
    color: #2563eb;
}

.tag-event {
    background-color: #fef3c7;
    color: #d97706;
}

.announcement-meta {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.announcement-meta small {
    color: #9ca3af;
    font-size: 0.75rem;
}

.dark-mode .announcement-meta {
    border-top: 1px solid #4b5563;
}

.dark-mode .announcement-meta small {
    color: #a5d6a7;
}

/* Enhanced loading animation for announcement section */
#pengumuman-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

#pengumuman-loading .announcement-loader {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #75B368;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
    margin-bottom: 1.5rem;
}

#pengumuan-loading .announcement-loader::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid transparent;
    border-radius: 50%;
    border-top-color: rgba(117, 179, 104, 0.2);
    animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#pengumuman-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
}

#pengumuman-empty .empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0f2e9 0%, #f0f9f4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

#pengumuan-empty .empty-icon i {
    font-size: 2rem;
    color: #75B368;
}

#pengumuman-empty h3 {
    font-size: 1.5rem;
    color: #35542E;
    margin-bottom: 0.5rem;
}

#pengumuman-empty p {
    color: #9ca3af;
    max-width: 300px;
}

/* Dark mode styles for announcement section */
.dark-mode .announcement-card {
    background: linear-gradient(135deg, #35542E 0%, #4a6c42 100%);
    color: #e0eee0;
    border-left: 4px solid #a5d6a7;
}

.dark-mode .announcement-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.dark-mode .announcement-title {
    color: #e0eee0;
}

.dark-mode .announcement-content {
    color: #d1e0d1;
}

.dark-mode .announcement-author {
    color: #a5d6a7;
}

.dark-mode .announcement-date {
    background: rgba(165, 214, 167, 0.1);
    color: #a5d6a7;
}

.dark-mode #pengumuan-empty h3 {
    color: #e0eee0;
}

.dark-mode #pengumuan-empty p {
    color: #a5d6a7;
}

/* Forum-style Comments Section Styles */
#forum-komentar {
    background: linear-gradient(to bottom right, #f0f9f0 0%, #ffffff 100%);
}

#forum-komentar h2.text-primary {
    color: #35542E !important;
}

#forum-komentar p.text-gray-600 {
    color: #4b5563 !important;
}

/* Form Styling */
#form-tambah-komentar .bg-white {
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 1.5rem !important;
}

#form-tambah-komentar .text-gray-800 {
    color: #35542E !important;
}

/* Rating Stars */
.rating label {
    transition: all 0.2s ease;
}

.rating label:hover,
.rating input[type="radio"]:checked + label {
    transform: scale(1.1);
    color: #fbbf24 !important;
}

/* Loading indicator */
#loading-comments {
    background: #f9fafb;
    border-radius: 1rem;
    margin: 2rem 0;
    padding: 2rem;
}

/* Comment Card Styling */
.comment-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.comment-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #a5d6a7;
}

.comment-card h4.font-bold {
    color: #35542E;
}

.comment-card .text-gray-700 {
    color: #4b5563;
}

.comment-card .text-gray-500 {
    color: #9ca3af;
}

.comment-card .text-gray-600 {
    color: #6b7280;
}

/* User avatar styling */
.user-avatar {
    background: linear-gradient(135deg, #75B368 0%, #35542E 100%);
}

/* Action buttons */
.comment-card button {
    color: #9ca3af;
    transition: all 0.2s ease;
}

.comment-card button:hover {
    color: #75B368;
}

/* Sort dropdown */
#sort-comments {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    color: #35542E;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem; /* More subtle rounded corners instead of fully elliptical */
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    appearance: none; /* Remove default dropdown arrow */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2335542E' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem; /* Make space for custom arrow */
    min-width: 180px; /* Ensure consistent width */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
}

#sort-comments:hover {
    border-color: #75B368;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

#sort-comments:focus {
    outline: none;
    border-color: #75B368;
    box-shadow: 0 0 0 3px rgba(117, 179, 104, 0.2);
}

/* Dark mode styles for forum comments */
.dark-mode #forum-komentar {
    background: linear-gradient(to bottom right, #35542E 0%, #75B368 100%);
}

.dark-mode #forum-komentar h2.text-primary,
.dark-mode #forum-komentar h3.text-primary,
.dark-mode #forum-komentar h4.text-primary {
    color: #e0eee0 !important;
}

.dark-mode #forum-komentar p.text-gray-600 {
    color: #c0d6c0 !important;
}

.dark-mode .comment-card {
    background: #35542E !important;
    border: 1px solid #4a6c42 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .comment-card h4.font-bold {
    color: #e0eee0 !important;
}

.dark-mode .comment-card .text-gray-700,
.dark-mode .comment-card .text-gray-600 {
    color: #d1e0d1 !important;
}

.dark-mode .comment-card .text-gray-500 {
    color: #a5d6a7 !important;
}

.dark-mode #form-tambah-komentar .bg-white {
    background: #35542E !important;
    border: 1px solid #4a6c42 !important;
}

.dark-mode #form-tambah-komentar .text-gray-800 {
    color: #e0eee0 !important;
}

.dark-mode #sort-comments {
    background-color: #75B368;
    border: 1px solid #35542E;
    color: #35542E;
}

.dark-mode #loading-comments {
    background: #4a6c42;
}