/* ==========================================================================
   WEBSITE RESMI USAHA DAKWAH JAMAAH TABLIGH
   Tema: Nuansa Islami Modern, Elegan & Responsif
   Warna Utama: Deep Emerald Green, Amber Gold, Pure Ivory, Charcoal
   ========================================================================== */

:root {
  --primary-900: #022c22;
  --primary-800: #064e3b;
  --primary-700: #047857;
  --primary-600: #059669;
  --primary-500: #10b981;
  --primary-100: #d1fae5;
  --primary-50:  #ecfdf5;

  --gold-700: #b45309;
  --gold-600: #d97706;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-100: #fef3c7;
  --gold-50:  #fffbeb;

  --dark-900: #090d16;
  --dark-800: #0f172a;
  --dark-700: #1e293b;
  --dark-600: #334155;

  --light-bg: #fdfbf7;
  --light-card: #ffffff;
  --light-border: #e2e8f0;
  --text-muted: #64748b;
  --text-main: #1e293b;

  --font-arabic: 'Amiri', 'Traditional Arabic', serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-gold: 0 10px 25px -5px rgba(217, 119, 6, 0.25);
  --shadow-emerald: 0 10px 25px -5px rgba(6, 78, 59, 0.3);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--light-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Islamic Pattern Background Accent */
.islamic-pattern-bg {
  background-color: var(--primary-900);
  background-image: radial-gradient(rgba(245, 158, 11, 0.08) 1.5px, transparent 0), radial-gradient(rgba(245, 158, 11, 0.08) 1.5px, var(--primary-900) 1.5px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

.islamic-light-pattern {
  background-color: var(--light-bg);
  background-image: radial-gradient(rgba(6, 78, 59, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-800);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary-700);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-600);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.arabic-text {
  font-family: var(--font-arabic);
  direction: rtl;
  font-size: 1.65rem;
  line-height: 2;
  color: var(--gold-600);
}

.arabic-header {
  font-family: var(--font-arabic);
  font-size: 2rem;
  color: var(--gold-500);
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #ffffff;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -3px rgba(217, 119, 6, 0.4);
  color: #ffffff;
}

.btn-emerald {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  color: #ffffff;
  box-shadow: var(--shadow-emerald);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  transform: translateY(-2px);
  color: #ffffff;
}

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

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

.btn-outline-emerald:hover {
  background: var(--primary-800);
  color: #ffffff;
}

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

/* Badge */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(217, 119, 6, 0.12);
  color: var(--gold-700);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.badge-emerald {
  background: rgba(6, 78, 59, 0.1);
  color: var(--primary-800);
  border: 1px solid rgba(6, 78, 59, 0.2);
}

.badge-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fef3c7;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header .section-subtitle {
  color: var(--gold-600);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-header h2 {
  font-size: 2.35rem;
  margin-bottom: 1rem;
  color: var(--dark-800);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.header-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.header-ornament span {
  display: inline-block;
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}

.header-ornament span.right {
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.header-ornament svg {
  color: var(--gold-500);
}

/* --------------------------------------------------------------------------
   TOP BAR & NAVBAR
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--primary-900);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(217, 119, 6, 0.25);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

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

.top-bar-item svg {
  color: var(--gold-400);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  flex-wrap: nowrap;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--gold-500);
}

.brand-text h1 {
  font-size: 1.15rem;
  color: var(--primary-900);
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--gold-700);
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.25rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-700);
  padding: 0.4rem 0;
  position: relative;
  white-space: nowrap;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-800);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-nav-cta {
  padding: 0.4rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.25;
  border-radius: var(--radius-full);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary-900);
  font-size: 1.6rem;
  padding: 0.25rem;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-900) 0%, #064e3b 55%, #022c22 100%);
  color: #ffffff;
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero-pattern-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-bismillah {
  font-family: var(--font-arabic);
  font-size: 1.75rem;
  color: var(--gold-400);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 2.85rem;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.35rem;
  font-weight: 800;
}

.hero-title span.highlight-gold {
  color: var(--gold-400);
  position: relative;
  display: inline-block;
}

.hero-quote-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--gold-500);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero-quote-box p {
  font-size: 1.05rem;
  color: #f1f5f9;
  font-style: italic;
  line-height: 1.6;
}

.hero-quote-box .quote-source {
  display: block;
  font-size: 0.85rem;
  color: var(--gold-300);
  margin-top: 0.4rem;
  font-style: normal;
  font-weight: 600;
}

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

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

/* Banner Frame */
.hero-media {
  position: relative;
}

.banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 158, 11, 0.3);
  background: var(--dark-800);
  transition: transform var(--transition-normal);
}

.banner-card:hover {
  transform: translateY(-4px);
}

.banner-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.banner-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(2, 44, 34, 0.95) 0%, rgba(2, 44, 34, 0.4) 60%, transparent 100%);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.banner-card-info h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.banner-card-info p {
  color: var(--gold-300);
  font-size: 0.85rem;
}

/* Floating Card decoration */
.floating-prayer-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  color: var(--dark-800);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 2px solid var(--gold-400);
  z-index: 3;
}

.floating-prayer-badge .badge-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-100);
  color: var(--primary-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-prayer-badge .badge-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-900);
}

