*{
  margin: 0;
  padding: 0;
}
body{
  min-height: 200vh;
  background: url('laptop.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
nav{
  background-color: white;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
nav ul{
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
nav li{
  height: 50px;
}
nav a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: black;
}
.navtext {
     position: absolute;
     top:-255px; 
     left:8px;
    }
nav a:hover{
  background-color: #f0f0f0;
}
nav li:first-child{
  margin-right: auto;
}
.sidebar{
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.sidebar li{
  width: 100%;
}
.sidebar a{
  width: 100%;
}
.menu-button{
  display: none;
}
@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
 .navtext{
    position:absolute;
    top: -400px;
  }
}
@media(max-width: 400px){
  .sidebar{
    width: 50%;
  }
}

/*
------------------------------------------------------------------------------
-------------------------styling home header section---------------------------------
------------------------------------------------------------------------------
*/

/* carousel */
.carousel{
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .title{
    font-size: 3em;
    font-weight: bold;
    line-height: 1.3em;
}
.carousel .list .item .topic{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.carousel .list .item .topic{
    color: blue;
}
.carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carousel .list .item .buttons button{
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
}
.carousel .list .item .buttons button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}
/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: blue;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}



/*
------------------------------------------------------------------------------
-------------------------styling of  section1 and subsectio1---------------------------------
------------------------------------------------------------------------------
*/

.section1{
    background-color: #cdfad9;
}

.subsection1content h2{
text-align: center;
padding-top: 12px;
padding-bottom: 12px;
font-weight: bold;
font-size: xx-large;
}

.subsection1content p{
    text-align: center;
}

.section1 .subsection1{

    display: flex;
    justify-content: center;
}

.section1 .subsection1 .productcard{

margin: 8px;
}

@media(max-width: 400px){
.section1 .subsection1{
  display: block;
  margin-right:13px ;
}

}

@media(max-width: 700px){
.section1 .subsection1{
  display: block;
  margin-left:30px ;
}
}


/*
------------------------------------------------------------------------------
-------------------------styling shop product section---------------------------------
------------------------------------------------------------------------------
*/

.productsection{
  display: flex;
  justify-content: center;
   margin-left: 420px;

}

.productsection .productcard{
     display: inline-block;
     border: solid 1px;
     margin: 4px;
    
     border-radius: 6px;
     width: 260px;
}

.itemcat{
  background-color: rgb(2, 126, 27);
  color: white;
  border-radius: 6px;
  width: 52px;
  position: absolute;
  font-weight: 550;
  font-family: Arial, Helvetica, sans-serif;
  font-size:10px ;
  padding :0px 5px;
  margin-left:7px;
  margin-top:7px ;
}


.productinfo{
  margin-left: 15px;
  margin-top: 15px;
}

.productinfo h1{
    font-size: 25px;
    color:white;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}

.productinfo p{
   margin-top: 7px;
   font-family: Arial, Helvetica, sans-serif;
   line-height: 16px; 
}

.productsection .productbutton{
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
  background-color: rgb(2, 126, 27);
  height: 30px;
  border-radius: 4px; 

}

.productsection .productbutton span{
  color: white;
  text-align: center;
  width: 500%;
  font-weight:bold ;
  margin-left:100px ;
  font-size: large;
}

@media(max-width: 400px){
.productsection{
  display: block;
  margin-left:10px ;
  
}

.productsection .productcard{
     display: flex;
     border: solid 1px;
     margin-top: 50px;
     margin-bottom: 53px;
     border-radius: 6px;
     width: 320px;
     margin-right: 0px;
     position: absolute;
     left: 5px;
}

}

@media(max-width: 700px){
.productsection{
  display: block;
  margin-left:30px ;
}

}



/*-stylying whatsapp button-*?/
  /* General Body and Demo Content Styling */
       
                /* --- WhatsApp Button (Inner Circle) Styling --- */
        .whatsapp-button {
            position: fixed; 
            bottom: 20px;   
            left: 20px;     
            
            display: flex;
            justify-content: center;
            align-items: center;
            width: 70px;  
            height: 70px; 
            background-color: #25d366; /* WhatsApp green */
            border-radius: 50%; 
            color: white;
            font-size: 35px; 
            text-decoration: none; 
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
            z-index: 1000; 
           
            overflow: visible; /* Ensure the ring can appear outside the button */
        }

        /* --- Blinking Outer Ring (Circumference) Styling --- */
        .whatsapp-button::before {
            content: '';
            position: absolute;
            top: -6px; 
            left: -6px; 
            right: -6px; 
            bottom: -6px; 
            border: 3px solid #34a853; /* Slightly thicker border for visibility */
            border-radius: 50%;
            z-index: -1; 
            
            /* The Animation Property */
            animation: pulse-ring 1.5s infinite; /* Faster and simpler pulse */
        }
        
        /* --- KEYFRAMES for the simpler pulsing/blinking animation --- */
        @keyframes pulse-ring {
            0% {
                transform: scale(0.9);
                opacity: 0.7;
            }
            100% {
                transform: scale(1.1);
                opacity: 0; /* Ring fades out completely at the max scale */
            }
        }



       