* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f7f8f6;
}

/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: #ffffff;
  border-bottom: 1px solid #e8ecee;
}

/* logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo > i {
  font-size: 35px;
  color: #617c8a;
}
.logo h2 {
  color: #354b63;
  font-size: 24px;
  font-weight: 700;
}
.logo span {
  color: #617c8a;
  font-size: 13px;
}

/* menu navbar */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}
.nav-menu a {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #354b63;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

/* ukuran ikon mmenu */
.nav-menu a i {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

/* efek ketika kursor diarahkan */
.nav-menu a:hover {
  color: #617c8a;
}

/* menu aktif */
.nav-menu a.acvtive {
  color: #617c8a;
}

/* tombol hamburger */

/* Tombol Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #354b63;
  cursor: pointer;
}

.menu-toggle i {
  width: 25px;
  height: 25px;
}

/* Tampilan Tablet dan HP */
@media (max-width: 900px) {
  .navbar {
    padding: 18px 25px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 15px 25px;
    background-color: #ffffff;
    border-top: 1px solid #e8ecee;
    z-index: 100;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    padding: 13px 0;
  }
}

/* hero section */
.hero {
  position: relative;
  display: flex;
  align-items: center;

  padding: 65px 60px;
  min-height: 550px;

  background-color: #dce5e9;
  overflow: hidden;
}

/* konten hero */
.hero-content {
  position: relative;
  z-index: 2;

  width: 55%;
  max-width: 650px;
}

/* label kecil */
.hero-label {
  display: inline-block;
  white-space: nowrap;
  padding: 10px 18px;
  margin-bottom: 25px;
  background-color: #ffffff;
  color: #617c8a;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* judul utama */
.hero-content h1 {
  color: #354b63;
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* warna baris kedua judul */
.hero-content h1 span {
  color: #617c8a;
}

/* teks deskripsi */
.hero-content > p {
  color: #536675;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 580px;
}

/* Hero Widget */
.hero-widget {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  padding: 20px 24px;
  width: 100%;
  max-width: 620px;
  box-sizing: border-box;

  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(53, 75, 99, 0.1);

  color: #354b63;
}

/* Penyesuaian ukuran Hero Widget */

.widget-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(97, 124, 138, 0.35);
}

.widget-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-self: center;
}

.widget-clock h2 {
  font-size: 30px;
  margin: 0 0 5px;
  color: #354b63;
  font-weight: 700;
}

.widget-clock p {
  font-size: 11px;
  margin: 0;
  color: #536675;
  white-space: nowrap;
}

.widget-hijri {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
}

.widget-weather {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
}

.widget-hadith {
  display: block;
  padding-top: 16px;
}

.widget-hadith > i {
  display: none;
}

.hadith-arabic {
  font-size: 25px;
  margin: 12px 0;
}

.hadith-translation {
  font-size: 14px;
}

/* gambar masjid */
.hero-image {
  position: absolute;
  top: 0;
  right: 0;

  width: 75%;
  height: 100%;

  z-index: 0;
}
.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* GRADASI FOTO */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to right,
      #dce5e9 0%,
      rgba(220, 229, 233, 0.9) 15%,
      rgba(220, 229, 233, 0.5) 38%,
      transparent 72%
    ),
    linear-gradient(
      to top,
      #dce5e9 0%,
      rgba(220, 229, 233, 0.35) 12%,
      transparent 35%
    );

  pointer-events: none;
}

