/* General Styles */
:root {
  --primary-text: #000;
  --head-text: #14213d;
  --subhead-text: #000000b2;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
body {
  margin: 0;
  background-color: #fff;
  height: 100vh;
  max-width: 100%;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat';
  font-weight: 400;
  color: #fff;
  outline: none;
}
/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}
a {
  text-decoration: none;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

.bold {
  font-weight: 800;
}
.mid-bold {
  font-weight: 700;
}
.mid {
  font-weight: 600;
}
.light {
  font-weight: 500;
}
.lighter {
  font-weight: 400;
}
.center {
  text-align: center;
}

button {
  box-shadow: 0 5px 0 #31631a;
  color: #fff;
  cursor: pointer;
  font: inherit;
  margin: 0;
  outline: 0;
  transition: all 0.1s linear;
}
button:active {
  box-shadow: 0 2px 0 #31631a;
  transform: translateY(3px);
}
.about_us h1,
.benefits h1,
.team-header {
  color: #14213d;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2rem;
}

.about_us h3,
.benefits-subhead,
.team-subheader {
  color: #000000b2;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 31.69px;
  margin-bottom: 100px;
}

.js-scroll {
  opacity: 0;
  transition: opacity 500ms;
}

.js-scroll.scrolled {
  opacity: 1;
}

.scrolled.fade-in {
  animation: fade-in 1s ease-in-out both;
}

.scrolled.fade-in-bottom {
  animation: fade-in-bottom 1s ease-in-out both;
}

.scrolled.slide-left {
  animation: slide-in-left 1s ease-in-out both;
}

.scrolled.slide-right {
  animation: slide-in-right 1s ease-in-out both;
}

/* ----------------------------------------------
 * Generated by Animista on 2021-2-11 23:32:31
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(100px);
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* end of general styles */

/* header styles */
.parallax {
  background-image: url('../images/header.png');
  height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.overlay {
  background-color: #000;
  height: 100vh;
  position: absolute;
  z-index: 0;
  width: 100%;
  opacity: 0.9;
}
section {
  width: 100%;
  min-height: 500px;
}

.footer-pattern {
  position: relative;
  background-color: #14213d;
  background-image: linear-gradient(315deg, #14213d 0%, #14213d 74%);
}

.pattern::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: url('../images/wave3.png');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}
.logo {
  height: 120px;
  width: 150px;
}

.logo img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.head-h1 {
  font-weight: 700;
  font-size: 30px;
}

.contact-btn {
  padding: 0.7rem 1.5rem;
  background: #55a630;
  border: 1px solid #55a630;
  border-radius: 15px;
  cursor: pointer;
}
.contact-btn a {
  font-weight: 800;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  width: 95%;
  margin: 0 auto;
  background-color: transparent;
  color: #efefef;
  z-index: 1;
  left: 2%;
  padding-top: 1rem;
}

.nav__menucontainer {
  position: relative;
}

.nav__hamburger {
  color: inherit;
  min-width: 32px;
  min-height: 32px;
  transition: opacity 80ms linear;
  /* hiding the hamburger icon on large screen sizes */
  display: none;
  opacity: 0;
}

.nav__hamburgerclose {
  color: inherit;
  position: absolute;
  top: 0;
  min-width: 32px;
  min-height: 32px;
  transition: opacity 150ms linear;
  /*   hiding the close icon and... */
  display: none;
  opacity: 0;
  z-index: -1; /* pushing it behind the hamburger icon so that hamburger icon can be clicked */
}

.nav__menu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 3rem;
}

.nav__link {
  color: inherit;
  text-decoration: none;
  width: 100%;
}

.nav__link:hover,
.nav__link:focus-visible {
  box-shadow: 0 4px 0 -1px #fff;
}
.heading {
  position: absolute;
  top: 20%;
  left: 2%;
  width: min(75%, 500px);
  animation: head 1.5s ease-in;
}
@keyframes head {
  0% {
    top: -50%;
  }
}
.heading.top {
  top: 20%;
  left: max(30px, 3%);
}
.dots.second {
  position: absolute;
  top: 50%;
  right: 30px;
  z-index: 10;
}

.header-cards {
  position: absolute;
  bottom: 40px;
  left: 80px;
  z-index: 4;
  display: flex;
  gap: 2rem;
  padding: 0.5rem;
  animation: card 2s ease-in;
}
@keyframes card {
  0% {
    left: -20%;
  }
}

.completed-card span,
.satisfied-card span {
  display: flex;
  flex-direction: column;
  color: #000;
  margin-bottom: 0;
  font-size: 15px;
}
.completed-card,
.satisfied-card {
  border: 1px solid #fff;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 4px 4px 20px 0px #00000026;
  padding: 1rem 1.2rem;
}

.completed-card i,
.completed-card span,
.satisfied-card i,
.satisfied-card span {
  animation: complete 3s ease-in-out;
}
@keyframes complete {
  0% {
    color: #fff;
  }
  100% {
    display: #000;
  }
}
.far {
  color: #000;
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

/*--------- about_us ----------*/
.about_us {
  width: 80%;
  margin: 50px auto;
  text-align: center;
  padding-top: 100px;
}

.about_us img {
  float: left;
  width: 363px;
  height: 339px;
  left: 0px;
  border-radius: 30px;
  padding: 0 10px 0 0;
}
.about_us p {
  color: black;
  font-size: 14px;
  text-align: left;
  line-height: 20px;
  width: 90%;
  margin: 0 auto;
}
.learnmore-btn {
  padding: 0.7rem 1.5rem;
  background: #55a630;
  text-align: justify;
  border: 1px solid #55a630;
  border-radius: 15px;
  font-weight: 800;
  cursor: pointer;
}

.photo_with_text1 {
  display: flex;
  margin: 0 auto;
  align-items: center;
  margin: 4rem auto 0 auto;
}

.about-img {
  flex: 50%;
  position: relative;
  padding: 2.5rem 2.5rem;
}
.dot-4 {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  z-index: -2;
}
.dot-4 img,
.dot-5 img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.dot-5 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20%;
  z-index: -2;
}

.img-cont img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
}

