/* ============================================
   PREMIUM ZAKAT WEBSITE - ULTRA MODERN DESIGN
   Version 3.0 | لجنة زكاة قرية لبشة
   ============================================ */

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --primary-green: #1a5f4a;
  --dark-green: #0d3b2e;
  --light-green: #2d8a6e;
  --emerald: #059669;
  --gold: #d4af37;
  --light-gold: #f4e4c1;
  --dark-gold: #b8941f;
  --gold-bright: #f0c040;
  --white: #ffffff;
  --cream: #f9f7f2;
  --text-dark: #1a2332;
  --text-light: #5a6c7d;
  --border: rgba(26, 95, 74, 0.15);
  --shadow-sm: 0 4px 15px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-gold: 0 8px 30px rgba(212,175,55,0.3);
  --shadow-green: 0 8px 30px rgba(26,95,74,0.25);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 40px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.6s cubic-bezier(0.4,0,0.2,1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Cairo', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

h1,h2,h3,h4,.islamic-font { font-family: 'Amiri', serif; }

::selection { background: var(--gold); color: var(--dark-green); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
  transition: background 0.3s ease;
}
*:hover::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(26,95,74,0.6), rgba(212,175,55,0.6));
}
*:hover::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-green), var(--gold));
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  position: fixed; top:0; left:0; height:3px; z-index:10001;
  background: linear-gradient(90deg, var(--primary-green), var(--gold), var(--primary-green));
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  transition: width 0.2s;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top:0; width:100%;
  background: rgba(10, 46, 34, 0.85);
  backdrop-filter: blur(15px) saturate(150%);
  padding: 1.2rem 0; z-index:1000;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  transition: var(--transition);
}
nav.scrolled {
  padding: 0.8rem 0;
  background: rgba(4, 18, 14, 0.95);
  backdrop-filter: blur(25px) saturate(180%);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(212,175,55,0.3);
}
.nav-container {
  max-width: 1400px; margin:0 auto; padding:0 2rem;
  display:flex; justify-content:space-between; align-items:center;
}
.logo {
  display:flex; align-items:center; gap:0.75rem;
  color:var(--white); text-decoration:none; font-size:1.4rem; font-weight:700;
}
.logo i {
  font-size:2rem; color:var(--gold);
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.5));
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100%{filter:drop-shadow(0 0 8px rgba(212,175,55,0.5))}
  50%{filter:drop-shadow(0 0 20px rgba(212,175,55,0.9))}
}
.nav-links { display:flex; list-style:none; gap:1.5rem; align-items:center; }
.nav-links a {
  color:rgba(255,255,255,0.88); text-decoration:none; font-weight:600;
  position:relative; transition:var(--transition); padding:0.5rem 0.25rem; font-size:0.95rem;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-2px; right:0; width:0; height:2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius:2px; transition:width 0.4s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover { color:var(--light-gold); }
.nav-links a:hover::after { width:100%; }

/* Dropdown styling */
.dropdown { position: relative; }
.dropdown-content {
  position: absolute;
  top: 150%; right: 0;
  background: rgba(13, 59, 46, 0.95);
  min-width: 220px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.2);
  backdrop-filter: blur(15px);
  padding: 0.5rem 0; margin: 0; list-style: none;
  opacity: 0; visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  z-index: 999;
}
.dropdown:hover .dropdown-content {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  top: 100%;
}
.dropdown-content li { width: 100%; list-style: none; }
.dropdown-content a {
  color: #fff; padding: 12px 20px;
  display: block; font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dropdown-content a::after { display: none !important; }
.dropdown-content li:last-child a { border-bottom: none; }
.dropdown-content a:hover {
  background: rgba(212,175,55,0.15);
  color: var(--gold);
  padding-right: 25px; /* slight text slide effect on hover */
}

.donate-btn {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%) !important;
  background-size:200% 100% !important;
  color: var(--dark-green) !important;
  padding: 0.7rem 1.6rem !important; border-radius:50px;
  font-weight:800 !important; font-size:0.9rem !important;
  box-shadow: var(--shadow-gold); transition:var(--transition) !important;
  animation: btn-glow 3s ease-in-out infinite;
}
.donate-btn:hover {
  transform:translateY(-3px) !important;
  box-shadow:0 12px 35px rgba(212,175,55,0.5) !important;
  background-position:right center !important;
}
.donate-btn::after { display:none !important; }

@keyframes btn-glow {
  0%,100%{box-shadow:0 4px 15px rgba(212,175,55,0.3)}
  50%{box-shadow:0 8px 30px rgba(212,175,55,0.55)}
}

.quran-link {
  background:rgba(212,175,55,0.1); border:1px dashed var(--gold);
  padding:0.5rem 1.2rem !important; border-radius:12px;
  display:flex; align-items:center; gap:0.5rem;
  transition:var(--transition) !important;
}
.quran-link:hover {
  background:rgba(212,175,55,0.2) !important; border-style:solid;
  color:var(--gold) !important; transform:translateY(-2px);
}
.quran-link::after { display:none !important; }
.mobile-menu { display:none; color:var(--white); font-size:1.5rem; cursor:pointer; }

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 0; padding-top: 130px; min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #155541 0%, #0a2e22 50%, #04120e 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
/* Premium subtle geometric dotted background */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
  background-size: 35px 35px;
  opacity: 0.6;
  pointer-events: none;
}
/* Glowing Orbs for depth */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 15% 40%, rgba(212, 175, 55, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(26, 95, 74, 0.4) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* Floating orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
  animation: float-orb 10s ease-in-out infinite;
  z-index: 1;
}
.hero-orb-1 { width: 500px; height: 500px; top: -150px; right: -100px; animation-delay: 0s; }
.hero-orb-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; animation-delay: -5s; }
.hero-orb-3 { width: 300px; height: 300px; top: 45%; right: 20%; animation-delay: -2s; }
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); } 
  50% { transform: translate(-20px, 30px) scale(1.05); }
}

