/* ===================================================================
   YAYASAN DAR EL-IMAN PADANG - STYLESHEET (ENHANCED & REFINED)
   Design System: Modern Islamic Emerald & Gold Luxury, Responsive, Clean
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary: #0b5034;
  --primary-dark: #073824;
  --primary-light: #127951;
  --primary-subtle: #eafaf1;
  --primary-glow: rgba(11, 80, 52, 0.25);
  
  --secondary: #d97706;
  --secondary-light: #f59e0b;
  --secondary-subtle: #fffbeb;
  --secondary-glow: rgba(245, 158, 11, 0.35);
  
  --accent-gold: #fbbf24;
  --accent-emerald: #10b981;
  --accent-teal: #0d9488;
  --accent-red: #ef4444;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface: #f1f5f9;
  --bg-dark: #072a1d;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-light: #e2e8f0;
  --border-subtle: rgba(11, 80, 52, 0.1);
  --border-gold: rgba(245, 158, 11, 0.3);
  
  /* Shadows & Glow */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(11, 80, 52, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(11, 80, 52, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 45px -5px rgba(11, 80, 52, 0.18), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Amiri', serif;
  
  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 1.75rem);
}

/* ===================================================================
   TOPBAR & JADWAL SHOLAT WIDGET
   =================================================================== */
.top-bar {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding-right: 0.5rem; /* prevent strict edge collision when scrolling */
}
.top-bar-inner::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.top-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.top-info > span:hover {
  color: var(--secondary-light);
}

.top-info i {
  color: var(--secondary-light);
  font-size: 0.95rem;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.4));
}

.api-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.1);
  transition: all 0.3s ease;
}

.api-status-badge:hover {
  background: rgba(34, 197, 94, 0.25);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
  transform: translateY(-1px);
}

.prayer-times-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  overflow: hidden;
  transition: all 0.3s ease;
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: scroll-marquee 15s linear infinite;
  padding-left: 100%;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.prayer-label {
  font-weight: 700;
  color: var(--secondary-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.prayer-list {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.prayer-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.76rem;
  color: #e2e8f0;
}

.prayer-item.active {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(18, 121, 81, 0.4);
}

.prayer-next-countdown {
  color: #fef08a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

/* ===================================================================
   MAIN NAVIGATION (PERFECTED & REFINED NAVBAR)
   =================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(11, 80, 52, 0.08);
  box-shadow: 0 4px 20px -2px rgba(11, 80, 52, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px -4px rgba(11, 80, 52, 0.12);
  border-bottom-color: rgba(245, 158, 11, 0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

/* Brand Logo (Clean Logo Image Only, No Green Box, No Text) */
.logo-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
}

.navbar-logo-img {
  height: 36px;
  max-height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-wrapper:hover .navbar-logo-img {
  transform: scale(1.05);
}

/* Navbar Links Group */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.08rem, 0.3vw, 0.25rem);
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: clamp(0.78rem, 0.88vw, 0.85rem);
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.45rem clamp(0.42rem, 0.6vw, 0.7rem);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  position: relative;
}

.nav-link i.fa-house {
  font-size: 0.82rem;
  color: var(--primary-light);
}

.nav-link i.fa-chevron-down {
  font-size: 0.58rem;
  margin-left: 0.12rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--text-light);
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(11, 80, 52, 0.06);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--primary-dark);
  background: #e6f7ee;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -4px rgba(11, 80, 52, 0.16), 0 6px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(11, 80, 52, 0.1);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: top center;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 120;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.dropdown-item i {
  color: var(--primary-light);
  font-size: 0.92rem;
  width: 18px;
  text-align: center;
  transition: transform 0.2s ease;
}

.dropdown-item:hover {
  background: var(--primary-subtle);
  color: var(--primary-dark);
  padding-left: 1.05rem;
}

.dropdown-item:hover i {
  color: var(--secondary);
  transform: scale(1.15);
}

.dropdown-item .badge {
  margin-left: auto;
  font-size: 0.66rem;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  background: var(--secondary-light);
  color: #fff;
  font-weight: 700;
}

/* Action CTA Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem clamp(0.7rem, 0.9vw, 1.05rem);
  font-size: clamp(0.78rem, 0.85vw, 0.84rem);
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  letter-spacing: 0.01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #0b5034 0%, #127951 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(11, 80, 52, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #127951 0%, #0b5034 100%);
  box-shadow: 0 5px 18px rgba(11, 80, 52, 0.38);
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 5px 18px rgba(217, 119, 6, 0.42);
  transform: translateY(-2px);
}

.btn-secondary i.fa-heart-pulse {
  animation: pulseBeat 1.8s infinite ease-in-out;
}

@keyframes pulseBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-subtle);
  color: var(--primary-dark);
}

/* Mobile Menu Toggle Button */
.mobile-toggle {
  display: none;
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid rgba(11, 80, 52, 0.2);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--primary);
  color: #fff;
}

