/* ==========================================================
   MUSHOLLA AL-IKHLAS - GRIA PANORAMA CIMANGGUNG BLOK B
   Modern Islamic Community Design System & Stylesheet
   ========================================================== */

@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 {
  --primary: #065f46;
  --primary-dark: #044332;
  --primary-deep: #022c22;
  --primary-light: #059669;
  --primary-soft: #ecfdf5;
  --primary-border: #a7f3d0;
  
  --gold: #d97706;
  --gold-light: #fbbf24;
  --gold-soft: #fffbeb;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  
  --emerald-gradient: linear-gradient(135deg, #065f46 0%, #047857 50%, #064e3b 100%);
  --hero-overlay: linear-gradient(90deg, rgba(2, 44, 34, 0.88) 0%, rgba(2, 44, 34, 0.72) 45%, rgba(2, 44, 34, 0.35) 75%, rgba(2, 44, 34, 0.2) 100%), linear-gradient(180deg, rgba(2, 44, 34, 0.5) 0%, transparent 35%, rgba(2, 44, 34, 0.85) 100%);
  
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.96);
  --card-border: rgba(6, 95, 70, 0.12);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #eab308;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(6, 95, 70, 0.08);
  --shadow-lg: 0 16px 38px rgba(6, 95, 70, 0.14);
  --shadow-gold: 0 8px 25px rgba(217, 119, 6, 0.25);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.3);
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Amiri', serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Core Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Islamic Geometric Background subtle pattern */
.pattern-bg {
  background-color: #f8fafc;
  background-image: radial-gradient(#059669 0.5px, transparent 0.5px), radial-gradient(#059669 0.5px, #f8fafc 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  background-opacity: 0.04;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography Helpers */
.arabic-text {
  font-family: var(--font-arabic);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.text-gold {
  color: var(--gold);
}

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

/* Top Announcement Bar */
.topbar {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
  padding: 0.5rem 0;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item svg {
  color: var(--gold-light);
  flex-shrink: 0;
}

/* ==========================================================
   ENHANCED MODERN NAVBAR SYSTEM
   ========================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 95, 70, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 10;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(6, 95, 70, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 78px;
  gap: 1.25rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.brand-icon img,
.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(6, 95, 70, 0.18));
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-icon img,
.brand-logo:hover .brand-logo-img {
  transform: scale(1.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.2;
}

.musholla-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #065f46;
  letter-spacing: 0.8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 1px 6px;
  border-radius: 4px;
}

.musholla-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #064e3b;
  letter-spacing: -0.3px;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: #d97706;
  letter-spacing: 0.6px;
  margin-top: 2px;
}

/* Nav Wrapper & Menu */
.nav-wrapper {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.28rem;
  background: #f1f5f9;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 95, 70, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.52rem 0.92rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border-radius: var(--radius-full);
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: color 0.2s ease;
}

.nav-pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-soft 2s infinite;
}

.nav-link:hover {
  color: #065f46;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(6, 95, 70, 0.08);
}

.nav-link:hover .nav-icon {
  color: #065f46;
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  box-shadow: 0 3px 12px rgba(6, 95, 70, 0.28);
}

.nav-link.active .nav-icon {
  color: #fbbf24;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
  color: #64748b;
}

.dropdown:hover .dropdown-chevron,
.dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
  color: #065f46;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 285px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  border: 1px solid rgba(6, 95, 70, 0.12);
  box-shadow: 0 16px 38px rgba(6, 95, 70, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-top: 1px solid rgba(6, 95, 70, 0.12);
  border-left: 1px solid rgba(6, 95, 70, 0.12);
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--primary-soft);
  transform: translateX(3px);
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid rgba(6, 95, 70, 0.12);
  border-radius: var(--radius-md);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.dropdown-item:hover .dropdown-item-icon {
  background: var(--emerald-gradient);
  color: #ffffff;
  border-color: transparent;
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
}

.dropdown-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.25;
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* Header Actions (Only shown on mobile for toggle button) */
.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-header-cta {
  padding: 0.62rem 1.25rem;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.32);
  white-space: nowrap;
}

.btn-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.58rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-deep);
  background: rgba(15, 76, 58, 0.08);
  border: 1px solid rgba(15, 76, 58, 0.18);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-admin-link:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(15, 76, 58, 0.25);
}