.hero-content {
  position: relative; z-index: 3; max-width: 1000px; padding: 0 2rem;
  animation: hero-enter 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--light-gold); padding: 0.6rem 2rem;
  border-radius: 50px; font-size: 1rem; margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: badge-slide 1.5s ease 0.3s both;
}
@keyframes badge-slide { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

.hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--white); margin-bottom: 1.2rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
  font-weight: 800;
}
.hero h1 span {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 40%, var(--light-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.3));
}
.hero p {
  font-size: 1.25rem; color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 3rem; max-width: 800px; line-height: 1.9;
  font-weight: 400;
}
.hero-buttons { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  color: #041812 !important;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.45);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.65);
  background: #ffffff;
  color: #041812 !important;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff !important;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-bright) !important;
  border-color: var(--gold-bright);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

/* Scroll indicator */
.hero-scroll {
  position:absolute; bottom:2rem; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:0.5rem;
  color:rgba(255,255,255,0.6); font-size:0.85rem; z-index:2;
  animation:bounce 2s ease-in-out infinite;
}
.hero-scroll i { font-size:1.5rem; color:var(--gold); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(10px)} }

/* ===== LUXURY EXECUTIVE STATS SECTION ===== */
.stats-section {
  background: radial-gradient(circle at 50% 50%, #0d3b2e 0%, #072218 60%, #03100b 100%);
  padding: 5.5rem 0;
  position: relative;
  margin-top: 0;
  z-index: 10;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stats-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  text-align: center;
  padding: 2.8rem 1.8rem;
  background: linear-gradient(145deg, rgba(7, 34, 24, 0.95) 0%, rgba(13, 59, 46, 0.95) 60%, rgba(4, 18, 14, 0.98) 100%);
  backdrop-filter: blur(25px);
  border-radius: 28px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.stat-card:hover {
  background: linear-gradient(145deg, rgba(13, 59, 46, 0.98) 0%, rgba(18, 77, 60, 0.98) 60%, rgba(7, 34, 24, 0.98) 100%);
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.3);
  border-color: var(--gold-bright);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-size: 2.2rem;
  color: var(--dark-green);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
  border: 2.5px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.stat-card:hover .stat-icon {
  transform: scale(1.12) rotate(-8deg);
  background: #ffffff;
  color: var(--dark-green);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 0.6rem;
  line-height: 1;
  font-family: 'Amiri', serif;
  text-shadow: 0 3px 15px rgba(212, 175, 55, 0.45);
  letter-spacing: 0.5px;
}

.stat-card:hover .stat-number {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 800;
  font-family: 'Cairo', sans-serif;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* ===== SECTION BASE ===== */
section { padding: 6.5rem 0; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-header h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--dark-green);
  margin-bottom: 1.2rem; position: relative; display: inline-block;
  font-weight: 800;
}
.section-header h2::after {
  content: ''; position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 4px; background: linear-gradient(90deg, var(--primary-green), var(--gold));
  border-radius: 4px; transition: width 0.6s ease;
}
.section-header p { color: var(--text-light); font-size: 1.15rem; max-width: 650px; margin: 1.8rem auto 0; line-height: 1.8; }

/* ===== LUXURY EXECUTIVE SHARIA SECTION ===== */
.sharia-section {
  background: radial-gradient(circle at 50% 30%, #0d3b2e 0%, #072218 60%, #03100b 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 6rem 0;
}

.sharia-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
  border-radius: 50%;
  animation: float-slow 12s ease-in-out infinite;
  pointer-events: none;
}

.sharia-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 95, 74, 0.4), transparent 70%);
  border-radius: 50%;
  animation: float-slow 10s ease-in-out infinite reverse;
  pointer-events: none;
}

.sharia-section .section-header h2 {
  font-family: 'Amiri', serif;
  color: var(--gold-bright);
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 0 4px 25px rgba(212, 175, 55, 0.45);
}

.sharia-section .section-header h2::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.sharia-section .section-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.8;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }
}

.specialty-card {
  background: linear-gradient(145deg, rgba(7, 34, 24, 0.95) 0%, rgba(13, 59, 46, 0.95) 60%, rgba(4, 18, 14, 0.98) 100%);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.specialty-card:hover {
  background: linear-gradient(145deg, rgba(13, 59, 46, 0.98) 0%, rgba(18, 77, 60, 0.98) 60%, rgba(7, 34, 24, 0.98) 100%);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.3);
  border-color: var(--gold-bright);
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.specialty-icon {
  width: 86px;
  height: 86px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.6rem;
  font-size: 2.2rem;
  color: var(--dark-green);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.25);
}

.specialty-card:hover .specialty-icon {
  transform: scale(1.12) rotate(8deg);
  background: #ffffff;
  color: var(--dark-green);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
}

.specialty-card h3 {
  font-family: 'Amiri', serif;
  font-size: 1.65rem;
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-weight: 800;
  transition: all 0.3s ease;
}

.specialty-card:hover h3 {
  color: var(--gold-bright);
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.specialty-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.75;
}

.specialty-features {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(212, 175, 55, 0.25);
  list-style: none;
}

.specialty-features li {
  padding: 0.45rem 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
}

.specialty-features li i {
  color: var(--gold);
  font-size: 0.9rem;
}

.specialty-card-action {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.specialty-card:hover .specialty-card-action {
  color: #ffffff;
  transform: translateX(-6px);
}

/* ===== ZAKAT SECTION ===== */
.zakat-section {
  background: radial-gradient(circle at 50% 30%, #0d3b2e 0%, #072218 60%, #03100b 100%);
  color: var(--white); position: relative; overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}
.zakat-section::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 750px; height: 750px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
  border-radius: 50%; animation: float-slow 12s ease-in-out infinite; pointer-events: none;
}
.zakat-section::after {
  content: ''; position: absolute; bottom: -20%; left: -5%;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(26, 95, 74, 0.4), transparent 70%);
  border-radius: 50%; animation: float-slow 10s ease-in-out infinite reverse; pointer-events: none;
}
@keyframes float-slow { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-30px)} }
.zakat-section .section-header h2 { color: var(--gold); text-shadow: 0 4px 20px rgba(212,175,55,0.3); font-weight: 800; }
.zakat-section .section-header h2::after { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); }
.zakat-section .section-header p { color: rgba(255,255,255,0.85); font-size: 1.15rem; line-height: 1.8; }
/* ===== LUXURY EXECUTIVE ZAKAT TYPES GRID ===== */
.zakat-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .zakat-types {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.zakat-type-card {
  background: linear-gradient(145deg, rgba(7, 34, 24, 0.95) 0%, rgba(13, 59, 46, 0.95) 60%, rgba(4, 18, 14, 0.98) 100%);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 28px;
  padding: 2.2rem;
  display: flex;
  gap: 1.8rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.08);
  align-items: center;
  cursor: pointer;
}