/* Mobile Drawer Menu - ALWAYS HIDDEN OUT OF VIEW BY DEFAULT */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  box-shadow: -5px 0 35px rgba(0, 0, 0, 0.25);
  padding: 1.75rem 1.5rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0 !important;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary);
  background: var(--primary-subtle);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary-dark);
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  background: none;
  color: var(--primary);
  padding: 0.5rem;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #051e14 0%, #0b4d33 55%, #106845 100%);
  color: #fff;
  padding: 5rem 0 7rem;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(245, 158, 11, 0.16) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: 0.65;
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fef08a;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-tag .pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span.highlight {
  color: #fde047;
  text-shadow: 0 0 25px rgba(253, 224, 71, 0.4);
}

.arabic-bismillah {
  font-family: var(--font-arabic);
  font-size: 1.85rem;
  color: #fef08a;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  opacity: 0.95;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats-badge {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fef08a;
}

.stat-item p {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* Hero Live Media Card */
.hero-media-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  position: relative;
}

.live-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ef4444;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: liveBlink 1.5s ease-in-out infinite alternate;
}

@keyframes liveBlink {
  from { opacity: 1; }
  to { opacity: 0.75; }
}

.media-channel-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem;
  border-radius: var(--radius-full);
}

.media-channel-tab {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.media-channel-tab.active {
  background: var(--primary-light);
  color: #fff;
}

/* Radio Stream Interactive Bar in Hero */
.radio-stream-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.radio-header-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.radio-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 0 15px var(--secondary-glow);
}

.radio-title-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.radio-title-text p {
  font-size: 0.78rem;
  color: #fef08a;
}

.audio-controls-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-play-radio {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.btn-play-radio:hover {
  transform: scale(1.08);
  background: #16a34a;
}

.soundwave-visualizer {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  flex: 1;
}

.soundwave-bar {
  width: 3px;
  height: 8px;
  background: #22c55e;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.playing .soundwave-bar:nth-child(1) { animation: wave 0.8s infinite ease-in-out; }
.playing .soundwave-bar:nth-child(2) { animation: wave 1.1s infinite ease-in-out; }
.playing .soundwave-bar:nth-child(3) { animation: wave 0.6s infinite ease-in-out; }
.playing .soundwave-bar:nth-child(4) { animation: wave 1.3s infinite ease-in-out; }
.playing .soundwave-bar:nth-child(5) { animation: wave 0.9s infinite ease-in-out; }
.playing .soundwave-bar:nth-child(6) { animation: wave 1.2s infinite ease-in-out; }
.playing .soundwave-bar:nth-child(7) { animation: wave 0.7s infinite ease-in-out; }
.playing .soundwave-bar:nth-child(8) { animation: wave 1.0s infinite ease-in-out; }

@keyframes wave {
  0%, 100% { height: 6px; }
  50% { height: 24px; }
}

.tv-stream-preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tv-stream-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.tv-overlay-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.tv-prog-title h5 {
  font-size: 0.9rem;
  color: #fff;
}

.tv-prog-title p {
  font-size: 0.75rem;
  color: #cbd5e1;
}

.btn-watch-live {
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
}

/* ===================================================================
   SECTION COMMONS
   =================================================================== */
section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-subtitle-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.bg-alt {
  background-color: #f1f5f9;
}

.bg-pattern-islamic {
  background-color: #f8fafc;
  background-image: radial-gradient(#0b5034 0.75px, transparent 0.75px), radial-gradient(#d97706 0.75px, #f8fafc 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.98;
}

/* ===================================================================
   PROFIL SECTION
   =================================================================== */
.profil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.profil-image-stack {
  position: relative;
  height: 100%;
}

.profil-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid #fff;
}

.profil-floating-badge {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-left: 5px solid var(--secondary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-icon-box {
  width: 48px;
  height: 48px;
  background: var(--secondary-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.4rem;
}

.badge-text-box h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.badge-text-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.profil-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1rem;
}

.profil-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.nilai-dasar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}

.nilai-card {
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: var(--transition);
}

.nilai-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.nilai-card i {
  color: var(--primary-light);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.nilai-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.nilai-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.profil-nav-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.tab-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border-radius: var(--radius-md);
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
}

.struktur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  justify-content: center;
}

.pengurus-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pengurus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.pengurus-avatar {
  width: 70px;
  height: 70px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
}

.pengurus-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.pengurus-card p {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
}

/* ===================================================================
   PENDIDIKAN SECTION
   =================================================================== */
.pendidikan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.pendidikan-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pendidikan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(11, 80, 52, 0.3);
}

.pendidikan-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light, #e2e8f0);
}

