@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/* font-family: "Montserrat", sans-serif; */
:root{
--header-height: 3.5rem;
--first-color:rgb(0, 101, 0);
--first-color-alt:rgb(29, 138, 29);
--first-color-light:lightgreen;
--title-color:white;
--text-color: hsl(228, 8%, 70%);
--container-color:hsl(228, 6%, 12%);
--shadow-img:0 0 48px hsl(93, 54%, 54% .4);
--gradient-card : linear-gradient(180deg, 
                                  hsla(93, 8%, 8%)
                                  hsla(93, 40%, 30%) );


--body-font: "montserrat", sans-serif;
--biggest-font-size: 2.25rem;
--h1-font-size : 1.5rem;
--h2-font-size : 1.25rem;
--h3-font-size : 1rem;
--normal-font-size: .938rem;
--small-font-size : .813rem;

--font-regular : 400;
--font-semi-bold: 600;
--font-bold: 700;

--z-tooltip: 10;
--z-fixed : 100;
                           
}

@media screen and (min-width: 1150px){
    :root{
        --biggest-font-size : 4.25rem;
        --h1-font-size: 2.25rem;
        --h2-font-size : 1.5rem;
        --h3-font-size : 1.25rem;
        --normal-font-size : 1rem;
        --small-font-size: .875rem;

    }
 
}

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family:var(--body-font);
    font-size: var(--normal-font-size);
   background-color:rgb(35, 42, 34);
    color: var(--text-color);
}
h1, h2, h3, h4{
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}
ul{
    list-style: none;
}
a{
    text-decoration: none;

}
img{
    display: block;
    max-width: 100%;
    height: auto;
}

.container{
    max-width: 1120px;
    margin-inline:1.5rem ;

}
.grid{
    display: grid;
    gap: 1.5rem;
}
.section{
    padding-block: 5rem 1rem;
}
.section__title{
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
    text-align: center;
    margin-bottom: 1rem;
}
.main{
    overflow: hidden;
}

