/* Remove default body and html margin/padding */
html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif; /* Ensures consistent font */
}

.nav {
  background-color: #333;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 65px; /* Set fixed height */
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-shadow: 0px 10px 5px rgba(41, 36, 72, 0.418);
}

.nav h1 {
  font-size: 40px;
  color: rgba(240, 240, 240, 0.8);
  font-family: "Roboto Slab", serif;
  padding-left: 30px;
  line-height: 1;           /* Prevents extra vertical spacing */
  margin: 0;                /* Remove default margin */
}

.nav-links {
  display: flex;
  align-items: center;
  height: 100%;             /* So children align to nav bar height */
}

.nav-links a {
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
  padding: 17px 25px;
  font-size: 20px;
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  height: 100%;             /* Match parent height */
  display: flex;
  align-items: center;
}

/* Change the color of links on hover */
.nav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.nav a.active {
  background-color: #478316;
  color: white;
}

  /* Header font */

.roboto-slab {
  font-family: "Roboto Slab", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Body font */

.tajawal-light {
  font-family: "Tajawal", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.tajawal-regular {
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.tajawal-bold {
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  font-style: normal;
}


  h2 span {
    position: relative;
    z-index: 1;
  }
  
  h2 span::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px;
    right: -15px;
    background-color: #478316;
    transform: skew(-15deg);
    z-index: -1;
  }

  h2 {
    font-family: "Roboto Slab";
  }

  body {
    margin: 0;
    background-color: #f4f4f4;
  }

  .donors-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
}

.donors-content {
    width: 80%;
}

p {
  font-family: "Tajawal", sans-serif;
  font-size: 20px;
}


/* Title Styling */

.donation-title {
    color: white;
    font-size: 3em;
    font-weight: bold; 
}

.donation-text {
    background: rgba(190, 190, 190, 0.8);
    padding: 25px;
    font-size: 1.2em;
    line-height: 1.6;
    width: 70%;
    border-radius: 10px;
}

.questions-title {
    color: white;
    font-size: 3em;
    font-weight: bold;
}

.questions-text {
    background: rgba(190, 190, 190, 0.8);
    padding: 25px;
    font-size: 1.2em;
    line-height: 1.6;
    width: 70%;
    border-radius: 10px;
}

.process-section {
    padding-top: 50px;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.process-content {
    background: #195688;
    padding: 35px;
    border-radius: 10px;
    color: white;
}

.process-title {
    font-size: 2.5em;
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
}

.process-text {
    font-size: 1.2em;
    line-height: 1.6;
}

img {
  max-width: 550px;
}



  footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(221, 221, 221, 0.8);
  }
  
  footer img {
    padding: 10px;
    max-width: 25%;
  }

  @media screen and (max-width: 768px) {
    .nav {
      flex-direction: column;
      height: auto;
      padding-bottom: 10px;
    }
  
    .nav h1 {
      font-size: 32px;
      padding-left: 0;
      padding-top: 10px;
      text-align: center;
    }
  
    .nav-container {
      flex-direction: column;
      align-items: center;
    }
  
    .nav-links {
      flex-wrap: wrap;
      justify-content: center;
      width: 100%;
    }
  
    .nav-links a {
      padding: 12px 15px;
      font-size: 18px;
      height: auto;
    }
  
    .donors-container {
      flex-direction: column;
      align-items: center;
      padding: 30px 15px;
    }
  
    .donors-content,
    .donation-text,
    .questions-text,
    .process-section {
      width: 90%;
      font-size: 20px;
    }

    .process-text {
      font-size: 20px;
    }
  
    .donation-text,
    .questions-text,
    .process-content {
      padding: 20px;
      gap: 30px;
      padding-top: 30px;
    }
  
    .donation-title,
    .questions-title,
    .process-title {
      font-size: 25px;
      text-align: center;
    }
  
    .process-section {
      gap: 30px;
      padding-top: 30px;
    }

    img {
      max-width: 350px;
    }

    footer {
      display: flex;
      flex-direction: column;  
      justify-content: center;
      align-items: center;
      padding: 20px;
      background: rgba(221, 221, 221, 0.8);
      text-align: center;
    }
    
    footer img {
      margin-top: 10px;
      max-width: 80%; 
      height: auto;
    }

  }
  
  