/* google font  */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* custom color  */
:root {
  --green: #65b741;
  --black: #333;
  --wight: #fff;
}

/* custom css  */
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* website all heading  */

.heading {
  margin: 2rem;
  padding-top: 6rem;
  text-decoration: underline;
  display: inline-block;
  font-size: 3.5rem;
  color: var(--green);
  position: relative;
  letter-spacing: 0.2rem;
}

/* website all btn  */

.btn {
  outline: none;
  border: none;
  border-radius: 5rem;
  background: linear-gradient(135deg, #65b741, #4d962f);
  color: #fff;
  cursor: pointer;
  height: 4rem;
  width: 16rem;
  font-size: 1.6rem;
  font-weight: 500;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  letter-spacing: 0.1rem;
}

/* header section start  */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 2rem 8rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

/* logo name */
.header .logo {
  font-size: 2.5rem;
  color: var(--wight);
}

.header .logo i {
  padding: 0 0.5rem;
}

/* navbar link  */
.header .navbar ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.header .navbar ul li {
  margin: 0 1.5rem;
}

.header .navbar ul li a {
  font-size: 2rem;
  color: var(--wight);
}

.header .navbar ul li a:hover {
 box-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.3);
  letter-spacing: 0.1rem;
  background-color: rgb(255, 255, 255,0.2);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;

}

.header .fa-bars {
  color: var(--wight);
  cursor: pointer;
  font-size: 3rem;
  display: none;
}

/* header section end  */

/* home section start  */
.home {
  min-height: 100vh;
  width: 100vw;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(./images/home.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.home .banner {
  color: var(--wight);
  font-size: 5rem;
  text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.3);
}

.home .slogan {
  color: var(--wight);
  font-size: 2.5rem;
  font-weight: 400;
}

/* home btn  */
.home button {
  height: 4rem;
  width: 18rem;
  border-radius: 0.5rem;
  background-color: var(--wight);
  color: var(--black);
  cursor: pointer;
  border: none;
  outline: none;
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 400;
  box-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.3);
}

.home button:hover {
  letter-spacing: 0.1rem;
  color: var(--wight);
  background-color: var(--green);
}

/* home section end  */

/* about section start  */
.about {
  min-height: 100vh;
  width: 100vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about .row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4rem;
}

.about .row .content {
  text-align: left;
  padding: 4rem;
}

.about .row .content h2 {
  font-size: 3rem;
  color: var(--green);
}

.about .row .content p {
  font-size: 1.5rem;
  color: var(--black);
  padding: 1rem 0;
}

/* about images  */
.about .row .images img {
  width: 50vw;
  border-radius: 2rem;
}

/* about section sercle  */
.about::after,
.about::before {
  content: "";
  position: absolute;
  z-index: -1;
  opacity: 0.2;
  border-radius: 50%;
}

/* cercle top left  */
.about::after {
  height: 60rem;
  width: 60rem;
  background-color: var(--green);
  top: -10rem;
  right: -10rem;
}

/* cercle buttom left  */
.about::before {
  height: 60rem;
  width: 60rem;
  background-color: var(--green);
  bottom: -10rem;
  left: -10rem;
}

/* about section end  */

/* service section start  */
.service {
  width: 100vw;
  text-align: center;
}

.service .row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4rem;
}

/* service images  */
.service .row .images img {
  width: 50vw;
  border-radius: 2rem;
}

/* service heading & text  */
.service .row .content {
  text-align: left;
  border-radius: 1rem;
}

.service .row .content h2 {
  font-size: 3rem;
  color: var(--green);
}

.service .row .content p {
  font-size: 1.5rem;
  color: var(--black);
  padding: 1rem 0;
}

/* service section end  */

/* team card section start  */

.team {
  width: 100vw;
  text-align: center;
  background-color: var(--green);
}

/* team card heading  */
.team .heading {
  color: var(--wight);
}

/* team images  */
.team .row .card .images img {
  height: 24rem;
  width: 25rem;
  border-radius: 0.5rem;
  border: 0.5rem solid var(--wight);
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.team .row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.team .row .card {
  height: 35rem;
  width: 25rem;
  background-color: var(--wight);
  text-align: center;
  margin: 7rem 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.team .row .card .info h2 {
  font-size: 2rem;
  color: var(--green);
}

.team .row .card .info p {
  font-size: 1.8rem;
  color: var(--black);
}

.team .row .card .info .icons a {
  font-size: 2rem;
  padding: 0 1rem;
  margin-top: 1rem;
  color: var(--black);
}

.team .row .card .info .icons a:hover {
  color: var(--green);
}

/* team card section send  */

/* form section start  */

.contact {
  width: 100vw;
  text-align: center;
}

.contact .row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 2rem;
  padding: 0 2rem;
}

/* form images  */
.contact .row .images img {
  height: 50rem;
  width: 50vw;
  border-radius: 1rem;
}

.contact .row .form-container {
  width: 50%;
  text-align: left;
  padding: 0 2rem;
}

.contact .row .form-container input,
textarea {
  outline: none;
  border: none;
  width: 49rem;
  height: 4rem;
  background: none;
  border-radius: 0.5rem;
  box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.3);
  padding: 0 1rem;
  margin: 1rem 0;
  font-size: 1.6rem;
}

