@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
  --gold: #C9A952;
  --gold-dark: #B8922E;
  --gold-light: #E0C878;
  --dark: #1A1A1A;
  --dark-brown: #2C1810;
  --cream: #F5F0EB;
  --beige: #D4C5A9;
  --warm-beige: #E8DDD0;
  --white: #FFFFFF;
  --black: #0D0D0D;
  --text: #333333;
  --text-light: #888888;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.3);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font: 'Cairo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  direction: rtl;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.8;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; outline: none; border: none; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--dark-brown);
  color: var(--cream);
  padding: 8px 0;
  font-size: 13px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar .contact-info { display: flex; gap: 20px; align-items: center; }
.top-bar .contact-info a { color: var(--gold-light); transition: var(--transition); }
.top-bar .contact-info a:hover { color: var(--gold); }
.top-bar .social-icons { display: flex; gap: 12px; }
.top-bar .social-icons a {
  color: var(--beige);
  font-size: 16px;
  transition: var(--transition);
}
.top-bar .social-icons a:hover { color: var(--gold); transform: translateY(-2px); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 2px solid var(--gold);
  transition: var(--transition);
}
.navbar.navbar-scrolled {
  background: rgba(245, 240, 235, 0.95);
  backdrop-filter: blur(20px);
}
.navbar:not(.navbar-scrolled) .nav-links a { color: #fff; }
.navbar:not(.navbar-scrolled) .nav-links a:hover,
.navbar:not(.navbar-scrolled) .nav-links a.active { color: var(--gold-light); }
.navbar:not(.navbar-scrolled) .logo-text h1 { color: #fff; }
.navbar:not(.navbar-scrolled) .logo-text span { color: var(--gold-light); }
.navbar:not(.navbar-scrolled) .hamburger span { background: #fff; }
@media (max-width: 768px) {
  .navbar .nav-links a { color: var(--text) !important; }
  .navbar .nav-links a:hover,
  .navbar .nav-links a.active { color: var(--gold-dark) !important; }
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar .logo img {
  height: 55px;
  width: auto;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(201, 169, 82, 0.3);
  transition: var(--transition);
}
.navbar .logo:hover img {
  box-shadow: 0 0 25px rgba(201, 169, 82, 0.5);
  transform: scale(1.05);
}
.navbar .logo-text h1 {
  font-size: 20px;
  font-weight: 900;
  color: var(--dark-brown);
  line-height: 1.2;
}
.navbar .logo-text span {
  font-size: 20px;
  color: var(--gold-dark);
  font-weight: 900;
  line-height: 1.2;
}
.nav-links { display: flex; gap: 5px; }
.nav-links a {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: 25px;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-dark); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 60%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1002;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--dark-brown);
  border-radius: 3px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.85), rgba(26, 26, 26, 0.7)),
              url('banner.jpg') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 80px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--cream), transparent);
}
.hero-content { max-width: 800px; position: relative; z-index: 1; }
.hero-content .gold-line {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 25px;
  border-radius: 3px;
}
.hero-content h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content h1 span { color: var(--gold); }
.hero-content p {
  font-size: 20px;
  color: var(--warm-beige);
  margin-bottom: 35px;
  line-height: 1.8;
  font-weight: 300;
}
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn {
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 8px 25px rgba(201, 169, 82, 0.3);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(201, 169, 82, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

/* ===== SECTION STYLES ===== */
section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .subtitle {
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: 38px;
  font-weight: 900;
  color: var(--dark-brown);
  margin-bottom: 15px;
}
.section-header h2 span { color: var(--gold); }
.section-header .gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 15px;
  border-radius: 3px;
}
.section-header p {
  color: var(--text-light);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT PREVIEW (home) ===== */
.about-preview { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow);
}
.about-image img { width: calc(100% + 4px); height: calc(450px + 4px); margin: -2px; object-fit: cover; display: block; }

.about-text h3 {
  font-size: 28px;
  color: var(--dark-brown);
  margin-bottom: 20px;
}
.about-text p { margin-bottom: 15px; color: var(--text-light); line-height: 1.9; }
.about-text .features { margin-top: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.about-text .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.about-text .feature-item i {
  color: var(--gold);
  font-size: 18px;
}

/* ===== SERVICES SECTION ===== */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 10px 40px var(--shadow);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px var(--shadow); }
.service-card .icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(201, 169, 82, 0.1), rgba(201, 169, 82, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 35px;
  color: var(--gold);
  transition: var(--transition);
}
.service-card:hover .icon { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--white); }
.service-card h3 { font-size: 20px; color: var(--dark-brown); margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 14px; line-height: 1.8; }

