/* style.css - Dynamic Mosque Web Theme for Masjid Al-Huda Kinali */

/* ==========================================================================
   1. VARIABLES & BASE SETUP
   ========================================================================== */
:root {
  --primary-color: #064e3b;      /* Deep Islamic Emerald Green */
  --primary-light: #0f5132;      /* Lighter Emerald */
  --primary-hover: #04392a;      /* Dark Emerald for Hovers */
  --accent-color: #d97706;       /* Warm Gold */
  --accent-hover: #b45309;       /* Dark Gold */
  --bg-color: #fdfbf7;           /* Warm Sand / Cream Background */
  --card-bg: #ffffff;            /* Pure White for Cards */
  --text-dark: #1f2937;          /* Charcoal Black */
  --text-muted: #6b7280;         /* Slate Grey */
  --border-color: #e5e7eb;       /* Soft Light Grey Border */
  --gold-gradient: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  --green-gradient: linear-gradient(135deg, #064e3b 0%, #0f5132 100%);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-color);
  font-weight: 700;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
header {
  background: var(--green-gradient);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--accent-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
}

.logo a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.6rem;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.logo a i {
  color: var(--accent-color);
  font-size: 1.8rem;
}

/* Nav Links & Items */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 5px;
}

.nav-links li {
  position: relative;
}

.nav-links a.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  text-decoration: none;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.nav-links a.nav-item:hover,
.nav-links a.nav-item.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.caret {
  font-size: 0.75rem;
  margin-left: 2px;
  transition: transform 0.3s;
}

.dropdown:hover .caret {
  transform: rotate(180deg);
}

/* Dropdown Menu styling */
.dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--card-bg);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 3px solid var(--accent-color);
  list-style: none;
  padding: 8px 0;
  transition: all 0.3s ease;
}

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

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  text-decoration: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.dropdown-menu li a i {
  color: var(--primary-light);
  width: 16px;
}

.dropdown-menu li a:hover {
  background-color: var(--bg-color);
  color: var(--primary-color);
  padding-left: 24px;
}

/* Login Header Button */
.btn-login-header {
  background: var(--gold-gradient);
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  margin-left: 10px;
  box-shadow: var(--shadow-sm);
}

.btn-login-header:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.1);
}

/* Nav Toggle button for Mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

/* ==========================================================================
   3. SECTIONS SYSTEM & TRANSTIONS
   ========================================================================== */
.page-section {
  display: none;
  padding: 120px 20px 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 80vh;
}

/* JS-triggered Active Class */
.page-section.active {
  display: block;
}

/* Fade In Up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   4. HOME/BERANDA STYLING
   ========================================================================== */
