/* Page Setup starts */

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;500;600;700&family=Poppins:wght@400;500;700&display=swap");
@font-face {
  font-family: "SC_SHARJAH";
  font-weight: 400;
  src: url(../fonts/SC_SHARJAH-REGULAR.ttf);
}

/* Variables */
:root {
  --white: #fff;
  --gray: #686767;
  --black: #3f3f3f;
  --alt-white: #f9f9f9;
  --light-gray: #cacaca;
  --dark-green: #002339;
  --light-green: #99c43a;
  --section-title-cl: #002f4d;
}

/* Utilities */
.section {
  padding-block: 80px;
}
.text-gray {
  color: var(--gray) !important;
}
.text-black {
  color: var(--black) !important;
}
.fs-16-responsive {
  font-size: 16px !important;
  @media (max-width: 767px) {
    font-size: 10px !important;
  }
}
.fs-18-responsive {
  font-size: 18px !important;
  @media (max-width: 767px) {
    font-size: 12px !important;
  }
}
.fw-medium {
  font-weight: 500 !important;
}

/* Components */
.section-title {
  line-height: 1;
  font-size: 48px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  font-family: "SC_SHARJAH";
  color: var(--section-title-cl);
  text-shadow: -5px 5px 4px rgba(0, 0, 0, 0.15);
}
.rect-button {
  border: none;
  outline: none;
  width: 117px;
  height: 50px;
  border-radius: 5px;
  display: grid;
  place-content: center;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  font-family: "Poppins";
  color: var(--dark-green);
  background-color: var(--light-green);
  box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.44);
  will-change: opacity;
  transition: 0.3s opacity;
}
.rect-button-lg {
  width: 200px;
  @media (max-width: 575px) {
    margin-inline: auto;
    transform: scale(0.7) translateX(10px);
  }
}
.rect-button:hover {
  opacity: 0.8;
  color: unset;
}
.donation-acc-cell {
  color: #57585a;
  font-family: "Poppins", "Noto Sans Arabic";
}
.copy-btn {
  @media (max-width: 767px) {
    transform: scale(0.8) translateX(6px);
  }
}
.modal-close-btn {
  width: 24px;
  height: 24px;
  display: flex;
  border-radius: 8px;
  align-items: center;
  padding: 0 !important;
  background-color: #19191914;
  justify-content: center;
  &:is(:hover, :active, :focus-visible) {
    border: 1px solid #c7c7c7 !important;
    background-color: #19191914 !important;
  }
  svg {
    transform: scale(1.5);
  }
}

