/* 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";
  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, h3 {
    font-family: "Roboto Slab", serif;
  }

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


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

.about-content {
    width: 55%;
}

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

.staff-card {
    display: flex;
    align-items: center;
    background: rgba(190, 190, 190, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.staff-card img {
    width: 125px;
    height: 150px;
    background: gray;
    margin-right: 15px;
}

/* Title Styling */
.about-title {
    color: white;
    font-size: 2em;
    font-weight: bold;
}

.about-text {
    font-size: 20px;
    line-height: 1.6;
}

.available-title {
    color: white;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

.available-text {
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
    width: 60%;
    margin: auto;
    margin-bottom: 70px;
}


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;
    }
  
  .about-container {
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
  }

  .about-content,
  .staff-section {
    width: 100%;
  }

  .about-text,
  .available-text {
    line-height: 1.6;
    padding: 0 10px;
  }

  .available-text {
    width: 90%;
    margin-bottom: 40px;
  }

  .about-title,
  .available-title {
    font-size: 25px;
    text-align: center;
  }

  .staff-section {
    gap: 30px;
    padding-top: 30px;
  }

  .staff-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .staff-card img {
    margin: 0 0 15px 0;
  }

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

  }

 