.hero-image {
  width: 100%;
  height: 480px;
  background-image:
    linear-gradient(rgba(4, 57, 42, 0.65), rgba(4, 57, 42, 0.8)),
    url("masjid.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.hero-image h1 {
  font-size: 3rem;
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.5px;
}

.hero-image p {
  font-size: 1.25rem;
  color: #f3f4f6;
  max-width: 700px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  font-weight: 300;
}

/* Prayer Time Bar */
.prayer-bar-container {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  border-left: 5px solid var(--accent-color);
  border-right: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.realtime-clock {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clock-icon {
  font-size: 1.8rem;
  color: var(--accent-color);
}

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

.clock-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.clock-time {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: monospace;
}

.next-prayer-info {
  background: var(--bg-color);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed var(--accent-color);
}

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

.countdown-timer {
  font-size: 1rem;
  color: var(--primary-color);
}

/* Shortcut Card Grids */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.icon-card {
  background: var(--card-bg);
  padding: 24px 16px;
  text-align: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-color);
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.icon-card i {
  font-size: 1.5rem;
  color: var(--primary-light);
  transition: all 0.3s;
}

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

.icon-card:hover .icon-circle {
  background: var(--primary-color);
}

.icon-card:hover i {
  color: var(--accent-color);
  transform: scale(1.1);
}

/* Card Styling */
.card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.card-accent {
  border-top: 4px solid var(--primary-color);
}

h2.section-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

h2.section-title i {
  color: var(--accent-color);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

p {
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ==========================================================================
   5. SUSUNAN PENGURUS (DKM)
   ========================================================================== */
.pengurus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.pengurus-card {
  background: var(--bg-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pengurus-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
  background-color: #ffffff;
}

.pengurus-photo-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

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

.pengurus-avatar-fallback {
  font-size: 3rem;
  color: var(--primary-light);
}

.pengurus-info h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--primary-color);
}

.jabatan-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--gold-gradient);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   6. JADWAL SHALAT & KAJIAN RUTIN
   ========================================================================== */
/* Prayer Times Grid */
.prayer-times-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.prayer-time-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.prayer-name {
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.prayer-hour {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  font-family: monospace;
}

.prayer-icon {
  font-size: 1.5rem;
  color: var(--text-muted);
}

/* Highlight upcoming prayer card */
.prayer-time-card.next-upcoming {
  border: 2px solid var(--accent-color);
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.prayer-time-card.next-upcoming .prayer-name {
  color: var(--accent-color);
}

.prayer-time-card.next-upcoming .prayer-icon {
  color: var(--accent-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* Kajian List */
.kajian-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.kajian-card-item {
  background: var(--bg-color);
  border-left: 5px solid var(--primary-color);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px;
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.kajian-card-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent-color);
}

.kajian-header {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.kajian-tag {
  color: var(--accent-color);
}

.kajian-time {
  color: var(--text-muted);
}

.kajian-card-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.pemateri {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.pemateri i {
  color: var(--accent-color);
  margin-right: 5px;
}

.deskripsi {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   7. AGENDA RAMADHAN (GOLDEN / DUSTY DUSK THEME)
   ========================================================================== */
.card-ramadhan {
  background: linear-gradient(135deg, #052e22 0%, #0c4a36 100%);
  border: 1px solid rgba(217, 119, 6, 0.3);
  position: relative;
}

.card-ramadhan::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 150px;
  height: 150px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23d97706" opacity="0.08"><path d="M50 5C25.1 5 5 25.1 5 50s20.1 45 45 45 45-20.1 45-45S74.9 5 50 5zm0 80c-19.3 0-35-15.7-35-35s15.7-35 35-35 35 15.7 35 35-15.7 35-35 35z"/><path d="M60 30c-11 0-20 9-20 20s9 20 20 20c2 0 4-.3 6-.8-8-2-14-9.3-14-18.2s6-16.2 14-18.2c-2-.5-4-.8-6-.8z"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.text-gold {
  color: #fbbf24 !important;
  border-bottom-color: #fbbf24 !important;
}

.card-ramadhan .section-subtitle {
  color: #cbd5e1;
}

.ramadhan-timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 30px;
}

.ramadhan-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
  background-color: rgba(251, 191, 36, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

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

.timeline-badge {
  position: absolute;
  top: 4px;
  left: -30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #052e22;
  font-size: 0.65rem;
  border: 2px solid #052e22;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  color: #f8fafc;
  transition: all 0.3s;
}

.timeline-content:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fbbf24;
}

.timeline-meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: #fbbf24;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.timeline-meta i {
  margin-right: 4px;
}

.timeline-content h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.timeline-content .pemateri {
  color: #e2e8f0;
  font-size: 0.9rem;
}

.timeline-content .keterangan {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==========================================================================
   8. ZISWAF - PENERIMAAN & PENYALURAN
   ========================================================================== */
/* Bank Cards */
.bank-info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.bank-card {
  border: 2px dashed var(--primary-light);
  background: #f4fcf8;
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s;
}

.bank-card:hover {
  border-color: var(--accent-color);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.bank-icon-container {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
}

.bank-details h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.rek-num {
  font-size: 1.15rem;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.rek-name {
  color: var(--text-muted);
}

/* Penyaluran Grids */
.penyaluran-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.penyaluran-card {
  background: var(--bg-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.penyaluran-img-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: #cbd5e1;
}

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

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

.penyaluran-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary-light);
  background-color: #e8f5e9;
}

.penyaluran-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.penyaluran-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
}

.penyaluran-body h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  line-height: 1.4;
}

.penyaluran-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Action Buttons */
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-top: 20px;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: none;
}

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

.btn-wa {
  background-color: #25d366;
}

.btn-wa:hover {
  background-color: #1ebd58;
}

.btn-maps {
  background-color: #3b82f6;
}

.btn-maps:hover {
  background-color: #2563eb;
}

/* ==========================================================================
   9. KONTAK SECTION
   ========================================================================== */
.contact-details-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.contact-item {
  display: flex;
  gap: 16px;
  background-color: var(--bg-color);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 4px;
}

.contact-item h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
footer {
  background-color: #111827; /* Very Dark Grey */
  color: #cbd5e1;
  padding: 60px 20px 20px 20px;
  margin-top: 60px;
  border-top: 4px solid var(--accent-color);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col h3 i {
  color: var(--accent-color);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

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

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transition: all 0.3s;
  text-decoration: none;
}

.footer-socials a:hover {
  background-color: var(--accent-color);
  color: #111827;
  transform: translateY(-3px);
}

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

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer-contact i {
  color: var(--accent-color);
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ==========================================================================
   11. RESPONSIVENESS (MOBILE FRIENDLY)
   ========================================================================== */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  /* Header Mobile navbar overrides */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--accent-color);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a.nav-item {
    width: 100%;
    padding: 12px 15px;
    color: var(--text-dark);
  }

  .nav-links a.nav-item:hover,
  .nav-links a.nav-item.active {
    color: var(--primary-color);
    background-color: rgba(6, 78, 59, 0.05);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
    background-color: rgba(6, 78, 59, 0.04);
    box-shadow: none;
    border-radius: var(--radius-sm);
    border-top: none;
    width: 100%;
    margin-top: 5px;
  }

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

  .btn-login-header {
    margin-left: 0;
    text-align: center;
    justify-content: center;
    margin-top: 10px;
  }

  /* Hero Section Mobile scale */
  .hero-image {
    height: 350px;
  }

  .hero-image h1 {
    font-size: 2rem;
  }

  .hero-image p {
    font-size: 1rem;
  }

  /* Prayer bar mobile */
  .prayer-bar-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  
  .next-prayer-info {
    width: 100%;
    justify-content: center;
  }

  /* Grid adaptations */
  .pengurus-grid,
  .prayer-times-grid,
  .penyaluran-grid,
  .contact-details-box {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 24px;
  }
}