.mobile-cta-item {
  display: none;
  width: 100%;
  margin-top: 0.5rem;
}

.btn-block {
  width: 100%;
}

/* Hamburger Button */
.mobile-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid rgba(6, 95, 70, 0.12);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  transition: all 0.25s ease;
}

.mobile-toggle:hover {
  background: var(--primary-soft);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2.2px;
  background-color: var(--primary-deep);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.4);
}

.btn-primary {
  background: var(--emerald-gradient);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.btn-outline-emerald {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-emerald:hover {
  background: var(--primary-soft);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-deep);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 8rem;
  background: url('../images/hero.jpg') center right / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

/* Atmospheric glowing twilight aura instead of harsh lattice grid */
.hero-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 35%, rgba(251, 191, 36, 0.12) 0%, transparent 55%),
              radial-gradient(circle at 20% 80%, rgba(6, 95, 70, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 44, 34, 0.85);
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  animation: pulse-soft 3s infinite ease-in-out;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
}

.hero-arabic {
  font-family: var(--font-arabic);
  font-size: 2.35rem;
  color: #fbbf24;
  margin-bottom: 1rem;
  line-height: 1.35;
  text-shadow: 0 0 25px rgba(251, 191, 36, 0.55), 0 2px 6px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 40%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.35));
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.25rem;
  max-width: 700px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Hero Quick Widgets Row (Satu Baris Horizontal) */
.hero-widgets-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0.85rem !important;
  margin-top: 0.75rem !important;
  width: 100% !important;
  max-width: 860px !important;
}

.hero-prayer-pill,
.hero-ramadhan-pill {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  background: rgba(2, 44, 34, 0.92) !important;
  border: 1px solid rgba(251, 191, 36, 0.38) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  padding: 0.7rem 1rem !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.hero-prayer-pill:hover,
.hero-ramadhan-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.prayer-icon-glow {
  width: 38px;
  height: 38px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ramadhan-icon-glow {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: 1.5px solid #fbbf24;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  flex-shrink: 0;
}

.prayer-pill-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1 1 auto;
}

.prayer-pill-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prayer-pill-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prayer-pill-countdown {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  flex-shrink: 0;
}

.ramadhan-pill-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #064e3b;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fbbf24;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

@media (max-width: 580px) {
  .hero-widgets-row {
    gap: 0.5rem !important;
  }
  .hero-prayer-pill,
  .hero-ramadhan-pill {
    padding: 0.55rem 0.65rem !important;
    gap: 0.5rem !important;
  }
  .prayer-icon-glow,
  .ramadhan-icon-glow {
    width: 32px;
    height: 32px;
  }
  .prayer-icon-glow svg,
  .ramadhan-icon-glow svg {
    width: 17px;
    height: 17px;
  }
  .prayer-pill-label {
    font-size: 0.6rem;
  }
  .prayer-pill-name {
    font-size: 0.88rem;
  }
  .prayer-pill-countdown {
    font-size: 0.72rem;
    padding: 0.18rem 0.4rem;
  }
  .ramadhan-pill-badge {
    font-size: 0.6rem;
    padding: 0.18rem 0.45rem;
  }
}

/* ==========================================================
   PRAYER TIMES BAR / FLOATING CARD
   ========================================================== */
.prayer-section {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
  margin-bottom: 4rem;
}

/* ==========================================================
   ENHANCED ISLAMIC PRAYER TIMES BOARD
   ========================================================== */
.prayer-section {
  position: relative;
  z-index: 10;
  margin-top: -4.5rem;
  margin-bottom: 4.5rem;
}

.prayer-container-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfd 100%);
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(217, 119, 6, 0.28);
  box-shadow: 0 20px 45px rgba(6, 95, 70, 0.12), 0 0 0 1px rgba(251, 191, 36, 0.15);
  padding: 2.2rem 2.2rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Islamic Arch Crown Motif at top */
.prayer-arch-crown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.crown-line {
  height: 1.5px;
  width: 90px;
  background: linear-gradient(90deg, transparent, #d97706, transparent);
}

.crown-emblem {
  width: 38px;
  height: 38px;
  background: var(--primary-deep);
  border: 1.5px solid #fbbf24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.prayer-verse-header {
  text-align: center;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed rgba(217, 119, 6, 0.25);
}

.verse-arabic {
  font-family: var(--font-arabic);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.verse-translation {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Prayer Header */
.prayer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.8rem;
}

.prayer-header-left h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.prayer-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-border);
}

