.card-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: nowrap;
    margin:0px 20px;
}
.card {
    position: relative;
    width: 80%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: scale(1.05);
}
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.classA{
    text-decoration: none;
    
}
.card-content {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 100%;
    padding: 15px;
    text-align: center;
}
.card-content p {
    margin: 4px 10px;
    font-size: 20px;
    color:#fff;

}
.card-content button {
    background: #ed804e;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}
.card-content button:hover {
    background: #d63845;
}
.arrow {
    display: inline-block;
    font-size: 16px;
}
/*  Blog Banner Section */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    background: url('../assests/images/young-female-traveler-enjoying-rural-surroundings.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:70px;
    margin-bottom:20px;
}

.banner h2 {
    position: absolute;
    color: white;
    font-size: 40px;
    font-family: 'Poppins',sans-serif;
    font-weight: 600;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/* Mobile Responsiveness */
/* Default styles are already set */

/* For large screens (desktops and larger laptops) */
@media (min-width: 1200px) {
    .card-container {
        flex-wrap: nowrap;
    }
}

/* For medium screens (tablets and small laptops) */
@media (max-width: 1024px) {
    .card-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .card {
        width: 45%;
        height: auto;
    }


}

/* For small screens (tablets in portrait mode and large mobile devices) */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
        height: auto;
    }
    .card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    } 
}

/* For extra small screens (mobile phones) */
@media (max-width: 480px) {
    .card {
        width: 100%;
        height: auto;
    }
    .card-content {
        padding: 10px;
    }
    .card-content p {
        font-size: 12px;
    }
    .card-content button {
        padding: 8px 12px;
    }
    .arrow {
        font-size: 14px;
    }

    .card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media (min-width: 1465px){
    .card-content p {
        margin: 4px 10px;
        font-size: 27px;
        color: #fff;
    }
}