/* judul section */
.section-heading {
  text-align: center;
  margin-bottom: 45px;
}
.section-heading span {
  color: #617c8a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.section-heading h2 {
  color: #354b63;
  font-size: 32px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.section-heading p {
  color: #536675;
  font-size: 15px;
  line-height: 1.6;
}

/* kartu fitur */
.feature-card {
  padding: 35px 25px;
  background-color: #ffffff;
  border: 1px solid #e8ecee;
  border-radius: 14px;
  transition: 0.3s;
}

/* ikon kartu */
.feature-card i {
  width: 35px;
  height: 35px;
  color: #617c8a;
  stroke-width: 1.8;
  margin-bottom: 20px;
}

/* judul kartu */
.feature-card h3 {
  color: #354b63;
  font-size: 19px;
  margin-bottom: 12px;
}

/* deskripsi kartu */
.feature-card p {
  color: #6b7c87;
  font-size: 14px;
  line-height: 1.7;
}

/* efek hover */
.feature-card:hover {
  transform: translateY(-5px);
  border-color: #c5d4db;
  box-shadow: 0 8px 25px rgba(53, 75, 99, 0.08);
}

/* fitur biar responsif */
@media (max-width: 900px) {
  .feature {
    padding: 60px 35px;
  }

  .feature-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .feature {
    padding: 50px 22px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .feature-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* MOSQUE DIRECTORY */
.mosque-directory {
  padding: 75px 60px;
  background-color: #f7f8f6;
}

/* Judul Direktori */
.directory-heading {
  text-align: center;
  margin-bottom: 40px;
}

.directory-heading span {
  color: #617c8a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.directory-heading h2 {
  color: #354b63;
  font-size: 32px;
  margin: 12px 0;
}

.directory-heading p {
  color: #6b7c87;
  font-size: 16px;
  line-height: 1.7;
}

/* Pencarian dan Filter */
.directory-filter {
  padding: 22px;
  margin-bottom: 45px;
  background-color: #ffffff;
  border: 1px solid #e8ecee;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(53, 75, 99, 0.06);
}

.mosque-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  margin-bottom: 18px;
  background-color: #f7f8f6;
  border-radius: 12px;
}

.mosque-search i {
  width: 21px;
  height: 21px;
  color: #617c8a;
  flex-shrink: 0;
}

.mosque-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #354b63;
  font-size: 15px;
}

.mosque-search input::placeholder {
  color: #9aa6ad;
}

/* Filter Kecamatan */
.district-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.district-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 19px;
  border: 1px solid #dce5e9;
  border-radius: 30px;
  background-color: #ffffff;
  color: #354b63;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.district-btn span {
  color: #8b9ba4;
  font-size: 12px;
}

.district-btn:hover,
.district-btn.active {
  background-color: #617c8a;
  border-color: #617c8a;
  color: #ffffff;
}

.district-btn.active span {
  color: #dce5e9;
}

/* Judul Daftar Masjid */
.directory-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.directory-list-heading h3 {
  color: #354b63;
  font-size: 23px;
}

.directory-list-heading p {
  color: #6b7c87;
  font-size: 14px;
}

/* Grid Kartu Masjid */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Kartu Masjid */
.directory-card {
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e8ecee;
  border-radius: 18px;
  transition: 0.3s;
}

.directory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(53, 75, 99, 0.09);
  border-color: #c5d4db;
}

/* Foto Masjid */
.directory-photo {
  position: relative;
  height: 180px;
  padding: 18px;
  background: linear-gradient(135deg, #dce5e9, #b9cbd3);
}

.directory-photo span {
  display: inline-block;
  padding: 8px 14px;
  background-color: #ffffff;
  color: #354b63;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
}

/* Informasi Masjid */
.directory-info {
  padding: 22px;
}

.directory-info h3 {
  color: #354b63;
  font-size: 19px;
  margin-bottom: 12px;
}

.directory-info > p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #6b7c87;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.directory-info > p i {
  width: 17px;
  height: 17px;
  color: #617c8a;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Label Fasilitas */
.mosque-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.mosque-tags span {
  padding: 7px 11px;
  background-color: #dce5e9;
  color: #354b63;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

/* Bagian Bawah Kartu */
.directory-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #e8ecee;
}

.directory-card-bottom div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.directory-card-bottom div span {
  color: #8b9ba4;
  font-size: 12px;
}

.directory-card-bottom div strong {
  color: #354b63;
  font-size: 14px;
}

.mosque-detail {
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background-color: #354b63;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.mosque-detail:hover {
  background-color: #617c8a;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .mosque-directory {
    padding: 60px 35px;
  }

  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mosque-directory {
    padding: 50px 22px;
  }

  .directory-heading h2 {
    font-size: 27px;
  }

  .directory-heading p {
    font-size: 14px;
  }

  .directory-filter {
    padding: 16px;
  }

  .district-filters {
    gap: 8px;
  }

  .district-btn {
    padding: 9px 13px;
    font-size: 12px;
  }

  .directory-list-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .directory-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .directory-photo {
    height: 200px;
  }
}

/* PRAYER SUMMARY */
.prayer-summary {
  display: grid;
  grid-template-columns: 1.2fr 1fr 2.5fr 1.2fr;
  align-items: center;
  gap: 20px;
  margin: -15px 40px 35px;
  padding: 25px 30px;
  background-color: #354b63;
  color: #ffffff;
  border-radius: 14px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 25px rgba(53, 75, 99, 0.15);
}

/* Judul Jadwal */
.prayer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.prayer-title i {
  width: 20px;
  height: 20px;
}

/* Hitung Mundur */
.prayer-countdown {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 20px;
}

.prayer-countdown span {
  font-size: 12px;
  opacity: 0.8;
}

.prayer-countdown h2 {
  font-size: 28px;
  margin: 5px 0;
}

.prayer-countdown p {
  font-size: 12px;
  opacity: 0.8;
}

/* Daftar Waktu Salat */
.prayer-times {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  text-align: center;
}

.prayer-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prayer-item span {
  font-size: 12px;
  opacity: 0.8;
}

