/* hero-sec */
.hero-sec {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-sec h1 {
  font-size: 4rem;
  font-weight: 900;
  color: #46814b;
}
.hero-sec p {
  font-size: 22px;
  font-weight: 500;
}

/* second sec  */
.about-card {
  display: flex;
  width: 100%;
  gap: 1rem;
  align-items: center;
}
.about-card .about-card-text .text-container {
  width: 72%;
  margin: auto;
}
.about-card .about-card-text .text-container .about-para {
  font-size: 15px;
  position: relative;
  padding: 7px;
}
.about-card .about-card-text .text-container .about-para::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  width: 15px;
  height: 15px;
  border-top: 2px solid red;
  border-left: 2px solid red;
}
.about-card .about-card-text .text-container .img-and-name {
  padding-left: 7px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.about-card .about-card-text .text-container .img-and-name img {
  height: 75px;
  width: 75px;
  border-radius: 50%;
  object-fit: cover;
}
.about-card .about-card-text .text-container .img-and-name span {
  font-size: 18px;
  font-weight: 800;
}

.about-card .about-card-image {
  width: 58%;
}
.about-card .about-card-image img {
  width: 731px;
  height: 48vh;
  object-fit: cover;
  border-bottom-left-radius: 193px;
}

/* third sec  */
.third-sec {
  width: 75%;
  margin: 8rem auto;
}
.third-sec h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
}
.third-sec p {
  font-size: 20px;
  font-weight: 500;
}

/* forth sec  */
.fourth-sec {
  width: 75%;
  margin: auto;
  padding-bottom: 5rem;
}
.fourth-sec h1 {
  font-size: 2.8rem;
  font-weight: 600;
}
.fourth-sec-btn-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 5rem;
}
.fourth-sec-btn-wrapper .btn-cont {
  width: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 131px;
  align-items: center;
}
.fourth-sec-btn-wrapper .btn-cont h3 {
  margin-bottom: 1.4rem;
  text-align: center;
}
.fourth-sec-btn-wrapper .btn-cont a {
  padding: 9px 20px;
  border-radius: 35px;
  background-color: #478049;
  color: #fff;
  border: 1px solid;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  width: 163px;
  text-align: center;
}

@media screen and (min-width: 1798px) {
  .about-card .about-card-text .text-container .about-para {
    font-size: 22px;
  }
  .about-card .about-card-image img {
    height: 52vh;
    width: 100%;
  }
  .about-card .about-card-image {
    width: 100%;
  }
  .section-padding-bottom {
    padding-bottom: 8rem;
  }
  .section-padding-top {
    padding-top: 8rem;
  }
  .about-card-text {
    width: 122%;
  }
  .fourth-sec-btn-wrapper {
    justify-content: center;
    gap: 16rem;
    margin-top: 10rem;
  }
  .hero-sec .main-video {
    top: 7%;
  }
}

@media screen and (max-width: 1150px) {
  .about-card .about-card-image img {
    width: 491px;
  }
}
@media screen and (max-width: 980px) {
  .hero-sec h1 {
    font-size: 3rem;
  }
  .hero-sec p {
    font-size: 16px;
  }
  .about-card .about-card-text .text-container .about-para {
    font-size: 14px;
  }
  .third-sec {
    width: 80%;
    margin: 7rem auto;
  }
  .fourth-sec h1 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 900px) {
  .about-card .about-card-image img {
    width: 387px;
  }
}
@media screen and (max-width: 750px) {
  .about-card {
    flex-direction: column-reverse;
    gap: 2rem;
  }
  .about-card .about-card-image {
    width: 100%;
    margin-left: 36px;
  }
  .about-card .about-card-image img {
    width: 100%;
    height: 50vh;

    border-bottom-left-radius: 168px;
  }
  .about-card .about-card-text .text-container {
    width: 88%;
  }
  .third-sec p {
    font-size: 19px;
    text-align: justify !important;
  }
  .about-card .about-card-text .text-container .about-para {
    text-align: justify;
  }
}

@media screen and (max-width: 620px) {
  .hero-sec h1 {
    font-size: 2.3rem;
  }
  .hero-sec p {
    font-size: 15px;
  }
}
@media screen and (max-width: 500px) {
  .fourth-sec-btn-wrapper {
    margin-top: 5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
  }
  .fourth-sec-btn-wrapper .btn-cont {
    width: 97%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 131px;
    align-items: center;
  }
  .fourth-sec h1 {
    font-size: 1.5rem;
    text-align: justify !important;
  }
  .fourth-sec {
    width: 94%;
  }
  .third-sec h1 {
    font-size: 2rem;
  }
  .third-sec {
    margin: 4rem auto;
  }
}
