*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "roboto","poppins";
    background-color: whitesmoke;
    background-position: center;
    color: #1a73e8;
    padding: 20px;
    line-height: 1.6;
    min-height: 100vh;
  /*      opacity: 0;
        transform: translateX(20px);
    animation:fadeslideup 0.7s  ease-out forwards;*/

}

           /*header*/
 
           .header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            color: white;
            position: relative;
            z-index: 100;
           }

           .logo{
            display: flex;
            justify-content: center;
            align-items: center;
            color: #000;
            gap: 10px;
            font-size: 1.5rem;
            font-weight: 700;
           }


           /* hambuger */
           .hambuger{
            width: 30px;
            cursor: pointer;
            display:none;
            flex-direction: column;
            gap: 6px;
           }
           .hambuger span{
            display: block;
            width: 100%;
            height: 3px;
            background-color:#333;
            border-radius: 3px;
           }
             
           .nav ul{
            display: flex;
            gap: 20px;
            list-style: none;
           }
           .nav a{
            text-decoration: none;
            font-size: 16px;
            color: #222;
           }

/*  deskop*/
@media(max-width:768px){
    .hambuger{
        display: flex;
    }
    .nav{
        position:fixed;
        left: -250px;
        top: 0px;
        width: 250px;
        height: 100vh;
        background-color: white;
        padding-top: 80px;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    }
    .nav.open{
        left: 0;
    }
    .nav ul{
        flex-direction: column;
        gap: 25px;
        padding-left: 20px;
    }
    .hero-btn{
        display: flex;
    }
}

.hero{
    width: 100%;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content{
    max-width: 500px;
}

.hero-img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-image: url(/image/logo2.jpg);
    background-position: center;
    background-size: cover;
     margin: 0 auto 20px;
     border: 4px solid black;
}
.hero h1{
    font-size: 2rem;
    margin-bottom: 10px;
}
.hero p{
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}
.hero-btn{
    display: inline-block;
    padding: 10px 25px;
    background: #000;
    color: #fff;
    margin-top: 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 2s ease;
}
.hero-btn:hover{
    transform: scale(1.05);
}
@media (max-width:600px){
    .hero-img{
        width: 120px;
        height: 120px;
    }
    .hero h1{
        font-size: 1.6rem;
    }
}


/*  event*/
.events{
    margin-top: 30px;
}
.event-title{
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
}

/*  tab*/
.tabs{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}  
.tab{
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.tab.active{
    background: #1a73e8;
    color: white;
}
.tab-content{
    display: none;
    text-align: center;
    background-color:transparent;
    color: #000;
    padding: 15px;
    border-radius: 8px;
    max-width: 800;
}
.tab-content.active{
    display: block;
}
.event-banner{
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(20px);
    animation:fadeslideup 0.7s  ease-out forwards;
}
@keyframes fadeslideup{
    to{
        opacity: 1;
        transform: translateX(0);
    }
}


.button{
    margin-top:40px ;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
@media (max-width:768px){
    .button{
        flex-direction: column;
        gap: 1rem;
    }
}
.btns{
    display:block;
    text-align: center;
    background-color: #1a73e8;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
}

.navbar{
    background-color: #0e1012;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
}
.logo{
    font-family:system-ui;
    font-weight: 600;
    letter-spacing:1px;
}
.nav-links {
display: flex;
gap: 1rem;
}

        .product{
            max-width: 1200px;
            margin: auto;
            padding: 20px;
        }
        .product-space{
            display: grid;
            grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
            gap: 20px;
        }
        .product-card{
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.699);
        }
        .product-card img{
            width: 100%;
            margin: 10px 0;
        }
        .product-card h2{
            font-size: 20px;
            margin: 10px 0;
        }
        .product-card p{
            font-size: 14px;
            color: #555;
        }

a{
    text-decoration: none;
    color: #1a73e8;
}
.product-card:hover{
    transform: scale(1.03);
}

.product-price{
    font-size: 1.3em;
    font-weight: bold;
    color: #00c300;
    margin:1rem 0;
}
.product{
    padding: 20px;

}
.product-img{
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}
.buy-btn{
    display: inline;
    background: #0b8cff;
    color: #fff;
    padding: 12px 18px;
    margin-top: 10px;
    text-decoration: none;
}
.ebook-container{
    margin-top: 20px;
    color: #000;
}
.ebook-cover{
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}
.ebook-info{
    margin-top: 20px;
}
.ebook-title{
    font-size: 24px;
    margin-bottom: 10px;
}
.ebook-price{
    font-size: 22px;
    font-weight: bold;
    color: #0a8901;
}
.ebook-desc{
    font-size: 15px;
    margin: 15px 0;
}
.ebook-btn{
        display: inline-block;
    background: #25d366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-decoration: none;

}
.reviews{
    padding: 40px 0;
}
.section-title{
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;

}
.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(110px,1fr));
    gap: 15px;
    padding: 10px;
}
.gallery img{
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition:  0.5s;
}
#lightbox{
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 128, 128, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
#lightbox img{
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
}
.nav-btn{
    border: none;
    background-color: #222;
    color: white;
    font-size: 22px;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
}
@media(min-width){
    .ebook-container{
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }
    .ebook-cover{
        width: 40%;
    }
    .ebook-info{
        width: 60%;
    }
}
.community-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* community SECTION */
.community-form{
    background-color: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
}

