/* General reset for padding, margin, and box-sizing */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Boldonse&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;

}



/* Navbar styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.8);
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar .logo-container img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
}

.navbar h1 {
  font-size: 30px;
  color: #121f07;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif ;
}

.navbar nav ul {
  list-style: none;
  display: flex;
}

.navbar nav li {
  margin-right: 20px;
}

.navbar nav li a {
  color: rgb(20, 5, 5);
  text-decoration: none;
  padding: 10px;
}

.navbar nav li a:hover {
  color: rgb(5, 2, 2);
  background-color: #72e576;
  text-decoration: underline;
}

.navbar i{
  font-size: 20px;
}
.navbar a i {
  font-size: 24px;
  color: black;
  /* order: 1; */
  /* position:absolute; */
}

.navbar a i:hover{
  transform: translatey(-5px);
}

/* Hide the checkbox input */
#menu-toggle {
  display: none;
}


/* Hamburger menu */
.menu-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}


.menu-icon i {
  font-size: 20px;
  color: #333;
  transition: transform 0.3s ease;
}

.butt button {
  background-color: #1db622;
  color: rgb(6, 4, 4);
  padding: 1vh 1vw;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
}

.butt button:hover {
  background-color: rgb(250, 249, 246);
  border: 2px solid green;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar nav ul {
    display: none;
    /* width: 100%; */
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50px;
    left: 270px;
    /* right: 0; */
    background-color: rgba(255, 255, 255, 0.9);
    transition: 0.3s;
    /* transform: translateX(5vw); */
    transform: translateY(2vw);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    column-gap: 1px; 
  }
  .navbar nav ul li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }

  .navbar nav ul li a {
    padding: 10px;
    width: 100%;
    display: block;
  }
  .navbar h1 {
    font-size: 25px;
  }

.navbar a button{
  font-size:12px;
}

  .navbar a i{
       font-size: 25px;
  }

  .menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .menu-icon div {
    width: 25px;
    height: 3px;
    background-color: black;
  }

  #menu-toggle:checked + label + nav ul {
    display: flex;
  }
}
/* Responsive Design */
@media (max-width: 430px) {
  .navbar nav ul {
    display: none;
    /* width: 100%; */
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50px;
    left: 270px;
    /* right: 0; */
    background-color: rgba(255, 255, 255, 0.9);
    transition: 0.3s;
    /* transform: translateX(5vw); */
    transform: translateY(2vw);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    column-gap: 1px; 
  }

  .navbar nav ul li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }

  .navbar nav ul li a {
    padding: 10px;
    width: 100%;
    display: block;
  }
  .navbar h1 {
    font-size: 20px;}
  

.navbar a button{
  font-size:12px;
}

  .navbar a i{
       font-size: 25px;
  }

  .menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
 
  .navbar .menu-icon i{
    font-size: 20px;

  }

  .navbar .cart a i{
    font-size: 20px;

  }

  /* .navbar .cart a i.active{
    transform: translatey(-5px);
  } */

  #menu-toggle:checked + label + nav ul {
    display: flex;
  }
}





/* hero section */
.hero img {
  width: 100%;
  height: 950px;
}
.hero {
  position: relative;
  /* width: 100%; */
  overflow: hidden;
}

/* hero content */
.hero .content {
  position: absolute;
  top: 50%;
  left: 35%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: rgb(8, 2, 2);
}
.content h1 {
  font-size: 50px;
  color: black;
  font-family: "Boldonse", system-ui;
  font-weight: 50;
  font-style: normal;
}

.content h5 {
  font-size: 15px;
  font-weight: 10;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   font-family: "Boldonse", system-ui;
  }

/* Section with buttons */

.butt2 {
  display: flex;
  justify-content:right;
  /* margin-left: px; */
  gap: 20px;
  margin-top: -300px;
}

.butt2 button {
  background-color: #1db622;
  color: rgb(6, 4, 4);
  padding: 1vh 1vw;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 16px;
}

.butt2 button:hover {
  background-color: #b9a106;
  color: black;
}

.learn-more:hover {
  background-color: rgb(202, 173, 45);
  color: #064a08;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero .content h1 {
    font-size: 50px;
  }

  .hero .content h5 {
    font-size: 16px;
  }

  .butt2 {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
  
  }

  .butt2 button {
    margin-bottom: 10px; 
    padding: 10px 20px;
    font-size: 16px; 
    cursor: pointer;
    border: none;
    border-radius: 7px;
    background-color: #119a15; 
    color: #eeeaea; 
    width: auto; 
  }
}