.contact .row .form-container .inputbox {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.contact .row .form-container .inputbox input[type="text"] {
  width: 49%;
}

.contact .row .form-container input[type="email"] {
  width: 100%;
}

.contact .row .form-container textarea {
  width: 100%;
  height: 20rem;
  padding: 1rem;
  resize: none;
}

.contact .row .form-container input[type="submit"] {
  background-color: var(--green);
  color: var(--wight);
  cursor: pointer;
  height: 4rem;
  width: 10rem;
}

.contact .row .form-container input[type="submit"]:hover {
  opacity: 0.8;
}

/* form section end  */

/* faq section start  */
.faq {
  min-height: 100vh;
  width: 100vw;
  text-align: center;
  padding: 0 2rem;
}

.faq .heading {
  margin: 0;
}

.faq .row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

/* faq images  */
.faq .row .images img {
  height: 70vh;
  width: 50vw;
  border-radius: 1rem;
}

.faq .row .subject-container {
  width: 50%;
  text-align: left;
}

.faq .row .subject-container .subject .subject-header {
  background-color: var(--green);
  margin: 1rem 0;
  box-shadow: 0.1rem 0.1rem 0.3rem rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.faq .row .subject-container .subject .subject-header span {
  display: inline-block;
  text-align: center;
  height: 4rem;
  width: 5rem;
  line-height: 4rem;
  font-size: 2rem;
  background-color: var(--wight);
  color: var(--black);
  clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
}

.faq .row .subject-container .subject .subject-header h2 {
  display: inline;
  color: var(--wight);
  font-weight: 400;
  font-size: 1.5rem;
  padding: 1.5rem;
}

.faq .row .subject-container .subject .subject-body {
  padding: 1rem;
  color: var(--black);
  box-shadow: 0.1rem 0.1rem 0.3rem rgba(0, 0, 0, 0.3);
  font-size: 1.3rem;
  display: none;
}

/* faq section end  */

/* footer section start  */
.footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 2rem 2rem;
  margin-top: 1rem;
  background-color: var(--green);
}

.footer h1 {
  color: var(--wight);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.1rem;
}

/* footer icons  */
.footer .icons a {
  font-size: 2rem;
  color: var(--wight);
  padding: 0 1rem;
}

/* footer section end  */

/* media query start  */

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }

  .header .fa-bars {
    display: block;
  }

  .header .navbar {
    position: fixed;
    top: -120%;
    left: 0;
    height: auto;
    width: 100%;
    background-color: var(--wight);
    z-index: 1000;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.3);
  }

  .header .navbar ul {
    height: 100%;
    width: 100%;
    flex-flow: column;
  }

  .header .navbar ul li {
    margin: 1rem 0;
  }

  .header .navbar ul li a {
    font-size: 2.5rem;
    color: var(--black);
  }

  .header .fa-time {
    transform: rotate(180deg);
  }

  .header .nav-toggle {
    top: 5.8rem;
  }

  /* home media query  */
  .home .banner {
    font-size: 4rem;
  }

  .home .slogan {
    font-size: 1.7rem;
  }

  /* about media query  */
  .about .row {
    flex-flow: column-reverse;
    padding: 0 2rem;
  }

  .about .row .images img {
    width: 100vw;
    padding: 4rem;
  }

  /* service media query  */

  .service .row {
    flex-flow: column-reverse;
    padding: 0 2rem;
  }

  .service .row:nth-child(even) {
    flex-flow: column;
  }

  .service .row .content {
    flex-flow: column-reverse;
    padding: 4rem;
  }

  .service .row .images img {
    width: 75vw;
    padding: 4rem;
  }

  /* contact form media query  */

  .contact .row {
    flex-flow: column;
  }

  .contact .row .images img {
    border-radius: 2.5rem;
    width: 100vw;
    padding: 1rem;
  }

  .contact .row .form-container {
    width: 100%;
    padding: 0 1.5rem;
  }

  /* FAQ form media query  */
  .faq {
    padding: 0;
  }

  .faq .row {
    padding: 0 1rem;
    flex-flow: column;
  }

  .faq .row .images img {
    width: 100vw;
    border-radius: 1rem;
    padding: 1rem;
  }

  .faq .row .subject-container {
    width: 100vw;
  }
}

/* footer query start  */

@media (max-width: 550px) {
  .footer {
    flex-flow: column;
  }

  .footer h1 {
    text-align: center;
  }

  .footer .icons {
    padding: 2rem 0;
  }
}

.team .row .card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.team .row .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
}

.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 5rem 2rem;
  background: #f4fff0;
}

