@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    background:#efefef;
    font-family:'Poppins', sans-serif;
    overflow-x:hidden;
}

/* NAVBAR */
.navbar{
    width:100%;
    display:flex;
    /* justify-content:space-between; */
    align-items:center;
    padding:10px 40px;
    position:sticky;
    top:0;
    z-index:1000;
    background:#efefef;
}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    width:85px;
    display:block;
}

nav{
    display:flex;
    gap:25px;
    justify-content:space-between;
    margin-left: 400px;
}

nav a{
    text-decoration:none;
    color:#111;
    font-size:14px;
    transition:0.3s;
    font-weight:500;
}

nav a:hover,
nav .active{
    color:#5b4dff;
}


/* HERO */
.hero-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:40px 70px;
    gap:40px;
}

.left{
    flex:1;
}

.left h1{
    font-size:78px;
    color:#081224;
    line-height:1;
    font-weight:700;
}

.left h2{
    font-size:60px;
    color:#2d1fa3;
    font-family:cursive;
    font-style:italic;
    margin:10px 0 25px 25px;
}

.wa-btn{
    display:inline-block;
    background:#5b4dff;
    color:white;
    text-decoration:none;
    padding:14px 30px;
    border-radius:40px;
    font-weight:600;
    margin-left:40px;
    transition:0.3s;
}

.wa-btn:hover{
    transform:translateY(-5px);
}

.right{
    flex:1;
    display:flex;
    justify-content:center;
}

.box{
    width:100%;
    max-width:520px;
    border-radius:35px;
}

/* BOOK SECTION */
.book-section{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:40px 70px;
    gap:40px;
}

.hero-text{
    flex:1;
}

.badge{
    background:#5fa7ff;
    color:white;
    padding:7px 16px;
    border-radius:30px;
    font-size:11px;
    font-weight:bold;
    display:inline-block;
    margin-bottom:20px;
}

.hero-text h1{
    font-size:58px;
    line-height:1.1;
    margin-bottom:20px;
}

.hero-text h1 span{
    color:#00a7a7;
    font-family:cursive;
}

.hero-text p{
    font-size:14px;
    line-height:1.9;
    color:#444;
    max-width:500px;
}

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:100%;
    max-width:430px;
}

/* ABOUT */
.about-section{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0;
    padding:40px 70px;
}

.about-image{
    width:190px;
    height:190px;
    /* overflow:hidden; */
    /* transform:rotate(45deg); */
    /* border-radius:30px;
    /* margin-right:-35px; */
    position:relative;
    /* z-index:2; */
    flex-shrink:0;
}

.about-image img{
    width:150%;
    height:150%;
    /* padding: 20px 30px; */
    margin-top: -40px;
    margin-left: -30px;
}

.play-btn{
    position:absolute;
    right:-12px;
    top:50%;
    transform:translateY(-50%) rotate(-45deg);
    width:38px;
    height:38px;
    border-radius:50%;
    background:#ff62ad;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:14px;
}

.about-box{
    background:#efe4d2;
    border-radius:35px;
    padding:40px 50px 40px 80px;
    max-width:850px;
}

.about-box h2{
    font-size:45px;
    margin-bottom:20px;
}

.about-box h2 span{
    color:#00a7a7;
    font-family:cursive;
}

.about-box p{
    font-size:14px;
    line-height:1.9;
    color:#444;
    margin-bottom:15px;
}

/* BOOKS */
.books-section{
    width:85%;
    max-width:1100px;
    background:black;
    border-radius:40px;
    padding:70px 30px 60px;
    margin:40px auto;
    position:relative;
    overflow:visible;
}

/* GAMBAR NAIK */
.anime-left{
    width:140px;
    position:absolute;
    top:-70px;
    left:-10px;
    z-index:5;
}

.anime-right{
    width:140px;
    position:absolute;
    top:-70px;
    right:-10px;
    z-index:5;
}

.books-section h2{
    text-align:center;
    color:white;
    font-size:50px;
    font-family:'Patrick Hand', cursive;
    margin-bottom:80px;
}