.prayer-header-left p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.prayer-header-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.quick-times-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 500;
}

.quick-pill strong {
  color: var(--primary-deep);
  font-variant-numeric: tabular-nums;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-amber {
  background: #f59e0b;
}

.dot-gold {
  background: #eab308;
}

.live-clock-badge {
  background: #ecfdf5;
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-border);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 8px rgba(6, 95, 70, 0.08);
}

/* 6-Column Islamic Mihrab Prayer Cards */
.prayer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.prayer-card {
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: 38px 38px 18px 18px;
  padding: 1.5rem 0.8rem 1.3rem;
  text-align: center;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mihrab-arch-tip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: rgba(217, 119, 6, 0.25);
  border-radius: 0 0 8px 8px;
  transition: all 0.3s ease;
}

.prayer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(6, 95, 70, 0.12);
  border-color: var(--gold-light);
}

.prayer-card:hover .mihrab-arch-tip {
  background: var(--gold);
  width: 70px;
}

.active-badge-pill {
  display: none;
  background: var(--gold-gradient);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.prayer-card-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.75rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  position: relative;
}

.prayer-card-icon.icon-fajr {
  background: linear-gradient(135deg, #0284c7 0%, #1e3a8a 100%);
}

.prayer-card-icon.icon-sunrise {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.prayer-card-icon.icon-dhuhr {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.prayer-card-icon.icon-asr {
  background: linear-gradient(135deg, #f97316 0%, #9a3412 100%);
}

.prayer-card-icon.icon-maghrib {
  background: linear-gradient(135deg, #e11d48 0%, #581c87 100%);
}

.prayer-card-icon.icon-isha {
  background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
}

.prayer-card:hover .prayer-card-icon {
  transform: scale(1.08) rotate(3deg);
}

.prayer-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 0.15rem;
}

.prayer-arabic {
  font-family: var(--font-arabic);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 0.45rem;
  letter-spacing: 0.5px;
}

.prayer-time {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.prayer-label-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ACTIVE STATE: Royal Emerald & Gold Mihrab */
.prayer-card.active {
  background: linear-gradient(160deg, #065f46 0%, #044332 50%, #022c22 100%);
  color: #ffffff;
  border-color: #fbbf24;
  box-shadow: 0 16px 36px rgba(6, 95, 70, 0.35), 0 0 25px rgba(251, 191, 36, 0.25);
  transform: translateY(-8px);
}

.prayer-card.active .mihrab-arch-tip {
  background: #fbbf24;
  width: 80px;
  box-shadow: 0 0 10px #fbbf24;
}

.prayer-card.active .active-badge-pill {
  display: inline-block;
}

.prayer-card.active .prayer-name,
.prayer-card.active .prayer-time {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.prayer-card.active .prayer-arabic {
  color: #fbbf24;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

.prayer-card.active .prayer-label-sub {
  color: rgba(255, 255, 255, 0.75);
}

/* Enhanced Islamic Audio Chime Bar */
.adhan-bell-btn {
  margin-top: 0.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ecfdf5 100%);
  border: 1.5px solid rgba(6, 95, 70, 0.18);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-deep);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(6, 95, 70, 0.05);
}

.bell-icon-pulse {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--primary-border);
  transition: all 0.25s ease;
}

.bell-btn-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.adhan-bell-btn:hover {
  background: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.2);
  transform: translateY(-2px);
}

.adhan-bell-btn:hover .bell-icon-pulse {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
}

/* ==========================================================
   SECTION COMMON STYLES
   ========================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================
   ABOUT / PROFIL SECTION
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
  border: 3px solid rgba(16, 185, 129, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-main-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px -8px rgba(6, 78, 59, 0.22);
}

.about-floating-stat {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #ffffff;
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.about-content h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.about-p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.value-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 0.2rem;
}

.value-item p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ==========================================================
   FACILITIES
   ========================================================== */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Jika ada 6 kartu fasilitas di desktop, posisikan 2 kartu di baris kedua tepat di tengah-tengah (kolom 2 & 3) */
@media (min-width: 1025px) {
  .facility-grid > .facility-card:nth-child(5):nth-last-child(2) {
    grid-column: 2;
  }
}

.facility-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: var(--transition);
  text-align: center;
  position: relative;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.facility-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  transition: var(--transition);
}

.facility-card:hover .facility-icon-wrap {
  background: var(--emerald-gradient);
  color: #fff;
}

.facility-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 0.5rem;
}

.facility-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================
   ACTIVITIES & JADWAL PENGAJIAN / TPA
   ========================================================== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.activity-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.activity-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.activity-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-img-wrap img {
  transform: scale(1.06);
}

.activity-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(2, 44, 34, 0.85);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.activity-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.activity-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.activity-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.activity-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.activity-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.activity-mentor {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================
   TRANSPARANSI KAS & KEUANGAN
   ========================================================== */
.transparency-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.summary-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
}

.summary-card.saldo::before {
  background: var(--gold-gradient);
}

.summary-card.masuk::before {
  background: var(--success);
}

.summary-card.keluar::before {
  background: var(--danger);
}

.summary-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-card.saldo .summary-icon {
  background: var(--gold-soft);
  color: var(--gold);
}

.summary-card.masuk .summary-icon {
  background: #ecfdf5;
  color: var(--success);
}

.summary-card.keluar .summary-icon {
  background: #fef2f2;
  color: var(--danger);
}

.summary-details span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-details h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.2;
  margin-top: 0.2rem;
}

.summary-details small {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Transparansi Table & Controls */
.table-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  overflow: hidden;
}

.table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-btn-group {
  display: flex;
  gap: 0.5rem;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: var(--radius-full);
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.kas-table-wrap {
  overflow-x: auto;
}

.kas-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.kas-table th {
  background: #f8fafc;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.kas-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
  color: var(--text-main);
}

.kas-table tr:hover td {
  background: #f8fafc;
}

.badge-in {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-out {
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.amount-in {
  color: var(--success);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.amount-out {
  color: var(--danger);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================
   DONASI & INFAQ SECTION (QRIS & BANK)
   ========================================================== */
.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.qris-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 2px solid var(--primary-border);
  box-shadow: var(--shadow-lg);
  padding: 2.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.qris-badge {
  background: var(--gold-gradient);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1rem;
}

.qris-frame {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 1.25rem 0;
  display: inline-block;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.03);
}

.qris-svg-wrap {
  width: 240px;
  height: 240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qris-img {
  width: 230px;
  height: 230px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.qris-help {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.8rem;
}

.bank-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.bank-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.bank-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.bank-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.bank-badge {
  width: 60px;
  height: 48px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-border);
}

.bank-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.bank-acc-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.bank-holder {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

.copy-btn {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 0.6rem 1.1rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Donation Confirmation Form */
.donation-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  border: 2px solid var(--primary-border);
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.donation-form-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 0.4rem;
}

.donation-form-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-family: var(--font-sans);
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.12);
}

/* ==========================================================
   DKM PENGURUS SECTION (Sementara disembunyikan)
   ========================================================== */
#dkm,
.nav-dkm-item,
.cta-dkm-btn,
.footer-dkm-link {
  display: none !important;
}

.dkm-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .dkm-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }
}

.dkm-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 992px) {
  .dkm-card {
    flex: 0 0 210px;
    scroll-snap-align: start;
  }
}

.dkm-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.dkm-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  border: 2px solid var(--primary-border);
  flex-shrink: 0;
}

.dkm-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 0.25rem;
}

