/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #2D6A4F;
  --primary-dark: #1B4332;
  --primary-darker: #0D3B2E;
  --primary-light: #40916C;
  --primary-lighter: #95D5B2;
  --primary-lightest: #D8F3DC;
  --bg-green: #F0FFF4;
  --accent-warm: #E9C46A;
  --accent-orange: #F4A261;
  --accent-soft: #E76F51;
  --text-dark: #1B4332;
  --text-body: #4A4A6A;
  --text-muted: #8A8AAA;
  --white: #FFFFFF;
  --shadow-xs: 0 2px 8px rgba(45, 106, 79, 0.08);
  --shadow-sm: 0 4px 16px rgba(45, 106, 79, 0.1);
  --shadow-md: 0 8px 32px rgba(45, 106, 79, 0.12);
  --shadow-lg: 0 16px 48px rgba(45, 106, 79, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Nunito', sans-serif;
}

/* ===== BASE STYLES ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* ===== NAVBAR ===== */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45, 106, 79, 0.08);
  padding: 14px 0;
  transition: var(--transition);
  z-index: 1050;
}

.navbar-custom.navbar-scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
}

.navbar-custom .navbar-brand {
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--primary-dark) !important;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-custom .brand-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.navbar-custom .nav-link {
  font-weight: 600;
  color: var(--text-body) !important;
  padding: 8px 18px !important;
  border-radius: 50px;
  transition: var(--transition);
  font-size: 0.92rem;
  position: relative;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #F0FFF4 0%, #D8F3DC 40%, #B7E4C7 100%);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(149, 213, 178, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 106, 79, 0.1);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 500px;
}

.hero-illustration-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 45px rgba(45,106,79,.15);
}

.hero-img{
    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:22px;
    transition:all .4s ease;
}

.hero-img:hover{
    transform:scale(1.03);
}

.floating-badge{
    position:absolute;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(10px);
    border-radius:18px;
    padding:14px 22px;
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
    color:#1B4332;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.floating-badge-1{
    top:25px;
    right:-15px;
}

.floating-badge-2{
    bottom:30px;
    left:-15px;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ===== SECTION STYLES ===== */
.section-padding {
  padding: 90px 0;
}

.section-bg-light {
  background: var(--bg-green);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--primary-lighter));
  border-radius: 4px;
  margin: 0 auto 1.2rem;
}

/* ===== CARDS ===== */
.card-hover {
  transition: var(--transition);
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  height: 100%;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.2rem;
  transition: var(--transition);
}

.card-hover:hover .card-icon-wrap {
  transform: scale(1.1);
}

.card-body-custom {
  padding: 2rem 1.5rem;
}

.card-image-top {
  height: 200px;
  object-fit: cover;
}

.card-img-overlay-custom {
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.7));
}

/* ===== BUTTONS ===== */
.btn-cta {
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  color: white;
  box-shadow: 0 4px 20px rgba(45, 106, 79, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(45, 106, 79, 0.4);
  color: white;
}

.btn-cta-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  box-shadow: none;
}

.btn-cta-outline:hover {
  background: var(--primary);
  color: white !important;
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
  border-color: var(--primary);
}

.btn-sm-cta {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

/* ===== FUN FACT ===== */
.fun-fact-card {
  background: linear-gradient(135deg, var(--primary-lightest), #E8F5E9);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px dashed var(--primary-lighter);
}

.fun-fact-card::before {
  content: '💡';
  position: absolute;
  top: -15px;
  right: 5px;
  font-size: 6rem;
  opacity: 0.12;
}

.fun-fact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.fun-fact-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

/* ===== KENAPA PEDULI ===== */
.kenapa-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  height: 100%;
  border: none;
}

.kenapa-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.kenapa-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.kenapa-card:hover .kenapa-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* ===== JENIS SAMPAH ===== */
.jenis-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  border: none;
  box-shadow: var(--shadow-xs);
}