/* Base */
body {
  font-family: "Noto Sans Arabic", sans-serif;
  background: linear-gradient(to left, #eaeaea, #dbdbdb, #f2f2f2, #ada996);
  @media (max-width: 575px) {
    padding-top: 70px;
  }
}
::-webkit-input-placeholder {
  color: #cacaca !important;
}
::-moz-placeholder {
  color: #cacaca !important;
}
:-ms-input-placeholder {
  color: #cacaca !important;
}
::-ms-input-placeholder {
  color: #cacaca !important;
}
::placeholder {
  color: #cacaca !important;
}

/* Page Setup ends */

/* Hero starts */
.hero__header {
  transition: 0.3s background-color;
}
.hero__header .rect-button {
  height: 30px;
  padding: 14px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-family: "SC_SHARJAH";
}
@media (max-width: 575px) {
  .hero__header .rect-button {
    font-size: 16px;
  }
}
.hero__header__link {
  color: #eee;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  border-radius: 4px;
  text-decoration: none;
}
.hero__header__caption {
  row-gap: 20px;
  text-align: start;
  align-content: center;
  display: grid !important;
}
.hero__slider__caption__title {
  line-height: 1;
  text-align: center;
  font-family: "SC_SHARJAH";
  text-shadow: -5px 5px 4px rgba(0, 0, 0, 0.25);
}
@media (min-width: 576px) {
  .hero__slider__caption__title {
    text-align: start;
    font-size: 46px !important;
  }
}
@media (min-width: 768px) {
  .hero__slider__caption__title {
    font-size: 66px !important;
  }
}
@media (min-width: 992px) {
  .hero__slider__caption__title {
    font-size: 96px !important;
  }
}
.hero__slider__caption__desc {
  text-align: start;
  font-size: 20px;
}
/* animation */
.hero__slider__caption__title span,
.hero__slider__caption__desc {
  opacity: 0;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
.carousel-item.active .hero__slider__caption__title span,
.hero__slider__caption__desc {
  visibility: initial !important;
  -webkit-animation-name: fadeIn !important;
  animation-name: fadeIn !important;
}
.hero__slider__caption__desc {
  -webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
}
/* bootstrap carousel overrides */
.hero__slider .carousel-caption {
  left: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  right: initial;
}
.hero__slider .carousel-indicators {
  left: 50%;
  right: initial;
  transform: translateX(-50%);
  -moz-column-gap: 33px;
  column-gap: 33px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: 0;
}
.hero__slider .carousel-indicators > *:not(:first-child)::before {
  top: 50%;
  left: 100%;
  content: "";
  width: 33px;
  height: 3px;
  position: absolute;
  transform: translateY(-50%);
  background-color: var(--white);
}
.hero__slider .carousel-indicators > * {
  margin: 0;
  border: 0;
  opacity: 1;
  width: 21px;
  height: 21px;
  position: relative;
  border-radius: 50%;
  box-sizing: border-box;
  will-change: border-color, background-color;
}
.hero__slider .carousel-indicators > .active {
  background-color: transparent;
  border: 3px solid var(--white);
}
.hero__slider :is(.carousel-inner, .carousel-item, .carousel-caption) {
  height: 100%;
}
@media (min-width: 992px) {
  .hero__slider,
  .hero__slider :is(.carousel-inner, .carousel-item, .carousel-caption, img) {
    height: 700px;
  }
}
/* Hero ends */

/* Activities start */
.activities {
  --image-decoration-width: 70px;
}
.activities__card {
  width: 296px;
  height: 200px;
  padding: 30px 20px 22px;
  background-color: #fff;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
}
.activities__card__image {
  border: 2px solid var(--bs-border-color);
  border-bottom: transparent;
  max-height: var(--image-decoration-width);
  width: calc(var(--image-decoration-width) * 2);
  border-top-left-radius: var(--image-decoration-width);
  border-top-right-radius: var(--image-decoration-width);
}
/* Activities end */

/* Donation starts */
.donation__card {
  width: 100%;
  height: 245px;
  outline: none;
  min-width: 300px;
  border: solid 1px var(--white);
  background-color: var(--alt-white);
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 10%);
}
.donation__card:is(:hover, :focus-visible) {
  -webkit-animation-name: pulse;
  animation-name: pulse;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}
.donation__card__image {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.donation__modal__header {
  background-color: #f8f8f8;
}
.donation__modal__image {
  width: 72px;
  height: 72px;
  display: grid;
  padding: 10px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #c7c7c7;
}
.donation__modal__info {
  display: grid;
  row-gap: 8px;
}
@media (max-width: 575px) {
  .donation__modal__info {
    font-size: 14px !important;
  }
}
/* Donation ends */

/* Footer starts */
.footer {
  padding-block: 129px 47px;
  background-color: var(--section-title-cl);
}
.footer__form {
  left: 0;
  top: -210px;
  min-height: 183px;
  border-radius: 10px;
  padding: 24px 39px 28px 34px;
  background-color: var(--alt-white);
  box-shadow: -5px 5px 10px 0 rgba(0, 0, 0, 0.25);
}
@media (max-width: 575px) {
  .footer {
    margin-top: 200px !important;
  }
  .footer__form {
    top: -370px;
  }
}
.footer__form__title {
  color: var(--section-title-cl);
}
.footer__form ::-webkit-input-placeholder {
  opacity: 0.4;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
}
.footer__form ::-moz-placeholder {
  opacity: 0.4;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
}
.footer__form :-ms-input-placeholder {
  opacity: 0.4;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
}
.footer__form ::-ms-input-placeholder {
  opacity: 0.4;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
}
.footer__form ::placeholder {
  opacity: 0.4;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
}
.footer__form__inputs {
  gap: 10px;
}
.footer__contacts {
  row-gap: 16px;
}
/* Footer ends */

/* Hide Form */
.footer {
  padding-top: 47px;
}
.footer__form {
  display: none;
}
@media (max-width: 767px) {
  .footer {
    padding-top: 47px !important;
  }
}
@media (max-width: 575px) {
  .footer {
    margin-top: 0 !important;
  }
}

/* Donation Modal starts */

@media (min-width: 992px) {
  .donationModal .modal-dialog {
    width: 1000px;
  }
}
.donationModal__activities {
  --image-decoration-width: 35px;
}
.donationModal__title {
  font-size: 40px;
  text-shadow: none;
}
.donationModal__activities__card {
  width: 200px;
  height: 185px;
  position: relative;
}
.donationModal__activities__card .amountInput {
  display: none;
}
.donationModal__activities__card .methodInput {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}
.donationModal__activities__card:has(:checked) {
  height: 241px;
  color: #002e4c;
  box-shadow: 0 0 15px 0 var(--light-green);
  border: solid 4px rgba(153, 196, 58, 0.49);
}
.donationModal__activities__card:has(:checked) .amountInput {
  z-index: 999;
  display: block;
  position: relative;
}
/* Donation Modal ends */