.zakat-type-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
  border-radius: 50%;
  transition: all 0.5s ease;
  pointer-events: none;
}

.zakat-type-card:hover {
  background: linear-gradient(145deg, rgba(13, 59, 46, 0.98) 0%, rgba(18, 77, 60, 0.98) 60%, rgba(7, 34, 24, 0.98) 100%);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.3);
  border-color: var(--gold-bright);
}

.zakat-type-card:hover::before {
  transform: scale(1.2);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 70%);
}

.zakat-icon {
  min-width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--dark-green);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.zakat-type-card:hover .zakat-icon {
  transform: rotate(10deg) scale(1.12);
  background: #ffffff;
  color: var(--dark-green);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
}

.zakat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zakat-content-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  width: fit-content;
}

.zakat-content h3 {
  font-family: 'Amiri', serif;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-weight: 800;
  transition: all 0.3s ease;
}

.zakat-type-card:hover .zakat-content h3 {
  color: var(--gold-bright);
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.zakat-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.zakat-card-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
  transition: all 0.3s ease;
}

.zakat-type-card:hover .zakat-card-action {
  color: #ffffff;
  transform: translateX(-6px);
}

/* ===== LUXURY ZAKAT CALCULATOR SUITE ===== */
.zakat-calculator {
  background: linear-gradient(160deg, rgba(7, 34, 24, 0.96) 0%, rgba(13, 59, 46, 0.96) 60%, rgba(4, 18, 14, 0.98) 100%);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 32px; padding: 3.5rem;
  color: #ffffff; box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 40px rgba(212, 175, 55, 0.15);
  position: relative; z-index: 2; overflow: hidden;
}
.zakat-calculator::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.calculator-header { text-align: center; margin-bottom: 2.8rem; }
.calculator-header h3 {
  color: var(--gold); font-size: 2.2rem; margin-bottom: 0.6rem;
  font-family: 'Amiri', serif; font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.calculator-header p { color: rgba(255, 255, 255, 0.75); font-size: 1.05rem; }

.calculator-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  font-weight: 700; margin-bottom: 0.7rem; color: var(--gold);
  display: flex; align-items: center; gap: 0.6rem; font-size: 1.02rem;
}
.form-group label i { color: var(--gold); font-size: 1.1rem; }

.form-group input, .form-group select {
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  font-size: 1.05rem; transition: all 0.3s ease;
  font-family: 'Cairo', sans-serif;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}
.form-group select option {
  background: #0d3b2e; color: #ffffff;
}
.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35), inset 0 2px 5px rgba(0,0,0,0.5);
  background: rgba(0, 0, 0, 0.7);
}

.calculate-btn {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  color: var(--dark-green); padding: 1.3rem; border: none; border-radius: 50px;
  font-size: 1.2rem; font-weight: 900; cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 1rem; position: relative; overflow: hidden;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
}
.calculate-btn:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.5);
  filter: brightness(1.1);
}

/* Luxury Breakdown Result Card */
.zakat-result {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #062217 0%, #0d3e2f 60%, #04140e 100%);
  backdrop-filter: blur(20px);
  border: 2px solid var(--gold); border-radius: 26px; padding: 2.8rem 2rem;
  text-align: center; display: none; margin-top: 1.8rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 0 35px rgba(212, 175, 55, 0.15);
  color: #ffffff;
}
.zakat-result.show { display: block; animation: result-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes result-pop { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.zakat-result h4 { color: var(--gold); font-size: 1.6rem; margin-bottom: 1.2rem; font-family: 'Amiri', serif; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.zakat-amount-wrap { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 1.2rem; }
.zakat-amount { font-size: 3.5rem; font-weight: 900; color: #ffffff; text-shadow: 0 4px 25px rgba(212,175,55,0.5); font-family: 'Amiri', serif; }
#zakatCurrencyLabel { font-size: 1.6rem; color: var(--gold); font-weight: 800; }

.zakat-details-summary {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2rem;
  padding-top: 1.8rem; border-top: 1px dashed rgba(212,175,55,0.35); text-align: center;
}
.summary-box {
  background: rgba(0, 0, 0, 0.55);
  padding: 1.2rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.08);
  transition: transform 0.3s ease;
}
.summary-box:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
}
.summary-box span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 8px;
  font-weight: 700;
}
.summary-box strong {
  font-size: 1.25rem;
  color: var(--gold-bright) !important;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  display: block;
}

/* ===== LUXURY DONATION & SADAQAH SECTION ===== */
.donation-section {
  background: radial-gradient(circle at 50% 40%, #0d3b2e 0%, #072218 50%, #03100b 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.donation-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.donation-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 95, 74, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.donation-section .section-header h2 {
  color: var(--gold);
  font-family: 'Amiri', serif;
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.8rem;
}

.donation-section .section-header p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
}

.donation-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .donation-methods {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
  }
}

.donation-method {
  background: linear-gradient(160deg, rgba(7, 34, 24, 0.88) 0%, rgba(13, 59, 46, 0.88) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 28px;
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(212, 175, 55, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.donation-method.featured {
  transform: scale(1.04);
  border-color: var(--gold);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.7), 0 0 45px rgba(212, 175, 55, 0.3);
}

.donation-method.featured::after {
  content: '★ الأكثر شيوعاً ★';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  color: var(--dark-green);
  padding: 0.45rem 1.8rem;
  border-radius: 0 0 20px 20px;
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.donation-method:hover {
  transform: translateY(-10px);
  border-color: var(--gold-bright);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.25);
}

.donation-method.featured:hover {
  transform: scale(1.04) translateY(-10px);
}

.method-icon {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem auto 1.5rem;
  font-size: 2.6rem;
  color: var(--dark-green);
  border: 3px solid rgba(212, 175, 55, 0.6);
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.donation-method:hover .method-icon {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.5);
}

.donation-method h3 {
  font-size: 1.6rem;
  color: var(--gold);
  font-family: 'Amiri', serif;
  font-weight: 800;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.donation-method p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.8rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

.donate-amount {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.amount-btn {
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 800;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
}

.amount-btn:hover, .amount-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--dark-green);
  border-color: var(--gold-bright);
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.donate-submit {
  width: 100%;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  color: var(--dark-green);
  border: none;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.donate-submit:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.5);
  filter: brightness(1.1);
}

/* ===== LUXURY EXECUTIVE MEDIA GALLERY ===== */
.gallery-section {
  background: radial-gradient(circle at 50% 30%, #07251c 0%, #041812 60%, #020c09 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.gallery-section .section-header h2 {
  color: var(--gold);
  font-family: 'Amiri', serif;
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 0 4px 25px rgba(212, 175, 55, 0.35);
  margin-bottom: 0.8rem;
}

.gallery-section .section-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.gallery-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
  filter: brightness(0.92) contrast(1.05);
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--gold-bright);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.3);
}