.stats .box {
  background: white;
  padding: 3rem;
  width: 22rem;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.stats .box h1 {
  color: var(--green);
  font-size: 4rem;
}

.stats .box p {
  font-size: 1.7rem;
  margin-top: 1rem;
}

.project-back-button {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 9999;

  padding: 10px 20px;

  border-radius: 50px;

  background: linear-gradient(135deg, #00c853, #64dd17);

  color: white;
  text-decoration: none;

  font-size: 0.9rem;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;

  border: 2px solid white;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);

  transition: all 0.3s ease;
}

.project-back-button:hover {
  transform: translateY(-3px) scale(1.05);

  background: linear-gradient(135deg, #64dd17, #00e676);

  box-shadow: 0 14px 30px rgba(100, 221, 23, 0.4);
}

/* MOBILE */
@media (max-width: 768px) {
  .project-back-button {
    top: 18px;
    right: 18px;

    padding: 8px 16px;

    font-size: 0.75rem;
  }
}

/* blog page styles start */
.header.scrolled {
  background: #65b741;
  box-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.3);
}

.blog-page main,
.blog-page main * {
  text-transform: none;
}

.blog-hero {
  min-height: 60vh;
  width: 100vw;
  background:
    linear-gradient(135deg, rgba(28, 58, 23, 0.75), rgba(101, 183, 65, 0.65)),
    url(./images/home.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.blog-hero .hero-content {
  max-width: 70rem;
  color: var(--wight);
}

.blog-hero .hero-eyebrow {
  display: inline-block;
  font-size: 1.3rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.blog-hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.blog-hero p {
  font-size: 1.7rem;
  line-height: 1.6;
}

.blog-search {
  display: flex;
  justify-content: center;
  padding: 4rem 2rem 2rem;
  background: #f4fff0;
}

.search-bar {
  position: relative;
  width: min(70rem, 90%);
}

.search-bar input {
  width: 100%;
  padding: 1.4rem 4.5rem 1.4rem 1.8rem;
  font-size: 1.6rem;
  border-radius: 999px;
  border: 1px solid #d7e7d1;
  background: var(--wight);
  box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.08);
}

.search-bar input:focus {
  outline: none;
  border-color: #65b741;
  box-shadow: 0 0.6rem 2rem rgba(101, 183, 65, 0.2);
}

.search-bar i {
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: #5a8f47;
  font-size: 1.6rem;
}

.blog-filters {
  display: flex;
  justify-content: center;
  padding: 0 2rem 3rem;
  background: #f4fff0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.filter-pill {
  border: 1px solid #bfe0b1;
  background: var(--wight);
  color: #3f6f35;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.filter-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.12);
}

.filter-pill.active {
  background: var(--green);
  color: var(--wight);
  box-shadow: 0 0.6rem 1.4rem rgba(101, 183, 65, 0.3);
}

.blog-featured {
  display: flex;
  justify-content: center;
  padding: 2rem 2rem 4rem;
  background: #f4fff0;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  max-width: 110rem;
  width: 100%;
  background: var(--wight);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.12);
}

.featured-media img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
}

.featured-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  background: #e2f6d5;
  color: #2f5a24;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 600;
  width: fit-content;
}

.featured-content h2 {
  font-size: 2.8rem;
  color: var(--black);
}

.featured-content p {
  font-size: 1.5rem;
  color: #4e5d49;
  line-height: 1.6;
}

.meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  color: #61735b;
}

.read-more {
  align-self: flex-start;
  background: var(--green);
  color: var(--wight);
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.15);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.18);
}

.blog-articles {
  background: #f4fff0;
}

.results-count {
  text-align: center;
  font-size: 1.3rem;
  color: #546354;
  padding-bottom: 1.5rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 110rem;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.article-card {
  background: var(--wight);
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1.8rem 3rem rgba(0, 0, 0, 0.15);
}

.article-image img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.article-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
}

.article-content h3 {
  font-size: 2rem;
  color: var(--black);
}

.article-content p {
  font-size: 1.4rem;
  color: #4e5d49;
  line-height: 1.6;
}

.empty-state,
.featured-empty {
  text-align: center;
  padding: 3rem;
  background: var(--wight);
  border-radius: 1.2rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
  font-size: 1.5rem;
  color: #4e5d49;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--wight);
  border-radius: 1.8rem;
  max-width: 70rem;
  width: 100%;
  padding: 3rem;
  position: relative;
  box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.2);
}

.modal-image {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  border-radius: 1.2rem;
  margin-bottom: 2rem;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-read {
  font-size: 1.2rem;
  color: #61735b;
}

.modal-content h3 {
  font-size: 2.4rem;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.modal-content p {
  font-size: 1.5rem;
  color: #4e5d49;
  line-height: 1.7;
}

.modal-points {
  list-style: disc;
  padding-left: 2rem;
  display: grid;
  gap: 0.8rem;
}

.modal-points li {
  font-size: 1.5rem;
  color: #4e5d49;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: none;
  background: #edf7e8;
  color: #2f5a24;
  font-size: 2rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-media img {
    min-height: 24rem;
  }

  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 3.6rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 2rem;
  }
}

@media (max-width: 560px) {
  .blog-hero {
    padding-top: 10rem;
  }

  .featured-content {
    padding: 2.2rem;
  }
}

/* blog page styles end */