.jenis-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.jenis-card-img {
  height: 180px;
  object-fit: cover;
}

.jenis-card-body {
  padding: 1.5rem;
  text-align: center;
}

.jenis-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

/* ===== STEP / INFOGRAPHIC ===== */
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1.2rem;
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.25);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.step-arrow {
  font-size: 2.2rem;
  color: var(--primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}



/* ===== GALLERY ===== */
.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  height: 100%;
}

.gallery-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.75));
  padding: 2rem 1.5rem 1.5rem;
  color: white;
}

.gallery-overlay h5 {
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.gallery-overlay small {
  opacity: 0.85;
}

/* ===== ABOUT PAGE ===== */
.about-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--primary-lightest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.team-member-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ===== CONTACT ===== */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.contact-info-item:hover {
  background: var(--primary-lightest);
}

.contact-icon-box {
  width: 52px;
  height: 52px;
  background: var(--primary-lightest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-item:hover .contact-icon-box {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
.footer-custom {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-custom::before {
  content: '♻️';
  position: absolute;
  bottom: -20px;
  right: 30px;
  font-size: 10rem;
  opacity: 0.04;
}

.footer-custom h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-custom p,
.footer-custom li {
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-custom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-custom a:hover {
  color: var(--primary-lighter);
  padding-left: 5px;
}

.footer-custom ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-custom ul li {
  margin-bottom: 8px;
}

.footer-custom ul li::before {
  content: '→ ';
  color: var(--primary-lighter);
  margin-right: 4px;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 2.5rem 0 1.5rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-light);
  padding-left: 0;
  transform: translateY(-3px);
}

/* ===== SCROLL ANIMATION HELPERS ===== */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-illustration-wrap {
    margin-top: 3rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .navbar-custom {
    padding: 10px 0;
  }

  .navbar-custom .navbar-brand {
    font-size: 1.2rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-section {
    padding: 90px 0 50px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .fun-fact-number {
    font-size: 2.5rem;
  }

  .footer-custom {
    padding: 40px 0 0;
  }

  .gallery-card img {
    height: 200px;
  }

  .floating-badge {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .btn-cta {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .card-icon-wrap {
    width: 65px;
    height: 65px;
    font-size: 1.8rem;
  }

  .kenapa-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}
.hero-stats{
    display:flex;
    gap:20px;
    margin-top:35px;
    flex-wrap:wrap;
}

.stat-card{
    background:#fff;
    padding:18px 24px;
    border-radius:16px;
    min-width:140px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.stat-card h3{
    color:#198754;
    font-size:2rem;
    font-weight:700;
    margin-bottom:5px;
}

.stat-card p{
    margin:0;
    color:#6c757d;
    font-size:14px;
}
.hero-stats{
    display:flex;
    gap:20px;
    margin-top:35px;
    flex-wrap:wrap;
}

.stat-card{
    background:#fff;
    border-radius:18px;
    padding:22px;
    width:170px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-8px);
}

.stat-icon{
    font-size:28px;
    color:#198754;
}

.stat-card h3{
    margin-top:12px;
    color:#198754;
    font-weight:700;
}

.stat-card p{
    margin:0;
    color:#666;
}
/*=====================================
ROADMAP PREMIUM
======================================*/

.roadmap-wrapper{

display:flex;

justify-content:space-between;

align-items:flex-start;

gap:10px;

margin-top:60px;

overflow-x:auto;

padding-bottom:15px;

}

.roadmap-step{

flex:1;

min-width:160px;

text-align:center;

position:relative;

}

.step-circle{

width:90px;

height:90px;

margin:auto;

border-radius:50%;

background:linear-gradient(135deg,#198754,#28a745);

display:flex;

align-items:center;

justify-content:center;

font-size:36px;

color:white;

box-shadow:0 15px 30px rgba(25,135,84,.25);

transition:.35s;

}

.step-circle:hover{

transform:scale(1.08);

}

.step-line{

height:4px;

background:#198754;

flex:0 0 50px;

margin-top:45px;

border-radius:50px;

}

.roadmap-step h5{

margin-top:20px;

font-weight:700;

font-size:18px;

color:#1d3d34;

}

.roadmap-step p{

font-size:14px;

color:#777;

margin-top:8px;

line-height:1.5;

}

@media(max-width:992px){

.roadmap-wrapper{

flex-direction:column;

align-items:center;

}

.step-line{

width:4px;

height:60px;

margin:0;

}

.roadmap-step{

width:100%;

max-width:320px;

}

}
.quiz-card{

max-width:700px;

margin:auto;

background:white;

padding:40px;

border-radius:25px;

box-shadow:0 15px 40px rgba(0,0,0,.08);

text-align:center;

}

#emoji{

font-size:90px;

margin:20px 0;

}

.answer-group{

display:grid;

gap:15px;

margin-top:30px;

}

.answer-btn{

padding:16px;

border:none;

border-radius:15px;

background:#198754;

color:white;

font-size:18px;

transition:.3s;

}

.answer-btn:hover{

background:#157347;

transform:translateY(-3px);

}

#feedback{

margin-top:30px;

font-size:24px;

font-weight:bold;

min-height:40px;

}

/* ===== FLOATING BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg, 0 8px 24px rgba(45, 106, 79, 0.25));
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, visibility 0.3s ease;
  z-index: 1050;
  cursor: pointer;
}

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

.back-to-top:hover {
  background: var(--primary-dark);
}

@media (max-width: 576px) {
  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 16px;
    right: 16px;
    font-size: 1.05rem;
  }
}

/* ===== TESTIMONI KEPALA DESA ===== */
.testimoni-section {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 55%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.testimoni-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.testimoni-section .section-title,
.testimoni-section .section-subtitle {
  color: var(--white);
}

.testimoni-section .section-subtitle {
  opacity: 0.85;
}

.testimoni-section .section-divider {
  background: var(--accent-warm);
}

.testimoni-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem 2.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.testimoni-quote-icon {
  position: absolute;
  top: -22px;
  left: 40px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-warm);
  color: var(--primary-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-md);
}

.testimoni-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 2rem;
}

.testimoni-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(45, 106, 79, 0.12);
}

.testimoni-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--primary-lightest);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 3px solid var(--primary-lighter);
  overflow: hidden;
}

.testimoni-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimoni-name {
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.testimoni-role {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 576px) {
  .testimoni-card {
    padding: 2.5rem 1.5rem 2rem;
  }
}
/* ===== FAQ ACCORDION ===== */
.faq-accordion .accordion-item {
  border: 1px solid rgba(45, 106, 79, 0.12);
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-xs);
}

.faq-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--text-dark);
  background: var(--white);
  padding: 1.1rem 1.4rem;
  font-size: 1.02rem;
}

.faq-accordion .accordion-button i {
  color: var(--primary);
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-darker);
  background: var(--primary-lightest);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.faq-accordion .accordion-button::after {
  filter: hue-rotate(90deg) saturate(1.3);
}

.faq-accordion .accordion-body {
  color: var(--text-body);
  line-height: 1.8;
  padding: 1.2rem 1.4rem 1.4rem;
  background: var(--white);
}

.faq-accordion .accordion-body a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.faq-accordion .accordion-body a:hover {
  text-decoration: underline;
}

/* ===== GALLERY MODERN - LIGHTBOX ===== */
.gallery-zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 59, 46, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
  animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  background: #000;
}

.lightbox-caption {
  color: var(--white);
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.lightbox-counter {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--primary-lighter);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2001;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--primary);
  transform: scale(1.08);
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .gallery-lightbox { padding: 1rem; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; width: 40px; height: 40px; }
  .lightbox-next { right: 8px; width: 40px; height: 40px; }
  .lightbox-content img { max-height: 65vh; }
}