.gallery-item:hover img {
  transform: scale(1.12);
  filter: brightness(1) contrast(1.1);
}

.gallery-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(7, 34, 24, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 16, 11, 0.95) 0%, rgba(3, 16, 11, 0.6) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  opacity: 0.9;
  transition: all 0.4s ease;
  transform: translateY(0);
}

.gallery-item:hover .gallery-overlay {
  background: linear-gradient(to top, rgba(3, 16, 11, 0.98) 0%, rgba(3, 16, 11, 0.7) 60%, rgba(3, 16, 11, 0.2) 100%);
}

.gallery-overlay h4 {
  color: #ffffff;
  font-family: 'Amiri', serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}

.gallery-item:hover .gallery-overlay h4 {
  color: var(--gold-bright);
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== LUXURY EXECUTIVE CONTACT & PRAYER SECTION ===== */
.contact-section {
  background: radial-gradient(circle at 50% 30%, #0d3b2e 0%, #072218 60%, #03100b 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Amiri', serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.contact-info > p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  transition: all 0.35s ease;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-item:hover {
  transform: translateX(-8px);
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-bright);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
}

.contact-item i {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-green);
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
  transition: all 0.35s ease;
}

.contact-item:hover i {
  transform: scale(1.12) rotate(8deg);
  background: #ffffff;
  color: var(--dark-green);
}

.contact-item div strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-item div span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* ===== LUXURY EXECUTIVE CONTACT FORM ===== */
.contact-form {
  background: linear-gradient(160deg, rgba(7, 34, 24, 0.96) 0%, rgba(13, 59, 46, 0.96) 60%, rgba(4, 18, 14, 0.98) 100%);
  backdrop-filter: blur(25px);
  border-radius: 28px;
  padding: 3rem;
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 35px rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-form h3 {
  color: var(--gold);
  font-family: 'Amiri', serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-form label {
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 0.98rem !important;
  outline: none !important;
  transition: all 0.3s ease !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.contact-form select option {
  background: #07251c !important;
  color: #ffffff !important;
  padding: 10px !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), inset 0 2px 6px rgba(0, 0, 0, 0.5) !important;
  background: rgba(0, 0, 0, 0.6) !important;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  color: var(--dark-green);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 1rem;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Cairo', sans-serif;
}

.submit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.5);
  filter: brightness(1.1);
}

/* ===== LUXURY PRAYER TIMES WIDGET ===== */
.prayer-times {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 24px;
  padding: 2rem;
  margin-top: 2.2rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.prayer-times h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-family: 'Amiri', serif;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  text-align: center;
}

