* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; }

/* BANNER */
.reviews-banner {
    height: 280px;
    background: url('../img/banner.jpg') center/cover no-repeat;
    position: relative;
}
.reviews-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
}
.reviews-banner-overlay h1 {
    color: #fff;
    font-size: 42px;
}

/* REVIEWS */
.customer-reviews {
    padding: 90px 20px;
    background: linear-gradient(120deg,#e6f4f7,#f3e3ec);
    text-align: center;
}

.customer-reviews h2 {
    margin-top: -40px;   /* move title upward */
    margin-bottom: 50px; /* keep good gap to card */
}
.review-slider {
    max-width: 900px;
    margin: auto;
    position: relative;
}
.review-card {
    display: none;
    background: #fff;
    padding: 45px 55px;
    border-radius: 6px;
}
.review-card.active { display: block; }
.review-card p { margin-bottom: 15px; }
.review-btn {
    background: #e63946;
    color: #fff;
    padding: 10px 26px;
    border-radius: 4px;
    display: inline-block;
}
.review-btn:hover { background: #c82333; }
.nav-arrow {
    position: absolute;
    top: 50%;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}
.prev { left: -50px; }
.next { right: -50px; }
.review-dots { margin-top: 40px; }
.dot {
    width: 10px;
    height: 10px;
    background: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
}
.dot.active { background: #e63946; }

/* BOOK LISTS */
.book-lists {
    padding: 80px 20px;
    background: #fff;
}
.lists-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}
.list-box {
    border: 1px solid #eee;
    padding: 20px;
}
.list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.list-item img {
    width: 60px;
    height: 90px;
    object-fit: cover;
}
.price { color: #e63946; }

/* POSTS */
.latest-posts {
    padding: 80px 20px;
    background: #fff;
}
.posts-header {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.view-all {
    background: #ff6b6b;
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
}
.posts-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}
.post-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.read-more { color: #e63946; }

/* RESPONSIVE */
@media(max-width:992px){
    .lists-grid,.posts-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:600px){
    .lists-grid,.posts-grid{grid-template-columns:1fr;}
}