/* ===== INFINITE SLIDER ===== */
.slider-section { background: var(--dark-brown); padding: 60px 0; overflow: hidden; }
.slider-section .section-header h2 { color: var(--white); }
.slider-section .section-header p { color: var(--beige); }
.slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  direction: ltr;
  transform: translateX(0);
}
.slider-track img {
  height: 282px;
  width: 320px;
  flex-shrink: 0;
  margin: -2px 0;
  border-radius: 12px;
  object-fit: cover;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 10px 30px var(--shadow-dark);
}
.slider-track img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 45px var(--shadow-dark);
}

/* ===== STATS ===== */
.stats { background: linear-gradient(135deg, var(--dark-brown), var(--dark)); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item h3 {
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 5px;
}
.stat-item p { color: var(--beige); font-size: 16px; font-weight: 600; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 30px var(--shadow);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  margin: -2px;
  object-fit: cover;
  transition: var(--transition);
  display: block;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 25px;
  border: 2px solid var(--beige);
  background: transparent;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ===== CONTACT ===== */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-box { padding: 30px; }
.contact-info-box h3 {
  font-size: 24px;
  color: var(--dark-brown);
  margin-bottom: 20px;
}
.contact-info-box .info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--warm-beige);
}
.contact-info-box .info-item:last-child { border: none; }
.contact-info-box .info-item i {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-box .info-item .text h4 { font-size: 14px; color: var(--gold-dark); margin-bottom: 3px; }
.contact-info-box .info-item .text p { color: var(--text-light); font-size: 15px; }
.contact-form { padding: 20px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--warm-beige);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font);
  background: var(--cream);
  transition: var(--transition);
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 82, 0.1);
}
.contact-form textarea { height: 150px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ===== MAP ===== */
.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 400px; display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-brown);
  color: var(--cream);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-about h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--gold);
}
.footer-about p { color: var(--beige); font-size: 14px; line-height: 1.9; }
.footer-about .social-icons { margin-top: 20px; display: flex; gap: 12px; }
.footer-about .social-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 169, 82, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
}
.footer-about .social-icons a:hover {
  background: var(--gold);
  color: var(--dark-brown);
  border-color: var(--gold);
}
.footer h4 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.footer-links a {
  display: block;
  padding: 8px 0;
  color: var(--beige);
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-right: 5px; }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--beige);
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-contact i { color: var(--gold); width: 20px; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  color: var(--beige);
  font-size: 13px;
}

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.whatsapp-float .tooltip {
  background: var(--white);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  box-shadow: 0 5px 20px var(--shadow);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
  white-space: nowrap;
}
.whatsapp-float:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}
.whatsapp-float .icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--white);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  animation: whatsappPulse 2s infinite;
  transition: var(--transition);
}
.whatsapp-float .icon:hover { transform: scale(1.1); }

@keyframes whatsappPulse {
  0% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 35px rgba(37, 211, 102, 0.7); }
  100% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4); }
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.9), rgba(26, 26, 26, 0.8)),
              url('banner.jpg') center/cover no-repeat;
  text-align: center;
}
.page-header h1 {
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}
.page-header h1 span { color: var(--gold); }
.page-header .breadcrumb { color: var(--beige); font-size: 15px; }
.page-header .breadcrumb a { color: var(--gold); }
.page-header .breadcrumb a:hover { text-decoration: underline; }