.pendidikan-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.4s ease;
}

.pendidikan-card:hover .pendidikan-img-wrap img {
  transform: scale(1.05);
}

.pendidikan-tag-pill {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(11, 80, 52, 0.9);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pendidikan-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pendidikan-jenjang {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.pendidikan-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.pendidikan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.pendidikan-features-list {
  margin-bottom: 1.25rem;
  background: var(--bg-main);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
}

.pendidikan-features-list li {
  font-size: 0.82rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pendidikan-features-list li:last-child {
  margin-bottom: 0;
}

.pendidikan-features-list li i {
  color: var(--accent-emerald);
  font-size: 0.85rem;
}

.pendidikan-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  gap: 0.75rem;
}

.psb-banner-box {
  background: linear-gradient(135deg, var(--primary), #116845);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.psb-text h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.psb-text p {
  color: #e2e8f0;
  font-size: 0.95rem;
}

/* ===================================================================
   SARANA & PRASARANA SECTION
   =================================================================== */
.sarana-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #fff;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(11, 80, 52, 0.2);
}

.sarana-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.sarana-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.sarana-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.sarana-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.sarana-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sarana-card:hover .sarana-img-wrap img {
  transform: scale(1.05);
}

.sarana-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.sarana-body {
  padding: 1.5rem;
}

.sarana-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.sarana-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sarana-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sarana-tag-item {
  font-size: 0.75rem;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* ===================================================================
   MEDIA (TV & RADIO) SECTION
   =================================================================== */
.media-section {
  background: linear-gradient(180deg, #092e1f 0%, #061e14 100%);
  color: #fff;
}

.media-section .section-title {
  color: #fff;
}

.media-section .section-desc {
  color: #cbd5e1;
}

.media-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.media-main-player-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.media-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.media-title-group h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.media-title-group p {
  font-size: 0.85rem;
  color: #fef08a;
}

.video-frame-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-frame-container iframe,
.video-frame-container .video-placeholder-wrap {
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.play-video-btn {
  position: absolute;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.6);
  transition: var(--transition);
}

.play-video-btn:hover {
  transform: scale(1.12);
  background: #dc2626;
}

.satellite-param-card {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.satellite-param-card h4 {
  font-size: 0.95rem;
  color: #fef08a;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.param-table {
  width: 100%;
  font-size: 0.82rem;
  border-collapse: collapse;
}

.param-table td {
  padding: 0.35rem 0;
}

.param-table td:first-child {
  color: #94a3b8;
  width: 45%;
}

.param-table td:last-child {
  color: #fff;
  font-weight: 600;
}

/* Radio Tab Panel */
.radio-sidebar-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.radio-stream-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
}

.radio-big-play-wrap {
  text-align: center;
  padding: 1.5rem 0;
}

.btn-big-radio-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.5);
  margin-bottom: 1rem;
}

.btn-big-radio-play:hover {
  transform: scale(1.08);
}

.stream-status-text {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.schedule-timeline {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem;
  max-height: 280px;
  overflow-y: auto;
}

.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary-light);
  white-space: nowrap;
}

/* ===================================================================
   VIDEO REKAMAN KAJIAN SECTION (VOD)
   =================================================================== */
.kajian-video-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.kajian-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.kajian-video-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.kajian-video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.kajian-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.kajian-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kajian-video-card:hover .kajian-thumb-wrap img {
  transform: scale(1.06);
}

.kajian-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.kajian-play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.6);
  transition: transform 0.3s ease, background 0.3s ease;
}

.kajian-video-card:hover .kajian-play-icon {
  transform: scale(1.15);
  background: #dc2626;
}

.kajian-duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
}

.kajian-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(34, 197, 94, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kajian-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.kajian-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kajian-speaker {
  font-size: 0.88rem;
  color: #86efac;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 1rem;
}

.kajian-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #94a3b8;
}

