/* Preloader overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Loader dots */
.loader {
  display: flex;
  gap: 10px;
}

.loader .dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: rgb(226, 174, 42); /* golden */
}

/* Hide preloader after animation */
#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}


/* ============================ General Styles ============================ */
body {
  font-family: 'Nunito', sans-serif;
  background: #fff;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}


/* ============================ Navbar ============================ */

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgb(34, 34, 34);
  font-size: 24px;
}

.nav-link {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgb(34, 34, 34);
  font-size: 18px;
  transition: color 0.4s ease;
}

.nav-link:hover { color: rgb(226, 174, 42); }



.donate-btn {
   background-color: rgb(226, 174, 42);
  color: white;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 30px;
  transition: 0.3s ease;
  text-decoration: none;
}
.donate-btn:hover {
   background-color: rgb(180, 140, 30);
  color: #fff;
  transform: scale(1.05);
}

/* ============================ About Section ============================ */
.about-section {
  background: #f9f9f9;
}

.aboutback {
  background-color: rgb(240, 239, 239);
  border-radius: 10px;
  padding: 20px;
  animation: fadeInUp 1s ease-in-out;
}

.about-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: rgb(226, 174, 42);
  font-size: 32px;
  margin-bottom: 20px;
  animation: fadeIn 1.2s ease-in-out;
}

.about-text {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
  animation: fadeIn 1.5s ease-in-out;
}

.locationhead {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: black;
  font-size: 29px;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-in-out;
}

/* ============================ Gallery ============================ */
.gallery img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: zoomIn 1.5s ease-in-out;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================ Map ============================ */
.map-container {
  border: 3px solid rgb(73, 73, 73);
  border-radius: 5%;
  overflow: hidden;
  animation: fadeIn 1.5s ease-in-out;
}

/* ============================ Donate Section ============================ */
.donate-section {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  animation: fadeInUp 1.5s ease-in-out;
}

.donate-btn {
  background-color: rgb(226, 174, 42);
  color: white;
  font-weight: bold;
  border-radius: 8px;
  padding: 8px 18px;
  transition: all 0.3s ease;
}

.donate-btn:hover {
  background-color: rgb(199, 153, 37);
  color: #fff;
}

/* ============================ Namaz Section ============================ */
.namaz-section {
  background: #f9f9f9;
  border-top: 4px solid rgb(226, 174, 42);
  border-bottom: 4px solid rgb(226, 174, 42);
  animation: fadeIn 2s ease-in-out;
}

.namaz-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.namaz-table thead th {
  background: rgb(226, 174, 42);
  color: #fff;
  font-size: 18px;
}

.namaz-table td,
.namaz-table th {
  padding: 12px;
  font-size: 16px;
  vertical-align: middle;
}

.namaz-table tbody tr:hover {
  background: rgba(226, 174, 42, 0.1);
}

/* ============================ Services Section ============================ */
.services-section {
  background: #fff;
  animation: fadeInUp 1.8s ease-in-out;
}

.service-card {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  padding: 30px 20px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 40px;
  color: rgb(226, 174, 42);
  animation: bounceIn 1.5s ease-in-out;
}

/* ============================ Footer ============================ */

.footer { background-color: #000; border-top: 3px solid rgb(226, 174, 42); }
.footer-title { font-size: 20px; font-weight: 700; color: rgb(226, 174, 42); margin-bottom: 15px; }
.footer-title span { color: #fff; }
.footer-text { font-size: 15px; color: #fff; line-height: 1.8; }
.footer-links a { color: #fff; font-size: 16px; text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: rgb(226, 174, 42); }
.footer-contact li { font-size: 15px; color: #fff; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #ddd; padding-top: 15px; font-size: 14px; color: #fff; }



