@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Tokens */
  --bg-dark: #070B13;
  --bg-dark-rgb: 7, 11, 19;
  --bg-nav-rgb: 7, 11, 19;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  
  --color-blue: #3A70B6;
  --color-blue-rgb: 58, 112, 182;
  --color-orange: #F58C3D;
  --color-orange-rgb: 245, 140, 61;
  --color-dark-blue: #1E3A8A;
  
  --color-text-primary: #F8FAFC;
  --color-text-secondary: #94A3B8;
  --color-text-muted: #64748B;
  
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glass-hover: rgba(255, 255, 255, 0.12);
  --border-blue-glow: rgba(58, 112, 182, 0.3);
  --border-orange-glow: rgba(245, 140, 61, 0.3);
  
  --glow-blue: 0 0 25px rgba(58, 112, 182, 0.25);
  --glow-orange: 0 0 25px rgba(245, 140, 61, 0.25);
  --glow-text-orange: 0 0 10px rgba(245, 140, 61, 0.4);
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Day Mode / Light Theme overrides */
body.light-theme {
  --bg-dark: #F3F4F6;
  --bg-dark-rgb: 243, 244, 246;
  --bg-nav-rgb: 255, 255, 255;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  
  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted: #94A3B8;
  
  --border-glass: rgba(15, 23, 42, 0.08);
  --border-glass-hover: rgba(15, 23, 42, 0.15);
  --border-blue-glow: rgba(58, 112, 182, 0.15);
  --border-orange-glow: rgba(245, 140, 61, 0.15);
  
  --glow-blue: 0 8px 30px rgba(58, 112, 182, 0.08);
  --glow-orange: 0 8px 30px rgba(245, 140, 61, 0.08);
  --glow-text-orange: 0 0 10px rgba(245, 140, 61, 0.15);
}

/* Light Theme Element Overrides */
body.light-theme .section-header h2 {
  background: linear-gradient(135deg, var(--color-text-primary) 40%, var(--color-blue) 70%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme #kalkulator {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #E5E7EB 100%);
}

body.light-theme #doa-donatur {
  background: rgba(15, 23, 42, 0.03);
}

body.light-theme .progress-bar-bg {
  background: rgba(15, 23, 42, 0.08);
}


/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-blue);
}

/* Typography & Layout Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

section {
  padding: 100px 24px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFF 40%, var(--color-blue) 70%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.container {
  width: 100%;
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glass-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-blue), #2a558c);
  color: #FFF;
  box-shadow: var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(58, 112, 182, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-orange), #d97425);
  color: #FFF;
  box-shadow: var(--glow-orange);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(245, 140, 61, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-blue);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(var(--bg-nav-rgb), 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  height: 70px;
  background: rgba(var(--bg-nav-rgb), 0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  height: 44px;
  width: 44px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .title {
  font-family: var(--font-title);
  color: var(--color-text-primary);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
}

.nav-logo-text .subtitle {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-text-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.75rem;
  cursor: pointer;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--color-text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-blue);
  color: var(--color-blue);
  box-shadow: var(--glow-blue);
}

body.light-theme .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.04);
}

body.light-theme .theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.08);
}


/* Hero Section */
.hero-wrapper {
  padding: 0;
  max-width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  position: relative;
  background-color: #000;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  display: flex;
  align-items: center;
  padding: 0 10%;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(var(--bg-dark-rgb), 0.95) 30%, rgba(var(--bg-dark-rgb), 0.4) 70%, rgba(var(--bg-dark-rgb), 0.95) 100%),
              linear-gradient(0deg, rgba(var(--bg-dark-rgb), 0.98) 0%, rgba(0, 0, 0, 0) 50%, rgba(var(--bg-dark-rgb), 0.7) 100%);
  z-index: 3;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 10s ease;
}

.hero-slide.active .slide-img {
  transform: scale(1);
}

.slide-content {
  position: relative;
  z-index: 4;
  max-width: 650px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s, opacity 0.8s ease 0.3s;
}

.hero-slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.slide-badge.pendidikan {
  border-color: rgba(58, 112, 182, 0.5);
  color: var(--color-blue);
}

.slide-badge.keagamaan {
  border-color: rgba(245, 140, 61, 0.5);
  color: var(--color-orange);
}

.slide-badge.sosial {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-text-primary);
}

.slide-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}

.slide-content h1 span {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-content p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.slide-actions {
  display: flex;
  gap: 16px;
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 10%;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background: var(--color-orange);
  width: 32px;
  border-radius: 10px;
  box-shadow: 0 0 10px var(--color-orange);
}

/* Quick Floating Info Box (Impact Stats) */
.hero-stats-panel {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 80%;
  max-width: 1000px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 30px;
  gap: 24px;
}

.hero-stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-glass);
}

