/* Mobile Devices */
@media (max-width: 767px) {
    .review-card {
        flex: 0 0 50%; /* Show 2 reviews per slide */
        min-height: 250px; /* Adjust height for mobile */
    }

    .reviews-wrapper {
        padding: 0 20px; /* Reduce padding for mobile */
    }

    .description {
        -webkit-line-clamp: 2; /* Show 2 lines initially on mobile */
    }
}

/* Tablet Devices */
@media (min-width: 768px) and (max-width: 1023px) {
    .review-card {
        flex: 0 0 33.33%; /* Show 3 reviews per slide */
        min-height: 280px; /* Adjust height for tablet */
    }

    .description {
        -webkit-line-clamp: 3; /* Show 3 lines initially on tablet */
    }
}

/* Desktop Devices */
@media (min-width: 1024px) {
    .review-card {
        flex: 0 0 25%; /* Show 4 reviews per slide */
        min-height: 300px; /* Adjust height for desktop */
    }

    .description {
        -webkit-line-clamp: 3; /* Show 3 lines initially on desktop */
    }
}



/* Nav-media queries */

@media(max-width: 768px) {
    .header label {
        display: initial;
    }
    .header .navbar{
        width: 50%;
        position: absolute;
        top: 100%; right: 0;
        background-color: black;
        transition: all 1s;
        display: none;
    }
    .header .navbar ul li {
        width: 100%;
    }
    .header .navbar ul li ul {
        position: relative;
        width: 100%;
    }
    .header .navbar ul li ul li{
        background-color: rgba(59, 58, 58, 0.551);
    }

    #menu-bar:checked ~ .navbar {
        display: initial;
    }
}

@media(max-width: 768px) {
    /* .container{
        overflow-x: hidden;
    } */
    .header{
        justify-content: space-between;
        padding: 0 1.8rem 0 1rem;
    }

    .hero-page {
        height: 70vh;
        background-color: rgb(222, 166, 177);

        h1{
            font-size: 2.4rem;
            text-align: center;
        }
        h2{
            font-size: 1.5rem;
        }
        p{
            text-align: center;
            width: 90%;
        }
    }

    .app-showcase {
        flex-direction: column;
        padding: 1rem;
        padding-bottom: 2rem;
        padding-top: 2rem;
        align-items: center;
        margin-bottom: 7rem;
    }
    .app-showcase .app-image-box{
        display: flex;
        justify-content: center;
        height: fit-content;
    }
    #app-image {
        width: 18rem;
    }
    .app-showcase .app-info {
        width: 100%;
    }
    .app-info .app-name h1{
        font-size: 2rem;
    }
    .app-info .app-description {
        margin: .5rem 0;
        font-size: 1rem;
    }
    .app-link {
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }
    .app-genres ul {
        font-size: 1rem;
        display: flex;
        list-style-position: inside;
        padding-left: 0;
        gap: 10px;
    }

    
    .review-section{
        padding: 1rem;
    }
    #rev-illus {
        display: none;
    }
    .net-rating{
        width: 100%;
    }


    .footer-top {
        flex-direction: column;
    }
    .wave{
        width: 100%;
    }
    .footer-top .about-app{
        width: 100%;
        padding: 1.2rem;
    }
    .logo-2{
        margin-bottom: 0 .5em ;
    }
    #logo-name-2{
        font-size: 1.6rem;
        padding: 0;
        margin-bottom: 0;
    }
    #logo-name-2 b span{
        font-size: 2rem;
    }
    .footer-top .about-app h3{
        font-size: .9rem;
    }
    .footer-top .about-app p{
        font-size: .8rem;
    }
    .footer-top .quick-links{
        width: 100%;
    }
    .quick-links-list {
        width: 90%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
    .quick-links .social-media-handles {
        place-self: center;
        width: 50%;
        margin: 1.5em;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .quick-links h3 {
        font-size: 1.2rem;
        margin-bottom: .5em;
        width: 100%;
        text-align: center;
    }
    .quick-links-list {
        width: 100%;
        display: flex;
        align-items: center;
    }
    .quick-links-list a {
        margin: 0;
        font-size: 1rem;
        font-weight: 300;
    }
}