@media (max-width:430px){
  .hero .content h1 {
    font-size: 50px;
    margin-top: -150px;
  }

  .hero .content h5 {
    font-size: 17px;
  }
  .hero img {
    width: 100%;
    height: 800px;
  }
}


/* Main content section */
.section {
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1px;
  background-color: rgb(112, 190, 117);
}

.section .content {
  display: flex;
  max-width: 1200px;
  width: 100%;
  gap: 20px;
}

.section .text {
  flex: 1;
  padding: 20px;
}

.section .text h4 {
  color: #155131;
  font-size: 20px;
  margin-bottom: 10px;
  border-left: 4px solid #a6ce39;
  padding-left: 1.25rem;
}

.section .text h3 {
  color: black;
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 2.5rem;
  font-weight: 700;
}

.section .text p {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 20px;
  border-left: 5px solid #a6ce39;
  padding-left: 1.25rem;
  text-align: justify;
  /* font-family: Georgia, "Times New Roman", Times, serif; */
}

.section .img {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* margin-top: -300px; */

}

.section .img img {
  width: 100%;
  height: auto;
}

.learn1 {
  background-color: #009444;
  border: none;
  border-radius: 1.5rem;
  height: 70px;
  font-size: 24px;
  width: 250px;
  margin-top: 80px;
  cursor: pointer;
}

.learn1:hover {
  background-color: rgb(255, 255, 255);
  color: #009444;
  border: 2px solid;
}

/* Section 1 styles */
.section1 {
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1px;
  background-color: rgb(111, 165, 115);
  padding-bottom: 10px;
}

.section1 .content1 {
  display: flex;
  max-width: 1200px;
  width: 100%;
  gap: 20px;
}

.section1 .text-content1 {
  flex: 1;
  padding: 20px;
}

.section1 .text-content1 h4 {
  color: #e7f0eb;
  margin-bottom: 10px;
  border-left: 5px solid #a6ce39;
  padding-left: 1.25rem;
}

.section1 .text-content1 h3 {
  color: black;
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 2.5rem;
  font-weight: 700;
}

.section1 .text-content1 p {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 20px;
  border-left: 5px solid #a6ce39;
  padding-left: 1.25rem;
  text-align: justify;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.section1 .image-content1 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section1 .image-content1 img {
  width: 100%;
  height: auto;
}

.learn2 {
  background-color: #009444;
  border: none;
  border-radius: 1.5rem;
  height: 70px;
  font-size: 24px;
  width: 250px;
  margin-top: 40px;
  cursor: pointer;
}

.learn2:hover {
  background-color: rgb(255, 255, 255);
  color: #009444;
  border: 2px solid;
}

/* Media Queries for Responsive Design */

/* Tablets*/
@media (max-width: 768px) {
  .section, .section1 {
    flex-direction: column;
    padding: 20px;
  }

  .section .content, .section1 .content1 {
    flex-direction: column;
    align-items: center;
  }

  .section .text, .section1 .text-content1 {
    text-align: center;
    margin-bottom: 20px;
  }

  .section .img, .section1 .image-content1 {
    width: 100%;
    margin-top: 20px;
  }

  .learn1, .learn2 {
    width: 50%;
    font-size: 18px;
    padding: 15px;
    margin-top: 20px;
  }

  .section .img img, .section1 .image-content1 img {
    width: 100%;
    margin-left: 0;
    height: auto;
  }
}

/*  Mobile Devices*/
@media (max-width: 430px) {
  .section, .section1 {
    padding: 15px;
  }

  .section .text h3, .section1 .text-content1 h3 {
    font-size: 1.8rem;
  }

  .section .text p, .section1 .text-content1 p {
    font-size: 1.3rem;
  }

  .learn1, .learn2 {
    width: 70%;
    font-size: 24px;
    padding: 12px;
    margin-top: 15px;
  }
}


/* product section */
.product {
  padding-top: 50px;
  background-color: rgb(111, 165, 115);
  margin-top: 1px;
}

.product h5 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  color: rgb(4, 74, 4);
}

.product h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
}