.hero-stat-val {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.hero-stat-val.blue {
  color: var(--color-blue);
  text-shadow: 0 0 15px rgba(58,112,182,0.2);
}

.hero-stat-val.orange {
  color: var(--color-orange);
  text-shadow: 0 0 15px rgba(245,140,61,0.2);
}

.hero-stat-label {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Campaigns Section */
.campaigns-section {
  padding-top: 160px; /* offset stats panel overflow */
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--color-text-secondary);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-primary);
}

.filter-btn.active {
  background: rgba(58, 112, 182, 0.15);
  border-color: var(--color-blue);
  color: var(--color-text-primary);
  box-shadow: 0 0 15px rgba(58, 112, 182, 0.2);
}

.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

.campaign-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.campaign-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow-blue);
  border-color: rgba(58,112,182,0.2);
}

.campaign-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.campaign-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.campaign-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(7, 11, 19, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.campaign-tag.pendidikan {
  color: #60A5FA;
  border-color: rgba(96, 165, 250, 0.3);
}

.campaign-tag.keagamaan {
  color: #FB923C;
  border-color: rgba(251, 146, 60, 0.3);
}

.campaign-tag.sosial {
  color: #F87171;
  border-color: rgba(248, 113, 113, 0.3);
}

.campaign-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.campaign-info h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--color-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.5rem;
}

.campaign-info p.desc {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.campaign-progress-container {
  margin-bottom: 20px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.progress-labels .percent {
  font-weight: 700;
  color: var(--color-orange);
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-orange) 100%);
  width: 0%;
  transition: width 1s ease-in-out;
}

.campaign-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-glass);
  padding-top: 18px;
  margin-bottom: 20px;
}

.c-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.c-stat-val {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

#kalkulator {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #03060b 100%);
  border-top: 1px solid var(--border-glass);
}

/* Zakat Calculator Section */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.calc-info h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.calc-info p {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.calc-benefits {
  list-style: none;
}

.calc-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--color-text-secondary);
}

.calc-benefits li svg {
  color: var(--color-orange);
  margin-top: 4px;
  flex-shrink: 0;
}

.calc-card {
  padding: 36px;
}

.calc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 30px;
}

.calc-tab-btn {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.calc-tab-btn.active {
  background: var(--color-blue);
  color: #FFF;
  box-shadow: var(--glow-blue);
}

.calc-form {
  display: none;
}

.calc-form.active {
  display: block;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 16px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 12px 16px 12px 48px;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-blue);
  background: rgba(58, 112, 182, 0.03);
  box-shadow: 0 0 15px rgba(58, 112, 182, 0.15);
}

.calc-result-box {
  background: rgba(58, 112, 182, 0.08);
  border: 1px dashed rgba(58, 112, 182, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-label {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.result-val {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
}

.result-val.zakat-total {
  font-size: 1.5rem;
  color: var(--color-orange);
  text-shadow: var(--glow-text-orange);
}

.nisab-info {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  margin-top: 8px;
}

.calc-btn-container {
  margin-top: 24px;
}

/* About us / Core Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.area-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.area-card:hover {
  border-color: var(--color-orange);
  box-shadow: var(--glow-orange);
  transform: translateY(-5px);
}

.area-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.area-card.blue-theme .area-icon-wrapper {
  background: rgba(58, 112, 182, 0.1);
  color: var(--color-blue);
}

.area-card.orange-theme .area-icon-wrapper {
  background: rgba(245, 140, 61, 0.1);
  color: var(--color-orange);
}

.area-card.white-theme .area-icon-wrapper {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
}

.area-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.area-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* Board of Directors / Org Structure */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  justify-content: center;
}

.board-card {
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.board-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(58,112,182,0.2), rgba(245,140,61,0.2));
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  font-size: 2rem;
  font-family: var(--font-title);
  font-weight: 700;
  transition: var(--transition-smooth);
}

.board-card:hover .board-avatar {
  transform: scale(1.05);
  border-color: var(--color-blue);
  box-shadow: var(--glow-blue);
}

.board-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.board-role {
  color: var(--color-orange);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.board-bio {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

#doa-donatur {
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

/* Donor Prayers / Testimonials Wall */
.testimonials-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollTrack 35s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 300px;
  padding: 24px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.donor-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.donor-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-primary);
}

.donor-amount {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--color-orange);
  font-weight: 600;
}

.donor-time {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.donor-prayer {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 16px;
}

.donor-prayer::before {
  content: '“';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 2rem;
  font-family: serif;
  color: rgba(58, 112, 182, 0.4);
  line-height: 1;
}

@keyframes scrollTrack {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px));
  }
}