.img-back {
  position: absolute;
  border-radius: 60px;
  z-index: -2;
  width: 75%;
  height: 75%;
  background: #14213d33;
  left: 0;
  bottom: 0;
}
.about-text {
  flex: 50%;
}

/* benefits */
.benefits {
  width: 80%;
  margin: 50px auto;
  text-align: center;
  padding-top: 100px;
  text-align: left;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}
.benefit-card {
  display: flex;
  width: 250px;
  flex-direction: column;
  background: #fff;
  box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 1rem 2rem 2rem 1rem;
  gap: 1rem;
  overflow-x: hidden;
  transition: 0.5s ease;
}
.benefit-card:hover {
  transform: scale(1.1);
}
.benefit-details > p {
  color: #14213d;
}
.benefit > h3 {
  font-size: 22px;
  line-height: 20px;
  color: #000000b2;
  height: fit-content;
  padding: 0.5rem 0;
}

/* meet the team */
.meet-team {
  position: relative;
  width: 80%;
  margin: 50px auto;
  text-align: center;
  padding-top: 100px;
}
.meet-team p {
  color: #000;
}
.dots.third {
  position: absolute;
  top: min(10%, 100px);
  left: 0;
  z-index: -1;
}
.dots.fourth {
  position: absolute;
  bottom: min(0, 100px);
  right: 0;
  z-index: -1;
}

.team-header {
  text-align: right;
}
.team-subheader {
  text-align: right;
}
.team {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 4rem;
  align-items: center;
}
.card {
  display: grid;
  position: relative;
  grid-template-columns: 250px;
  grid-template-rows: 250px 170px;
  border: 1px solid #e6e6e6;
  grid-template-areas: 'image' 'details';
  width: 250px;
  border-radius: 18px;
  background: white;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9);
  transition: 0.5s ease;
  cursor: pointer;
  overflow-x: hidden;
}

.card-image {
  grid-area: image;
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 18px;
}

.first-user {
  background: url('../images/ada.jpg') no-repeat -100px 0;
}

.card-overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;

  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 0.5s ease;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
.card:hover {
  transform: scale(1.1);
}
.card:hover .card-overlay {
  bottom: 0;
  height: 100%;
}
.second-user {
  background: url('../images/mofe.jpg') no-repeat;
}
.third-user {
  background: url('../images/emma.jpg') no-repeat 0 -50px;
}
.fourth-user {
  background: url('../images/sinner.jpg') no-repeat;
}
.fifth-user {
  background: url('../images/simeon.jpeg') no-repeat;
}
.sixth-user {
  background: url('../images/raymond.png') no-repeat 0 -50px;
}
.seventh-user {
  background: url('../images/dapo.jpg') no-repeat;
}
.eight-user {
  background: url('../images/patrick.jpeg') no-repeat 0 -120px;
}
.ninth-user {
  background: url('../images/tosin.jpeg') no-repeat;
}