.btn-watch-kajian {
  margin-top: 1rem;
  width: 100%;
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-watch-kajian:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

/* ===================================================================
   DARELIMAN PEDULI SECTION
   =================================================================== */
.peduli-pilar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.pilar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pilar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.pilar-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.2rem;
  background: var(--primary-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
}

.pilar-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.pilar-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.campaign-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.campaign-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.campaign-img-wrap {
  position: relative;
  height: 200px;
}

.campaign-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-cat-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(217, 119, 6, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.campaign-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.campaign-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.campaign-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.progress-wrap {
  margin-bottom: 1.25rem;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), #22c55e);
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

.progress-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.progress-stats-row .terkumpul {
  font-weight: 800;
  color: var(--primary);
}

.progress-stats-row .target {
  color: var(--text-muted);
}

.campaign-rekening-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.15rem;
  transition: var(--transition);
}

.campaign-rekening-box:hover {
  background: #f1f5f9;
  border-color: var(--primary-light);
}

.campaign-rek-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.campaign-rek-bank {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.campaign-rek-bank i {
  color: var(--primary);
}

.campaign-rek-num-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.campaign-rek-num {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.04em;
}

.btn-copy-acc-mini {
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-copy-acc-mini:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.campaign-rek-owner {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}

.campaign-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

/* ===================================================================
   DONASI & KALKULATOR ZAKAT SECTION
   =================================================================== */
.donasi-section {
  background: #f8fafc;
}

.donasi-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: flex-start;
}

.zakat-calc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.calc-type-selector {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-main);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
}

.calc-tab-btn {
  flex: 1;
  padding: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border-radius: var(--radius-sm);
  text-align: center;
}

.calc-tab-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.input-with-prefix {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  font-size: 0.95rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 80, 52, 0.15);
}

.calc-result-box {
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1.5px dashed var(--primary-light);
  margin: 1.5rem 0;
}

.calc-status-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.calc-final-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.rekening-list-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bank-item-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}

.bank-item-box:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.bank-info h5 {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.bank-acc-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.03em;
}

.bank-an {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-copy-acc {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-main);
  color: var(--primary);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.btn-copy-acc:hover {
  background: var(--primary);
  color: #fff;
}

/* ===================================================================
   FAQ SECTION
   =================================================================== */
.faq-search-wrapper {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 0.95rem 1.25rem 0.95rem 3.2rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-light);
  background: #fff;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.faq-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11, 80, 52, 0.12);
}

.faq-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
}

.faq-cat-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.faq-accordion-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.faq-question i {
  font-size: 0.9rem;
  color: var(--primary-light);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: #fafafa;
}

.faq-item.open .faq-answer {
  max-height: 350px;
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================================================
   BERITA & ARTIKEL KAJIAN
   =================================================================== */
.berita-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.berita-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.berita-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.berita-img-wrap {
  height: 200px;
  overflow: hidden;
}

.berita-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.berita-card:hover .berita-img-wrap img {
  transform: scale(1.06);
}

.berita-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.berita-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.berita-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.berita-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.berita-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.main-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-brand p.tagline {
  color: var(--secondary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-brand p.desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--secondary);
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--secondary-light);
  padding-left: 5px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.contact-info-list i {
  color: var(--secondary-light);
  margin-top: 0.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* ===================================================================
   MODALS (DONASI, PSB, DETAIL FASILITAS, DETAIL PENDIDIKAN)
   =================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  transform: translateY(20px) scale(0.97);
  transition: var(--transition);
  position: relative;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.btn-close-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-main);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.btn-close-modal:hover {
  background: #fee2e2;
  color: #ef4444;
}

.modal-body {
  padding: 1.75rem;
}

.donation-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.preset-btn {
  padding: 0.75rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.preset-btn.active, .preset-btn:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
  color: var(--primary);
}

.qris-modal-preview {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
}

.qris-mockup-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 0.85rem;
  background: #fff;
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ===================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   =================================================================== */
@media (max-width: 1260px) {
  .nav-link {
    padding: 0.4rem 0.5rem;
    font-size: 0.78rem;
  }
  .btn {
    padding: 0.42rem 0.85rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 1080px) {
  /* Switch gracefully to mobile drawer before items wrap */
  .nav-links, .nav-actions .btn {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .media-grid-layout,
  .donasi-grid-layout,
  .profil-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Info top bar boleh turun baris agar nomor WA tidak terpotong */
  .top-info {
    flex-wrap: wrap;
    flex-shrink: 1;
    max-width: 100%;
    row-gap: 0.35rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  /* Rata kanan-kiri di layar sempit membuat jarak antar kata melebar */
  .hero-title,
  .hero-subtitle {
    text-align: left !important;
  }

  .hero-stats-badge {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .donation-presets {
    grid-template-columns: 1fr 1fr;
  }
}

/* Override Berita Grid */
#beritaGridContainer { display: flex !important; overflow-x: auto !important; scroll-snap-type: x mandatory; padding-bottom: 1rem; gap: 1.5rem; -ms-overflow-style: none; scrollbar-width: none; }
#beritaGridContainer::-webkit-scrollbar { display: none; }
#beritaGridContainer > .berita-card { flex: 0 0 calc((100% - 3rem) / 3) !important; scroll-snap-align: start; border-radius: 12px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05) !important; transition: transform 0.3s ease, box-shadow 0.3s ease; }
#beritaGridContainer > .berita-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04) !important; }
