/* Portfolio Page CSS */
.book-wrapper {
    /* width: 900px; */
    position: relative;
    margin: 0 auto;
    column-count: 6;
    column-gap: 12px;
    padding: 4px;
}

/* Tablet View: 5 Columns */
@media (max-width: 1024px) {
    .book-wrapper {
        column-count: 5;
    }
}

/* Mobile View: 3 Columns */
@media (max-width: 768px) {
    .book-wrapper {
        column-count: 3;
    }
}

.book-items {
    position: relative;
    cursor: default;
    padding: 30px 10px;
    margin: 0;
    display: grid;
    break-inside: avoid;
}

.main-book-wrap {
    box-shadow: 0 0 20px #777;
    filter: drop-shadow(0 0 20px #f1f1f1);
    position: relative;
}

.book-cover {
    position: relative;
}

.book-cover .book-inside {
    position: absolute;
    width: 90%;
    height: 96%;
    top: 1%;
    left: 16px;
    border: 1px solid grey;
    border-radius: 2px 6px 6px 2px;
    background: white;
    box-shadow: 10px 40px 40px -10px #13192130, inset -2px 0 0 grey,
        inset -3px 0 0 #dbdbdb, inset -4px 0 0 white, inset -5px 0 0 #dbdbdb,
        inset -6px 0 0 white, inset -7px 0 0 #dbdbdb, inset -8px 0 0 white,
        inset -9px 0 0 #dbdbdb;
}

.book-cover .book-image {
    line-height: 0;
    position: relative;
    border-radius: 2px 6px 6px 2px;
    box-shadow: 6px 6px 18px -2px rgba(0, 0, 0, 0.2),
        24px 28px 40px -6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    transform: perspective(2000px) rotateY(-15deg) translateX(-10px) scaleX(0.94);
    cursor: pointer;
}

.book-image img {
    grid-row: 1 / -1;
    grid-column: 1;
    width: 100%;
    /* height: 350px; */
    border-radius: 2px 6px 6px 2px;
}

.book-image:hover {
    transform: perspective(2000px) rotateY(0deg) translateX(0px) scaleX(1);
    transform-style: preserve-3d;
    box-shadow: 6px 6px 12px -1px rgba(0, 0, 0, 0.1),
        20px 14px 16px -6px rgba(0, 0, 0, 0.1);
}

.effect {
    position: absolute;
    width: 20px;
    height: 100%;
    margin-left: 16px;
    top: 0;
    border-left: 2px solid #13192110;
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0) 100%);
    transition: all 0.5s ease;
    z-index: 5;
}

.light {
    width: 90%;
    height: 100%;
    position: absolute;
    border-radius: 3px;
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 100%);
    top: 0;
    right: 0;
    opacity: 0.1;
    transition: all 0.5s ease;
    z-index: 4;
}

.book-image:hover .effect {
    margin-left: 14px;
}

.realvjy {
    width: 900px;
    padding: 20px;
    margin: 0 auto;
    font-family: sans-serif;
    text-align: center;
}

.portfolio .main-heading {
    color: #F6921E;
    font-weight: 600;
    font-size: 52px;
}

/* Responsive Ipad */
@media only screen and (max-width: 981px) {
    /* body {
        background-color: lightblue;
    } */

    .creative-testimonial--slider {
        padding-left: 10px;
        padding-right: 10px;
    }

    .testimonial-inner .testimonial-heading {
        max-width: 100%;
    }

    .swiper-slide .swiper-slide--inner {
        padding-left: 0%;
        padding-right: 0%;
    }

    .swiper-button-next.slide-btns,
    .swiper-button-prev.slide-btns {
        display: none;
    }

    .company-details--row .company-box {
        padding: 0px 5px;
    }
}

/* Responsive Ipad */
@media only screen and (max-width: 460px) {
    .testimonial-inner .testimonial-heading {
        font-size: 1.813rem;
        line-height: 2.125rem;
    }

    .swiper-slide .swiper-slide--inner {
        flex-direction: column;
        text-align: center;
    }

    .company-details--row {
        justify-content: center;
        flex-direction: column;
    }

    .company-details--row .company-box {
        padding: 0px 0px;
        margin-bottom: 20px;
        width: 100%;
    }
}