.first-user,
.second-user,
.third-user,
.fourth-user,
.fifth-user,
.sixth-user,
.seventh-user,
.eight-user,
.ninth-user {
  width: 250px;
  aspect-ratio: 1/1;
  filter: grayscale(0);
  background-size: cover;
}
.name {
  color: #fff;
  position: absolute;
  bottom: 20px;
  left: 10px;
  z-index: 1;
}
.name h2 {
  font-size: 1.8rem;
  text-transform: uppercase;
  font-style: italic;
}
.name h4 {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-style: italic;
}
.card-details {
  grid-area: details;
  position: relative;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-details p {
  font-style: italic;
  font-size: 0.9rem;
}

.icon {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  top: -25px;
  right: 20px;
  display: grid;
  place-content: center;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9);
}
.user-bg{
  background-color: #55a630;
}
.user-text {
  color: #55a630;
}
/*
.red-bg,
.three {
  background-color: red;
}
.red-text {
  color: red;
}
.tomato-bg,
.one {
  background-color: tomato;
}
.tomato-text {
  color: tomato;
}
.teal-bg,
.four {
  background-color: teal;
}
.teal-text {
  color: teal;
} */

/* Project Requests */
.projects {
  width: 80%;
  margin: 50px auto;
  margin-top: 300px;
}

.projecttitles {
  text-align: center;
}

.projects h1 {
  color: #14213d;
  font-size: calc(60% + 1.1vmax);
  font-weight: 700;
  margin-bottom: 2rem;
}

.projects h3 {
  color: #000000b2;
  font-size: 28px;
  font-weight: 800;
  line-height: 31.69px;
  margin-bottom: 100px;
}

.contactinfocontainer input {
  width: 100%;
  background: #fff;
  line-height: 21px;
  letter-spacing: -0.03em;
  text-align: left;
  padding-left: 3rem;
}

.containercontent {
  padding: 3rem;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 30px;
}

.containercontent h3 {
  color: rgba(0, 0, 0, 0.6);
  font-size: calc(60% + 1.3vmax);
}
.containercontent h2 {
  font-style: normal;
  font-weight: bold;
  font-size: 21px;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.6);
}
.contactinputs {
  margin-top: -5rem;
  position: relative;
}
.generalparagraph {
  font-family: Roboto;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: -0.03em;
  text-align: left;
}
.username {
  display: flex;
  justify-content: space-between;
  gap: 5rem;
}
.firstname,
.lastname {
  flex: 50%;
}

input[type='text'],
input[type='tel'] {
  width: 100%;
  padding-left: 2rem;
  height: 98px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: 1.5px solid rgba(0, 0, 0, 0.5);
  box-shadow: 2px 2px 7px 2px rgba(85, 166, 48, 0.3);
  border-radius: 60px;
  cursor: text;
  background: #ffffff;
}

input[type='text']:focus {
  background-color: #ddd;
  outline: none;
}

.space {
  margin-bottom: 3rem;
  margin-top: 3rem;
}

.innerchoosebox {
  display: grid;
  place-content: center;
  grid-template-areas:
    'row1 row1 row1'
    'row2 row2 row2 row2'
    'row3 row3 row3';
  grid-gap: 2rem;
}

.row1 {
  grid-area: 'row1';
  display: flex;
  gap: 3rem;
}
.row2 {
  grid-area: 'row2';
  display: flex;
  gap: 3rem;
}
.row3 {
  grid-area: 'row3';
  display: flex;
  gap: 3rem;
}

.optiontext {
  font-size: 21px;
  font-weight: bold;
  line-height: 20px;
  color: #000000;
}

.option {
  border-radius: 15px;
  cursor: pointer;
  padding: 5px 0.5rem;
  display: flex;
  align-items: center;
}

.active {
  background: #55a630;
  color: #fff;
}
.option:hover {
  background: #55a63070;
}

.commentbox {
  margin: 2rem auto;
  display: flex;
  width: 80%;
}
.commentbox textarea{
  border-radius: 15px;
  border: 1.5px solid rgba(0, 0, 0, 0.5);
  color: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  font-size: 17px;
  font-weight: bold;
  font-family: Montserrat;
  width: 100%;
}

