/* BODY & FONT */
body {
  margin: 0;
  font-family: 'Amiri', serif;
  color: #2c2c2c;
  background-color: #f2f7f4;

  /* 8-point star background pattern */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><polygon points='20,0 24,14 39,14 27,22 31,36 20,28 9,36 13,22 1,14 16,14' fill='%23d4af37' opacity='0.1'/></svg>");
  background-repeat: repeat


}
/* Header Social Links with Icons */
.header-social {
  position: absolute;
  top: 18px;
  right: 25px;
  display: flex;
  gap: 14px; /* balanced spacing */
  flex-wrap: wrap;
}

.header-social a {
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 22px;
  color: #0b5d3b;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  box-shadow: 0 0 10px rgba(212,175,55,0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.header-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(212,175,55,0.9);
}

/* Mobile friendly */
@media (max-width: 600px) {
  .header-social {
    position: static;
    justify-content: center;
    margin-bottom: 12px;
  }
}



.header-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #0b5d3b;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212,175,55,0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(212,175,55,0.9);
}

/* Smaller social icons on mobile */
@media (max-width: 600px) {
  .header-social {
    gap: 8px;
  }

  .header-social a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}



/* HEADER with Mihrab-style arch */
.header {
  background: linear-gradient(135deg, #ffae00, #97521a);
  color: #f9f6ef;
  text-align: center;
  padding: 60px 15px 40px 15px;
  border-bottom: 6px solid #d4af37;
  position: relative;
}

.mihrab {
  position: relative;
  display: inline-block;
  padding: 20px 40px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; /* arch shape */
  border: 5px solid #d4af37;
  background: rgba(212,175,55,0.05);
}

.mihrab h1 {
  margin: 0;
  font-size: 36px;
  font-style: italic;
  color: #0b5d3b;
}

.mihrab p {
  font-size: 18px;
  margin: 5px 0;
  font-style: italic;
  color: #0b5d3b;
}

#intro-screen{

text-align: center;
font-size: larger;
text-shadow: #d4af37;
color: #f2f7f4;
    font-style: italic;}

/* Section headers with Islamic arch shape */
.section-arch {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #d4af37;
  color: #0b5d3b;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(212,175,55,0.6);
}

/* Container styling */
.container {
  background: white;
  max-width: 900px;
  margin: 25px auto;
  padding: 25px;
  border-radius: 10px;
  border-top: 5px solid #d4af37;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Video Background */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay for readability */
.video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}


/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  border: 3px solid #d4af37;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(212,175,55,0.6);
}

/* Quran & Hadith Section */
.quran-hadith {
  text-align: center;
  background:  #ffffff;
  border-top: 5px solid #d4af37;
  color: #b8962e;
  font-style: italic;
  font-size: larger;
}

.quotes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  color: #b8962e;
  font-size: larger;
  font-style: italic;
}

.quote {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border-left: 6px solid #d4af37;
   max-width: 800px;
  box-shadow: 0 4px 12px rgba(212,175,55,0.4);
  font-size: larger;
  font-style: italic;
  color: #b8962e;
}

.quote p {
  font-size: 18px;
  line-height: 1.6;
  font-size: medium;
  font-style: italic;
  color: #b8962e;
}

.quote p span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #0b5d3b;
  font-size: 16px;
  font-style: italic;
  color: #b8962e;
}

/* Community Support Section */
.community-support {
  text-align: center;
  font-size: larger;
  color: #b8962e;
  font-size: large;
  font-style: italic;
}

.community-text {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 15px;
  color: #b8962e;
  font-size: larger;
  font-style: italic;
  color: #97521a;
}

/* Dua */
.dua-arabic {
  font-size: 24px;
  color: #0b5d3b;
  margin-top: 15px;
  direction: rtl;
  color: #b8962e;
  font-style: italic;
}

.dua-translation {
  font-size: 16px;
  margin-bottom: 25px;
  color: #0b5d3b;
  font-style: italic;
}

/* Before / After */
.before-after {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.before-after img {
  width: 280px;
  border-radius: 12px;
  border: 4px solid #d4af37;
  box-shadow: 0 0 15px rgba(212,175,55,0.5);
}

/* Videos */
.community-videos h3 {
  color: #0b5d3b;
  margin-bottom: 15px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.video-grid video {
  width: 100%;
  border-radius: 12px;
  border: 4px solid #d4af37;
  box-shadow: 0 0 18px rgba(212,175,55,0.6);
}

/* Mobile */
@media (max-width: 600px) {
  .dua-arabic {
    font-size: 20px;
  }
}




/* Mosque Admins Section */
.admin-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.admin-card {
  background: #ffffff;
  border: 3px solid #d4af37;
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admin-card img {
  width: 100%;
  border-radius: 50%;
  border: 3px solid #0b5d3b;
  margin-bottom: 10px;
}

.admin-card h3 {
  color: #b8962e;
  margin: 5px 0;
  font-style: italic;
}

.admin-card p {
  font-size: 16px;
  color: #b8962e;
  font-style: italic;
}

.admin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(212,175,55,0.6);
  color: #97521a;
}
/* Society Image Section */
.society-images {
  text-align: center;
}

.society-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.society-image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid #d4af37;
  box-shadow: 0 0 15px rgba(212,175,55,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.society-image-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(212,175,55,0.9);
}

/* PRAYER TIMES */
.prayer-times ul {
  list-style: linear-gradient(34);
  padding: 0;
  font-style: italic;
  font-size: larger;
  color: #97521a;
  font-size: larger;
  text-decoration: underline;
}

.prayer-times li {
  padding: 10px 0;
  font-size: 18px;
  border-bottom: 1px dashed color(srgb red green blue);
}

.bank-details {
  display: none;
  margin-top: 20px;
  padding: 20px;
  border: 2px dashed #d4af37;
  border-radius: 10px;
  background: #fffbe6;
  text-align: left;
  color: #b8962e;
  font-style: italic;
}

.bank-details h3 {
  text-align: center;
  color: #0b5d3b;
  margin-bottom: 15px;
  color: #b8962e;
}

.bank-item {
  margin-bottom: 15px;
  color: #b8962e;
  font-style: italic;
}

.bank-item p {
  margin: 4px 0;
  font-style: italic;
  color: #b8962e;
}

hr {
  border: none;
  border-top: 1px solid #d4af37;
  margin: 15px 0;
  
}


/* CONTACT */
.contact p {
  font-size: 17px;
  color: #b8962e;
  font-style: italic;
  
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 18px;
  background-color: #b8962e;
  color: #f9f6ef;
  border-top: 4px solid #d4af37;
  box-shadow: 0 -2px 10px rgba(212,175,55,0.4);
}

/* MOBILE RESPONSIVE */
@media (max-width: 600px) {
  .header h1 {
    font-size: 26px;
  }

  .donation button {
    width: 100%;
    padding: 12px;
    color: #b8962e;
    font-style: italic;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .quotes {
    gap: 15px;
  }

  .quote p {
    font-size: 16px;
    color: #b8962e;
    font-style: italic;
  }

  .admin-grid {
    flex-direction: column;
    align-items: center;
  }

  .admin-card {
    width: 80%;
  }
}

