* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background-color: #2c2c2c;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
  margin: 0;
  color: #f5f5f5;
}

.navbar {
  background-color: #1b263b;
  color: #e0e0e0;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 5000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.left-section {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-direction: row;
}

.left-section a,
.left-section h3 {
  color: #e0e0e0;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 1px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.left-section a:hover,
.left-section h3:hover {
  color: #9b59b6;
}

.left-section i,
.left-section span {
  color:white;
  font-size: 18px;
}

.save-btns {
  background-color: #2c3e50;
  color: #e0e0e0;
  padding: 8px 15px;
  border-radius: 7px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
}

.save-btns:hover {
  background-color: #3a4a6b;
}

.left-section button {
  background-color: #9b59b6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.left-section button:hover {
  background-color: #8e44ad;
}

.center-section a {
  text-decoration: none;
  color: #e0e0e0;
  margin: 0 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.center-section a:hover {
  color: #9b59b6;
}

.right-section {
  display: flex;
  gap: 15px;
  align-items: center;
}

.right-section h3 {
  color: #9b59b6;
  font-size: 28px;
  font-weight: 800;
}

.right-section p {
  color: #d1d1d1;
  font-weight: 500;
  opacity: 0.8;
}

.right-section .material-symbols-outlined {
  background-color: #9b59b6;
  color: white;
  padding: 10px;
  border-radius: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #9b59b6;
}

@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;
    gap: 10px;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
input.search-input {
  width: 300px;
  padding: 12px 20px;
  border-radius: 30px;
  border: 2px solid #3a4a6b;
  background-color: #2c3e50;
  color: #f0f0f0;
  font-size: 16px;
  transition: all 0.3s ease;
}

input.search-input::placeholder {
  color: #a0b0d0;
  opacity: 1;
  font-style: italic;
}

input.search-input:focus {
  outline: none;
  border-color: #5dade2;
  box-shadow: 0 0 10px #5dade2;
  background-color: #34495e;
}
.fa-house{
    z-index: 5000;
}
.full-screen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background-color: rgba(31, 94, 67, 0.92); 
  backdrop-filter: blur(4px);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}
.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);
}

.details-box.dark .back-btn {
  background-color: #66bb6a;
  color: #fff;
}

.details-box.dark .back-btn:hover {
  background-color: #52a05a;
}
.div{
position: absolute;
top: 0px;
}
body.Puritylight{
  background-color: white;
}
body.Puritydark{
  background-color: #2c2c2c;
}
body.Puritylight .change{
background-color: white;
}

body.Puritydark .change{
  background-color: #2c2c2c;
}
body.Puritylight .changed{
  color: black;
}
section i:hover{
  cursor: pointer;
}