/* 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;
}


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

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

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fff;
    text-align: center;
}

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

a {
  text-decoration: none;
  color: #40ACC7;
}

/* Main container */
.help-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Description at the top */
.help-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
    padding: 30px;
}

/* Map and Contact Section */
.map-contact {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    align-items: center;
}

.map-container {
    flex: 1;
    display: flex;
    justify-content: center;
}


/* Contact Box */
.contact-box {
    flex: 0.35;
    background: rgba(190, 190, 190, 0.8);
    padding: 20px;
    text-align: left;
    border-radius: 10px;
}

.contact-title {
    font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: white;
    margin-bottom: 10px;
}

/* Resources and Help Section */
.resources-help {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.resources, .help {
    width: 40%;
    text-align: center;
}

.resources h3, .help h3 {
    color: white;
    font-size: 2em;
    font-weight: bold;
}

p {
  font-family: "Tajawal", sans-serif;
    font-size: 1.2em;
    line-height: 1.6;
}


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;
    }
      
  .map-contact {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .map-container {
    width: 100%;
    justify-content: center;
  }

  .contact-box {
    width: 90%;
    text-align: center;
  }

  .resources-help {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .resources,
  .help {
    width: 90%;
  }

  .resources h3,
  .help h3 {
    font-size: 2em;
  }

  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;
  }

  }
  