.book-container{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.book-card{
    width:280px;
    background:white;
    border-radius:25px;
    padding:90px 20px 25px;
    position:relative;
    box-shadow:0 10px 25px rgba(0,0,0,0.3);
    transition:0.3s;
}

.book-card:hover{
    transform:translateY(-10px);
}

.book-img{
    width:180px;
    position:absolute;
    top:-55px;
    left:50%;
    transform:translateX(-50%);
}

.book-card h3{
    font-size:28px;
    margin-bottom:15px;
    font-weight:700;
}

.book-card p{
    font-size:13px;
    line-height:1.7;
    color:#444;
    margin-bottom:18px;
}

.book-card a{
    color:#4d57ff;
    font-size:13px;
    text-decoration:none;
    float:right;
    font-weight:600;
}

.arrow-btn{
    margin-top:40px;
    text-align:center;
}

.arrow-btn button{
    width:42px;
    height:42px;
    border-radius:50%;
    border:none;
    cursor:pointer;
    margin:0 5px;
    font-size:18px;
    transition:0.3s;
}

.arrow-btn button:hover{
    transform:scale(1.1);
}

/* TESTIMONIAL */
.testimonial-section{
    width:100%;
    background:#efefef;
    padding:50px 40px 0;
    position:relative;
    overflow:hidden;
}

.testimonial-section::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:140px;
    background:#f5bd12;
    z-index:0;
}

.testimonial-section h1{
    text-align:center;
    font-size:65px;
    font-family:'Patrick Hand', cursive;
    margin-bottom:50px;
    position:relative;
    z-index:2;
}

.testimonial-container{
    display:flex;
    justify-content:center;
    gap:18px;
    position:relative;
    z-index:2;
    flex-wrap:wrap;
}

.testimonial-card{
    width:360px;
    height:430px;
    background:#dedee0;
    border-radius:28px;
    padding:28px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.testimonial-card p{
    font-size:18px;
    line-height:1.7;
    color:#222;
}

.user{
    display:flex;
    align-items:center;
    gap:14px;
}

.user img{
    width:52px;
    height:52px;
    border-radius:50%;
    object-fit:cover;
}

.user h4{
    font-size:22px;
    color:#222;
    margin-bottom:4px;
}

.user span{
    color:#f5b400;
    font-size:15px;
    letter-spacing:2px;
}

.testimonial-buttons{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:30px;
    position:relative;
    z-index:2;
}

.testimonial-buttons button{
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    font-size:15px;
    transition:0.3s;
}

.prev-btn{
    background:white;
    color:black;
}

.next-btn{
    background:black;
    color:white;
}
.testimonial-section{
    width:100%;
    background:#efefef;
    padding:50px 40px 40px;
    position:relative;
    overflow:hidden;
}

.testimonial-wrapper{
    overflow:hidden;
    width:100%;
}

.testimonial-container{
    display:flex;
    gap:18px;
    transition:transform 0.5s ease;
}

.testimonial-card{
    min-width:360px;
    height:430px;
    background:#dedee0;
    border-radius:28px;
    padding:28px;
    flex-shrink:0;
}

/* COMMUNITY */
.community-section{
    background:#f5bd12;
    padding:80px 40px 120px;
    position:relative;
    overflow:hidden;
}

.community-content{
    text-align:center;
    position:relative;
    z-index:5;
}

.community-content h1{
    font-size:70px;
    font-weight:700;
    margin-bottom:20px;
}

.community-content p{
    font-size:20px;
    color:#6b5b2c;
    max-width:700px;
    margin:0 auto 60px;
    line-height:1.5;
}

.social-icons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    margin-top:50px;
}

.social-icons a{
    width:58px;
    height:58px;
    border-radius:50%;
    color:white;
    text-decoration:none;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
    transition:0.3s;
}

.social-icons a:nth-child(1){
    background:#25d366;
}

.social-icons a:nth-child(2){
    background:#ee4d2d;
}

.social-icons a:nth-child(3){
    background:#e1306c;
}

.social-icons a:nth-child(4){
    background:#000;
}

.community-left{
    width:170px;
    position:absolute;
    left:60px;
    top:40px;
}