.floating-prayer-badge .badge-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Wave Divider */
.hero-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.hero-wave-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 42px;
}

.hero-wave-bottom .shape-fill {
  fill: var(--light-bg);
}

/* --------------------------------------------------------------------------
   PRAYER TIME BANNER WIDGET
   -------------------------------------------------------------------------- */
.prayer-time-section {
  position: relative;
  margin-top: -2.5rem;
  z-index: 10;
  margin-bottom: 4rem;
}

.prayer-time-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.2);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
}

.prayer-time-info {
  border-right: 1px solid var(--light-border);
  padding-right: 1.5rem;
}

.prayer-time-info h3 {
  font-size: 1.25rem;
  color: var(--primary-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prayer-time-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.city-select-box {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.city-select-box select {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-border);
  font-size: 0.85rem;
  font-family: inherit;
  background: var(--light-bg);
  color: var(--dark-800);
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.city-select-box select:focus {
  border-color: var(--gold-500);
}

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.prayer-item {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.5rem;
  text-align: center;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.prayer-item:hover, .prayer-item.active {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -2px rgba(6, 78, 59, 0.25);
}

.prayer-item .name {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark-700);
  margin-bottom: 0.25rem;
}

.prayer-item .time {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-800);
  line-height: 1.1;
}

.prayer-item .status {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.prayer-item.active .name,
.prayer-item.active .time,
.prayer-item.active .status {
  color: #ffffff;
}

.prayer-item.active .time {
  color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   SECTION: MISI DAMAI & MENGAJAK SHALAT 5 WAKTU
   -------------------------------------------------------------------------- */
.misi-section {
  padding: 4rem 0 5.5rem 0;
  position: relative;
}

.misi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.misi-image-stack {
  position: relative;
}

.misi-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 4px solid #ffffff;
}

.misi-sub-img {
  position: absolute;
  bottom: -30px;
  right: -25px;
  width: 55%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-xl);
}

.misi-quote-badge {
  position: absolute;
  top: 25px;
  left: -25px;
  background: var(--primary-900);
  color: #ffffff;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-500);
  box-shadow: var(--shadow-xl);
  max-width: 240px;
}

.misi-quote-badge span {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
  display: block;
}

.misi-quote-badge p {
  font-size: 0.88rem;
  margin-top: 0.25rem;
  line-height: 1.4;
  font-style: italic;
}

.misi-content h3 {
  font-size: 2.15rem;
  color: var(--primary-900);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.misi-content p.lead {
  font-size: 1.15rem;
  color: var(--dark-700);
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin: 1.75rem 0 2.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-100);
  color: var(--gold-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.feature-text strong {
  display: block;
  color: var(--dark-800);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.feature-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   SECTION: ENAM SIFAT UTAMA SAHABAT (6 QUALITIES)
   -------------------------------------------------------------------------- */
.sifat-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ecfdf5 100%);
  position: relative;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.sifat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.sifat-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.85rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sifat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(6, 78, 59, 0.15);
  border-color: var(--primary-500);
}

.sifat-card.featured {
  border: 2px solid var(--gold-500);
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}

.sifat-card.featured::before {
  content: 'Sifat Utama';
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gold-600);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-full);
}

.sifat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.sifat-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-100);
  color: var(--primary-800);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sifat-card.featured .sifat-number {
  background: var(--gold-500);
  color: #ffffff;
}

