* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;

  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #524e55;
  overflow-x: hidden;
  background-color: #f1f1f1;
}

p,
ul {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 3.2rem;
}

/* ************************************** */
/* REUSABLE COMPONENTS */
/* ************************************** */

.container {
  max-width: 120rem;
  padding: 4.8rem 3.2rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  row-gap: 3.2rem;
  column-gap: 3.2rem;
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid--center--v {
  align-items: center;
}

.grid--2--cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3--cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4--cols {
  grid-template-columns: repeat(4, 1fr);
}

.heading-1 {
  font-family: "DM Serif Display", serif;
  color: #f1f1f1;
  text-align: center;
  margin-top: 30rem;
  font-size: 9.8rem;
  display: none;
}

.heading-2 {
  font-family: "DM Serif Display", serif;
  font-size: 4.4rem;
  margin-bottom: 2.4rem;
}

.heading-3 {
  color: #f1f1f1;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 400;
  margin-top: 2rem;
}

.heading-4 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 3.2rem;
}

.heading-footer {
  font-family: "DM Serif Display", serif;
  font-size: 2.4rem;
  margin-bottom: 2.4rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 4px;
  border: none;
  background-color: #f1f1f1;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.8rem;
  color: #524e55;
  transition: all 0.5s;
}

.btn:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.516);
}

.cta-btn {
  border: none;
  background-color: #ef7891;
  font-family: "Poppins", sans-serif;
  color: #f1f1f1;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 1.8rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.5s;
}

.cta-btn:hover {
  box-shadow: 0 0 10px #ef7891;
}

/* ************************************** */
/* HELPER CLASSES */
/* ************************************** */

.margin-bottom-large {
  margin-bottom: 12.8rem;
}

.margin-bottom-medium-large {
  margin-bottom: 6.4rem;
}

.margin-bottom-medium {
  margin-bottom: 3.2rem;
}

.z-index {
  z-index: 1000;
}

/* ************************************** */
/* MAIN NAVIGATION */
/* ************************************** */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f1f1f1;

  height: 9.6rem;
  max-width: 120rem;
  margin-top: 3.2rem;
}

.logo {
  height: 4.8rem;
}

.main-nav-list {
  list-style: none;
  font-size: 1.8rem;

  display: flex;
  align-items: center;

  gap: 3.2rem;
  margin-bottom: 0;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #524e55;
  font-weight: 500;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #ef7891;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  color: #ef7891;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  color: #bf6074;
}

/* ************************************** */
/* MOBILE */
/* ************************************** */

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 2rem;
}

.icon-mobile-nav[name="close-icon"] {
  display: none;
}

/* ************************************** */
/* HERO */
/* ************************************** */

.hero-bg {
  background-image: url("../img/hero-bg.webp");
  background-position: center;
  background-repeat: none;
}

.hero {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 4.8rem;
  height: 90vh;

  display: flex;
  flex-direction: column;
}

.hero-header {
  margin-top: 30rem;
}

.hero-header-mobile {
  display: none;
}

/* ************************************** */
/* CALL TO ACTION BANNER */
/* ************************************** */

.call-to-action-banner {
  background-color: #ef7891;
  color: #f1f1f1;
}

.call-to-action {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-top {
  font-family: "DM Serif Display", serif;
  text-align: center;
  justify-content: space-evenly;
}

.cta-top-num {
  font-size: 8.6rem;
  margin: 0;
}

.cta-top-desc {
  font-size: 2.4rem;
  margin: 0;
}

.cta-description {
  text-align: center;
}

.btn-container {
  display: flex;
  flex-direction: column;
}

.cta-banner-btn {
  color: #524e55;
  background-color: #f1f1f1;
  padding: 1rem 2rem;
  border-radius: 4px;
  border: none;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.8rem;
}

/* ************************************** */
/* about us section */
/* ************************************** */

.about-container {
  grid-column: 2 / 4;
  margin-bottom: 0 !important;
}

.gallery {
  gap: 1rem;
}

.gallery-img-large-01 {
  grid-column: 4 / 5;
  grid-row: 1 / 3;
  justify-self: center;
}

.gallery-img-large-02 {
  grid-column: 1 / 2;
  grid-row: 2 / 4;
  justify-self: center;
}

.gallery-img {
  overflow: hidden;
  width: 100%;
  border-radius: 8px;

  transition: all 0.4s;
}

.gallery-img img:hover {
  transform: scale(1.02);
}

/* ************************************** */
/* PROGRAMS */
/* ************************************** */

.programs-bg {
  background-image: url("../img/programmes-bg.webp");
  background-position: center;
  height: 60vh;
}

.logo-wrapper {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 6rem;
}

.programs-logo {
  height: 4.8rem;
}

.programs-btn {
  color: #ef7891;
}

/* ************************************** */
/* DONATE */
/* ************************************** */

.donate-bg {
  background-image: url("../img/donate-bg.webp");
  background-position: center;
}

.donate-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.8rem;
}

.donate-heading-mobile {
  display: none;
}

/* ************************************** */
/* CONTACT FORM */
/* ************************************** */

.contact-container {
  background-color: #ffff;
  border-radius: 12px;
  box-shadow: 0px 0px 20px #524e5513;

  position: relative;
  margin-bottom: 0rem !important;
}

.form-col {
  grid-column: 2 / 3;
  display: flex;
  flex-direction: column;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
}

label {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  display: block;
}

input {
  display: block;
  border: none;
  background-color: #f1f1f1;
  padding: 1rem;
  border-radius: 8px;
}

.contact-img {
  position: absolute;
  left: 5%;
  top: -10%;
  height: 120%;
}

/* ************************************** */
/* FOOTER */
/* ************************************** */

.footer {
  background-color: #ef7891;

  color: #f1f1f1;

  height: 65rem;
}

.footer-wrapper {
  padding-top: 8rem;
}

.footer-logo {
  width: 20rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

footer p {
  font-size: 1.4rem;
  line-height: 1.5;
}

.address,
.footer-link:link,
.footer-link:visited {
  font-size: 1.4rem;
  line-height: 2;
  margin-bottom: 0;
  color: #f1f1f1;
  transition: all 0.3s;

  text-decoration: none;
}

.footer-link:hover,
.footer-link:active {
  font-size: 1.4rem;
  line-height: 2;
  color: #524e55;
}

.social-links {
  list-style: none;
  display: flex;
  flex-direction: row;

  gap: 2rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
  fill: #f1f1f1;
  transition: all 0.3s;
}

.social-icon:hover {
  fill: #524e55;
}
