@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/img5.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%;
  }


main {
    padding: 2rem;
}

.concentrates{
    min-height: 55vh;
    width: 100vw;
    top: -3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    line-height: 10rem;
}

.concentrates .row{
    line-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 2rem;
}

.concentrates .row .content{
    text-align: center;
}

.concentrates .row .content h3{
    font-size: 3rem;
    color: black;
}

.concentrates .row .content p{
    font-size: 2rem;
    color: #333;
    padding: 1rem 0;
}

.concentrates-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.concentrates-content img {
    width: 35%; 
    max-width: 500px; 
    height: auto;
    object-fit: cover; 
}

.text-content {
    text-align: justify;
    text-justify: inter-word;

}

.text-contents {
    max-width: 600px; 
    margin: 0 auto; 
    text-align: center;
    text-justify: inter-word; 
    padding: 0 15px;
}

.text-contents img {
    width: 70%;
    display: block; 
    margin: 0 auto; 
    max-width: 100%;
    height: auto;
}
    

.text-content h3 {
    font-size: 6rem;
    color: #009444;
    border-bottom: 4px solid #009444;
}

.text-content br {
    content: ""; 
    display: block; 
    margin: 0; 
    line-height: 0; 
}

.text-content ul {
    list-style: none; 
    padding: 0; 
    margin: 0; 
    font-size: 2rem;
    color: #555;
}

.text-content li {
margin-bottom: 10px; 
    padding: 0; 
}

.text-content li br {
    content: ""; 
    display: block;
    margin: 0; 
    line-height: 1; 
}

.text-content li:last-child {
    margin-bottom: 0;
}

.text-content strong {
    font-size: 2rem;
    color: #009444;
    border-bottom: 1px solid #009444;
    margin-bottom: 2px;
}

.text-content h4 {
    font-size: 3rem;
    color: #555;
}

.text-content h5 {
    font-size: 2rem;
    color: #555;
}

.text-content br{
        content: "";
        margin: 5em;
        display: block;
        font-size: 80%;
      
}

.text-content p {
    font-size: 2rem;
    color: #555;
    line-height: 1.6;
}

.concentrates h2 {
    font-family: "argonite", sans-serif;
    text-align: center;
  }
 

.concentrates-heading{
    text-align: center;
}
#concentrates img {
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
}

.raw-materials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px; 
    box-sizing: border-box;
}

.raw-material {
    flex: 1 1 calc(25% - 30px);
    box-sizing: border-box;
    text-align: center;
    border-radius: 20px;
    width: 80%;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 25px;
    overflow: hidden;
    padding: 20;
    transition: transform 0.3s ease;
}

.raw-material img {
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    object-fit: cover; 
    height: auto;
    display: block; 
    margin: 0; 
    padding: 0;
    
}

.raw-material:hover {
    transform: scale(1.10); 
}

.polaroid{
        text-align: center;
        padding: 10px 20px;
      }

.polaroid p {
        color: #a4a4a4; 
        font-size: 1.8rem; 
        margin: 0;
        text-decoration: none; 
        transition: text-decoration 0.3s ease;
}

.raw-material:hover .polaroid p {
    color: #009444;
    font-size:2.2rem; 
    margin: 0;
    text-decoration: underline; 
}

.heading{
    padding-top: 6rem;
    display: inline-block;
    font-size: 3.5rem;
    color: #8DC63F;
    position: relative;
    letter-spacing: .2rem;
    margin: -2rem auto 2rem auto;
}


.concentrates-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%;
      }

    .concentrates{
        min-height: 38vh;
        width: 100vw;
        margin-top: -3rem;
        margin-bottom: -2rem;
        top: -2rem;
        text-align: center;
        position: relative;
        overflow: hidden;
        line-height: 6rem;
    }
    
    .concentrates img {
        width: 100%;
        margin-top: 2rem;
    }

    .concentrates .row{
        line-height: 2rem;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 0 4rem;
    }
    
    .concentrates .row .content{
        text-align: center;
    }
    
    .concentrates .row .content h3{
        font-size: 2rem;
        color: var(--color);
    }
    
    .concentrates .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%;
        }
        .concentrates {
          display: flex;
          gap: 5rem;
          justify-content: space-between;
        }
        .concentrates-content {
          flex-direction: column;
          text-align: center;
        }
        .concentrates-content img {
          width: 50%;
          max-width: none;
      }
        .concentrates img {
          width: 50%;
        }
        .concentrates h2 {
          text-align: start;
        }

    }
        @media (max-width: 1200px) {
            .raw-material {
                flex: 1 1 calc(33.333% - 30px); 
            }
        }
        
        @media (max-width: 900px) {
            .raw-material {
                flex: 1 1 calc(50% - 30px); 
            }
        }
        
        @media (max-width: 600px) {
            .raw-material {
                flex: 1 1 100%; 
            }
        }
    }
