*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
@media only screen and (max-width: 56.25em) {
  html {
    font-size: 56.25%;
  }
}
@media only screen and (max-width: 37.5em) {
  html {
    font-size: 50%;
  }
}

body {
  overflow-x: hidden;
  font-family: "IBM Plex Sans Arabic", serif;
  direction: rtl;
  color: #295A40;
}

.main--page {
  background: linear-gradient(135deg, #c6f3e4 0%, #f1e7c1 100%);
  background-attachment: fixed;
}

.main--page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/noise.png");
  opacity: 0.03;
  pointer-events: none;
}
.main--page::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
  background-repeat: repeat;
  opacity: 0.02;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
  padding-left: 0;
}

input, button, select, textarea, input::placeholder {
  font-family: inherit;
}

iframe {
  max-width: 100% !important;
}

h1, h2, h3, h4, h5 {
  font-family: "Fustat", serif;
}

.container {
  max-width: 800px;
  padding-inline: 3rem;
  margin-inline: auto;
}

.lang-en {
  direction: ltr;
}

.lang-ar {
  direction: rtl;
}

.header {
  padding-block: 2rem;
}
.header__lang {
  width: max-content;
  margin-inline: auto;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header__lang--text {
  font-size: 1.4rem;
  font-weight: bold;
}
.header__lang--select select {
  padding: 1rem;
  border: 2px solid #295A40;
}
.header__logo--box {
  padding-bottom: 3rem;
}
.header__menu--box {
  display: flex;
  justify-content: center;
  background-color: rgba(255, 245, 225, 0.7);
}
.header__menu {
  display: flex;
  gap: 2rem;
}
@media only screen and (max-width: 37.5em) {
  .header__menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }
}
.header__menu--link {
  display: block;
  padding: 2rem;
  color: #295A40;
  font-weight: bold;
  font-size: 2rem;
}
.header__menu--link:hover {
  background-color: #D4AF37;
}

.box-shape {
  border: 2px solid #295A40;
  outline: 2px solid #D4AF37;
  border-radius: 20px;
}

.title {
  padding-bottom: 3rem;
}
.title__box {
  background-color: #295A40;
  padding: 3rem;
  text-align: center;
}
.title__text {
  font-size: 4rem;
  text-shadow: 2px 2px #D4AF37;
  font-weight: 900;
  color: #FFF5E1;
}

.intro {
  padding-bottom: 3rem;
}
.intro__title {
  font-size: 8rem;
  text-shadow: 4px 4px #D4AF37;
}
.intro__img--box {
  overflow: hidden;
  border-radius: 6px;
}