.community-right{
    width:170px;
    position:absolute;
    right:60px;
    top:40px;
}

/* RESPONSIVE */
@media(max-width:992px){

    .hero-top,
    .book-section,
    .about-section{
        flex-direction:column;
        text-align:center;
        padding:40px 20px;
    }

    .left h1{
        font-size:58px;
    }

    .left h2{
        font-size:45px;
        margin-left:0;
    }

    .wa-btn{
        margin-left:0;
    }

    .about-box{
        padding:40px 30px;
    }

    .books-section{
        width:92%;
    }

    .community-content h1{
        font-size:50px;
    }

    .community-left,
    .community-right{
        width:120px;
    }
}

@media(max-width:600px){

    nav{
        display:none;
    }

    .left h1{
        font-size:42px;
    }

    .left h2{
        font-size:32px;
    }

    .hero-text h1{
        font-size:40px;
    }

    .about-box h2{
        font-size:34px;
    }

    .books-section h2{
        font-size:38px;
    }

    .testimonial-section h1{
        font-size:40px;
    }

    .community-content h1{
        font-size:36px;
    }

    .community-content p{
        font-size:14px;
    }

    .book-card,
    .testimonial-card{
        width:100%;
    }

    .community-left{
        width:90px;
        left:10px;
        top:90px;
    }

    .community-right{
        width:90px;
        right:10px;
        top:90px;
    }
}
/* HAMBURGER */
/* =========================
   HAMBURGER MENU
========================= */

.hamburger{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:#111;
    margin-left:auto;
    z-index:2000;
}

/* =========================
   DESKTOP NAVBAR
========================= */

nav{
    display:flex;
    gap:25px;
    justify-content:center;
    align-items:center;
    margin-left:auto;
    margin-right:auto;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media(max-width:992px){

    .hero-top,
    .book-section,
    .about-section{
        flex-direction:column;
        text-align:center;
        padding:40px 20px;
    }

    .left h1{
        font-size:58px;
    }

    .left h2{
        font-size:45px;
        margin-left:0;
    }

    .wa-btn{
        margin-left:0;
    }

    .about-box{
        padding:40px 30px;
    }

    .books-section{
        width:92%;
    }

    .community-content h1{
        font-size:50px;
    }

    .community-left,
    .community-right{
        width:120px;
    }

    nav{
        margin-left:auto;
        margin-right:auto;
        gap:18px;
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    /* NAVBAR */
    .navbar{
        padding:15px 20px;
        justify-content:space-between;
    }

    .hamburger{
        display:block;
    }

    nav{
        position:absolute;
        top:85px;
        right:-100%;
        width:220px;
        background:white;
        flex-direction:column;
        align-items:center;
        padding:30px 20px;
        gap:20px;
        border-radius:20px;
        box-shadow:0 10px 30px rgba(0,0,0,0.1);
        transition:0.4s;
        z-index:1500;
        margin:0;
    }

    nav.active{
        right:20px;
    }

    nav a{
        font-size:16px;
    }

    /* HERO */
    .hero-top{
        flex-direction:column;
        text-align:center;
        padding:40px 20px;
    }

    .left h1{
        font-size:42px;
    }

    .left h2{
        font-size:32px;
        margin-left:0;
    }

    .wa-btn{
        margin-left:0;
    }

    .hero-text h1{
        font-size:40px;
    }

    .about-box h2{
        font-size:34px;
    }

    .books-section h2{
        font-size:38px;
    }

    .testimonial-section h1{
        font-size:40px;
    }

    .community-content h1{
        font-size:36px;
    }

    .community-content p{
        font-size:14px;
    }

    /* CARD RESPONSIVE */
    .book-container,
    .testimonial-container{
        flex-direction:column;
        align-items:center;
    }

    .book-card,
    .testimonial-card{
        width:100%;
        max-width:340px;
        min-width:unset;
    }

    .testimonial-card{
        height:auto;
    }

    .community-left{
        width:90px;
        left:10px;
        top:90px;
    }

    .community-right{
        width:90px;
        right:10px;
        top:90px;
    }
}