.prayer-item {
  background: rgba(212, 175, 55, 0.08);
  padding: 1.1rem 0.8rem;
  border-radius: 16px;
  transition: all 0.35s ease;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.prayer-item:hover {
  transform: translateY(-5px);
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-bright);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.prayer-name {
  font-size: 0.9rem;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
  font-weight: 800;
}

.prayer-time {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  direction: ltr;
}

/* ===== LUXURY ZAKAT AL-FITR MINI WIDGET ===== */
.mini-zakat-widget {
  background: linear-gradient(160deg, rgba(7, 34, 24, 0.96) 0%, rgba(13, 59, 46, 0.96) 60%, rgba(4, 18, 14, 0.98) 100%);
  border-radius: 28px;
  padding: 2.5rem;
  margin-top: 4rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(25px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.mini-zakat-widget h3 {
  color: var(--gold);
  margin-bottom: 1.8rem;
  text-align: center;
  font-size: 1.8rem;
  font-family: 'Amiri', serif;
  font-weight: 800;
}

.mini-fitr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.mini-fitr-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 1.2rem;
  border-radius: 18px;
  transition: all 0.35s ease;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.mini-fitr-card:hover {
  transform: translateY(-6px);
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-bright);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

.mini-item-name {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.mini-item-price {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
}

/* ===== FOOTER ===== */
footer {
  background:linear-gradient(160deg, var(--dark-green), #071e15);
  color:var(--white); padding:5rem 0 2rem;
  border-top:4px solid var(--gold);
  position:relative; overflow:hidden;
}
footer::before {
  content:''; position:absolute; top:-100px; left:-100px;
  width:400px; height:400px;
  background:radial-gradient(circle, rgba(212,175,55,0.05), transparent 70%);
  border-radius:50%; pointer-events:none;
}
.footer-content {
  max-width:1200px; margin:0 auto; padding:0 2rem;
  display:grid; grid-template-columns:2fr 1fr 1fr; gap:4rem;
}
.footer-section h3 { color:var(--gold); font-size:1.3rem; margin-bottom:1.5rem; }
.footer-section p { color:rgba(255,255,255,0.75); line-height:1.9; margin-bottom:1.5rem; font-size:0.95rem; }
.social-links { display:flex; gap:0.75rem; }
.social-links a {
  width:44px; height:44px; background:rgba(255,255,255,0.08); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--white); text-decoration:none; transition:var(--transition); font-size:1.1rem;
  border:1px solid rgba(255,255,255,0.1);
}
.social-links a:hover { background:var(--gold); color:var(--dark-green); transform:translateY(-4px) scale(1.1); }
.footer-links { list-style:none; }
.footer-links li { margin-bottom:0.7rem; }
.footer-links a {
  color:rgba(255,255,255,0.75); text-decoration:none; transition:var(--transition);
  display:flex; align-items:center; gap:0.5rem; font-size:0.93rem;
}
.footer-links a:hover { color:var(--gold); padding-right:8px; }
.footer-bottom {
  max-width:1200px; margin:3rem auto 0; padding:2rem 2rem 0;
  border-top:1px solid rgba(255,255,255,0.08); text-align:center;
  color:rgba(255,255,255,0.5); font-size:0.88rem;
}

/* ===== MODALS ===== */
.modal {
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,0.75); z-index:9999;
  justify-content:center; align-items:center;
  backdrop-filter:blur(8px);
}
.modal.active { display:flex; }
.modal-content {
  background:var(--white); border-radius:var(--radius-xl); padding:3rem;
  max-width:500px; width:90%; text-align:center; position:relative;
  animation:modal-in 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modal-in { from{transform:scale(0.7) translateY(30px);opacity:0} to{transform:scale(1) translateY(0);opacity:1} }
.modal-close {
  position:absolute; top:1rem; right:1rem; background:none; border:none;
  font-size:1.4rem; cursor:pointer; color:var(--text-light); width:40px; height:40px;
  border-radius:50%; display:flex; align-items:center; justify-content:center; transition:var(--transition);
}
.modal-close:hover { background:var(--cream); color:var(--dark-green); transform:rotate(90deg); }
.modal-icon { font-size:4rem; color:var(--gold); margin-bottom:1rem; }
.modal h3 { color:var(--dark-green); font-size:1.7rem; margin-bottom:1rem; }
.modal p { color:var(--text-light); margin-bottom:2rem; }
.modal-btn {
  background:linear-gradient(135deg, var(--gold), var(--dark-gold));
  color:var(--dark-green); padding:0.9rem 3rem; border:none; border-radius:50px;
  font-weight:800; font-size:1rem; cursor:pointer; transition:var(--transition);
}
.modal-btn:hover { transform:scale(1.06); box-shadow:var(--shadow-gold); }

/* ===== TOAST ===== */
.toast {
  position:fixed; bottom:30px; left:50%;
  transform:translateX(-50%) translateY(120px);
  background:linear-gradient(135deg, var(--dark-green), #0f4a38);
  color:var(--white); padding:1rem 2.2rem; border-radius:50px;
  box-shadow:var(--shadow-lg); z-index:9999; opacity:0; transition:var(--transition);
  border:1px solid rgba(212,175,55,0.4); backdrop-filter:blur(10px);
}
.toast.show { transform:translateX(-50%) translateY(0); opacity:1; }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position:fixed; bottom:30px; right:30px; width:52px; height:52px;
  background:linear-gradient(135deg, var(--gold), var(--dark-gold));
  color:var(--dark-green); border:none; border-radius:50%; cursor:pointer;
  display:flex; align-items:center; justify-content:center; font-size:1.2rem;
  box-shadow:var(--shadow-gold); opacity:0; transform:translateY(100px) rotate(-90deg);
  transition:var(--transition); z-index:999;
}
.scroll-top.visible { opacity:1; transform:translateY(0) rotate(0); }
.scroll-top:hover { transform:translateY(-6px) scale(1.15); box-shadow:0 12px 35px rgba(212,175,55,0.5); }

/* ===== ANIMATIONS ===== */
.fade-in { opacity:0; transform:translateY(35px); transition:opacity 0.8s ease, transform 0.8s cubic-bezier(0.4,0,0.2,1); }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* Staggered children */
.fade-in:nth-child(2) { transition-delay:0.1s; }
.fade-in:nth-child(3) { transition-delay:0.2s; }
.fade-in:nth-child(4) { transition-delay:0.3s; }
.fade-in:nth-child(5) { transition-delay:0.4s; }
.fade-in:nth-child(6) { transition-delay:0.5s; }

.loading { display:inline-block; width:20px; height:20px; border:3px solid rgba(255,255,255,.3); border-radius:50%; border-top-color:var(--white); animation:spin 1s ease-in-out infinite; }
@keyframes spin { to{transform:rotate(360deg)} }
.cursor-pointer { cursor:pointer; transition:var(--transition); }
.cursor-pointer:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }

/* ===== LUXURY EXECUTIVE QURAN OVERLAY SUITE ===== */
#quranOverlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, #0d3b2e 0%, #072218 60%, #03100b 100%);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  font-family: 'Cairo', sans-serif;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#quranOverlay.active {
  opacity: 1;
  visibility: visible;
}

#quranOverlay::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

#quranOverlay .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 50px 24px;
  position: relative;
  color: white;
  z-index: 2;
}

#quranOverlay .memorial-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-bright);
  padding: 8px 28px;
  border-radius: 50px;
  font-size: 1.05rem;
  display: inline-block;
  margin-bottom: 20px;
  font-family: 'Amiri', serif;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

#quranOverlay .quran-header {
  text-align: center;
  margin-bottom: 40px;
}

#quranOverlay h1 {
  font-family: 'Amiri', serif;
  font-size: 3.5rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
  font-weight: 800;
  text-shadow: 0 4px 30px rgba(212, 175, 55, 0.5);
}

#quranOverlay .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

#quranOverlay .glass-card {
  background: linear-gradient(160deg, rgba(7, 34, 24, 0.96) 0%, rgba(13, 59, 46, 0.96) 60%, rgba(4, 18, 14, 0.98) 100%);
  backdrop-filter: blur(25px);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 32px;
  padding: 2.8rem;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.8), 0 0 45px rgba(212, 175, 55, 0.18);
  margin-bottom: 45px;
}

#quranOverlay .player-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 35px;
}

@media (max-width: 992px) {
  #quranOverlay .player-grid {
    grid-template-columns: 1fr;
  }
}

#quranOverlay .input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#quranOverlay .input-group label {
  font-weight: 800;
  color: var(--gold-bright);
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

#quranOverlay input[type="text"],
#quranOverlay select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

#quranOverlay input[type="text"]:focus,
#quranOverlay select:focus {
  border-color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

#quranOverlay select option {
  background: #07251c;
  color: #ffffff;
  padding: 10px;
}

#quranOverlay .audio-wrapper {
  background: linear-gradient(145deg, rgba(4, 18, 14, 0.8), rgba(13, 59, 46, 0.8));
  border-radius: 24px;
  padding: 24px 30px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.05);
}

#quranOverlay .current-info {
  margin-bottom: 12px;
}

#quranOverlay #currentSurahLabelMain {
  font-family: 'Amiri', serif;
  font-size: 1.6rem;
  color: var(--gold-bright);
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

#quranOverlay #currentReciterLabelMain {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
  display: block;
  font-weight: 700;
}

#quranOverlay audio {
  width: 100%;
  margin-top: 15px;
  border-radius: 30px;
  outline: none;
  filter: invert(1) hue-rotate(180deg) brightness(1.5);
}