.cta {
  padding-bottom: 3rem;
}
.cta__box {
  background-color: rgba(248, 248, 242, 0.7);
  padding: 3rem;
  text-align: center;
}
.cta__title {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: #295A40;
  font-weight: 900;
  text-shadow: 2px 2px #D4AF37;
}
.cta__text {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.about {
  padding-bottom: 3rem;
}
.about__box {
  background-color: rgba(248, 248, 242, 0.7);
  padding: 3rem;
  text-align: center;
}
.about__title {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: #295A40;
  font-weight: 900;
  text-shadow: 2px 2px #D4AF37;
}
.about__text {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.goal {
  padding-bottom: 3rem;
}
.goal__box {
  padding: 3rem;
  background-color: rgba(255, 245, 225, 0.7);
}
.goal__title {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: #295A40;
  font-weight: 900;
  text-shadow: 2px 2px #D4AF37;
  text-align: center;
  margin-bottom: 4rem;
}
.goal__list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.goal__list--item {
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media only screen and (max-width: 37.5em) {
  .goal__list--item {
    align-items: flex-start;
  }
}
.goal__img {
  width: 3rem;
}
@media only screen and (max-width: 37.5em) {
  .goal__img {
    padding-top: 1rem;
  }
}
.goal__text {
  font-size: 2.4rem;
}

.donate {
  padding-bottom: 3rem;
}
.donate__box {
  padding: 3rem;
  background-color: rgba(255, 245, 225, 0.7);
}
.donate__title {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: #295A40;
  font-weight: 900;
  text-shadow: 2px 2px #D4AF37;
  text-align: center;
  margin-bottom: 4rem;
}
.donate__title--sub {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.donate__list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 4rem;
}
.donate__list--item {
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media only screen and (max-width: 37.5em) {
  .donate__list--item {
    align-items: flex-start;
  }
}
.donate__img {
  width: 3rem;
}
@media only screen and (max-width: 37.5em) {
  .donate__img {
    padding-top: 1rem;
  }
}
.donate__text {
  font-size: 2.4rem;
}
.donate__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stats {
  padding-bottom: 3rem;
}
.stats__box {
  padding: 3rem;
  background-color: rgba(255, 245, 225, 0.7);
}
.stats__title {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: #295A40;
  font-weight: 900;
  text-shadow: 2px 2px #D4AF37;
  text-align: center;
  margin-bottom: 2rem;
}
.stats__text {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #295A40;
  text-align: center;
  margin-bottom: 4rem;
}
.stats__grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.stats__progress, .stats__donations {
  background-color: rgba(248, 248, 242, 0.7);
}
.stats__progress--head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #295A40;
}
@media only screen and (max-width: 37.5em) {
  .stats__progress--head {
    flex-direction: column;
  }
}
.stats__progress--box {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}
.stats__progress--box:not(:last-child) {
  padding-inline-end: 2rem;
  border-inline-end: 2px solid #295A40;
}
@media only screen and (max-width: 37.5em) {
  .stats__progress--box {
    flex: 1;
    width: 100%;
    border-inline-end: 2px solid #295A40;
    border-inline-start: 2px solid #295A40;
  }
  .stats__progress--box:not(:last-child) {
    border-block-end: 2px solid #295A40;
  }
}
.stats__progress--box--title {
  font-size: 2rem;
  color: #295A40;
  font-weight: 900;
  text-shadow: 1px 1px #D4AF37;
}
@media only screen and (max-width: 37.5em) {
  .stats__progress--box--title {
    font-size: 2.2rem;
  }
}
.stats__progress--box--text {
  font-size: 2.2rem;
  font-weight: 900;
}
.stats__progress--box--text--highlight {
  background-color: #D4AF37;
  color: #295A40;
}
.stats__donations {
  height: 50rem;
  overflow-y: scroll;
}
.stats__donations::-webkit-scrollbar {
  width: 4px;
}
.stats__donations::-webkit-scrollbar-track {
  background: rgba(41, 90, 64, 0.4);
  border-radius: 10px;
}
.stats__donations::-webkit-scrollbar-thumb {
  background: rgba(41, 90, 64, 0.7);
  border-radius: 10px;
  border: 2px solid #295A40;
}
.stats__donations::-webkit-scrollbar-thumb:hover {
  background: #e5c27a;
}
.stats__donation--empty {
  height: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stats__donation--empty-text {
  font-size: 2rem;
  color: #295A40;
  font-weight: 900;
  text-shadow: 1px 1px #D4AF37;
}
.stats__donation--title {
  font-size: 2rem;
  color: #295A40;
  font-weight: 900;
  text-shadow: 2px 2px #D4AF37;
}
.stats__donation {
  border-bottom: 1px solid #295A40;
  padding: 2rem;
}
.stats__donation--details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.stats__donation--name {
  font-weight: 600;
  font-size: 1.8rem;
}
.stats__donation--amount {
  font-weight: 900;
  font-size: 2rem;
}
.stats__donation--date {
  text-align: left;
  font-size: 1.3rem;
  font-weight: 500;
  opacity: 0.7;
}

.footer {
  padding: 3rem;
  background-color: #295A40;
  text-align: center;
}
.footer__text {
  color: #F8F8F2;
}

.btn-primary {
  position: relative;
  display: block;
  margin-inline: auto;
  width: 30rem;
  padding-block: 1.5rem;
  background-color: #295A40;
  color: #D4AF37;
  font-size: 2.2rem;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
}
.btn-primary:hover {
  background-color: #D4AF37;
  color: #295A40;
}
.btn-primary:hover .btn-primary__style {
  background-color: #295A40;
}
.btn-primary:hover::before {
  border-color: transparent #D4AF37 transparent transparent;
}
.btn-primary:hover::after {
  border-color: transparent transparent transparent #D4AF37;
}
.btn-primary::before, .btn-primary::after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-primary::before {
  border-color: transparent #295A40 transparent transparent;
  left: -24px;
}
.btn-primary::after {
  border-color: transparent transparent transparent #295A40;
  right: -24px;
}
.btn-primary__style {
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  background-color: #FFF5E1;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-primary__style--1 {
  left: 0;
  top: 0;
}
.btn-primary__style--2 {
  top: 0;
  right: 0;
}
.btn-primary__style--3 {
  left: 0;
  bottom: 0;
}
.btn-primary__style--4 {
  right: 0;
  bottom: 0;
}

.menu__box {
  padding-inline: 4rem;
  padding-block: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e0e0e0;
}
@media only screen and (max-width: 37.5em) {
  .menu__box {
    flex-direction: column;
    gap: 2rem;
  }
}
.menu__title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #295A40;
}
.menu__list {
  display: flex;
  align-items: center;
}
.menu__link {
  display: block;
  padding: 1.2rem 3.2rem;
  font-size: 1.8rem;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.menu__link:hover {
  background-color: #295A40;
  color: #fff;
}
.menu__link--danger:hover {
  background-color: #D4AF37;
}

.panel {
  padding-inline: 4rem;
}
.panel > div {
  padding-block: 4rem;
}
.panel__quick--links--boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 4rem;
}
.panel__quick--links--box {
  display: inline-block;
  border-radius: 12px;
  background-color: #FFF5E1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  border: 1px solid transparent;
  outline: 1px solid transparent;
}
.panel__quick--links--box:hover {
  border: 1px solid #295A40;
  outline: 1px solid #295A40;
}
.panel__quick--links--box--icon {
  text-align: center;
}
.panel__quick--links--box--icon img {
  width: 8rem;
}
.panel__quick--links--box--text {
  font-size: 3rem;
  font-weight: 900;
}
.panel__quick--links--box--stat {
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #295A40;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel__quick--links--box--holder {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}
.panel__quick--links--box--title {
  font-size: 2rem;
  font-weight: 700;
}
.panel__quick--links--box--number {
  font-size: 3rem;
  font-weight: 800;
}

.add {
  padding-inline: 4rem;
  padding-block: 4rem;
}
.add__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4rem;
}
.add__form {
  max-width: 70%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media only screen and (max-width: 37.5em) {
  .add__form {
    max-width: 100%;
  }
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form__label {
  font-size: 2rem;
  font-weight: 600;
}
.form__input {
  padding: 1.5rem;
  border-radius: 4px;
  font-size: 1.8rem;
  border: 1px solid #295A40;
  outline: 1px solid #295A40;
  color: #295A40;
}
.form__input:focus {
  border: 1px solid #D4AF37;
  outline: 1px solid #D4AF37;
}
.form__submit {
  width: 100%;
  display: block;
  padding: 1.5rem;
  font-size: 2rem;
  font-weight: 900;
  background-color: #D4AF37;
  color: #295A40;
  border-radius: 100px;
  border: 1px solid #295A40;
  cursor: pointer;
}
.form__submit:hover {
  background-color: #295A40;
  color: #D4AF37;
}
.form__checkbox {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.form__checkbox--label {
  font-size: 1.6rem;
}
.form__checkbox--input {
  transform: scale(2);
}
@media only screen and (max-width: 37.5em) {
  .form__checkbox--input {
    transform: scale(1.4);
  }
}

.msg {
  position: fixed;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #D4AF37;
  color: #295A40;
  font-weight: 900;
  font-size: 2rem;
  width: 400px;
  z-index: 10;
}
.msg__box {
  width: 100%;
  padding: 1rem;
  border: 1px solid #295A40;
  outline: 1px solid #295A40;
  text-align: center;
  box-shadow: 0 0 2rem #295A40;
}

.view {
  padding-inline: 4rem;
  padding-block: 4rem;
}
.view__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4rem;
}
.view__table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}
.view__table tr th {
  background-color: #FFF5E1;
  color: #295A40;
  font-size: 2rem;
  font-weight: 900;
  border: 1px solid #295A40;
  padding: 2rem;
}
.view__table tr td {
  border: 1px solid #295A40;
  text-align: center;
  padding: 1.5rem;
  font-size: 1.8rem;
}
.view__msg {
  font-size: 2rem;
}
.view__table--actions span {
  opacity: 0.6;
  font-size: 1.4rem;
}
.view__table--actions a {
  font-weight: 600;
  text-decoration: 2px solid underline;
  text-underline-offset: 4px;
  color: #295A40;
}
.view__table--actions a:hover {
  text-decoration: none;
}
.view__table--actions a:first-child {
  margin-inline-end: 1rem;
}
.view__table--actions a:last-child {
  margin-inline-start: 1rem;
}

.popup {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
}
.popup__wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.3);
  width: 30%;
  padding: 4rem;
}
.popup__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4rem;
}
.popup__form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.popup__form--group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.popup__form--group label {
  font-size: 1.8rem;
  font-weight: 700;
}
.popup__form--group input {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  font-size: 2rem;
  font-weight: 600;
  border: 1px solid #295A40;
  outline: 1px solid #295A40;
}
.popup__form--group--button, .popup__form--group--button-danger {
  text-align: center;
  background-color: #295A40;
  color: #fff;
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  font-size: 1.8rem;
  font-weight: 500;
  border: 1px solid #295A40;
  outline: 1px solid #295A40;
  cursor: pointer;
}
.popup__form--group--button-danger {
  background-color: rgba(202, 11, 0, 0.1);
  border: 1px solid #CA0B00;
  outline: 1px solid #CA0B00;
  color: #CA0B00;
}
.popup__form--group--button-danger:hover {
  background-color: #CA0B00;
  color: #fff;
}

.popup.show {
  display: block;
}