.sifat-arabic-title {
  font-family: var(--font-arabic);
  font-size: 1.45rem;
  color: var(--gold-600);
  text-align: right;
  line-height: 1.3;
}

.sifat-card h3 {
  font-size: 1.35rem;
  color: var(--primary-900);
  margin-bottom: 0.75rem;
}

.sifat-card .sifat-meaning {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.sifat-quote-box {
  background: #f8fafc;
  border-left: 3px solid var(--gold-500);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.25rem;
}

.sifat-card.featured .sifat-quote-box {
  background: rgba(255, 255, 255, 0.8);
  border-left: 3px solid var(--gold-600);
}

.sifat-quote-box p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--dark-700);
  line-height: 1.6;
}

.sifat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--light-border);
}

.copy-quote-btn {
  background: transparent;
  border: 1px solid var(--light-border);
  color: var(--dark-700);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.copy-quote-btn:hover {
  background: var(--primary-50);
  color: var(--primary-800);
  border-color: var(--primary-500);
}

/* --------------------------------------------------------------------------
   SECTION: AJAKAN DAKWAH & KHURUJ FI SABILILLAH
   -------------------------------------------------------------------------- */
.dakwah-section {
  padding: 5.5rem 0;
  background: var(--primary-900);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.dakwah-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, rgba(4, 120, 87, 0.1) 45%, transparent 70%);
  pointer-events: none;
}

.dakwah-section .section-header h2 {
  color: #ffffff;
}

.dakwah-section .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

.dakwah-callout {
  max-width: 860px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
}

.dakwah-callout .quote-icon {
  font-size: 2.2rem;
  color: var(--gold-400);
  margin-bottom: 0.75rem;
}

.dakwah-callout blockquote {
  font-size: 1.45rem;
  line-height: 1.6;
  font-style: italic;
  color: #fef3c7;
  margin-bottom: 1.25rem;
}

.dakwah-callout .callout-sub {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto;
}

.khuruj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.khuruj-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(6px);
}

.khuruj-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-400);
  transform: translateY(-5px);
}