#quranOverlay .back-to-home {
  position: absolute;
  top: 30px;
  left: 30px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  color: #041812 !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 100;
}

#quranOverlay .back-to-home:hover {
  transform: translateX(-6px) scale(1.04);
  background: #ffffff;
  color: #041812 !important;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.5);
}

#quranOverlay .live-section {
  text-align: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
}

#quranOverlay .live-header {
  text-align: center;
  margin-bottom: 2rem;
}

#quranOverlay .live-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 900;
  display: inline-block;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
  animation: live-blink 1.8s ease-in-out infinite;
}

#quranOverlay .btn-live {
  padding: 14px 32px;
  border-radius: 50px;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.05rem;
  transition: all 0.35s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cairo', sans-serif;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

#quranOverlay .btn-live:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #041812;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

/* Mini Floating Media Players */
#miniQuranPlayer {
  position: fixed;
  bottom: 24px;
  left: 24px;
  cursor: pointer;
  background: linear-gradient(145deg, #07251c, #0d3b2e);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 22px;
  padding: 14px 20px;
  display: none;
  align-items: center;
  gap: 14px;
  z-index: 9998;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(52, 211, 153, 0.2);
  min-width: 250px;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#miniQuranPlayer.active {
  display: flex;
}

#miniQuranPlayer:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.35);
  border-color: var(--gold-bright);
}

.mini-info {
  flex: 1;
}

.mini-title {
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 0.98rem;
  display: block;
  font-family: 'Amiri', serif;
  margin-bottom: 2px;
}

.mini-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  display: block;
}

.mini-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mini-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--dark-green);
  font-size: 0.9rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.mini-btn:hover {
  background: #ffffff;
  color: var(--dark-green);
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
}

#miniVideoPlayer {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 300px;
  display: none;
  border-radius: 22px;
  overflow: hidden;
  z-index: 9998;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.3);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(145deg, #07251c, #0d3b2e);
}

#miniVideoPlayer.active {
  display: block;
}

#miniVideoHeader {
  background: linear-gradient(135deg, #07251c, #0d3b2e);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

#miniVideoTitle {
  color: var(--gold-bright);
  font-size: 0.88rem;
  font-weight: 800;
  font-family: 'Cairo', sans-serif;
}

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
  .specialties-grid { grid-template-columns:repeat(2,1fr); }
  .gallery-grid { grid-template-columns:repeat(3,1fr); }
  .footer-content { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
  .nav-links {
    display:none; position:absolute; top:100%; left:0; right:0;
    background:rgba(13,59,46,0.98); backdrop-filter:blur(20px);
    flex-direction:column; padding:2rem; gap:1.2rem;
  }
  .nav-links.active { display:flex; }
  .mobile-menu { display:block; }
  .hero h1 { font-size:2.5rem; }
  .hero h1 span { font-size:2rem; }
  .stats-container { grid-template-columns:repeat(2,1fr); }
  .specialties-grid { grid-template-columns:1fr; }
  .zakat-types,.donation-methods { grid-template-columns:1fr; }
  .donation-method.featured { transform:scale(1); }
  .calculator-form { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:repeat(2,1fr); }
  .contact-container,.form-row { grid-template-columns:1fr; }
  .footer-content { grid-template-columns:1fr; text-align:center; }
  .social-links { justify-content:center; }
  #quranOverlay .player-grid { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .stats-container { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:1fr; }
  .hero-buttons { flex-direction:column; width:100%; }
  .btn-primary,.btn-secondary { width:100%; justify-content:center; }
}

/* ===== PREMIUM ANALOG CLOCK WIDGET ===== */
.hero-clock-container {
  position: absolute;
  left: 6%;
  top: 55%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float-clock-main 6s ease-in-out infinite;
}

@keyframes float-clock-main {
  0%, 100% { transform: translateY(-50%) rotate(-1deg); }
  50% { transform: translateY(-58%) rotate(1deg); }
}

.analog-clock {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 95, 74, 0.45), rgba(13, 59, 46, 0.6));
  backdrop-filter: blur(15px);
  border: 4px solid var(--gold);
  position: relative;
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.5),
    inset 0 0 40px rgba(0,0,0,0.4),
    0 0 25px rgba(212, 175, 55, 0.3);
  display: block;
  overflow: hidden;
}

/* Glass Reflection Layer */
.analog-clock::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.05) 100%);
  transform: rotate(30deg);
  pointer-events: none;
}

.center-dot {
  width: 14px;
  height: 14px;
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hour-hand, .min-hand, .sec-hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 10px;
  z-index: 5;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.hour-hand {
  width: 6px;
  height: 55px;
  background: #fff;
  transform: translateX(-50%);
}

.min-hand {
  width: 4px;
  height: 75px;
  background: var(--gold);
  transform: translateX(-50%);
}

.sec-hand {
  width: 2px;
  height: 85px;
  background: #f87171;
  transform: translateX(-50%);
}

.clock-number-index {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
  transform-origin: center center;
  pointer-events: none;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.clock-date {
  margin-top: 25px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 800;
  background: rgba(13, 59, 46, 0.7);
  backdrop-filter: blur(10px);
  padding: 8px 30px;
  border-radius: 50px;
  border: 1.5px solid rgba(212,175,55,0.4);
  min-width: 180px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  letter-spacing: 0.5px;
}

/* ===== PREMIUM ZAKAT AL-FITR WIDGET ===== */
.zakat-fitr-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #0d3b2e 0%, #1a5f4a 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212,175,55,0.15);
}

.zakat-fitr-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
  color: var(--gold);
}

.widget-header h2 {
  font-size: 2.4rem;
  margin: 0;
  font-family: 'Amiri', serif;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  font-weight: 900;
}

.widget-header i {
  font-size: 2rem;
  animation: pulse-gold-alt 2.5s infinite;
}

@keyframes pulse-gold-alt {
  0%, 100% { filter: drop-shadow(0 0 5px var(--gold)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 20px var(--gold)); transform: scale(1.15); }
}

.zakat-fitr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.fitr-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;
  padding: 1.8rem 1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.fitr-card:hover {
  transform: translateY(-12px);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 20px rgba(212,175,55,0.3);
}

.fitr-item-name {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  display: block;
}

