
:root{
  --teal-900:#033b36;
  --teal-800:#0a4c45;
  --teal-700:#045d52;
  --teal-600:#0e6e62;
  --gold:#d1c57a;
  --light:#f4f6f6;
  --muted:#a9c3bd;
}

html,body{height:100%;}
body{
  background:#0b3733;
  color:#0a2a24;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding-top: 80px; 
}

/* NAV */
/* NAV */
/* NAV */
.main-nav {
  position: fixed;       /* makes it stay visible */
  top: 0;                /* stick to top of page */
  left: 0;
  right: 0;
  z-index: 1000;         /* stays above other elements */
  background: var(--teal-900);
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
  padding: 1rem 0;       /* adjust navbar height */
}


.main-nav .nav-link {
  color: #eaf3f1;
  opacity: .9;
  font-size: 1.05rem; /* optional: slightly larger text */
  padding: 0.75rem 1rem; /* ⬅️ increase click area */
}

.logo {
  height: 65px; /* ⬅️ increase logo size from 46px */
}
.brand-text{font-weight:700;letter-spacing:.3px}
.nav-btn-img {
  height: 42px;              /* Adjust height as needed */
  width: auto;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-btn-img:hover {
  transform: scale(1.06);
  filter: brightness(1.1);
}
/* HERO */
.hero {
  min-height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* background slider fills entire hero */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 40%);
  z-index: 2;
}

@media (max-width: 992px) {
  .hero {
    min-height: 30vh;
  }
  .hero-slider .slide {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #0b3733;
  }
}

/* Caption container */
.hero-caption {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 3;
  color: #fff;
  max-width: 60%;
  text-align: left;
  animation: fadeInUp 1.2s ease both;
}

.hero-caption h1 {
  font-size: 4.2rem;      /* bigger headline */
  font-weight: 800;
  line-height: 1.1;
}

.hero-caption h1 span {
  color: #033b36;         /* golden highlight */
}

.hero-caption h2 {
  font-size: 2.2rem;
  font-weight: 500;
  margin: 15px 0;
  color: #f8f9fa;
}

.hero-caption p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #e6e6e6;
  margin-bottom: 25px;
}


