/* ================= GLOBAL CONTAINER FIX ================= */
body {
  overflow-x: hidden;
}

/* ================= PRAYER TIMES ROTATING PATTERN ================= */

.prayertimes-banner-section {
  width: 100%;
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(41, 110, 86, 0.95),
    rgba(22, 60, 48, 0.95)
  );
  overflow: hidden;
}

.prayertimes-banner-section::before,
.prayertimes-banner-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: url("img/islamic-pattern2.png") center/contain no-repeat;
  opacity: 0.08;
  animation: prayertimesRotate 40s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.prayertimes-banner-section::before {
  top: -180px;
  left: -180px;
}

.prayertimes-banner-section::after {
  bottom: -180px;
  right: -180px;
  animation-direction: reverse;
}

@keyframes prayertimesRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.prayertimes-banner-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 5;
}

.prayertimes-banner-title {
  font-size: clamp(32px, 5vw, 60px);
  font-family: "Playfair Display", serif;
  margin-bottom: 15px;
  font-weight: 600;
}

.prayertimes-banner-subtext {
  font-size: clamp(16px, 2vw, 22px);
  margin-bottom: 40px;
  color: #fff;
}

.prayertimes-cta-btn {
  background: #fff;
  color: #296e56;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.prayertimes-cta-btn:hover {
  background: #296e56;
  color: #fff;
}

/* ================= MOBILE BANNER FIX ================= */

@media (max-width: 768px) {
  .prayertimes-banner-section {
    height: 70vh;
    padding: 0 20px;
  }

  .prayertimes-banner-section::before,
  .prayertimes-banner-section::after {
    width: 320px;
    height: 320px;
    opacity: 0.05;
  }

  .prayertimes-banner-section::before {
    top: -120px;
    left: -120px;
  }

  .prayertimes-banner-section::after {
    bottom: -120px;
    right: -120px;
  }

  .prayertimes-banner-title {
    font-size: 34px;
  }

  .prayertimes-banner-subtext {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .prayertimes-cta-btn {
    padding: 12px 26px;
    font-size: 14px;
  }
}

/* ================= PRAYER TIMES WIDGET ================= */

.prayer-widget {
  background: linear-gradient(135deg, #ffffff, #f3fcff);
  border: 1.5px solid rgba(41, 110, 86, 0.3);
  border-radius: 20px;
  padding: 22px;
  text-align: center;
  font-family: "Outfit", sans-serif;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.prayer-widget:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.prayer-widget h2 {
  color: #296e56;
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.prayer-widget .dates {
  color: #333;
  font-size: 14px;
  margin-bottom: 18px;
  font-weight: 500;
}

.prayer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prayer-list li {
  display: flex;
  justify-content: space-between;
  background: #eef9ff;
  margin: 8px 0;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 15px;
  color: #000;
  font-weight: 600;
  transition: all 0.25s ease;
  border-left: 4px solid transparent;
}

.prayer-list li:nth-child(1) {
  animation-delay: 0.3s;
}
.prayer-list li:nth-child(2) {
  animation-delay: 0.45s;
}
.prayer-list li:nth-child(3) {
  animation-delay: 0.6s;
}
.prayer-list li:nth-child(4) {
  animation-delay: 0.75s;
}
.prayer-list li:nth-child(5) {
  animation-delay: 0.9s;
}

.prayer-list li:hover {
  background: #d4f3ff;
  transform: translateX(0) scale(1.02);
  box-shadow: 0 6px 15px #1b4a3a;
}

.prayer-list li span {
  font-weight: 800;
  color: #296e56;
}

.prayer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  padding: 20px;
}

.prayer-widget {
  flex: 1 1 calc(33.33% - 30px);
  max-width: 380px;
}

@media (max-width: 992px) {
  .prayer-widget {
    flex: 1 1 calc(50% - 30px);
  }
}

@media (max-width: 600px) {
  .prayer-widget {
    flex: 1 1 100%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes listSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.page-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: #296e56;
  margin-top: 80px;
}

.page-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #d4af37, #296e56, #d4af37);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

.fade-in {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= FILTER CONTAINER ================= */

.filter-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 0 auto;
  flex-wrap: wrap;
  max-width: 900px;
  padding: 20px;
  background: rgba(41, 110, 86, 0.05);
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.filter-container:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.filter-container select {
  flex: 1 1 200px;
  padding: 14px 20px;
  border-radius: 20px;
  border: 2px solid #296e56;
  font-size: 16px;
  font-weight: 600;
  color: #555;
  font-family: "Outfit", sans-serif;
  outline: none;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-container select:hover {
  border-color: #1b4a3a;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.filter-container select:focus {
  border-color: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.25);
}

@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
  }

  .filter-container select {
    flex: 1 1 100%;
    font-size: 15px;
    padding: 12px 18px;
  }
}

.filter-wrapper {
  text-align: center;
  margin: clamp(30px, 5vw, 60px) auto;
  padding: 0 15px;
}

.filter-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: #296e56;
  margin-bottom: 20px;
  position: relative;
}

.filter-title::after {
  content: "";
  display: block;
  width: clamp(60px, 8vw, 120px);
  height: 4px;
  background: linear-gradient(to right, #caa83a, #9f7f1f);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

.state-title {
  width: 100%;
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  margin: 40px 0 10px;
  color: #296e56;
  position: relative;
  font-family: "Playfair Display", serif;
  text-transform: uppercase;
  margin-top: -40px;
}

.state-title::after {
  content: "";
  display: block;
  width: clamp(60px, 8vw, 120px);
  height: 4px;
  background: linear-gradient(to right, #caa83a, #9f7f1f);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

.state-container {
  display: none;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

/* ================= TABLET ================= */

@media (max-width: 992px) {
  .filter-container {
    padding: 18px;
  }

  .prayer-widget {
    flex: 1 1 calc(50% - 20px);
  }
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {
  .filter-container {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-container select {
    width: 100%;
    max-width: 100%;
  }

  .prayer-widget {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .state-title {
    margin-top: 10px;
  }
}

/* ================= PRAYER INFO SECTION ================= */

.prayer-info-section {
  padding: 60px 20px;
  background-color: rgb(233, 241, 233);
  text-align: center;
}

.prayer-container-inner {
  max-width: 1300px;
  margin: auto;
}

.prayer-section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: #296e56;
  margin-top: -40px;
}

.prayer-section-title::after {
  content: "";
  display: block;
  width: clamp(60px, 8vw, 120px);
  height: 4px;
  background: linear-gradient(to right, #d4af37, #b8961e);
  margin: 12px auto 0;
  border-radius: 2px;
}

.prayer-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.prayer-card {
  position: relative;
  background: #fff;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.prayer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(41, 110, 86, 0.2);
}

.card-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.prayer-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: #e9f1e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.prayer-icon img {
  width: 35px;
  height: 35px;
}

.prayer-card:hover .prayer-icon {
  background: #296e56;
}

.prayer-card:hover .prayer-icon img {
  filter: brightness(0) invert(1);
}

.prayer-card h3 {
  font-size: 20px;
  margin: 15px 0 10px;
  font-weight: 700;
  color: #296e56;
}

.prayer-card p {
  font-size: 15px;
  color: #555;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .prayer-cards {
    grid-template-columns: 1fr;
  }
}