/* ===== ABOUT PAGE ===== */
.about-page { background: var(--white); }
.about-page .about-text { padding: 20px; }
.about-page .values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.value-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background: var(--cream);
  transition: var(--transition);
}
.value-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px var(--shadow); }
.value-item i {
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 15px;
}
.value-item h4 { font-size: 18px; color: var(--dark-brown); margin-bottom: 8px; }
.value-item p { color: var(--text-light); font-size: 14px; }

/* ===== MOSQUE PAGE ===== */
.mosque-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.mosque-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 40px var(--shadow);
  aspect-ratio: 4/3;
}
.mosque-item img {
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  margin: -2px;
  object-fit: cover;
  transition: var(--transition);
  display: block;
}
.mosque-item:hover img { transform: scale(1.08); }
.mosque-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 24, 16, 0.85), rgba(201, 169, 82, 0.1));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.mosque-item:hover .overlay { opacity: 1; }
.mosque-item .overlay i {
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 8px;
}
.mosque-item .overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}

/* ===== VIDEOS PAGE ===== */
.videos-section { padding: 60px 0; }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: start;
}
.videos-grid .tiktok-embed,
.videos-grid video { max-width: 240px; width: 100%; margin: 0; }
.videos-grid video {
  border-radius: 12px;
  aspect-ratio: 9/16;
  object-fit: cover;
  background: #000;
}
#localVideo {
  aspect-ratio: auto;
  height: 740px;
  object-fit: contain;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox .close {
  position: absolute;
  top: 25px;
  left: 25px;
  color: var(--white);
  font-size: 35px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: var(--transition);
}
.lightbox .close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }
.lightbox .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
  padding: 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: var(--transition);
}
.lightbox .nav-btn:hover { background: rgba(255,255,255,0.2); }
.lightbox .nav-btn.prev { right: 25px; }
.lightbox .nav-btn.next { left: 25px; }