.fitr-weight {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.fitr-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.fitr-price {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
}

.fitr-currency {
  font-size: 0.9rem;
  color: var(--gold);
}

.fitr-note-box {
  display: inline-block;
  background: rgba(0,0,0,0.25);
  padding: 1.5rem 3rem;
  border-radius: 24px;
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  line-height: 1.8;
  border: 1px solid rgba(212,175,55,0.2);
  max-width: 900px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

@media (max-width: 1000px) {
  .zakat-fitr-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .zakat-fitr-grid { grid-template-columns: repeat(2, 1fr); }
  .widget-header h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .zakat-fitr-grid { grid-template-columns: 1fr; }
}
/* ===== SHARIA SPECIALTY MODAL (ULTRA LUXURY GLASS) ===== */
.specialty-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.specialty-modal.active {
  opacity: 1;
  visibility: visible;
}

.specialty-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 14, 0.88);
  backdrop-filter: blur(16px);
}

/* ===== ULTRA EXECUTIVE SHARIA SPECIALTY MODAL ===== */
.specialty-modal-content {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #07251c 0%, #0d3b2e 50%, #03140f 100%);
  border-radius: 32px;
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 175, 55, 0.2);
  transform: scale(0.88) translateY(30px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  color: #ffffff;
}

.specialty-modal-list-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.specialty-modal.active .specialty-modal-content {
  transform: scale(1) translateY(0);
}

.specialty-modal-header {
  padding: 2.5rem 2.8rem 1.8rem;
  background: linear-gradient(135deg, rgba(7, 34, 24, 0.99), rgba(13, 59, 46, 0.99));
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.specialty-modal-header h2 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: var(--gold-bright);
  font-family: 'Amiri', serif;
  font-weight: 800;
  text-shadow: 0 3px 15px rgba(212, 175, 55, 0.5);
}

.specialty-modal-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
  line-height: 1.7;
}

.specialty-modal-close {
  position: absolute;
  top: 1.8rem;
  left: 1.8rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  z-index: 100 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.specialty-modal-close:hover {
  background: var(--gold);
  color: var(--dark-green);
  transform: rotate(90deg);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.specialty-modal-body {
  padding: 2.2rem 2.8rem 2.8rem;
  background: transparent;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.book-list-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-bright);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.book-library-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.book-item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.5rem 1.8rem;
  background: linear-gradient(145deg, rgba(7, 34, 24, 0.95), rgba(13, 59, 46, 0.95));
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(0,0,0,0.4), inset 0 0 15px rgba(212,175,55,0.05);
}

.book-item:hover {
  transform: translateX(-10px) scale(1.015);
  background: linear-gradient(145deg, rgba(13, 59, 46, 0.98), rgba(18, 77, 60, 0.98));
  border-color: var(--gold-bright);
  box-shadow: 0 20px 45px rgba(0,0,0,0.6), 0 0 25px rgba(212,175,55,0.3);
}

.book-icon-box {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-green);
  font-size: 1.7rem;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(212,175,55,0.35);
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.25);
}

.book-item:hover .book-icon-box {
  transform: scale(1.12) rotate(6deg);
  background: #ffffff;
  color: var(--dark-green);
  box-shadow: 0 12px 30px rgba(255,255,255,0.4);
}

.book-details {
  flex: 1;
}

.book-details h4 {
  color: #ffffff;
  margin-bottom: 6px;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: 'Amiri', serif;
  transition: all 0.3s ease;
}

.book-item:hover .book-details h4 {
  color: var(--gold-bright);
}

.book-details span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  line-height: 1.5;
}

.lessons-count-badge {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-bright);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0.2px;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.book-item:hover .lessons-count-badge {
  background: var(--gold);
  color: var(--dark-green);
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.book-arrow-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-right: auto;
}