.community-form h2{
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.community-form p,.popup p{
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.community-form form,.popup form{
    max-width: 500px;
    margin: 0 auto;
}

.community-form input{
    width: 90%;
    max-width: 400%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.community-link{
 margin: 1.5rem 0;
 display: flex;
 justify-content: space-around;
 flex-wrap: wrap;
 gap: 1rem;
    
}

.community-link a {
    background-color: #5c6bc0;
    color:white;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.community-link a:hover{
    background-color: #3f51b5;
}

.community-form button{
    background-color: #ff5e00;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}
 button{
    background-color: #0066ff;
    color: rgb(248, 245, 245);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
}
#contact {
    text-align: center;
    margin: 10px;
}
#contact h2{
    margin: 10px;
}
#contact a{
    color: #fdfdfd;
}
/* faq */

    .faq-header h2{
        font-size: 1.3rem;
    }
    .close-btn{
        background: none;
        border: none;
        color: rgb(243, 9, 9);
        font-size: 1.5rem;
        cursor: pointer;
    }

.FAQ-item{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px 10px;
    border-bottom: 1px solid #808080ab;
}
.FAQ-question{
    padding: 15px 20px;
    background-color:whitesmoke;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(22, 22, 22, 0.527);
    color: #0f0f0f;
    border: none;
    width: 350px;
    outline: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 1em;
}
.FAQ-question:hover{
    color: #00bfff;
}

.answer{
    display: none;
    color: #141414;
    margin-top: 8px;
    padding: 15px 20px ;
    font-size: 0.95em;
    line-height: 1.5;
}

.answer.active{
    display:block;
}


.open-faq-btn{
    background-color: #00bfff;
    border: none;
    color: white;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}
.open-faq-btn:hover{
background-color: #0080ff;
}


@media (max-width:768px){
    .navbar{
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links{
        flex-direction: column;

    }
    .product h2{
        font-size: 1.6rem;
    }
    .logo{
        font-size:1rem ;
    }
    .hero p{
        font-size: 12px;
    }
}
@media(max-width:320px){
    .logo{
        font-size: 1rem;
    }
        .hero p{
        font-size: 10px;
        color: #000;
    }


}
@media (max-width:280px){
    .FAQ-question{
        font-size: 0.5rem;
        font-weight: 1rem;
    }
    .answer{
        font-size: 0.7rem;
        font-weight: 1rem;
    }
}


.stars{
    font-size: 28px;
    cursor: pointer;
}
.stars i{
    color: #ccc;
    margin-right: 6px;
}

.stars i.active{
    color: gold;
}
#ratingMsg{
    margin-top: 10px;
    font-size: 14px;
    color: green;
}

footer{
    background-color:  #f9f9f9;
    color: #000000;
    padding: 25px 10px;
    text-align: center;
    margin-top: 40px;
}

.footer-social{
    color: white;
    font-size: 24px;
    margin: 0px 10px;
}
.footer-social a :hover{
    opacity: 0.6;
}


.fade-in{
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}
.fade-in.visible{
    opacity: 1;
    transform: translateY(0);
}
.hero h1,.hero p,.hero-btn{
    opacity: 0;
    animation: slideup .9s   ease forwards ;
}
.hero h1{animation-delay: .1s;}
.hero p{animation-delay: .3s;}
.hero .hero-btn{animation-delay: .5s;}
@keyframes slideup{
    0%{
        opacity: 0; transform: translateY(40px);
    }
    100%{
        opacity: 1; transform: translateY(0);
    }
}