.send-btn {
  display: flex;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  background: #55a630;
  text-align: center;
  border: 1px solid #55a630;
  border-radius: 15px;
  font-weight: 800;
  cursor: pointer;
}

/* Footer */
.footer-pattern {
  height: 750px;
}

.footer-pattern:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: url('../images/wave4.png');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}
footer {
  margin-top: 300px;
}
.footer {
  position: relative;
  color: #fff;
}
.footer-logo {
  position: absolute;
  padding-left: 100px;
  z-index: 2;
  top: 150px;
  height: 250px;
  width: 250px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: center;
  position: absolute;
  gap: 4rem;
  z-index: 2;
  top: 450px;
  left: min(25%, 550px);
}
.comment input[type='text'] {
  border-radius: 30px;
  height: 60px;
  padding-left: 0.5rem;
  position: absolute;
  width: 100%;
  top: 0;
}
.comment {
  display: flex;
  align-items: center;
  height: 70px;
  width: 300px;
  position: relative;
}
.footer-btn {
  height: 60px;
  color: #fff;
  background: #55a630;
  border: 1px solid #55a630;
  border-radius: 30px;
  right: 0;
  position: absolute;
  width: 40%;
  box-shadow: none;
}
.footer-btn:active {
  box-shadow: none;
  transform: translateY(0);
}
.links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.quick-link {
  cursor: pointer;
}
.social {
  position: absolute;
  top: 650px;
  right: 15%;
  z-index: 2;
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  cursor: pointer;
}
.fab.fa-facebook {
  color: #18acfe;
  background: #fff;
  border-radius: 100%;
  font-size: 1.5rem;
}
.fab.fa-twitter {
  color: #47acdf;
  font-size: 1.6rem;
}

.fab.fa-instagram {
  background: radial-gradient(
      137.5% 29.41% at -5.36% 3.57%,
      #406adc 15.67%,
      #6a45be 46.78%,
      rgba(106, 69, 190, 0) 100%
    ),
    radial-gradient(
      73.21% 73.21% at 32.14% 103.57%,
      #e0e8b7 0%,
      #fb8a2e 44.47%,
      #e2425c 71.47%,
      rgba(226, 66, 92, 0) 100%
    ),
    radial-gradient(
      75% 75% at 35.71% 75%,
      #b13589 0%,
      #c62f94 79.31%,
      #8a3ac8 100%
    );
  font-size: 1.3rem;
  padding: 0.2rem;
}
.fab.fa-linkedin-in {
  background: #1275b1;
  color: #fff;
  border-radius: 100%;
  font-size: 1.3rem;
  padding: 0.2rem;
}
.fab.fa-youtube {
  color: #fc0d1b;
  font-size: 1.5rem;
}
#toTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #55a630;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 100%;
}
/* Page Animation */
.come-in {
  transform: translateY(200px);
  animation: come-in 2s ease forwards;
}
.come-in:nth-child(odd) {
  animation-duration: 1s;
}
.already-visible {
  transform: translateY(0);
  animation: none;
}

@keyframes come-in {
  to {
    transform: translateY(0);
  }
}

/* Media Queries */
@media (min-width: 2421px) {
  .pattern:before,
  .footer-pattern:before {
    height: 500px;
  }
  .header-cards {
    bottom: 260px;
    left: 320px;
  }
}
@media (min-width: 1700px) {
  .head-h1 {
    font-size: 3rem;
  }
  .head-h4 {
    font-size: 1.2rem;
  }
  .about-text p.mid-bold {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }
}
@media (min-width: 1537px) {
  .pattern:before,
  .footer-pattern:before {
    height: 400px;
  }
  .header-cards {
    bottom: 160px;
    left: 230px;
  }
}