.book-item:hover .book-arrow-badge {
  background: var(--gold);
  color: var(--dark-green);
  transform: translateX(-4px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.specialty-card {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.specialty-card:hover {
  transform: translateY(-15px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
  border-color: var(--gold) !important;
}

/* Secondary View - Content Library */
.specialty-modal-list-view, .specialty-modal-content-view {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.specialty-modal-content-view {
  position: absolute;
  top: 0; right: 100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #07251c 0%, #0d3b2e 50%, #03140f 100%);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  color: #ffffff;
}

.content-header-sticky {
  padding: 2.2rem 2.8rem 1.4rem;
  background: linear-gradient(135deg, rgba(7, 34, 24, 0.99), rgba(13, 59, 46, 0.99));
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.content-body-scrollable {
  padding: 2.2rem 2.8rem 2.8rem;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.specialty-modal.showing-content .specialty-modal-list-view {
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
}

.specialty-modal.showing-content .specialty-modal-content-view {
  right: 0;
  opacity: 1;
  visibility: visible;
}

.content-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-green);
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: 2rem;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  border: none;
  border-radius: 50px;
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(212,175,55,0.35);
}

.content-back-btn:hover {
  transform: translateX(6px) scale(1.03);
  box-shadow: 0 12px 30px rgba(212,175,55,0.5);
  background: #ffffff;
  color: var(--dark-green);
}

.content-lesson-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(145deg, rgba(7, 34, 24, 0.95), rgba(13, 59, 46, 0.95));
  backdrop-filter: blur(20px);
  border-radius: 24px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(0,0,0,0.4), inset 0 0 15px rgba(212,175,55,0.05);
}

.content-lesson-card:hover {
  background: linear-gradient(145deg, rgba(13, 59, 46, 0.98), rgba(18, 77, 60, 0.98));
  border-color: var(--gold-bright);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 45px rgba(0,0,0,0.6), 0 0 25px rgba(212,175,55,0.25);
}

.content-lesson-card.is-playing {
  background: linear-gradient(145deg, rgba(13, 59, 46, 0.98), rgba(26, 95, 74, 0.98));
  border-color: #34d399;
  box-shadow: 0 18px 50px rgba(52, 211, 153, 0.35), 0 0 30px rgba(52, 211, 153, 0.2);
}

.lesson-info-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.lesson-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--dark-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(212,175,55,0.35);
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.content-lesson-card.is-playing .lesson-num {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #041812;
  box-shadow: 0 6px 20px rgba(52,211,153,0.4);
}

.lesson-txt h5 {
  font-size: 1.2rem;
  color: #ffffff !important;
  margin-bottom: 4px;
  font-weight: 800;
  font-family: 'Amiri', serif;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.content-lesson-card:hover .lesson-txt h5 {
  color: var(--gold-bright) !important;
}

.content-lesson-card.is-playing .lesson-txt h5 {
  color: #34d399 !important;
}

.lesson-txt p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0;
}

.playing-badge {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(37,211,102,0.35);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lesson-action-btn {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--dark-gold) 100%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-green);
  font-size: 1.15rem;
  font-weight: 900;
  transition: all 0.3s ease;
  box-shadow: 0 8px 22px rgba(212,175,55,0.35);
  cursor: pointer;
  flex-shrink: 0;
}

.content-lesson-card:hover .lesson-action-btn {
  transform: scale(1.12);
  background: #ffffff;
  color: var(--dark-green);
  box-shadow: 0 10px 25px rgba(255,255,255,0.4);
}

.content-lesson-card.is-playing .lesson-action-btn {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #041812;
  box-shadow: 0 8px 22px rgba(52,211,153,0.4);
}

/* ==========================================================================
   UNIVERSAL RESPONSIVE DESIGN ENGINE (Desktop, Laptop, Tablet, Mobile)
   ========================================================================== */

/* 1. Large Laptops & Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .nav-container { padding: 0 1.5rem; }
  .nav-links { gap: 1rem; }
  .hero-content h1 { font-size: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1.2rem; }
  .command-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .kpi-row { grid-template-columns: repeat(2, 1fr) !important; }
}

/* 2. Tablets & Small Laptops (max-width: 992px) */
@media (max-width: 992px) {
  /* Sidebar Responsiveness */
  .dashboard-sidebar {
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
  }

  .dashboard-sidebar.active {
    transform: translateX(0);
  }

  .dashboard-main, .chat-layout {
    margin-right: 0 !important;
    padding: 1.5rem 1.2rem !important;
    width: 100% !important;
  }

  /* Nav menu mobile hamburger toggle */
  .mobile-menu { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 1.4rem; color: var(--gold); border-radius: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(212,175,55,0.3); }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(4, 18, 14, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.7);
    border-left: 1px solid rgba(212,175,55,0.2);
    transition: right 0.35s ease;
    z-index: 999;
  }

  .nav-links.active { right: 0; }

  .hero { padding-top: 110px; min-height: auto; padding-bottom: 4rem; }
  .hero-clock-container { 
    position: relative !important; 
    top: auto !important; 
    left: auto !important; 
    right: auto !important; 
    transform: none !important; 
    margin: 0 auto 2rem auto !important; 
    animation: none !important;
  }
  .analog-clock {
    width: 170px !important;
    height: 170px !important;
  }
  .hour-hand { height: 42px !important; }
  .min-hand { height: 58px !important; }
  .sec-hand { height: 65px !important; }
  .clock-number-index { font-size: 0.95rem !important; }
  .clock-date { margin-top: 15px !important; padding: 6px 20px !important; font-size: 0.82rem !important; min-width: auto !important; }
  .hero-buttons { flex-direction: column; gap: 1rem; }
  .hero-buttons a { width: 100%; text-align: center; }

  .team-panel { width: 100% !important; border-right: none !important; border-bottom: 1px solid var(--glass-border); }
  .chat-layout { flex-direction: column !important; height: auto !important; }
  .messages-view { min-height: 550px; }
}

/* 3. Mobile Landscape & Medium Phones (max-width: 768px) */
@media (max-width: 768px) {
  .section-header-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.2rem;
    padding: 1.5rem !important;
  }

  .header-actions {
    flex-wrap: wrap !important;
    width: 100%;
  }

  .header-actions .action-btn-gold,
  .header-actions .action-btn-glass {
    flex: 1;
    justify-content: center;
  }

  .stats-grid { grid-template-columns: 1fr !important; }
  .kpi-row { grid-template-columns: 1fr !important; }
  .launchers-grid { grid-template-columns: 1fr !important; }

  /* Responsive Data Tables */
  .table-responsive, table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Modals & Action Buttons on Mobile */
  .modal-container, .modal-content, .gallery-modal-content, .specialty-modal-content {
    width: 94% !important;
    max-height: 90vh !important;
    padding: 1.2rem !important;
    border-radius: 20px !important;
  }

  .modal-footer {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 1.2rem !important;
  }

  .modal-footer button, 
  .modal-footer a,
  .zakat-modal-actions {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.88rem !important;
    border-radius: 50px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
  }
}

/* 4. Small Smartphones & Mobile Portrait (max-width: 576px) */
@media (max-width: 576px) {
  html { font-size: 14px; }
  
  .hero-content h1 { font-size: 1.9rem; line-height: 1.4; }
  .hero-badge { font-size: 0.8rem; padding: 4px 12px; }
  
  .section-header-banner h2 { font-size: 1.6rem !important; }
  
  .search-page-container, .favorites-page-container {
    padding: 1.2rem !important;
    margin: 1.5rem 0.8rem !important;
    border-radius: 16px !important;
  }

  .huge-search {
    font-size: 1rem !important;
    padding: 1rem 1rem 1rem 3.5rem !important;
  }

  .result-card, .fav-card-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.8rem !important;
  }

  .result-badge, .remove-fav-btn {
    align-self: flex-end;
  }

  .content-lesson-card {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.1rem 1.2rem !important;
    gap: 12px !important;
  }

  .lesson-info-main {
    gap: 12px !important;
  }

  .lesson-num {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }

  .lesson-txt h5 {
    font-size: 1.05rem !important;
  }

  .lesson-txt p {
    font-size: 0.82rem !important;
  }

  .lesson-action-btn {
    align-self: center !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 1rem !important;
  }

  /* Zakat & Contact Modal Action Buttons on Mobile */
  .zakat-info-footer, 
  div[style*="justify-content: space-between"][style*="margin-top"],
  .modal-actions-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: 1.2rem !important;
    width: 100% !important;
  }

  .zakat-info-footer button,
  .zakat-info-footer a,
  .official-card .btn-copy-iban {
    flex: 1 !important;
    padding: 0.65rem 0.8rem !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Global Sticky Headers for Admin Dashboards */
.section-header-banner,
.dashboard-header,
.header-banner,
.meeting-header,
.table-header,
.chat-header,
.panel-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 900 !important;
}

@media (max-width: 992px) {
    .section-header-banner,
    .dashboard-header,
    .header-banner,
    .meeting-header,
    .table-header,
    .chat-header,
    .panel-header {
        position: relative !important;
        top: 0 !important;
    }
}