/* ===== LOADING SCREEN ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  text-align: center;
  color: var(--white);
}

.page-loader-icon {
  font-size: 3.2rem;
  color: var(--primary-lighter);
  display: inline-block;
  animation: loaderSpin 1.4s linear infinite;
}

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

.page-loader-text {
  margin-top: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
}

.page-loader-bar {
  width: 160px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
  margin: 1rem auto 0;
  overflow: hidden;
}

.page-loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--accent-warm);
  border-radius: 4px;
  animation: loaderBar 1.2s ease-in-out infinite;
}

@keyframes loaderBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ===== DARK MODE TOGGLE BUTTON ===== */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(45, 106, 79, 0.2);
  background: var(--primary-lightest);
  color: var(--primary-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: rotate(20deg);
}

/* ===== DARK MODE THEME ===== */
[data-theme="dark"] {
  --dm-bg: #0F1A15;
  --dm-surface: #16261F;
  --dm-surface-2: #1D3128;
  --dm-border: rgba(149, 213, 178, 0.15);
  --dm-text: #E7F3EC;
  --dm-text-muted: #9FB8AC;
}

[data-theme="dark"] body {
  background: var(--dm-bg);
  color: var(--dm-text-muted);
}

[data-theme="dark"] .navbar-custom {
  background: rgba(15, 26, 21, 0.92) !important;
  border-bottom: 1px solid var(--dm-border);
}

