@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap');

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

*{
    font-family: 'Teko', sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    transition: all .2s linear;
    text-decoration: none;
}


html{
    font-size: 62.5%;
}

body{
    overflow-x: hidden;
}

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

.header .logo img{
        max-width: 17%; 
        height: auto; 
        width: auto; 
        display: block;
}

.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: 2.5rem;
    color: #fff;
}

.header .navbar ul li a:hover{
    color: #528D00;
    text-decoration: underline;
}

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

.header .fa-bars{
    color: #fff;
    cursor: pointer;
    font-size: 3rem;
    display: none;
}

.home{
    min-height: 70vh;
    width: 100vw;
    background-image: url(../images/img4.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden !important;
}

.home h2{
    color: #fff;
    font-size: 5.5rem;
}

section {
    padding: 5%;
  }

.about{
    min-height: 55vh;
    width: 100vw;
    top: -3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    line-height: 10rem;
}

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

.about .row .content{
    text-align: center;
}

.about .row .content h3{
    font-size: 3rem;
    color: black;
}

.about .row .content p{
    font-size: 2rem;
    color: #333;
    padding: 1rem 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px; 
    margin: 0 auto;
    padding: 2rem; 
    box-sizing: border-box; 
}

.about-content img {
    width: 35%; 
    max-width: 500px; 
    height: auto;
    object-fit: cover; 
    margin: 1rem 0;
}

.text-content {
    flex: 1;
    padding: 1rem;
    max-width: 600px; 
    text-align: justify;
    text-align-last: right;
    text-justify: inter-word;
}

.align-left .text-content {
    order: 1;
    flex: 1;
    padding: 1rem;
    text-align: justify;
    text-align-last: left;
}

.align-left img {
    order: 2; 
}

.text-contents  {
    max-width: 600px; 
    text-align: justify;
    text-justify: inter-word;
}

.text-content h3 {
    font-size: 6rem;
    color: #009444;
    border-bottom: 4px solid #009444;
}

.text-content br{
        content: "";
        margin: 5em;
        display: block;
        font-size: 80%;
      
}

.text-content p {
    font-size: 2rem;
    color: #555;
    line-height: 1.6;
}

.about h2 {
    font-family: "argonite", sans-serif;
    text-align: center;
  }
 

.about-heading{
    text-align: center;
}

.heading{
    padding-top: 6rem;
    display: inline-block;
    font-size: 3.5rem;
    color: #8DC63F;
    position: relative;
    letter-spacing: .2rem;
    margin: -2rem auto 2rem auto;
}


.about-heading p{
    font-size: 2rem;
    color: #333;
}

.heading::before, .heading::after{
    content: '';
    position: absolute;
    height: 2.5rem;
    width: 2.5rem;
    border-top: .4rem solid #8DC63F;
    border-left: .4rem solid #8DC63F;
}

.heading::before{
    top: 5.8rem;
    left: -2rem;
}

.heading::after{
    bottom: -.5rem;
    right: -2rem;
    transform: rotate(180deg);
}



.footer {
    position: relative;
    padding: 0 0 30px 0;
    background: #333;
}

.footer .footer-top {
    background: #009444;
    padding: 60px 0 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


.footer .footer-top .footer-info,
.footer .footer-top .footer-links,
.footer .footer-top .footer-contact,
.footer .footer-top .footer-newsletter {
    margin-bottom: 30px;
    flex: 1;
}

.footer .footer-top .social-links a {
    font-size: 2.2rem;
    display: inline-block;
    background: #ffffff;
    color: #8DC63F;
    line-height: 1;
    padding: 9px 0;
    margin-right: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

.footer .footer-top .social-links a:hover {
    background: #8DC63F;
    color: #ffffff;
}

.footer .footer-top h4 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer .footer-top h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 50px;
    border-bottom: 2px solid #ffffff;
}

.footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-top .footer-links ul i {
    padding-right: 8px;
    color: #ffffff;
    font-size: 2.2rem;
}

.footer .footer-top .footer-links ul li {
    border-bottom: 1px solid #ffffff;
    padding: 7px 0;
}

.footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-top .footer-links ul a {
    font-size: 2rem;
    color: #ffffff;
}

.footer .footer-top .footer-links ul a:hover {
    color: #8DC63F;
}

.footer .footer-top .footer-contact {
    margin-left: 10%;
    margin-bottom: 30px;

}

.footer .footer-top .footer-contact h4 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer .footer-top .footer-contact h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 50px;
    border-bottom: 2px solid #ffffff;
}

.footer .footer-top .footer-contact p {
    color: #ffffff;
    line-height: 26px;
    font-size: 2rem;
}

.footer .footer-top .footer-contact a {
    color: #8DC63F;
    text-decoration: none;
}

.footer .footer-top .footer-contact a:hover {
    color: #ffffff; 
    text-decoration: underline;
}

.footer .footer-top .footer-newsletter input[type="email"] {
    padding: 6px 8px;
    width: 60%;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
}

.footer .footer-top .footer-newsletter input[type="submit"] {
    border: 0;
    width: 40%;
    padding: 6px 0;
    text-align: center;
    color: black;
    border: 1px solid #ffffff;
    background: #ffffff;
    transition: 0.3s;
    cursor: pointer;
}

.footer .footer-top .footer-newsletter input[type="submit"]:hover {
    color: #ffffff;
    background: #8DC63F;
    border: 1px solid #8DC63F;
    letter-spacing: .2rem;
}

.footer .footer-top .footer-newsletter p {
    color: #ffffff;
    font-size: 14px;
}

.footer .footer-top::before {
    content: url('../images/logo.png'); 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(30%, -50%);
    opacity: 0.1; 
    width: 120px; 
    height: auto;
    pointer-events: none; 
    z-index: 0;
}

.footer .credit,
.footer .copyright {
    text-align: center;
    padding-top: 30px;
}

.back-to-top {
    position: fixed;
    display: none;
    background-color: #8DC63F;
    color: #ffffff;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 1;
    font-size: 44px;
    right: 15px;
    bottom: 15px;
    transition: background 0.3s;
    z-index: 9;
}

.back-to-top i {
    color: #ffffff;
}

.back-to-top i:hover {
    color: black;
}

@media (min-width: 768px) {
    .footer .credit {
        text-align: right;
    }
    
    .footer .copyright {
        text-align: left;
    }
}

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

    .header .logo img{
        width: 20%;
        height: 3rem;
        top: 0;
        left: 0;
        background-size: cover;
    }

    .header .fa-bars{
        display: block;
        color: 	white;
        margin-right: 1rem;
    }

    .header .fa-bars:hover{
        color: #8DC63F;
    }

    .header .navbar{
        position: fixed;
        top: -120%;
        left: 0;
        height: auto;
        width: 100%;
        background-color: white;
        z-index: 1000;
        border-top: .1rem solid rgba(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{
        color: grey;
        font-size: 2.4rem;
    }

    .header .fa-times{
        transform: rotate(90deg);
    }

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

    .home{
        min-height: 60vh;
    }

    .home h2{
        color: #fff;
        font-size: 4rem;
    }
    section {
        padding: 5%;
      }
     
      
    .about{
        min-height: 38vh;
        width: 100vw;
        margin-top: -3rem;
        margin-bottom: -2rem;
        top: -2rem;
        text-align: center;
        position: relative;
        overflow: hidden;
        line-height: 6rem;
    }

    .about-content {
        flex-direction:column;
        text-align: center;
    }

    .text-content {
        margin-bottom: 1rem;
    }

    .about-content img {
        max-width: 100%;
        margin-top: 2rem auto;
    }
  
    
      .about img {
        width: 100%;
        margin-top: 2rem auto;
      }

      .align-left .text-content {
        order: 1; /* Text comes first */
    }

    .align-left img {
        order: 2; /* Image comes second */
    }
      
    .about .row{
        line-height: 2rem;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 0 4rem;
    }
    
    .about .row .content{
        text-align: center;
    }
    
    .about .row .content h3{
        font-size: 2rem;
        color: var(--color);
    }
    
    .about .row .content p{
        font-size: 1.3rem;
        color: #333;
        padding: 1rem 0;
    } 

    .back-to-top x{
        width: 30px;
        height: 30px;
        font-size: 30px;
    }

@media screen and (min-width: 768px) {
  body {
    padding: 0% 10%;
  }
  .about {
    display: flex;
    gap: 5rem;
    justify-content: space-between;
  }
  .about-content {
    flex-direction: row;
    text-align: left;
  }
  .about-content img {
    width: 50%;
    margin: 1rem;
    max-width: none;
}
  .about img {
    width: 50%;
  }
  .about h2 {
    text-align: start;
  }
  .text-content {
    margin-bottom: 0;
}
  section {
    padding: 10%; 
} 
}
}