.dkm-role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}

.dkm-address {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================
   LOCATION & MAP SECTION
   ========================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(6, 95, 70, 0.15);
  height: 420px;
  background: #e2e8f0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-info {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-md);
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}

.loc-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.location-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 0.25rem;
}

.location-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================
   FAQ SECTION
   ========================================================== */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--primary-light);
}

.faq-question {
  padding: 1.3rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-icon-arrow {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-card.open .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.6rem;
  background: #f8fafc;
}

.faq-card.open .faq-answer {
  max-height: 300px;
  padding: 0 1.6rem 1.3rem;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--primary-deep);
  color: #ffffff;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.footer-brand span {
  font-size: 0.85rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================
   FLOATING BUTTONS & TOAST
   ========================================================== */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.float-wa {
  display: none !important; /* Sementara di-hide per permintaan */
  background: #25d366;
  font-size: 1.6rem;
}

.float-wa:hover {
  transform: scale(1.1);
  background: #20ba59;
}

.float-top {
  background: var(--primary);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.float-top.show {
  opacity: 1;
  visibility: visible;
}

.float-top:hover {
  transform: scale(1.1);
  background: var(--primary-light);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary-deep);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-light);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 10000;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Keyframe Animations */
@keyframes pulse-soft {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 8px rgba(217, 119, 6, 0);
  }
}