[data-theme="dark"] .navbar-custom .nav-link {
  color: var(--dm-text) !important;
}

[data-theme="dark"] .navbar-custom .nav-link:hover,
[data-theme="dark"] .navbar-custom .nav-link.active {
  color: var(--primary-darker) !important;
  background: var(--primary-lighter);
}

[data-theme="dark"] .navbar-custom .navbar-brand {
  color: var(--primary-lighter) !important;
}

[data-theme="dark"] .theme-toggle-btn {
  background: var(--dm-surface-2);
  color: var(--accent-warm);
  border-color: var(--dm-border);
}

[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1);
}

[data-theme="dark"] .section-bg-light,
[data-theme="dark"] .roadmap-section {
  background: var(--dm-surface) !important;
}

[data-theme="dark"] .section-title,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6,
[data-theme="dark"] .text-dark {
  color: var(--dm-text) !important;
}

[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .text-muted,
[data-theme="dark"] .text-body {
  color: var(--dm-text-muted) !important;
}

[data-theme="dark"] .kenapa-card,
[data-theme="dark"] .jenis-card,
[data-theme="dark"] .fun-fact-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .team-member-card,
[data-theme="dark"] .gallery-card,
[data-theme="dark"] .testimoni-card,
[data-theme="dark"] .quiz-card,
[data-theme="dark"] .edu-card,
[data-theme="dark"] .card,
[data-theme="dark"] .accordion-item,
[data-theme="dark"] .faq-accordion .accordion-button,
[data-theme="dark"] .faq-accordion .accordion-body,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-white {
  background: var(--dm-surface) !important;
  border-color: var(--dm-border) !important;
  color: var(--dm-text-muted);
}

[data-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) {
  background: var(--dm-surface-2) !important;
  color: var(--primary-lighter) !important;
}

[data-theme="dark"] .stat-card {
  background: rgba(255,255,255,0.06);
}

[data-theme="dark"] .roadmap-step h5,
[data-theme="dark"] .testimoni-name {
  color: var(--dm-text) !important;
}

[data-theme="dark"] .footer-custom {
  background: var(--dm-surface);
}

[data-theme="dark"] .back-to-top {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

[data-theme="dark"] .lightbox-caption {
  color: var(--dm-text);
}

[data-theme="dark"] .hero-section {
  background: linear-gradient(180deg, var(--dm-bg) 0%, var(--dm-surface) 100%);
}

[data-theme="dark"] .page-loader {
  background: linear-gradient(135deg, #081008 0%, var(--dm-bg) 100%);
}

/* Kotak aksen dengan latar hijau/kuning muda hardcode (CTA, caption foto) —
   teks di dalamnya dipaksa tetap gelap di dark mode karena latarnya tetap terang */
[data-theme="dark"] .accent-box.text-dark,
[data-theme="dark"] .accent-box .text-dark {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .accent-box.text-muted,
[data-theme="dark"] .accent-box .text-muted {
  color: #5c6b64 !important;
}

/* ===== KEGIATAN: STATISTIK RINGKAS ===== */
.kegiatan-stat {
  text-align: center;
  background: var(--bg-green);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.5rem;
}

.kegiatan-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.kegiatan-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* ===== KEGIATAN: NAVIGASI HARI (STICKY) ===== */
.day-nav {
  position: sticky;
  top: 74px;
  z-index: 20;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 4px;
  margin-bottom: 2.5rem;
  background: var(--white);
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
  scrollbar-width: thin;
}

.day-nav::-webkit-scrollbar {
  height: 4px;
}

.day-chip {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--primary-lighter);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: var(--transition);
}

.day-chip:hover {
  background: var(--primary-lightest);
  color: var(--primary-darker);
}

.day-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ===== KEGIATAN: TIMELINE PER HARI ===== */
.timeline-kegiatan {
  position: relative;
  padding-left: 42px;
  max-width: 820px;
  margin: 0 auto;
}

.timeline-kegiatan::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--primary-lightest);
  border-radius: 3px;
}

.timeline-day {
  position: relative;
  margin-bottom: 3rem;
  scroll-margin-top: 130px;
}

.timeline-day:last-child {
  margin-bottom: 0;
}

.timeline-day-marker {
  position: absolute;
  left: -42px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--white);
  z-index: 1;
}