.khuruj-card .duration {
  display: inline-block;
  background: var(--gold-500);
  color: var(--primary-900);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.khuruj-card h4 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.khuruj-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tasdiq-pledge-banner {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.2), rgba(16, 185, 129, 0.2));
  border: 2px dashed var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.tasdiq-pledge-banner h3 {
  color: #ffffff;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.tasdiq-pledge-banner p {
  color: #f1f5f9;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   SECTION: 5 AMAL MASJID & TUNTUTAN DAKWAH
   -------------------------------------------------------------------------- */
.amal-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.amal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.amal-card {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.amal-card:hover {
  background: #ffffff;
  border-color: var(--primary-600);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.amal-icon-circle {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.25rem auto;
  background: var(--primary-100);
  color: var(--primary-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}

.amal-card h4 {
  font-size: 1.15rem;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
}

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

/* --------------------------------------------------------------------------
   SECTION: GALERI INSPIRASI ISLAMI
   -------------------------------------------------------------------------- */
.galeri-section {
  padding: 5.5rem 0;
  background: var(--light-bg);
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.galeri-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  group: 1;
}

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

.galeri-item:hover img {
  transform: scale(1.06);
}

.galeri-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 44, 34, 0.85) 0%, rgba(2, 44, 34, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.galeri-item:hover .galeri-overlay {
  opacity: 1;
}

.galeri-overlay h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.galeri-overlay p {
  color: var(--gold-300);
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   SECTION: HUBUNGI KAMI & SAMBUNG SILATURAHMI
   -------------------------------------------------------------------------- */
.kontak-section {
  padding: 5.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--light-border);
}

.kontak-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.kontak-info {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
  color: #ffffff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kontak-info h3 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.kontak-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.kontak-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.kontak-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.kontak-detail-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.kontak-detail-item .text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gold-300);
  text-transform: uppercase;
}

.kontak-detail-item .text span {
  font-size: 0.98rem;
  color: #ffffff;
}

.kontak-form-box {
  padding: 3rem 2.5rem;
  background: #ffffff;
}

.kontak-form-box h4 {
  font-size: 1.5rem;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
}

.kontak-form-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-700);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-border);
  font-family: inherit;
  font-size: 0.95rem;
  background: #f8fafc;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-600);
  background: #ffffff;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark-900);
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  border-top: 3px solid var(--gold-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo {
  margin-bottom: 1rem;
}

.footer-brand .brand-text h3 {
  color: #ffffff;
  font-size: 1.35rem;
}

.footer-brand .brand-text span {
  color: var(--gold-400);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: #94a3b8;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.footer-kaffaratul-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}

.footer-kaffaratul-box .arabic-small {
  font-family: var(--font-arabic);
  color: var(--gold-400);
  font-size: 1.2rem;
  direction: rtl;
  text-align: center;
  margin-bottom: 0.5rem;
}

.footer-kaffaratul-box p {
  font-size: 0.8rem;
  color: #cbd5e1;
  text-align: center;
  font-style: italic;
}

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

/* --------------------------------------------------------------------------
   MODAL & TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.show {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid var(--light-border);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.show .modal-container {
  transform: scale(1);
}

.modal-header {
  background: var(--primary-900);
  color: #ffffff;
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 1.75rem;
  max-height: 80vh;
  overflow-y: auto;
}

.toast-message {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--primary-900);
  color: #ffffff;
  border: 1px solid var(--gold-500);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
  font-size: 0.92rem;
}

.toast-message.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-message svg {
  color: var(--gold-400);
  font-size: 1.25rem;
}

/* Lightbox Modal */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-backdrop.show {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  position: relative;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 1rem;
  font-size: 1.05rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-800);
  color: #ffffff;
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
}

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

.back-to-top:hover {
  background: var(--gold-600);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) and (min-width: 769px) {
  .nav-links {
    gap: 0.85rem;
  }
  .nav-links a {
    font-size: 0.82rem;
  }
  .brand-logo {
    gap: 0.5rem;
  }
  .brand-text h1 {
    font-size: 1.05rem;
  }
  .brand-text span {
    font-size: 0.68rem;
  }
  .btn-nav-cta {
    padding: 0.35rem 0.75rem;
    font-size: 0.76rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .prayer-time-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .prayer-time-info {
    border-right: none;
    border-bottom: 1px solid var(--light-border);
    padding-right: 0;
    padding-bottom: 1.25rem;
  }

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

  .amal-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-xl);
    gap: 1.2rem;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }

  .nav-links.open {
    transform: translateY(0);
  }

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

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

  .misi-sub-img {
    position: static;
    width: 100%;
    height: 200px;
    margin-top: 1rem;
  }

  .misi-quote-badge {
    position: static;
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .sifat-grid, .khuruj-grid, .galeri-grid {
    grid-template-columns: 1fr;
  }

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

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

  .kontak-wrapper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .prayer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-buttons .btn {
    width: 100%;
  }
}
