* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background-color: #F5EFE6;
  overflow-x: hidden;
}

.navbar {
  background-color: black;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  font-weight: bold;
  box-shadow: 0 0 10px black;
  z-index: 5000;
}

.left-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-direction: row;
}

.left-section h1 {
  font-size: 24px;
}

.icon {
  font-size: 20px;
}

.center-section a {
  text-decoration: none;
  margin: 0 10px;
  transition: 0.3s;
  text-transform: capitalize;
  letter-spacing: 2px;
  font-weight: bold;
  opacity: 0.7;
  margin: 25px;
}

.center-section a:hover {
  color: rgba(0, 0, 0, 0.836);
}

.right-section {
  display: flex;
  gap: 10px;
  margin-right: 30px;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}


.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .center-section,
  .right-section {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .center-section.show,
  .right-section.show {
    display: flex;
  }

  .center-section a {
    margin: 10px 0;
  }

  .right-section {
    align-items: flex-start;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
}
}

.overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;

  background-color: rgba(31, 94, 67, 0.92); 
  backdrop-filter: blur(4px);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
  overflow-x: scroll;

}
.details-box {
  width: 90%;
  max-width: 650px;

  background-color: #f9f9f9;
  border-radius: 18px;

  padding: 24px;

  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 0 2px rgba(58, 143, 107, 0.15);

  animation: detailsFadeIn 0.35s ease-out;
}
@keyframes detailsFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.details-box .title::after {
  content: "";
  display: block;

  width: 70px;
  height: 4px;

  background-color: #3a8f6b;
  border-radius: 10px;

  margin: 10px auto 0;
}
.details-box .title {
  font-size: 26px;
  font-weight: 800;

  color: #2c2c2c;

  text-align: center;
  margin-bottom: 18px;

  position: relative;
}
.details-box .short-text {
  font-size: 18px;
  font-weight: 400;

  color: #666;

  text-align: center;
  line-height: 1.9;

  font-style: italic;
}
.details-title {
  font-size: 21px;
  font-weight: 700;
  color: #1e7f5c;

  padding-bottom: 6px;
  border-bottom: 2px solid #1e7f5c;

  margin-bottom: 18px;
}
.details-text {
  font-size: 19px;
  line-height: 2.1;

  color: #1f3d2b;

  border-right: 4px solid #3a8f6b;
  padding-right: 12px;

  margin-bottom: 20px;
  font-weight: bold;
}
.evidence-label {
  font-size: 18px;
  font-weight: 600;

  color: #1f5e43;

  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 4px;

  margin-bottom: 10px;
}
.evidence-quran {
  font-size: 19px;
  line-height: 1.9;
  color: #1f5e43;
  text-align: right;
  direction: rtl;
  padding: 8px 12px;
  border-right: 4px solid #3a8f6b;
  background-color: #f0fdf7;
  border-radius: 8px;
  margin-bottom: 12px;
}

.evidence-sunnah {
  font-size: 19px;
  line-height: 1.9;
  color: #2f855a;
  text-align: right;
  direction: rtl;
  padding: 8px 12px;
  border-right: 4px solid #66bb6a;
  background-color: #f3faf7;
  border-radius: 8px;
  margin-bottom: 12px;
}

.details-box.dark .evidence-quran {
  color: #81e6d9;
  background-color: #1e1e1e;
  border-color: #3a8f6b;
}

.details-box.dark .evidence-sunnah {
  color: #9ae6b4;
  background-color: #1e1e1e;
  border-color: #66bb6a;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background-color: #3a8f6b;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.back-btn:hover {
  background-color: #2f6f4e;
  transform: scale(1.03);
}

.back-btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