/* ==========================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .prayer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) and (max-width: 1220px) {
  .nav-menu {
    gap: 0.2rem;
    padding: 0.3rem 0.45rem;
  }
  .nav-link {
    padding: 0.48rem 0.72rem;
    font-size: 0.83rem;
    gap: 0.35rem;
  }
  .musholla-name {
    font-size: 1.1rem;
  }
}

@media (max-width: 1024px) {
  .topbar {
    display: none;
  }

  .nav-actions {
    display: flex;
    margin-left: auto;
  }

  .nav-wrapper {
    display: block;
    margin-left: 0;
  }

  .btn-header-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.25rem 1.25rem 1.75rem;
    gap: 0.6rem;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(6, 95, 70, 0.08);
    border-bottom: 2px solid var(--primary-border);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100vh - 85px);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
  }

  .dropdown-toggle {
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-top: 0.4rem;
    padding: 0.4rem;
    border-radius: var(--radius-md);
    display: none;
    pointer-events: auto;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu::before {
    display: none;
  }

  .mobile-cta-item {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 3.5rem 0 6rem;
  }

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

  .hero-arabic {
    font-size: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .about-grid, .donation-grid, .location-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-floating-stat {
    right: 10px;
    bottom: -15px;
  }

  .activities-grid {
    grid-template-columns: 1fr;
  }

  .transparency-summary {
    grid-template-columns: 1fr;
  }

  .prayer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  
  .prayer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  
  .prayer-card {
    padding: 1rem 0.5rem;
  }
  
  .prayer-time {
    font-size: 1.2rem;
  }
  
  .facility-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   PROGRES PEMBANGUNAN & RENOVASI SECTION
   ========================================================== */
.pembangunan-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.pembangunan-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 95, 70, 0.2), transparent);
}

.pembangunan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.pembangunan-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(6, 95, 70, 0.12);
  padding: 0;
  box-shadow: 0 4px 20px rgba(6, 95, 70, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pembangunan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(6, 95, 70, 0.15);
  border-color: rgba(5, 150, 105, 0.4);
}

.pembangunan-img-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #022c22;
}

.pembangunan-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pembangunan-card:hover .pembangunan-img {
  transform: scale(1.07);
}

.pembangunan-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.95rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
  pointer-events: none;
}