.prayer-item strong {
  font-size: 15px;
}

/* Tanggal Hijriah */
.hijri-date {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hijri-date i {
  width: 22px;
  height: 22px;
}

.hijri-date div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hijri-date span {
  font-size: 12px;
  opacity: 0.8;
}

.hijri-date strong {
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .prayer-summary {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .prayer-countdown {
    border-right: none;
    padding-right: 0;
  }

  .prayer-times {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .hijri-date {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .prayer-summary {
    grid-template-columns: 1fr;
    margin: -10px 15px 25px;
    padding: 22px 18px;
    gap: 20px;
  }

  .prayer-times {
    grid-column: auto;
    grid-row: auto;
    gap: 5px;
  }

  .prayer-item span {
    font-size: 10px;
  }

  .prayer-item strong {
    font-size: 12px;
  }

  .hijri-date {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
  }
}

/* WAKTU SALAT BERIKUTNYA */
.prayer-item.active {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 4px;
}

.prayer-item.active span {
  opacity: 1;
  color: #dce5e9;
}

.prayer-item.active strong {
  color: #ffffff;
}

/* ACTIVITY SECTION */
.activity-section {
  padding: 75px 60px;
  background-color: #f7f8f6;
}

.activity-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.activity-card {
  background-color: #ffffff;
  border: 1px solid #e8ecee;
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s;
}

.activity-info {
  padding: 25px;
}

.activity-category {
  display: inline-block;
  padding: 7px 14px;
  margin-bottom: 15px;
  background-color: #dce5e9;
  color: #617c8a;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.activity-info h3 {
  color: #354b63;
  font-size: 18px;
  margin-bottom: 18px;
}

.activity-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7c87;
  font-size: 14px;
  margin-bottom: 12px;
}

.activity-info p i {
  width: 16px;
  height: 16px;
  color: #617c8a;
}

.activity-info a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #617c8a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.activity-info a i {
  width: 16px;
  height: 16px;
}

.activity-info a:hover {
  color: #354b63;
  gap: 12px;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(53, 75, 99, 0.08);
  border-color: #c5d4db;
}

/* RESPONSIVE ACTIVITY */
@media (max-width: 900px) {
  .activity-section {
    padding: 60px 35px;
  }

  .activity-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .activity-section {
    padding: 50px 22px;
  }

  .activity-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ACTIVITY MODAL */
.activity-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(25, 38, 48, 0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.activity-modal.show {
  display: flex;
}

.activity-modal-content {
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  overflow-y: auto;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  animation: modalFade 0.3s ease;
}

.activity-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  border-bottom: 1px solid #e8ecee;
}

.activity-modal-header h2 {
  color: #354b63;
  font-size: 22px;
}

.modal-close {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background-color: #dce5e9;
  color: #354b63;
  cursor: pointer;
  transition: 0.3s;
}

.modal-close:hover {
  background-color: #617c8a;
  color: #ffffff;
}

.modal-close i {
  width: 20px;
  height: 20px;
}

.activity-modal-body {
  padding: 25px;
  color: #536675;
  line-height: 1.7;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE MODAL */
@media (max-width: 600px) {
  .activity-modal {
    padding: 12px;
  }

  .activity-modal-content {
    max-height: 90vh;
  }

  .activity-modal-header {
    padding: 18px;
  }

  .activity-modal-header h2 {
    font-size: 18px;
  }

  .activity-modal-body {
    padding: 18px;
  }
}

/* MODAL EVENT */
.modal-event {
  padding: 20px;
  margin-bottom: 18px;
  background-color: #f7f8f6;
  border: 1px solid #e8ecee;
  border-radius: 12px;
}

.modal-event:last-child {
  margin-bottom: 0;
}

.modal-event h3 {
  color: #354b63;
  font-size: 17px;
  margin-bottom: 15px;
}

.modal-event p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #6b7c87;
  font-size: 14px;
  margin-bottom: 10px;
}

.modal-event p:last-child {
  margin-bottom: 0;
}

.modal-event p i {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #617c8a;
  margin-top: 3px;
}

/* mengunci scroll halaman */
body.modal-open {
  overflow: hidden;
}

/* ACTIVITY SEARCH */
.activity-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 22px;
  background-color: #f7f8f6;
  border: 1px solid #e8ecee;
  border-radius: 10px;
}

.activity-search i {
  width: 19px;
  height: 19px;
  color: #617c8a;
  flex-shrink: 0;
}

.activity-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #354b63;
  font-size: 14px;
}

.activity-search input::placeholder {
  color: #9aa6ad;
}

/* ACTIVITY EMPTY MESSAGE */
.activity-empty {
  padding: 25px 10px;
  color: #6b7c87;
  font-size: 14px;
  text-align: center;
}

/* FOOTER */
.footer {
  background-color: #354b63;
  color: #ffffff;
  padding: 55px 60px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
}

/* Identitas Website */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo i {
  font-size: 30px;
  color: #dce5e9;
}

.footer-logo h2 {
  font-size: 21px;
}

.footer-brand p {
  max-width: 350px;
  color: #dce5e9;
  font-size: 14px;
  line-height: 1.8;
}

/* Navigasi dan Informasi */
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 16px;
  margin-bottom: 7px;
}

