header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  border-bottom: solid 1px #eee;
}
header .nav-btn {
  display: none;
}
header .nav-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
  padding: 0 5rem;
}
header .nav-bar .brand a {
  padding-left: 0;
  color: #444;
  font-size: 2rem;
  font-weight: 700;
}
header .nav-bar .brand a span {
  color: rgb(0, 132, 255);
}
header .nav-bar nav a {
  color: #666;
  display: inline-block;
  padding: 0.3rem 0 0.3rem 0.5rem;
  font-size: 0.95rem;
  transition: all 0.3s ease-out;
}
header .nav-bar nav a:hover {
  color: #333;
  font-weight: 600;
  transform: scale(1.4);
}
header .nav-bar nav a.current {
  text-decoration: underline;
  transform: scale(1.1);
  color: #333;
  font-weight: 500;
}
header .nav-bar nav a:not(:last-child) {
  margin-right: 0.5rem;
  padding-right: 0.5rem;
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  color: #000;
  line-height: 1.05;
  padding: 4rem 0 3rem;
  position: relative;
  min-height: 100vh;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

.home {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  min-height: calc(100vh - 7rem);
  padding: 0 5rem;
  background: url(../media/1.jpeg);
  transition: all 0.3s ease-out;
  background-size: cover;
  background-repeat: no-repeat;
}
.home .write-up {
  width: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  padding: 1rem 2.5rem;
  margin-left: -2.5rem;
  line-height: 1.2;
}
.home .write-up h1 {
  font-size: 3.3rem;
  font-weight: 600;
  color: #222;
  text-shadow: 1px 1px 3px rgba(119, 119, 119, 0.1);
}
.home .write-up h1 span {
  font-weight: 200;
  font-size: 2.8rem;
}

.about {
  background: url(/dist/media/3.jpeg);
  min-height: calc(100vh - 7rem);
  position: relative;
  padding: 3rem 5rem;
}
.about::after {
  content: " ";
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  top: 3rem;
  bottom: 3rem;
  left: 5rem;
  right: 5rem;
  border-radius: 5px;
}
.about .content {
  position: relative;
  z-index: 100;
  padding: 4rem 7rem;
}
.about .content .title {
  text-align: center;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.about .content .definition {
  text-align: left;
  text-transform: initial;
  margin: 0.75rem auto;
}
.about .content .statements {
  margin-top: 4rem;
  display: grid;
  gap: 0 2rem;
  grid-template-columns: 1fr 1fr 1fr;
}
.about .content .statements .vision,
.about .content .statements .mission,
.about .content .statements .values {
  border: solid 1px gray;
  border-radius: 5px;
  padding: 1.5rem;
  background: lightgrey;
  box-shadow: -1px 2px 5px lightgrey;
}
.about .content .statements h3 {
  margin-bottom: 1rem;
  text-transform: capitalize;
  font-size: 1.5rem;
  font-weight: 600;
}

.services {
  position: relative;
  min-height: calc(100vh - 7rem);
  background: url(/dist/media/2.jpeg);
}
.services .banner {
  width: 100%;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.services .banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(139, 139, 139);
  mix-blend-mode: multiply;
  z-index: 0;
}
.services .banner h1 {
  color: white;
  position: relative;
  z-index: 10;
  font-weight: 600;
  font-size: 2rem;
}
.services .statements {
  background: rgba(255, 255, 255, 0.9);
  padding: 4rem;
  display: grid;
  gap: 0 2rem;
  grid-template-columns: 1fr 1fr 1fr;
}
.services .statements .vision,
.services .statements .mission,
.services .statements .values {
  border: solid 1px gray;
  border-radius: 5px;
  padding: 1.5rem;
  background: lightgrey;
  box-shadow: -1px 2px 5px lightgrey;
}
.services .statements h3 {
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.contact #map {
  height: 250px;
  /* The height is 400 pixels */
  width: 100%;
  /* The width is the width of the web page */
  margin: 0rem 0 3rem;
  background: url(/dist/media/map.png) center;
  background-size: cover;
}
.contact .contact-details {
  padding: 0 5rem;
  text-align: center;
  line-height: 1.5;
  font-size: 1.2rem;
}
.contact .contact-details h1 {
  margin: 5rem 0 2rem;
}
.contact .contact-details p {
  border: 2px solid #ddd;
  border-radius: 5px;
  padding: 0.5rem 2rem;
  margin: 0 auto 1rem;
  width: 50%;
  background-color: palegoldenrod;
  box-shadow: 2px 2px 3px gray;
}
.contact .contact-details span {
  font-weight: 700;
  font-size: 1.5rem;
  display: inline-block;
}

footer {
  position: fixed;
  width: 100%;
  height: 3rem;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 0 5rem;
  border-top: solid 1px #eee;
  z-index: 1000;
}
footer p {
  font-size: 0.85rem;
  color: #666;
}
footer .socials i {
  padding: 0.4rem;
  color: #666;
  transition: all 0.3s ease-out;
}
footer .socials i:last-child {
  padding-right: 0;
}
footer .socials i:hover {
  color: #000;
  transform: scale(1.5);
}

@media screen and (max-width: 821px) {
  .home .write-up {
    width: 60%;
  }
  .home .write-up h1 {
    font-size: 2rem;
  }
  .home .write-up h1 span {
    font-size: 2rem;
  }
  .about {
    padding: 3rem;
    font-size: 0.9rem;
  }
  .about::after {
    left: 2rem;
    right: 2rem;
  }
  .about .content {
    padding: 2rem;
  }
  .about .content .title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  .about .content .statements {
    margin: 2rem 0;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
  }
  .about .content .statements .vision,
  .about .content .statements .mission,
  .about .content .statements .values {
    padding: 1.2rem;
  }
  .about .content .statements h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
  }
  .services .statements {
    padding: 2.5rem;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    font-size: 0.9rem;
  }
  .contact {
    padding-bottom: 3rem;
  }
  .contact #map {
    margin: 0rem 0 2rem;
  }
  .contact .contact-details {
    padding: 0 2rem;
    font-size: 1rem;
  }
  .contact .contact-details h1 {
    margin: 3rem 0 2rem;
  }
  .contact .contact-details p {
    padding: 0.5rem 2rem;
    margin: 0 auto 1rem;
    width: 60%;
  }
  .contact .contact-details span {
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
  }
  header .nav-bar nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    z-index: 500;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.5s;
  }
  header .nav-bar nav a {
    font-size: 1.5rem;
  }
  header .nav-bar nav a:not(:last-child) {
    margin-right: 0;
    padding-right: 0;
  }
  header .nav-bar nav.show {
    right: 0;
  }
  header .nav-btn {
    position: absolute;
    top: 0.75rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: none;
    background: center/32px no-repeat url(/dist/media/menu.png);
    z-index: 1000;
    display: block;
    cursor: pointer;
  }
  header .nav-btn.close {
    background: center/20px no-repeat url(/dist/media/close.png);
  }
}
@media screen and (max-width: 500px) {
  header .nav-bar {
    padding: 0.5rem 1.5rem;
  }
  .home {
    padding-left: 2rem;
    padding-right: 2rem;
    background-position: right -20rem center;
  }
  .home .write-up {
    padding: 1.5rem;
    width: 75%;
  }
  .home .write-up h1 {
    font-size: 1.75rem;
  }
  .home .write-up h1 span {
    font-size: 1.75rem;
  }
  .about {
    padding: 3rem 1.5rem;
    font-size: 0.9rem;
  }
  .about .content .title {
    font-size: 1.5rem;
  }
  .about .content .statements {
    margin: 2.5rem 0;
    grid-template-columns: 1fr;
  }
  .services .statements {
    padding: 4rem;
    grid-template-columns: 1fr;
  }
  .contact #map {
    height: 200px;
  }
  .contact .contact-details {
    padding: 0 2rem;
    font-size: 1rem;
  }
  .contact .contact-details h1 {
    margin: 2rem;
    font-size: 1.75rem;
  }
  .contact .contact-details p {
    padding: 0.5rem 3rem;
    margin: 0 auto 1.5rem;
    width: 70%;
  }
  .contact .contact-details span {
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
  }
  header .nav-bar nav a {
    margin: 0.3rem 0;
  }
  footer {
    padding: 0 1.5rem;
  }
}