/* =====HEADER AND NAV */
.header{
    position: fixed;
    width: 100%;
  
    top: 0;
    left: 0;
    background-color: transparent;
    z-index: var(--z-fixed);
}
.nav{
    position: relative;
    height: var(--header-height);
   ;
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.nav__logo,
.nav__close,
.nav__toggle,
.nav__actions{
    display: flex;
    color: var(--title-color);
    cursor: pointer;

}
.nav__logo{
    width: 300px;
   

}
.logo{
    width: 150px;
}
.nav__actions{
    font-size:1.25rem ;
    color: var(--first-color);
    font-weight: initial;
}
.nav__actions{
    font-size: 1.25rem;
    column-gap: .5rem;
    align-items: center;

}
.show-menu{
    right: 0;
    
}
.home.section {
    background: linear-gradient(135deg, #323232, #274f277d 66.67%, #26512b 66.67%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
}

.divider{
    width: 50%;
    margin-top: 20px;
    background: linear-gradient(135deg, #86ba9e, #274f27f4 66.67%, #ffffff7d 66.67%, #26512b 66.67%, #53945a 66.67%);
    clip-path: polygon(0 25, 100% 0, 100% 90%, 90% 100%, 79 90%);
height: 15px;
margin-left: auto;
margin-right: auto;
}


@keyframes rotateImage {
    from { transform: translateZ(-100px) scale(1.5) rotateY(0deg); }
    to { transform: translateZ(-100px) scale(1.5) rotateY(360deg); }
}

/* ====MOBILE FIRST */
@media screen and (max-width:1150px){
    .logo{
        width: 150px;
    }
    .nav__menu{
        position: fixed;
        top: 0;
        right: -100%;
        background-color:hsla(228, 24%, 6%, .2 ) ;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: (blur(16px));
        width: 80%;
        height: 100%;
        padding: 6rem 3rem 0;
        transition: right .4s;
    }
    .nav__list{
        display: flex;
        flex-direction: column;
        row-gap: 3rem;

    }
    .nav__link{
        color:white;
        font-weight: var(--font-semi-bold);
        transition: color .4s;
            
    }
    .nav__link:hover{
        color: var(--first-color)
    }
    .nav__close{
        position: absolute;
        top: 1.15rem;
        right: 1.5rem;
        font-size: 1.25rem;


    }
   
    }
    .blur-header::after{
    content:'' ;
    position: absolute;
    width: 100%;
    height: 4rem;
    background-color: hsla(82, 5%, 56%, 0.319);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter:blur(16px) ;
    top: 0;
    left: 0;
    z-index: -1;

border: 5px solid rgba(255, 255, 255, 0.107);}
    .home__container{
    top: 0;
      row-gap: 2rem;  
    }
    .home__description{
        font-weight: 200;
        font-size: 18px;
        margin-bottom: 1.5rem;
    }
    .home__img{
        width: 200px;
        border: 1px solid rgb(100, 147, 100);
      box-shadow: 1px 0 rgb(0, 176, 0), 0 1px rgb(107, 243, 107), 1px 0 rgb(193, 243, 204), 0 -1px rgb(148, 255, 127 );
        justify-self: center;
        

    }
    .home__data{
        text-align: center;
    }
   .home__title{
    font-size: 30px;
    font-weight: var(--font-bold);
    margin-bottom: 1rem;

   }    
   .home__title span{
    color: var(--first-color);
   }
.home__buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .5rem;

}
.button{
    background-color: white;
    color: rgb(53, 108, 51);
    font-weight:400;
    padding: .5rem 1.5rem .5rem .5rem;
    border-radius: 4rem ;
    display: inline-flex;
    align-items: center;
    column-gap: .75rem;
   
    
}
.button span{
    background-color: rgb(174, 174, 174);  
    
    font-size: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: transform .4s;

}
.button:hover span{
    transform: translateX(.15rem) rotate(30deg);

}
.show-menu{
    right: 0;
}
.home__buttons a{
    font-size: 15px;
}
.button__link{
    color:white;
    }
    .button__link:hover{
        color: var(--first-color);
    }
    
.new__data{
    text-align: center;
}
.new__container{
    row-gap: 7.5rem;
}
.new__content{
    row-gap: 6rem;
}
.new__card{
    position: relative;
    width: 200px;
    background: linear-gradient(20deg, rgba(156, 235, 39, 0.453) 0%, rgba(1, 117, 20, 0.53) 0%, rgb(0, 0, 0) 75%, rgba(182, 235, 104, 0.404) 100%);
padding: 9rem .75rem 1.5rem .75rem;
border: 2px solid var(--first-color);
border-radius: 1.5rem;
}
.new__img{
    position: absolute;
    top: -4.5rem;
    left: 0;
    right: 0;
    width: 180px;
    margin: 0 auto;
    transition: transform .4s ;
}
.new__title{
    font-size: var(--h2-font-size);
    text-align: center;
}
.new__card:nth-child(odd){
rotate:-5deg ;
}
.new__card:nth-child(even){
    justify-self: flex-end;
    rotate: 5deg;
}
.new__card:hover .new__img{
  transform: translateY(-.5rem);  
}
.product__details{
    position: absolute;
    padding: 10px;
    margin-top: 40px;
    border-radius: 10px;
    background-color: var(--first-color);
    color: white;
    font-weight: 600;
}
.product__details:hover{
    color: var(--first-color);
    background-color: rgb(199, 199, 199);
}
/* Styling the section title */
.care__title {
    font-size: 3em;
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Arial Black', sans-serif;
    color: #fff;
    background: linear-gradient(to right, #246926, #a1cd1a, #ffffff); /* Triple tone gradient with green base */
    -webkit-background-clip: text; /* Clip text to the background */
    -webkit-text-fill-color: transparent; /* Hide the text color */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Glossy effect */
    width: 75%; /* Reduced width */
    margin: 0 auto; /* Center the title */
}

/* Centering the container and applying styles */
.care__container {
    position: relative; /* Position relative for parallax effect */
    display: flex;
    justify-content: center;
    background-color: #f7f7f7; /* Bright background */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Enhanced box shadow */
    padding: 30px;
    border-radius: 20px;
    width: 75%; /* Reduced width */
    margin: 0 auto; /* Center the container */
}

/* Styling the list items */
.care__item {
    margin-bottom: 40px;
    list-style: none;
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 20px;
    background-color: #fff; /* White background */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Box shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Styling the icon */
.care__item i {
    font-size: 2em;
    margin-right: 20px;
    color: #12ab7a; /* Red color */
}

/* Styling the content */
.content {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555; /* Text color */
}

/* Styling the alternating background color for items */
.care__item:nth-child(even) {
    background-color: #f9f9f9; /* Light gray */
}

/* Hover effect */
.care__item:hover {
    transform: translateY(-5px); /* Lift on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Enhanced box shadow on hover */
}

/* Parallax effect */
.care__container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/_DSC7368_1.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    z-index: -1; /* Place behind other content */
    opacity: 0.2; /* Adjust opacity as needed */
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    .care__title {
        font-size: 2.5em;
    }

    .care__item i {
        font-size: 1.5em;
    }

    .content {
        font-size: 1em;
    }
}

.shop__container{
    padding-top: 6.5rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem 1.5rem;
}
.shop__card{
    position: relative;
    background: linear-gradient(20deg, rgba(0,36,64,1) 0%, rgba(9,138,30,1) 0%,
     rgb(16, 15, 15) 69%, rgb(101, 99, 99) 100%);;
    padding: 5.75rem .75rem 1.25rem .75rem;
    border: 5px solid rgba(183, 255, 177, 0.541);
    border-radius: 1rem;
}
.shop__img{
    position: absolute;
    top: -4.5rem;
    left: 0;
    right: 0;
    border-radius: 50% 25%;
    width: 150px;
    border: 2px solid rgba(183, 255, 177, 0.541);
    margin: 0 auto;
    transition: transform .4s;
    }
    .shop.__title{
        font-size: var(--small-font-size);
        font-weight: var(--font-semi-bold);
        margin-bottom: .5rem;
    }
    .shop__price{
        color: var(--title-color);
      font-weight: 300;
    }
    .shop__button{
        position: absolute;
        right: .75rem;
        bottom: .75rem;
        outline: none;
        border: none;
        background-color: white;
        padding: 4px;
        border-radius: 50%;
        font-size: 1.25rem;
        display: grid;
        cursor: pointer;
    }
    .shop__button:hover{
        transform: translateY(-.9rem);
        transition: .4s;

    }
    .shop__img:hover{
        transform: translateY(-.9rem); 
    }

/* ===contact */
.contact__container{
    padding-top: 2rem;
    row-gap: 2rem;    
}
.contact h2{
    font-size: 20px;
}
.contact__img{
    width: 270px;
    filter: drop-shadow(var(--shadow-img));
    justify-self: center;
}
.contact__content{
    display: grid;
    row-gap: 2rem;
    text-align: center;

}
.contact__title{
    font-size: var(--h2-font-size);
    margin-bottom: .5rem;

}
.contact__social{
    display: flex;
    justify-content: center;
    column-gap: .75rem;
}
.contact__social a{
    color: var(--first-color);
    font-size: 1.5rem;
}
.contact__info{
    font-style: normal;
}
.footer{
 padding-block: 4rem 2rem;   
}
.footer__container{
    row-gap: 4rem;
}
.footer__logo{
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    color: var(--title-color);
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: .75rem;

}
.footer__logo i{
    color: var(--first-color);
    font-size: 1.5rem;
    font-weight:initial ;
}
.footer__content{
    grid-template-columns: repeat(2, max-content);
    gap: 4rem 3rem;
}
.footer__title{
    font-size:normal ;
    margin-bottom: 1rem;

}
.footer__links{
    display: grid;
    row-gap: .75rem;
}
.footer__link{
    color: var(--text-color);
    transition: color .4s;
}
.footer__social{
    display: flex;
    column-gap: .75rem;
}
.footer__social-link{
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color .4s;
}
.footer__link_hover,
.footer__social-link{
    color: var(--first-color);
}
.footer__copy{
    display: block;
    margin-top: 6rem;
    text-align: center;
    font-size: var(--small-font-size);
}
::-webkit-scrollbar{
    width: .6rem;
    background-color: rgb(127, 127, 127);

}
::-webkit-scrollbar-thumb{
    background-color: rgb(211, 211, 211);
}
::-webkit-scrollbar-thumb:hover{
    background-color: rgb(255, 255, 255);
}
.scrollup{
    position: fixed;
    right:1rem ;
    bottom: -50%;
    background-color: var(--first-color);
    color: var(--title-color);
    box-shadow: 0 12px 24px hsla(228, 48%, 40%, .5);
    display: inline-flex;
    padding: 6px;
    font-size: 1.25rem;
    z-index: var(--z-tooltip);
    transition: bottom .4s, transform .4s;
    border-radius: 50%;

}
.show-scroll{
    bottom: .5rem;
}
.active-link{
    color: var(--first-color);
    
}

/* =================FOR SMALL DEVICES===========================*/
@media screen and (max-width: 320px){
    .container{
        margin-inline:1rem ;
    }
    .home__title{
        font-size: 2rem;
    }
.home__buttons{
    flex-direction: column;
    row-gap: 1.5rem;
}
.shop__container{
    
    grid-template-columns: 160px;
    justify-content: center;

}
.footer__container{
    grid-template-columns: max-content;

}

}
/* =================FOR MEDIUM DEVICES===========================*/
@media screen and (min-width: 576px){
    .home__container,
    .new__container,
    .care__container{
      grid-template-columns:400px ;
      justify-content: center;  
    }
    .shop__container{
        grid-template-columns: repeat(2, 160px);
        justify-content: center;
    }
    .footer__container{
    grid-template-columns:repeat(3, max-content) ; 
    }
}
@media screen and (min-width: 768px){
    .nav__menu{
       width: 50%;
       }
       .new__content{
       grid-template-columns:repeat(2, 1fr);
       column-gap: 4rem;
    }
    .new__card:nth-child(even){
        transform: translateY(10rem);
    }

    .shop__container{
        grid-template-columns: repeat(3, 160px);        
    }
    .footer__container{
       grid-template-columns: repeat(2, max-content);
       justify-content: space-between; 
    }
}
/* ==============FOR LARGER DEVICES============================ */
@media screen and (min-width:1150px ){
    .container{
      margin-inline: auto;  
    }
    .section{
        padding-block: 7rem 2rem;
    }
    .section__title{
      margin-bottom:1.5rem ;  
    }
    .nav{
        height: calc(--header-height)+ 2rem;
    }
    .nav__toggle,
    .nav__close{
        display: none;
    }
    .nav__logo i{
       font-size: 1.5rem; 
    }
    .nav__menu{
        width: initial;
    }
    .nav__list{
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        column-gap: 3.5rem;
    }
    .nav__list a{
        text-decoration: none;
        color: white;
    }
    .nav__actions{
        font-size: 1.5rem;
        column-gap: 1rem;
        }
     .home__container{
        grid-template-columns:480px 535px;
        align-items: center;
        column-gap: 4rem;
        padding-top:4rem;
     } 
     .home__img{
        width: 300px;
     }  
     
     .home__data{
      text-align: initial;        
     }
     .home__description{
      margin-bottom: 4.5rem;

     }
     .home__buttons{
        justify-content: initial;
        column-gap: 1.5rem;
     }
     .new__container{
        grid-template-columns: 412px 490px;
        align-items: center;
        column-gap: 7.5rem;  
    }
    .new__data,
    .new__data .section__title{
        text-align: initial;
    }
   .new__container{
    row-gap:8.5rem ;

   } 
   .new__title{
    font-size: var(--h3-font-size);
   }
   .shop{
    margin-top: 100px;
   }
   .shop__container{
    grid-template-columns: repeat(3, 240px);
    gap: 8.5rem 4rem;
    padding-top: 7.5rem;
   }
   .shop__card{
    padding: 10.5rem 1.5rem 2rem;
    border-radius: 1.5rem;
   }
   .shop__img{
    width: 210px;
    top: -5.5rem;
   }
   .shop.__title{
    font-size: var(--h3-font-size);
   }
   .shop__price{
    font-size: var(--h2-font-size);
}
.shop__button{
    right: 1.5rem;
    bottom: 2rem;
    font-size: 1.5rem;
}
.care__container{
    grid-template-columns: 480px 385px;
    align-items: center;
    column-gap: 8rem;
    padding-top: 3rem;
}
.care__img{
    width: 480px;
}
.care__list{
    row-gap: 1.5rem;
}
.contact__container{
    grid-auto-columns: 280px 480px;
    justify-content: center;
    align-items: center;
    column-gap: 8rem;
    padding-block: 3rem;
}
.contact__content{
    order: -1;
    text-align: initial;
    row-gap: 2.5rem;
}
.contact__social{
justify-content: initial;
}
.contact__img{
    width: 480px;
}
.footer__logo{
    margin-bottom: 1.5rem;
}
.footer__logo i{
    font-size: 2rem;
}
.footer__content{
    column-gap: 5.5rem ;
}
.footer__title{
    font-size: var(--h3-font-size);
    margin-bottom: 1.5rem;
}
.footer__social{
column-gap: 1rem;
}
.footer__copy{
    margin-top:7.5rem ;
}
.scrollup{
    right: 3rem;

}


}
@media screen and (max-width:694px){
    .home.section {
        background: linear-gradient(135deg, #323232, #274f277d 66.67%, #26512b 66.67%);
        clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    }
    .home__buttons {
        display: none;
        display: flex;
        justify-content: center;
        align-items: center;
        column-gap: .5rem;
        padding-bottom: 40px;
    }
}