.footer-links a {
  color: #dce5e9;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce5e9;
  font-size: 14px;
}

.footer-contact p i {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Copyright */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #dce5e9;
  font-size: 13px;
}

/* RESPONSIVE FOOTER */
@media (max-width: 900px) {
  .footer {
    padding: 50px 35px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 40px 22px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* PESAN MASJID TIDAK DITEMUKAN */
.mosque-empty {
  display: none;
  padding: 30px 15px;
  color: #6b7c87;
  font-size: 15px;
  text-align: center;
}

/* MOSQUE DETAIL MODAL */
.mosque-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(25, 38, 48, 0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.mosque-modal.show {
  display: flex;
}

.mosque-modal-content {
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  animation: modalFade 0.3s ease;
}

/* Header */
.mosque-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 22px 25px;
  border-bottom: 1px solid #e8ecee;
}

.mosque-modal-header h2 {
  color: #354b63;
  font-size: 22px;
}

.mosque-modal-close {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background-color: #dce5e9;
  color: #354b63;
  cursor: pointer;
  transition: 0.3s;
}

.mosque-modal-close:hover {
  background-color: #617c8a;
  color: #ffffff;
}

.mosque-modal-close i {
  width: 20px;
  height: 20px;
}

/* Isi Pop-up */
.mosque-modal-body {
  padding: 25px;
  color: #536675;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 600px) {
  .mosque-modal {
    padding: 12px;
  }

  .mosque-modal-content {
    max-height: 90vh;
  }

  .mosque-modal-header {
    padding: 18px;
  }

  .mosque-modal-header h2 {
    font-size: 18px;
  }

  .mosque-modal-body {
    padding: 18px;
  }
}

/* MOSQUE DETAIL CONTENT */
.mosque-detail-content > p:first-child {
  color: #6b7c87;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Judul Informasi */
.mosque-detail-content h3 {
  color: #354b63;
  font-size: 17px;
  margin-bottom: 16px;
}

/* Informasi Masjid */
.mosque-detail-content > p {
  color: #536675;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.mosque-detail-content > p strong {
  color: #354b63;
}

/* Jarak sebelum bagian fasilitas */
.mosque-detail-content h3:not(:first-child) {
  margin-top: 28px;
}

/* Daftar Fasilitas */
.mosque-detail-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mosque-detail-facilities span {
  display: inline-block;
  padding: 9px 14px;
  background-color: #dce5e9;
  color: #354b63;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
}

/* MOSQUE LOCATION */
.mosque-location {
  padding: 18px;
  background-color: #f7f8f6;
  border: 1px solid #e8ecee;
  border-radius: 12px;
}

.mosque-location p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  color: #536675;
  font-size: 14px;
}

.mosque-location p i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #617c8a;
  margin-top: 3px;
}

.mosque-map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 17px;
  background-color: #354b63;
  color: #ffffff;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s;
}

.mosque-map-button:hover {
  background-color: #617c8a;
}

.mosque-map-button i {
  width: 17px;
  height: 17px;
}

/* MAP SECTION */
.map-section {
  padding: 75px 60px;
  background-color: #dce5e9;
}

/* Pembungkus Peta */
.map-container {
  width: 100%;
  height: 450px;
  overflow: hidden;
  border: 1px solid #e8ecee;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(53, 75, 99, 0.08);
}

/* Area Leaflet */
#mosque-map {
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .map-section {
    padding: 60px 35px;
  }
}

@media (max-width: 600px) {
  .map-section {
    padding: 50px 22px;
  }

  .map-container {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 25px;
    min-height: 550px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-image {
    width: 100%;
    opacity: 0.35;
  }

  .hero-image::after {
    background: linear-gradient(
      to right,
      #dce5e9 0%,
      rgba(220, 229, 233, 0.85) 65%,
      rgba(220, 229, 233, 0.4) 100%
    );
  }
}

@media (max-width: 480px) {
  .hero-widget {
    padding: 18px;
    border-radius: 18px;
  }

  .widget-top {
    gap: 8px;
  }

  .widget-clock h2 {
    font-size: 27px;
  }

  .widget-weather h3 {
    font-size: 19px;
  }

  .hadith-arabic {
    font-size: 21px;
  }
}