.pembangunan-category-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(2, 44, 34, 0.88);
  border: 1px solid rgba(251, 191, 36, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pembangunan-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pembangunan-badge.badge-selesai {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.pembangunan-badge.badge-proses {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.pembangunan-badge.badge-rencana {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.pembangunan-card-body {
  padding: 1.45rem 1.65rem 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pembangunan-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.pembangunan-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  color: #065f46;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.15);
}

.pembangunan-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.3;
  margin: 0;
}

.pembangunan-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pembangunan-progress-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.pembangunan-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.pembangunan-progress-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.pembangunan-progress-percent {
  font-size: 0.95rem;
  font-weight: 800;
  color: #065f46;
}

.pembangunan-progress-bar {
  width: 100%;
  height: 9px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.pembangunan-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #10b981 0%, #059669 60%, #d97706 100%);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pembangunan-progress-fill.fill-completed {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.pembangunan-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #e2e8f0;
}

.pembangunan-stat-item {
  display: flex;
  flex-direction: column;
}

.pembangunan-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.15rem;
}

.pembangunan-stat-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
}

.pembangunan-stat-val.text-emerald {
  color: #059669;
}

/* Call to action banner */
.pembangunan-cta-banner {
  background: linear-gradient(135deg, #044332 0%, #065f46 60%, #064e3b 100%);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 16px 36px rgba(4, 67, 50, 0.25);
  position: relative;
  overflow: hidden;
}

.pembangunan-cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pembangunan-cta-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pembangunan-cta-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pembangunan-cta-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.pembangunan-cta-desc {
  color: #d1fae5;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  max-width: 650px;
}

.pembangunan-cta-actions {
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .pembangunan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pembangunan-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
  }
}

@media (max-width: 640px) {
  .pembangunan-grid {
    grid-template-columns: 1fr;
  }
  .pembangunan-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .pembangunan-cta-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .pembangunan-cta-actions {
    width: 100%;
  }
  .pembangunan-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================
   AI / VIRTUAL ASSISTANT CHATBOT ("Asisten Al-Ikhlas")
   ========================================================== */
.float-chat {
  background: linear-gradient(135deg, #059669 0%, #044332 100%);
  position: relative;
  border: 2px solid #fbbf24 !important;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(4, 67, 50, 0.35);
  animation: pulse-soft 3s infinite;
}

.float-chat:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.float-chat.active {
  background: #044332;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.4);
}

.chat-trigger-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #fbbf24;
  opacity: 0.8;
  animation: ripple-chat 2s infinite ease-out;
  pointer-events: none;
}

@keyframes ripple-chat {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.chat-trigger-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Chatbot Modal Dialog */
.chatbot-modal {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(4, 67, 50, 0.25), 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92) translateY(20px);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.chatbot-modal.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* Header */
.chatbot-header {
  background: linear-gradient(135deg, #044332 0%, #065f46 100%);
  color: #ffffff;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #fbbf24;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatbot-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chatbot-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.chatbot-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.chatbot-subtitle {
  font-size: 0.72rem;
  color: #d1fae5;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-weight: 500;
}

.chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chatbot-action-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chatbot-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Messages Body */
.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}

.chatbot-body::-webkit-scrollbar {
  width: 5px;
}

.chatbot-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.chat-msg {
  display: flex;
  gap: 0.6rem;
  max-width: 90%;
  align-items: flex-end;
  animation: fadeInMsg 0.25s ease-out;
}

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

.chat-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg-bot {
  align-self: flex-start;
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chat-avatar-mini {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chat-msg-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chat-msg-user .chat-msg-content {
  align-items: flex-end;
}

.chat-bubble {
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  font-size: 0.86rem;
  line-height: 1.52;
  word-break: break-word;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.chat-bubble-bot {
  background: #ffffff;
  color: #1e293b;
  border-bottom-left-radius: 4px;
  border: 1px solid #e2e8f0;
}

.chat-bubble-user {
  background: linear-gradient(135deg, #059669 0%, #044332 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-text strong {
  color: #044332;
  font-weight: 700;
}

.chat-bubble-user .chat-text strong {
  color: #fbbf24;
}

.chat-time {
  font-size: 0.68rem;
  color: #94a3b8;
  padding: 0 4px;
}

.chat-inline-link {
  color: #059669;
  font-weight: 600;
  text-decoration: underline;
}

.chat-bubble-user .chat-inline-link {
  color: #fbbf24;
}

.chat-action-wrap {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px dashed #e2e8f0;
}

.chat-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #059669 0%, #044332 100%);
  color: #ffffff !important;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
  transition: all 0.2s ease;
}

.chat-btn-action:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.35);
}

/* Typing Bubble */
.typing-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.7rem 0.95rem;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: #059669;
  border-radius: 50%;
  animation: typingPulse 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0s; }

@keyframes typingPulse {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Chips Bar */
.chatbot-chips-bar {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.55rem 0.85rem;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  scrollbar-width: none;
}

.chatbot-chips-bar::-webkit-scrollbar {
  display: none;
}

.chat-chip {
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 600;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid rgba(5, 150, 105, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-family: inherit;
}

.chat-chip:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  transform: translateY(-1px);
}

/* Input Bar */
.chatbot-input-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.95rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.chatbot-input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 0.6rem 0.95rem;
  font-size: 0.86rem;
  font-family: inherit;
  outline: none;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.chatbot-input:focus {
  border-color: #059669;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.chatbot-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669 0%, #044332 100%);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.chatbot-send-btn:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Mobile responsive full screen modal */
@media (max-width: 480px) {
  .chatbot-modal {
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
  .chatbot-header {
    border-radius: 0;
    padding-top: max(1rem, env(safe-area-inset-top));
  }
  .chatbot-input-bar {
    border-radius: 0;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
}