/* ===== SERVICES PAGE DETAILS ===== */
.services-detail { background: var(--white); }
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  margin-bottom: 30px;
  background: var(--cream);
  border-radius: 15px;
  transition: var(--transition);
}
.service-detail-card:hover { box-shadow: 0 10px 40px var(--shadow); }
.service-detail-card:nth-child(even) { direction: ltr; }
.service-detail-card:nth-child(even) .service-text { direction: rtl; }
.service-detail-card .icon-large {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  font-size: 80px;
  color: var(--white);
}
.service-detail-card .icon-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail-card .service-text h3 {
  font-size: 24px;
  color: var(--dark-brown);
  margin-bottom: 15px;
}
.service-detail-card .service-text p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 15px;
}
.service-detail-card .service-text ul { padding-right: 20px; }
.service-detail-card .service-text ul li {
  padding: 6px 0;
  color: var(--text);
  font-size: 14px;
  position: relative;
  padding-right: 20px;
}
.service-detail-card .service-text ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--gold);
  position: absolute;
  right: -18px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(201, 169, 82, 0.3);
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(201, 169, 82, 0.4); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 38px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-card:nth-child(even) { direction: rtl; }
  .service-detail-card .icon-large { height: 200px; }
  .section-header h2 { font-size: 30px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .top-bar { padding: 4px 0; }
  .top-bar .contact-info { font-size: 10px; gap: 8px; }
  .top-bar .contact-info span { display: none; }
  .top-bar .social-icons { gap: 6px; }
  .top-bar .social-icons a { font-size: 13px; }
  .lang-toggle { font-size: 11px !important; padding: 2px 6px !important; }
  .navbar { top: 28px; z-index: 1002; }
  .navbar .logo img { height: 36px; }
  .navbar .logo-text h1 { font-size: 16px; }
  .navbar .logo-text span { font-size: 14px; display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: 260px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 20px 30px;
    box-shadow: 0 0 40px var(--shadow-dark);
    transition: var(--transition);
    z-index: 9999;
    gap: 5px;
  }
  .nav-links.active { right: 0; left: auto; }
  .nav-links a { font-size: 15px; padding: 10px 16px; border-radius: 8px; }
  .nav-links a:hover { background: var(--cream); }
  .nav-links a::after { display: none; }
  .hero { padding: 120px 15px 60px; min-height: 90vh; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 15px; margin-bottom: 25px; }
  .page-header { padding: 120px 0 40px; }
  .page-header h1 { font-size: 28px; }
  .about-text .features { grid-template-columns: 1fr; }
  .footer { padding: 40px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; padding-bottom: 25px; }
  .footer-about h3 { font-size: 18px; margin-bottom: 10px; }
  .footer-about p { font-size: 13px; line-height: 1.6; }
  .footer-about .social-icons { margin-top: 12px; gap: 10px; }
  .footer-about .social-icons a { width: 34px; height: 34px; font-size: 14px; }
  .footer h4 { font-size: 15px; margin-bottom: 10px; padding-bottom: 6px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-links a { padding: 4px 0; font-size: 13px; }
  .footer-contact p { font-size: 13px; margin-bottom: 8px; gap: 8px; }
  .footer-bottom { padding: 15px 0; font-size: 12px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .mosque-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .videos-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 26px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item h3 { font-size: 30px; }
  section { padding: 50px 0; }
  .section-header { margin-bottom: 35px; }
  .slider-track img { width: 250px; height: 220px; }
}

@media (max-width: 480px) {
  .top-bar .contact-info a { font-size: 9px; }
  .top-bar .social-icons a { font-size: 11px; }
  .lang-toggle { font-size: 10px !important; padding: 2px 5px !important; }
  .navbar .logo img { height: 30px; }
  .navbar .logo-text h1 { font-size: 14px; }
  .navbar .logo-text span { font-size: 12px; }
  .hero { padding: 100px 15px 50px; }
  .hero-content h1 { font-size: 22px; }
  .hero-content p { font-size: 14px; }
  .btn { padding: 10px 22px; font-size: 13px; }
  .whatsapp-float .icon { width: 44px; height: 44px; font-size: 22px; }
  .whatsapp-float { left: 12px; bottom: 12px; }
  .whatsapp-float .tooltip { display: none; }
  .slider-track img { width: 180px; height: 160px; }
}

/* ===== LTR (ENGLISH) OVERRIDES ===== */
html[dir="ltr"] .top-bar .container { flex-direction: row; }
html[dir="ltr"] .contact-info { flex-direction: row; }
html[dir="ltr"] .hero-content { text-align: left; }
html[dir="ltr"] .hero-buttons { justify-content: flex-start; }
html[dir="ltr"] .section-header .gold-line { margin: 15px auto; }
html[dir="ltr"] .about-grid { direction: ltr; }
html[dir="ltr"] .footer-grid { direction: ltr; }
html[dir="ltr"] .features { text-align: left; }
html[dir="ltr"] .services-grid { direction: ltr; }
html[dir="ltr"] .service-card { text-align: left; }
html[dir="ltr"] .values { direction: ltr; }
html[dir="ltr"] .value-item { text-align: left; }
html[dir="ltr"] .contact-grid { direction: ltr; }
html[dir="ltr"] .contact-info-box { text-align: left; }
html[dir="ltr"] .contact-form { text-align: left; }
html[dir="ltr"] .form-group input,
html[dir="ltr"] .form-group textarea { text-align: left; }
html[dir="ltr"] .stats-grid { direction: ltr; }
html[dir="ltr"] .stat-item { text-align: center; }
html[dir="ltr"] .service-detail-card { direction: ltr; text-align: left; }
html[dir="ltr"] .service-detail-card .service-text { text-align: left; }
html[dir="ltr"] .service-detail-card ul { padding-left: 20px; padding-right: 0; }
html[dir="ltr"] .gallery-filters { direction: ltr; }
html[dir="ltr"] .navbar .nav-links { gap: 5px; direction: ltr; }
html[dir="ltr"] .slider-track { direction: ltr; }

/* mobile nav LTR */
@media (max-width: 768px) {
  html[dir="ltr"] .nav-links { left: -100%; right: auto; }
  html[dir="ltr"] .nav-links.active { left: 0; right: auto; }
}

.lang-toggle {
  font-family: inherit;
  transition: var(--transition);
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.1) !important;
}