/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-caption {
    top: auto;
    bottom: 10%;
    left: 5%;
    transform: none;
  }
  .hero-caption h1 {
    font-size: 1.2rem;
  }
  .hero-caption h2 {
    font-size: 0.4rem;
  }
  .hero-caption p {
    font-size: 0.5rem;
  }
  
}
.hero-card-body{padding:18px 20px}
.pray-label{color:#0c403a;font-weight:600}
.pray-time{font-size:34px;line-height:1.1;color:#0c403a;font-weight:800}
.today-box{background:#0c403a;color:#fff;border-radius:10px;padding:6px 10px}
.today-day{font-size:28px;font-weight:800;line-height:1}
.today-month{font-size:12px;opacity:.85}

/* Wave divider pinned to bottom of hero */
.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;          /* ✅ ensures it sits at the end of banner */
  width: 100%;
  height: 120px;
  overflow: hidden;
  z-index: 4;         /* stays above slider background */
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
  preserveAspectRatio: none;
}
.wave-divider path{fill:#f5f8f7}

/* Tables Area */
.tables-area{background:#f5f8f7}
.info-card{
  background:white;
  color:#eaf3f1;
  border-radius:10px;
  border:2px solid rgba(255,255,255,.15);
  padding:14px 14px 10px;
  box-shadow:0 8px 16px rgba(0,0,0,.2);
  min-height:100%;
}
.info-head{
  font-family:Montserrat, Arial, sans-serif;
  font-size:22px;
  line-height:1.1;
  text-align:center;
  margin-bottom:6px;
  color:#0f5149;
  font-weight:700;
  background-color:#bcd6d0;
  border-radius:8px;
}
.info-card .muted{
color:#bcd6d0;
text-align: center;   /* ✅ centers your paragraph */
}
.info-card table thead th{
  color:#d1e7e2;font-weight:700;border-bottom:1px solid rgba(255,255,255,.15);
}
.info-card table tbody tr{border-bottom:1px dashed rgba(255,255,255,.12)}
.info-card table td, .info-card table th{padding:.45rem .25rem;font-size:14px}
.info-card table tbody tr.sep td{padding-top:.7rem;border-top:2px solid rgba(255,255,255,.2)}

/* Events mini items */
.event-item{background:#0e564e;border-radius:10px;padding:10px 12px;margin-top:10px}
.date-box{
  background:#092f2a;
  color:#fffb;
  border-radius:8px;
  width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:18px;flex:0 0 42px;
}
.event-title{font-weight:700;letter-spacing:.3px}
.event-desc{font-size:12px;opacity:.9}

/* Greeting band */
.greeting{
  background:#e8efed url('../images/pattern.png') center/auto repeat;
  padding:48px 0 54px;
  text-align:center;
}
.greet-title{
  font-family: Montserrat, Arial, sans-serif;
  font-size:50px;color:#093a34;margin:0;
  font-weight:700;
  white-space: nowrap; /* keep text on one line */
}

/* optional: adjust size on smaller screens */
@media (max-width: 768px) {
  .greet-title {
    font-size: 28px; /* shrink text slightly for smaller width */
  }
}

.greet-sub{font-family:'Edwardian Script ITC', cursive;color:#3d6567;font-size:50px;margin:4px 0 12px}
.greet-desc{max-width:820px;margin:0 auto 16px;color:#315b55}
.btn-learn {
  background: linear-gradient(#ebd982, #d1c57a);
  color: #0f5149;
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-family: "Myriad Pro", Montserrat, Arial, sans-serif;
  font-weight: 700;
  border: 1px solid #b7aa5d;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  transform: scale(1);
}

/* Hover effect with lift + brightness */
.btn-learn:hover {
  background: linear-gradient(#f3e79d, #d8c66f); /* lighter gold tone */
  transform: scale(1.05) translateY(-2px); /* gentle grow + lift */
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 6px 12px rgba(0,0,0,0.25);
}

/* Posters */
.posters {
  background: #0f5149;
  position: relative;
  padding: 60px 0;
}

/* Poster container */
.poster-box {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  text-align: center;
}

/* All images stacked on top of each other */
.poster-box .poster-img {
  display: block;
  width: 100%;
  height: auto; /* show full image */
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  border-radius: 14px;
  position: absolute;
  left: 0;
  top: 0;
}

/* Ensure the first one shows correctly */
.poster-box .poster-img.active {
  opacity: 1;
  position: relative;
  z-index: 2;
}
.poster-box .poster-img.active {
  animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Services */
.services{background:#0c463f;padding:46px 0}
.section-title{font-family:'Myriad Pro', cursive;color:#e9f2f0;font-size:36px;margin-bottom:10px}
.btn-contact,.btn-member{
  font-family:"Myriad Pro", Montserrat, Arial, sans-serif;
  font-weight:700;border-radius:999px;padding:.45rem 1.1rem;border:1px solid #b7aa5d
}
.btn-contact {
  font-family: "Myriad Pro", Montserrat, Arial, sans-serif;
  font-weight: 700;
  border-radius: 999px;
  padding: .45rem 1.1rem;
  border: 1px solid #b7aa5d;
  color: #10220a;
  background: linear-gradient(#ebd982, #d1c57a);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  transform: scale(1);
}

.btn-contact:hover {
  background: linear-gradient(#f3e79d, #d8c66f); /* lighter gold on hover */
  transform: scale(1.05) translateY(-2px); /* slight grow + lift */
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 6px 12px rgba(0,0,0,0.25);
}

.btn-member {
  font-family: "Myriad Pro", Montserrat, Arial, sans-serif;
  font-weight: 700;
  border-radius: 999px;
  padding: .45rem 1.1rem;
  color: #0f2723;
  border: 1px solid #9da6a7;
  background: linear-gradient(#dcdcdc, #a6a6a6);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.15);
  text-shadow: 0 1px 1px rgba(255,255,255,0.5);
  transition: all 0.3s ease; /* smooth transition */
  transform: scale(1);
}

.btn-member:hover {
  background: linear-gradient(#e9e9e9, #b0b0b0);
  transform: scale(1.05) translateY(-2px); /* slight grow + lift */
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 6px 12px rgba(0,0,0,0.25);
}


.service-tile{position:relative;overflow:hidden;border-radius:6px}
.service-tile img{display:block;aspect-ratio:16/10;object-fit:cover;filter:contrast(.95)}
.service-tile .cap{
  position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.6));
  color:#fff;text-align:left;padding:10px 12px;font-weight:700;letter-spacing:.4px
}

/* Upcoming */
.upcoming{background:#0e4d45;padding:50px 0}
.btn-cal,.btn-vol{font-family:"Myriad Pro", Montserrat, Arial, sans-serif;font-weight:700;border-radius:999px;padding:.45rem 1.1rem}
.btn-cal{background:linear-gradient(#ebd982,#d1c57a);border:1px solid #b7aa5d;color:#10220a}
.btn-vol{background:#103c37;color:#e9f2f0;border:1px solid rgba(255,255,255,.15)}

/* Footer */
.site-footer{background:#08332e;padding:48px 0 24px}
.footer-title{font-weight:800;margin-bottom:8px}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1);opacity:.9}
.socials i{font-size:20px}

.namaz-bug {
  top: 100px; /* starts just below navbar (adjust based on navbar height) */
  right: 500px; /* distance from right edge */
  z-index: 5;
  width: 400px;
}


/* Default (desktop) */
#namazBug {
  display: block;
}

/* Hide from banner on mobile */
@media (max-width: 992px) {
  #namazBug.position-absolute {
    display: none !important;
  }

  /* when it's moved below banner */
  #mobileNamazPlaceholder .namaz-bug {
    position: static !important;
    margin: 20px auto;
    display: flex;
    justify-content: center;
  }
}

.namaz-img {
	width: 110px;
	height: auto;
}

.namaz-bg {
	/* translucent background */
  background: rgba(255, 255, 255, 0.7); /* <-- only the box background is semi-transparent */
  backdrop-filter: blur(8px); /* optional: nice glass effect */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 1rem;
}

.next-prayer-label {
  font-weight: 600;
  color: #0a4c45;
  font-size: 16px;
}

.next-prayer-name {
  font-weight: 800;
  font-size: 30px;
  color: #033b36;
  line-height: 1.1;
}

.timer .time-box {
  background: #eaf3f1;
  border: 1px solid #0a4c45;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 60px;
}

.timer .time-box span {
  font-size: 20px;
  font-weight: 800;
  color: #033b36;
  display: block;
  line-height: 1.1;
}

.timer .time-box small {
  font-size: 10px;
  letter-spacing: 1px;
  color: #0a4c45;
}

/* Hanging date */
.namaz-date {
  position: absolute;
  left: 25px;
  bottom: -75px;
  background: #0a4c45;
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 8px 14px;
  width: 100px;
  box-shadow: 0 4px 8px rgba(0,0,0,.3);
}

.namaz-date .month {
  font-family: "Myriad Pro", Montserrat, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.1;
}

.namaz-date .day {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  margin-top: 2px;
}

/* Events dropdown styling */
.dropdown-menu {
  background-color: #0a4c45;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.dropdown-item {
  color: #eaf3f1;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.dropdown-item:hover {
  background-color: #0e6e62;
  color: #fff;
  transform: translateX(4px);
}

.event-thumb {
  width: 100%;
  height: auto;
  border: 2px solid rgba(255,255,255,0.2);
  object-fit: cover;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Facebook button (left side) */
.fb-btn-img {
  position: absolute;
  left: 100px;         /* 👈 shifted from right to left */
  bottom: 35px;        /* vertical position inside wave */
  width: 44px;
  height: auto;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* Instagram button (left side, spaced beside Facebook) */
.insta-btn-img {
  position: absolute;
  left: 150px;         /* 👈 spacing between icons */
  bottom: 35px;
  width: 44px;
  height: auto;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* Youtube button (left side, spaced beside Facebook) */
.yt-btn-img {
  position: absolute;
  left: 200px;         /* 👈 spacing between icons */
  bottom: 35px;
  width: 44px;
  height: auto;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* Hover animation */
.fb-btn-img:hover,
.yt-btn-img:hover,
.insta-btn-img:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}


.table thead th.table-Heading {
  color: #0f5149 !important;

}

/* Scrolling text container */
.scrolling-text {
  background: linear-gradient(90deg, #0c4a43, #0e6e62);
  color: #fff;
  font-weight: 600;
  font-family: "Montserrat", Arial, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  padding: 8px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* The animated content */
.scrolling-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-text 50s linear infinite;
}

/* Animation */
@keyframes scroll-text {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Optional: make text slightly smaller on mobile */
@media (max-width: 768px) {
  .scrolling-text {
    font-size: 14px;
  }
}
.scrolling-text:hover .scrolling-content {
  animation-play-state: paused;
}

.live-blink {
  color: #d32f2f; /* red color */
  font-weight: 700;
  font-family: "Montserrat", Arial, sans-serif;
  animation: blinkText 1s ease-in-out infinite;
  
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.5px;
  
}
.live-blink-circle {
  color: #d32f2f; /* red color */
  font-weight: 700;
  font-family: "Montserrat", Arial, sans-serif;
  animation: blinkText 1s ease-in-out infinite;
  
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.5px;
  font-size:12px;
  
}

.live-blink:hover {
  text-decoration: none;
  color: #ff4d4d; /* slightly brighter red on hover */
}



/* Keep your original code untouched */
.services-gallery {
  background: #0f5149; /* teal background */
}

.service-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
}

/* Overlay background before hover */
.service-box .overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 82, 79, 0.7); /* teal with opacity */
  border-radius: 12px;
  transition: all 0.6s ease;
  opacity: 1;
  transform: translateY(0);

  /* ✅ Center content */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Text box (with background label) */
.service-box .overlay-content {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 40px);
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: all 0.6s ease;
  width: 80%;

  /* 👇 This is the new background label */
  background: rgba(15, 81, 73, 0.85); /* teal-ish semi-transparent bg */
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.service-box .overlay-content h4 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 22px;
  margin-bottom: 6px;
  font-weight:700;
  color: #fff;
}

.service-box .overlay-content p {
  font-size: 14px;
  color: #e0efed;
  margin-bottom: 12px;
}

/* Hover effect */
.service-box:hover .overlay {
  transform: translateY(-100%);
  opacity: 0;
}

.service-box:hover .overlay-content {
  opacity: 1;
  transform: translate(-50%, 0);
}

.service-box:hover .service-img {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ================= EVENT GALLERY ================= */
.event-gallery {
  background: #0f5149; /* teal background like other sections */
}

/* Box wrapper */
.event-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 100%;
}

/* Full image visible (no cropping) */
.event-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 🟢 show entire image */
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
}

/* Overlay background (visible before hover) */
.event-box .overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 82, 79, 0.7); /* teal with opacity */
  border-radius: 12px;
  transition: all 0.6s ease;
  opacity: 1;
  transform: translateY(0);

  /* ✅ Center content */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Overlay text block with background label */
.event-box .overlay-content {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 40px);
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: all 0.6s ease;
  width: 85%;
  background: rgba(15, 81, 73, 0.85); /* teal label background */
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.event-box .overlay-content h4 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 22px;
  margin-bottom: 6px;
  font-weight:700;
}

.event-box .overlay-content p {
  font-size: 14px;
  color: #e0efed;
  margin-bottom: 12px;
}

/* Hover effects */
.event-box:hover .overlay {
  transform: translateY(-100%);
  opacity: 0;
}

.event-box:hover .overlay-content {
  opacity: 1;
  transform: translate(-50%, 0);
}

.event-box:hover .event-img {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
/* Hide pagination on desktop */
@media (min-width: 993px) {
  .eventSwiper .swiper-pagination {
    display: none;
  }
}

/* Desktop grid layout */
@media (min-width: 993px) {
  .eventSwiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .eventSwiper .swiper-slide {
    width: auto !important;
  }
}

.serviceSwiper .swiper-pagination-bullet {
  background: #d1c57a;
  opacity: 0.6;
}
.serviceSwiper .swiper-pagination-bullet-active {
  opacity: 1;
}
/* MOBILE DONATE BUTTON */
.mobile-donate-btn {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(#ebd982, #d1c57a);
  color: #0f2a28;
  font-weight: 700;
  text-align: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: "Myriad Pro", Montserrat, Arial, sans-serif;
  border: 1px solid #b7aa5d;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Hover effect */
.mobile-donate-btn:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  text-decoration: none;
  color: #0f2a28;
}

/* Only visible on mobile */
@media (min-width: 993px) {
  .mobile-donate-btn {
    display: none;
  }
}

.mobile-donate-btn {
  animation: donatePop 0.8s ease forwards;
}

@keyframes donatePop {
  from {
    opacity: 0;
    transform: translate(-50%, 40px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Golden line sticks to bottom of hero */
.golden-divider {
  position: absolute;          
  bottom: 0;                   
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d4b15f, #f4e29b, #d4b15f);
  z-index: 5;
}

/* Social buttons perfectly centered on top of golden line */
.golden-divider .social-buttons {
  position: absolute;
  bottom: 22px;                
  left: 50%;
  right: 50% !important;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: max-content;          /* prevents weird centering issues */
  margin: 0 auto;
  text-align: center;
  z-index: 6;
}

/* Icon styles */
.social-buttons img {
  width: 50px;
  height: auto;
  transition: transform 0.3s ease;
  display: block;
}

.golden-divider .social-buttons img:hover {
  transform: scale(1.1);
}

/* ✅ Mobile fix — enforce true centering */
@media (max-width: 768px) {
  .golden-divider .social-buttons {
    bottom: 15px;
    left: 50% !important;
    right: -90% !important;
    transform: translateX(-50%) !important;
    justify-content: center !important;
    gap: 16px;
    width: auto !important;
  }

  .golden-divider .social-buttons img {
    width: 40px;
  }
}

/* Floating Prayer Button */
.prayer-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  cursor: pointer;
}

.prayer-btn img {
  width: 70px;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prayer-btn img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Modal styling */
.modal-header.bg-teal {
  background: linear-gradient(90deg, #045d52, #0e6e62);
  color: #fff;
}

.table-success th {
  background: linear-gradient(90deg, #ebd982, #d1c57a);
  color: #10220a;
}

#monthSelect {
  border-color: #d1c57a;
}

.contact-section {
  background: #f8faf9;
}

.footer-app img {
    transition: transform 0.3s ease;
  }
  .footer-app img:hover {
    transform: scale(1.05);
  }
  .footer-title {
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 15px;
  }
  
  @media (max-width: 576px) {
    .footer-app img {
      width: 100px !important;
    }
    .footer-app h6 {
      font-size: 0.9rem;
    }
  }

.contact-form .form-label {
  color: #04463f;
}

.contact-form .btn-success {
  background: linear-gradient(90deg, #045d52, #0e6e62);
  border: none;
}

.contact-form .btn-success:hover {
  background: linear-gradient(90deg, #0e6e62, #045d52);
}

.page-header {
      position: relative;
      color: #fff;
    }
    .page-header .overlay {
      background: rgba(0, 0, 0, 0.45);
    }
    .about-section p {
      font-size: 1.05rem;
      line-height: 1.8;
      color: #f1f1f1;
    }
	
    /* Download Button */
    .btn-bylaw {
      display: inline-block;
      background: linear-gradient(90deg, #d4af37, #ffca28);
      color: #000;
      font-weight: 600;
      padding: 12px 30px;
      border-radius: 50px;
      text-decoration: none;
      transition: all 0.3s ease;
    }
    .btn-bylaw:hover {
      background: linear-gradient(90deg, #ffca28, #ffd95a);
      transform: translateY(-3px);
      color: #000;
    }

    /* ===== BOARD MEMBERS ===== */
    .board-section {
      background-color: #f8f9fa;
      color: #222;
    }
    .board-member {
      background: #fff;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .board-member:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
    .board-member img {
      width: 100%;
      height: 280px;
      object-fit: cover;
    }
    .board-info {
      padding: 20px;
    }
    .board-info h5 {
      font-weight: 700;
      margin-bottom: 5px;
    }
    .board-info span {
      color: #198754;
      font-weight: 500;
    }
    .board-info p {
      font-size: 0.95rem;
      color: #555;
      margin-bottom: 8px;
    }
    .board-info a {
      color: #0f5149;
      text-decoration: none;
      font-weight: 500;
    }

    /* ===== MOSQUE MAPS ===== */
    .mosque-map iframe {
      border: 0;
      border-radius: 12px;
      width: 100%;
      height: 250px;
    }
	
	.btn-policy {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(90deg, #d4af37, #ffca28);
      color: #000;
      font-weight: 600;
      padding: 14px 24px;
      border-radius: 50px;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .btn-policy:hover {
      background: linear-gradient(90deg, #ffca28, #ffd95a);
      transform: translateY(-3px);
      color: #000;
      text-decoration: none;
    }

    .btn-policy i {
      font-size: 1.3rem;
    }

    .policy-box {
      background: #f8f9fa;
      border-radius: 15px;
      padding: 30px;
      color: #222;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .greet-title-in {
      border-left: 5px solid #ffc107;
      padding-left: 10px;
    }

    .lead {
      color: #eee;
    }
	
	.update-box {
      background: #f8f9fa;
      color: #222;
      border-radius: 15px;
      padding: 30px;
      margin-bottom: 40px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
      transition: all 0.3s ease;
    }

    .update-box:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }

    .update-date {
      color: #198754;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .update-title {
      color: #0f5149;
      font-size: 1.5rem;
      font-weight: 700;
    }

    .update-content p {
      color: #333;
      line-height: 1.7;
      margin-bottom: 10px;
    }
	
	 /* ======== PROGRESS BAR SECTION ======== */
    .progress-section {
      background: #f8f9fa;
      color: #222;
      border-radius: 15px;
      padding: 40px;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      margin-bottom: 60px;
    }

    .progress-heading {
      color: #0f5149;
      font-weight: 700;
      font-size: 1.8rem;
      margin-bottom: 10px;
    }

    .progress-subtext {
      font-size: 1rem;
      color: #666;
      margin-bottom: 20px;
    }

    .mosque-progress {
      position: relative;
      height: 40px;
      background-color: #ddd;
      border-radius: 25px;
      overflow: hidden;
    }

    .mosque-progress-fill {
      height: 100%;
      width: 0;
      background: linear-gradient(90deg, #198754, #32b37a);
      background-size: contain;
      background-repeat: repeat-x;
      border-radius: 25px;
      transition: width 2s ease-in-out;
    }

    .progress-labels {
      display: flex;
      justify-content: space-around;
      margin-top: 25px;
      font-weight: 600;
      flex-wrap: wrap;
      gap: 10px;
    }

    .progress-labels .collected { color: #198754; }
    .progress-labels .remaining { color: #dc3545; }
    .progress-labels .total { color: #0f5149; }

    /* ======== GALLERY SECTION ======== */
.gallery-section {
  text-align: center;
}

.gallery-title {
  color: #ffc107;
  font-weight: 700;
  margin-bottom: 30px;
}

.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.gallery-item {
  margin-bottom: 25px;
}

/* For mobile slider controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

@media (max-width: 576px) {
  .progress-labels { 
    flex-direction: column; 
    text-align: center; 
  }
}
	
	/* ======== CATEGORY CARDS ======== */
.category-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.category-card h5 {
  font-weight: 700;
  color: #0f5132;
}
.category-card p {
  font-size: 0.95rem;
  color: #555;
}
.category-card button {
  background-color: #0f5132;
  color: white;
  border-radius: 50px;
  padding: 6px 20px;
  border: none;
  transition: 0.3s;
}
.category-card button:hover {
  background-color: #198754;
}

/* ======== CAROUSEL MOBILE VIEW ======== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.carousel-item {
  padding: 10px 0;
}

@media (max-width: 767px) {
  .category-card {
    max-width: 85%;
    margin: 0 auto;
  }
}
.form-step { display:none; }
    .form-step.active { display:block; }
    .step-indicator { display:flex; justify-content:center; gap:8px; margin-bottom:25px; }
    .step-circle {
      width:35px; height:35px; line-height:35px; border-radius:50%;
      background-color:#d1e7dd; color:#0f5132; font-weight:bold; text-align:center;
    }
    .step-circle.active { background-color:#0f5132; color:#fff; }
	
	/* Progress Bar Fix */
    .progress-container {
      position: relative;
      height: 6px;
      background-color: #d1e7dd;
      border-radius: 3px;
      margin-bottom: 15px;
      overflow: hidden;
    }
    .progress-bar-fill {
      height: 6px;
      background-color: #0f5132;
      width: 0;
      transition: width 0.3s ease-in-out;
    }
	
	iframe {
      width: 100%;
      height: 250px;
      border: 0;
      border-radius: 10px;
    }
    .mosque-map {
      background: #1c1f24;
    }
    .mosque-map h5 {
      font-weight: 600;
    }
    .table-weekly tr.active { background: #198754 !important; color: #fff; }
	
	/* Slider Dots */
.slider-dots {
  z-index: 10;
}
.slider-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.slider-dots .dot:hover {
  background-color: #fff;
  transform: scale(1.2);
}
.slider-dots .dot.active {
  background-color: #28a745; /* green active dot */
}
.poster-box {
  position: relative;
  overflow: hidden;
}

.poster-img {
  display: none;
  width: 100%;
  border-radius: 10px;
  transition: opacity 0.6s ease;
}

.poster-img.active {
  display: block;
}

/* Circle navigation dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #0f5149; /* your teal tone */
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: #0f5149; /* active color */
  transform: scale(1.2);
}