@media (max-width: 1000px) {
  .photo_with_text1 {
    flex-direction: column;
    gap: 2rem;
  }
  .about_us p {
    width: 70%;
  }
}
@media (min-width: 769px) and (max-width: 820px) {
  .head-h1 {
    font-size: 1.5rem;
  }
  .head-h4 {
    font-size: 0.85rem;
  }
}
@media only screen and (max-width: 768px) {
  .nav__hamburger {
    /* making the hamburger icon visible on smaller screen sizes */
    display: flex;
    opacity: 1;
  }

  .nav__menu {
    /* move menu offscreen */
    opacity: 0;
    position: fixed;
    visibility: none;
    top: -1000px;

    /* just some styles */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    color: #25310c;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.19);
    border: 2px solid rgba(255, 255, 255, 0.2); /* part of glass morphism effect */
    border-radius: 2rem 0 2rem 2rem;
    background: rgba(255, 255, 255, 1);
    width: 200px;
    padding-bottom: 1rem;
  }

  /* uncomment the line below to activate on hover. */
  /*   .nav__listcontainer:hover .nav__menu, */
  .nav__listcontainer:focus .nav__menu,
  .nav__listcontainer:focus-within .nav__menu {
    position: absolute;
    visibility: visible;
    opacity: 1;
    top: 2rem;
    right: 1.5rem;
  }

  /*   if the browser supports backdrop-filter property, 
      then add it (for the glass morphism effect) */
  @supports (backdrop-filter: blur(10px)) {
    /* uncomment the line below to activate on hover. */
    /*     .nav__listcontainer:hover .nav__menu, */
    .nav__listcontainer:focus .nav__menu,
    .nav__listcontainer:focus-within .nav__menu {
      background: rgba(1, 1, 1, 0.7);
      backdrop-filter: blur(10px);
    }
  }

  .nav__item {
    margin-right: 0;
    padding: 0.5rem 1.5rem;
  }

  .nav__link:hover,
  .nav__link:focus {
    opacity: 0.8;
    color: #fff;
  }

  .nav__listcontainer {
    width: 100%;
  }
  /*  uncomment the line below to activate on hover. */
  /* NOTE: Hover is not recommended, it will have side effects on this */
  /*   .nav__listcontainer:hover .nav__hamburger, */
  .nav__listcontainer:focus .nav__hamburger,
  .nav__listcontainer:focus-within .nav__hamburger {
    opacity: 0;
    z-index: -1;
  }

  /* uncomment the line below to activate on hover. */
  /* NOTE: Hover is not recommended, it will have side effects on this */
  /*   .nav__listcontainer:hover + .nav__hamburgerclose, */
  .nav__listcontainer:focus + .nav__hamburgerclose,
  .nav__listcontainer:focus-within + .nav__hamburgerclose {
    display: flex;
    opacity: 1;
    z-index: 1;
  }
  .menu-btn {
    display: none;
  }
  .heading.heading.top {
    top: 25%;
  }
  .header {
    background: url('../images/header.png') no-repeat -300px 0;
    background-size: cover;
  }
  .head-h1 {
    font-size: 1.4rem;
  }
  .head-h4 {
    font-size: 0.75rem;
  }
  .about_us p {
    width: 100%;
  }
  .our_projects p {
    width: 100%;
  }
  .japa-link {
    margin-left: 0;
  }

  .pre-footer > h2 {
    left: 50%;
    margin-left: -50px;
    top: 200px;
  }
  .footer-links {
    top: 300px;
  }
  .username {
    flex-direction: column;
    gap: 0;
  }
  .containercontent {
    border: none;
  }
  .projects {
    width: 100%;
  }
  .projecttitles {
    width: 80%;
    margin: 0 auto;
  }
  .contactinfocontainer {
    margin-top: -5rem;
  }
  input[type='text'],
  input[type='tel'] {
    height: 78px;
  }
  .innerchoosebox {
    display: grid;
    grid-template-columns: 30% 35% 15%;
    justify-content: center;
    gap: 1rem;
    margin-left: -2.5rem;
  }
  .row1 {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .row2 {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .row3 {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 100%;
    grid-template-rows: 50% 50%;
    gap: 50px;
  }
  .footer-pattern {
    height: 850px;
  }
  .social {
    top: 750px;
    right: 35%;
  }
  .commentbox {
    width: 90%;
  }
  .links {
    width: 60%;
  }
}

@media (min-width: 501px) {
  .benefit-list,
  .team {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .header {
    background: url('../images/header.png') no-repeat -300px 0;
  }
  .header-cards {
    left: 20px;
  }
  .card:nth-child(even),
  .benefit-card:nth-child(even) {
    margin-left: auto;
  }
  .optiontext {
    font-size: 17px;
  }
  .comment {
    margin-left: -4rem;
    width: 350px;
  }
  .footer-btn {
    width: 30%;
  }
}
@media (max-width: 300px) {
  .heading.heading.top {
    top: 15%;
  }
}