.timeline-day-label {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}

.timeline-item {
  background: var(--white);
  border: 1px solid rgba(45, 106, 79, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.timeline-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item-title {
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.timeline-item-desc {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.timeline-item-noPhoto {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.timeline-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.timeline-photo-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
}

.timeline-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.timeline-photo-thumb:hover img {
  transform: scale(1.08);
}

.timeline-photo-thumb.has-more::after {
  content: attr(data-more);
  position: absolute;
  inset: 0;
  background: rgba(13, 59, 46, 0.65);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

@media (max-width: 576px) {
  .timeline-kegiatan {
    padding-left: 32px;
  }
  .timeline-day-marker {
    left: -32px;
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }
  .timeline-item {
    padding: 1.1rem;
  }
  .timeline-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Dark mode: statistik, day-nav, timeline */
[data-theme="dark"] .kegiatan-stat {
  background: var(--dm-surface);
}

[data-theme="dark"] .day-nav {
  background: var(--dm-bg);
  border-bottom-color: var(--dm-border);
}

[data-theme="dark"] .day-chip {
  border-color: var(--dm-border);
  color: var(--dm-text);
}

[data-theme="dark"] .day-chip:hover {
  background: var(--dm-surface-2);
  color: var(--primary-lighter);
}

[data-theme="dark"] .timeline-kegiatan::before {
  background: var(--dm-surface-2);
}

[data-theme="dark"] .timeline-day-marker {
  box-shadow: 0 0 0 4px var(--dm-bg);
}

[data-theme="dark"] .timeline-day-label {
  color: var(--primary-lighter);
}

[data-theme="dark"] .timeline-item {
  background: var(--dm-surface);
  border-color: var(--dm-border);
}

[data-theme="dark"] .timeline-item-title {
  color: var(--dm-text);
}

[data-theme="dark"] .timeline-item-desc,
[data-theme="dark"] .timeline-item-noPhoto,
[data-theme="dark"] .kegiatan-stat-label {
  color: var(--dm-text-muted);
}