/* Donation Drawer / Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 5, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--glow-blue);
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.4rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--color-text-primary);
}

.modal-body {
  padding: 30px;
}

/* Modal Progress Steps */
.modal-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.modal-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.modal-step-progress-bar {
  position: absolute;
  top: 15px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-orange));
  z-index: 2;
  width: 0%;
  transition: var(--transition-smooth);
}

.step-indicator {
  position: relative;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.step-indicator.active {
  border-color: var(--color-blue);
  color: var(--color-text-primary);
  box-shadow: 0 0 15px rgba(58, 112, 182, 0.4);
}

.step-indicator.completed {
  border-color: var(--color-orange);
  background: var(--color-orange);
  color: #FFF;
  box-shadow: 0 0 15px rgba(245, 140, 61, 0.4);
}

/* Step content visibility */
.step-pane {
  display: none;
}

.step-pane.active {
  display: block;
}

/* Preset amounts grid */
.amount-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--color-text-primary);
  padding: 14px;
  border-radius: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass-hover);
}

.preset-btn.active {
  background: rgba(245, 140, 61, 0.1);
  border-color: var(--color-orange);
  color: var(--color-orange);
  box-shadow: 0 0 15px rgba(245, 140, 61, 0.15);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-orange);
  cursor: pointer;
}

/* Payment Selector Grid */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.payment-card {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.payment-card:hover {
  border-color: var(--border-glass-hover);
}

.payment-card.active {
  border-color: var(--color-blue);
  background: rgba(58, 112, 182, 0.06);
  box-shadow: 0 0 15px rgba(58,112,182,0.1);
}

.payment-radio {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.payment-card.active .payment-radio {
  border-color: var(--color-blue);
}

.payment-card.active .payment-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-blue);
}

.payment-logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-text-primary);
}

.payment-logo.bsi { color: #008D96; }
.payment-logo.bca { color: #005CAA; }
.payment-logo.mandiri { color: #003366; }
.payment-logo.qris {
  background: linear-gradient(135deg, #E21B27, #0A5A9C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.payment-details {
  display: flex;
  flex-direction: column;
}

.payment-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.payment-type {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Step 4: Transfer Details Panel */
.checkout-details-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.checkout-row:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.checkout-label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.checkout-val {
  font-weight: 600;
  font-size: 0.95rem;
}

.checkout-val.amount {
  font-size: 1.2rem;
  color: var(--color-orange);
  font-weight: 700;
}

.account-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 11, 19, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 10px;
}

.account-num {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--color-blue);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.copy-btn:hover {
  text-decoration: underline;
  color: var(--color-orange);
}

.instruction-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  text-align: center;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  margin-top: 24px;
  gap: 16px;
}

/* Footer styling */
.main-footer {
  background: #030509;
  border-top: 1px solid var(--border-glass);
  padding: 80px 40px 30px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .nav-brand {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-link:hover {
  background: var(--color-blue);
  color: #FFF;
  border-color: var(--color-blue);
  box-shadow: var(--glow-blue);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.15rem;
  margin-bottom: 24px;
  color: var(--color-text-primary);
  font-family: var(--font-title);
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--color-blue);
  padding-left: 4px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.contact-item svg {
  color: var(--color-orange);
  margin-top: 4px;
  flex-shrink: 0;
}

.legal-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-box img {
  height: 32px;
  opacity: 0.8;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-sublinks {
  display: flex;
  gap: 24px;
}

.footer-sublinks a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-sublinks a:hover {
  color: var(--color-text-primary);
}

/* Floating WhatsApp Badge */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 2rem;
  text-decoration: none;
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-widget:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Animations */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-wrapper {
    height: auto;
    min-height: auto;
    padding-top: 80px;
  }
  .hero-slider {
    height: 550px;
  }
  .hero-stats-panel {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 90%;
    margin: -40px auto 40px;
    background: rgba(15, 23, 42, 0.95);
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .footer-grid > *:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 16px;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .navbar {
    padding: 0 20px;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-dark);
    flex-direction: column;
    padding: 40px 20px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-glass);
  }
  .nav-links.active {
    left: 0;
  }
  .nav-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-slide {
    padding: 0 24px;
  }
  .slide-content h1 {
    font-size: 2.2rem;
  }
  .hero-stats-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    margin-top: 20px;
  }
  .hero-stat-item:not(:last-child)::after {
    display: none;
  }
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .campaigns-grid {
    grid-template-columns: 1fr;
  }
  .modal-container {
    max-height: 95vh;
  }
  .amount-presets {
    grid-template-columns: 1fr 1fr;
  }
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid > *:last-child {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Form Input Selector overrides */
select.form-input {
  appearance: none;
  background-color: #070B13;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px !important;
}

body.light-theme select.form-input {
  background-color: #FFF !important;
}