.productchoice {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.productimage {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.productimage img {
  width: 100%;
  height: auto;
}

.productchoice .productimage:hover{
  transform: translateY(-15px);
}

.productimage p {
  margin-top: 5px;
  color: #0b890f;
}

.stars {
  margin-top: 5px;
  gap: 1px;
  color: #0c7110;
}

.productbttn button {
  background-color: #009444;
  border: none;
  border-radius: 25px;
  height: 70px;
  font-size: 24px;
  width: 250px;
  margin-top: 40px;
  cursor: pointer;
  margin-bottom: 50px;
}

.productbttn button:hover {
  background-color: rgb(202, 173, 45);
  color: #064a08;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .productchoice {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .productchoice {
    grid-template-columns: repeat(2, 1fr);
  }
  .productimage h5{
    font-size: 20px;
  }
  .productimage p{
    font-size: 25px;
  }
}

@media (max-width: 480px) {
  .productchoice {
    grid-template-columns: 1fr;
  }
  .productimage h5{
    font-size: 20px;
  }
  .productimage p{
    font-size: 25px;
  }
}

.articles {
  text-align: center;
  margin: 20px auto;
  background-color: rgb(111, 165, 115);
  height: 800px;
  margin-top: 10px;
  align-items: center;
}

.articles h3 {
  color: #dbe8e1;
  padding-top: 20px;
}

.articles h2 {
  font-size: 2.2rem;
  margin: 10px 0;
  color: #0d3c00;
}

.popular-article {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* Article Item Styling */
.article-item {
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  height: 400px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Hover Effect */
.article-item:hover {
  transform: translateY(-15px);
}

/* Image Styling */
.article-item img {
  width: 100%;
  height: auto;
}

.article-item h3 {
  color: green;
  font-size: 24px;
  margin: 10px 0;
}

.article-item h2 {
  font-size: 18px;
  margin: 0 10px 10px;
  color: #333;
  text-align: justify;
  font-weight: 600;
  line-height: 2rem;
}

.article-item p {
  font-size: 14px;
  /* color: #b84e4e; */
  margin: 10px;
}

.article-item .date {
  display: inline-block;
  margin-right: 35px;
  margin-top: 15px;
}

.article-item .comments {
  display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .articles h2 {
    font-size: 1.8rem;
  }

  .popular-article {
    flex-direction: column;
    gap: 20px;
  }

  .article-item {
    width: 90%;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .articles h2 {
    font-size: 1.6rem;
  }

  .article-item {
    width: 100%;
    height: auto;
  }

  .article-item h3 {
    font-size: 20px;
  }

  .article-item h2 {
    font-size: 16px;
  }

  .article-item p {
    font-size: 12px;
  }
}


.upper {
  position: relative;
  background: url("./images2/upperfooter.jpg") no-repeat center center/cover;
  height: 270px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  margin-top: -160px;
}

.upper .upper-content {
  text-align: center;
}

.upper .upper-content h1 {
  font-size: 36px;
  margin: 0;
}

.upper .upper-content p {
  font-size: 18px;
  margin: 10px 0;
}

.upper .upper-content .btn {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  /* font-family: Georgia, "Times New Roman", Times, serif; */
}

.upper .upper-content .btn:hover {
  background-color: white;
  color: #009444;
  border: 2px solid #009444;
}



@media (max-width: 768px) {
  .productchoice {
    grid-template-columns: repeat(2, 1fr);
  }

  .productimage {
    width: 100%;
  }

  .productbttn button {
    width: 200px;
    font-size: 20px;
  }

  .articles {
    height: auto;
    padding-bottom: 20px;
  }

  .popular-article {
    flex-direction: column;
    align-items: center;
  }

  .article-item {
    width: 90%;
    margin-bottom: 20px;
  }

  .upper .upper-content h1 {
    font-size: 28px;
  }

  .upper .upper-content p {
    font-size: 16px;
  }

  .upper .upper-content .btn {
    font-size: 14px;
    padding: 8px 16px;
  }
}



@media (max-width: 480px) {
  .productchoice {
    grid-template-columns: 1fr;
  }

  .productimage {
    width: 100%;
  }

  .productbttn button {
    width: 180px;
    font-size: 18px;
  }

  .articles {
    height: auto;
    padding-bottom: 20px;
  }

  .popular-article {
    flex-direction: column;
    align-items: center;
  }

  .article-item {
    width: 90%;
    margin-bottom: 20px;
  }

  .upper .upper-content h1 {
    font-size: 24px;
  }

  .upper .upper-content p {
    font-size: 14px;
  }

  .upper .upper-content .btn {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Default styles for larger screens (laptops and desktops) */
.articles {
  text-align: center;
  margin: 20px auto;
  background-color: rgb(111, 165, 115);
  height: 700px;
  margin-top: 10px;
  align-items: center;
}

.articles h3 {
  color: #dbe8e1;
  padding-top: 20px;
}

.articles h2 {
  font-size: 2.2rem;
  margin: 10px 0;
  color: #0d3c00;
}

.popular-article {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-top: 50px;
}

.article-item {
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  width: 400px;
  height: 400px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-item img {
  width: 100%;
  height: auto;
}

.article-item h3 {
  color: green;
  font-size: 17px;
  margin: 10px 0;
}

.article-item h2 {
  font-size: 18px;
  margin: 0 10px 10px;
  color: #333;
  text-align: justify;
  font-weight: 600;
  line-height: 2rem;
}

.article-item p {
  font-size: 14px;
  color: #777;
  margin: 10px;
}

.article-item .date {
  display: inline-block;
  margin-right: 35px;
  margin-top: 15px;
}

.article-item .comments {
  display: inline-block;
}
/* footer */
.upper {
  position: relative;
  background: url("./images2/upperfooter.jpg") no-repeat center center/cover;
  height: 270px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  margin-top: -150px;
}

.upper .upper-content {
  h1 {
    font-size: 36px;
    margin: 0;
  }

  p {
    font-size: 18px;
    margin: 10px 0;
  }

  .btn {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-family: Georgia, "Times New Roman", Times, serif;
  }

  .btn:hover {
    background-color: white;
    color: #009444;
    border: 2px solid #009444;
  }
}

.footer {
  background-color: #033403;
  color: white;
  padding: 40px 0;
}

.footer .foot {
  padding-left: 90px;
  padding-right: 60px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer .foot > div {
  flex: 1;
  margin: 10px;
}

.foot h3 {
  font-size: 30px;
  margin-top: 25px;
}

.foot p,
.foot a {
  margin: 5px 0;
  font-size: 17px;
  padding-top: 1.25rem;
  color: white;
  text-decoration: none;
}

.foot a:hover {
  color: #89760b;
}

.latest-post p {
  display: flex;
  justify-content: space-between;
}

.latest-post p img {
  width: 150px;
  height: 100px;
  margin-right: 40px;
  margin: 10px;
}

.latest-post p a {
  font-size: 20px;
  color: white;
  text-decoration: none;
  padding-top: 40px;
  font-size: 15px;
}

.footer .social a {
  display: inline-block;
  margin: 0 5px;
  margin-top: 20px;
}

.footer .social a img {
  width: 50px;
  height: 50px;
  margin: 10px;
}

.footer .subscribe {
  display: flex;
  flex-direction: column;
}

.footer .subscribe input[type="email"] {
  padding: 17px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
}

.btn {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
}

.btn:hover {
  background-color: white;
  color: #009444;
  border: 2px solid #009444;
}

.copyright {
  margin-top: 30px;
  text-align: center;
}

.copyright:hover {
  color: blue;
}

/* Responsive styles for tablets and smaller devices */
@media (max-width: 768px) {
  .articles {
    height: auto;
    margin-top: 20px;
  }

  .popular-article {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .article-item {
    width: 90%;
    height: auto;
  }

  .upper {
    height: 150px;
    margin-top: 15px;
  }

  .upper .upper-content h1 {
    font-size: 28px;
  }

  .upper .upper-content p {
    font-size: 16px;
  }

  .footer .foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer .foot > div {
    flex: 1 1 100%;
    margin: 10px 0;
  }

  .foot h3 {
    font-size: 24px;
  }

  .foot p,
  .foot a {
    font-size: 15px;
  }

  .latest-post p {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer .social a img {
    width: 50px;
    height: 50px;
    margin: 10px;
  }

  .footer .social a img {
    width: 40px;
    height: 40px;
  }

  .footer .subscribe input[type="email"] {
    padding: 14px;
  }

  .btn {
    font-size: 14px;
    padding: 8px 16px;
  }
 
}