  body {
            background-color: #111827;
            font-family: "Roboto", sans-serif;
        }
.top-rated-hotels-section {
    max-width: 1500px;
    margin: 40px auto;
    padding: 5px 20px;
    text-align: center;
}

/* Grid layout for 2x2 cards */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5rem;
    position: relative; 
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1rem; 
}

/* Card style */
.hotel-card {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

/* Custom rounded corners for each card */
.hotels-grid .hotel-card:nth-child(1) {
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 7rem;
}
.hotels-grid .hotel-card:nth-child(2) { 
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    border-bottom-left-radius: 7rem;
}
.hotels-grid .hotel-card:nth-child(4) { 
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 7rem;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}
.hotels-grid .hotel-card:nth-child(5) { 
    border-top-right-radius: 1.5rem;
    border-top-left-radius: 7rem;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}
/* View All button - positioned absolutely within the grid */
.view-all-hotels-btn {
    position: absolute;
    top: 48.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #17191b;
    border-radius: 50%;
    width: 96px;
    height: 96px;
    color: white;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(82, 81, 81, 0.2);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    user-select: none;
}

.view-all-hotels-btn:hover {
    background-color: #010c16;
}

/* Gradient overlay inside each card */
.hotel-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hotel-card .overlay-right {
    align-items: flex-end;
    text-align: right;
}

/* Book button */
.book-btn {
    background: transparent; 
    color: white;
    font-size: 12px;
    border-radius: 9999px;
    padding: 0.25rem 1.25rem;
    transition: background-color 0.3s ease;
    width: max-content;
}

.book-btn:hover {
    background-color: rgba(0, 0, 0, 0.2); 
}


/* New styles for blur backgrounds */
.blur-background-element {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem; 
    display: inline-block; 
}

/* Specific styling for the entire text area on cards 1 and 3 */
.text-area-with-blur {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    padding: 0.75rem 1rem; 
    border-radius: 0.5rem; 
    margin-bottom: 0.5rem; 
    align-self: flex-start; 
}


/* Responsive layout */
@media (max-width: 768px) {
    .hotels-grid {
        grid-template-columns: 1fr; 
    }
    .hotels-grid .hotel-card:nth-child(1) { /* First card */
        border-bottom-right-radius: 7rem;
        border-bottom-left-radius: 1.5rem;
        border-top-left-radius: 1.5rem;
        border-top-right-radius: 1.5rem;
    }
    .hotels-grid .hotel-card:nth-child(2) {
        border-bottom-left-radius: 7rem;
        border-bottom-right-radius: 1.5rem;
        border-top-left-radius: 1.5rem;
        border-top-right-radius: 1.5rem;
    }
    /* The View All button is nth-child(3) */
    .hotels-grid .hotel-card:nth-child(4) { 
        border-top-left-radius: 1.5rem;
        border-top-right-radius: 7rem;
        border-bottom-left-radius: 1.5rem;
        border-bottom-right-radius: 1.5rem;
    }
    .hotels-grid .hotel-card:nth-child(5) { 
        border-top-right-radius: 1.5rem;
        border-top-left-radius: 7rem;
        border-bottom-left-radius: 1.5rem;
        border-bottom-right-radius: 1.5rem;
    }

    /* For mobile, keep the button centered and overlapping */
    .view-all-hotels-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* Adjust blur background on mobile if needed for readability */
    .blur-background-element, .text-area-with-blur {
        padding: 0.2rem 0.5rem; 
    }
    .text-area-with-blur {
        margin-bottom: 0.3rem;
    }
}

/* Media Queries for Larger Screens */
@media screen and (min-width: 1024px) { 
    .hotels-grid {
        padding-left: 2.5rem; 
        padding-right: 2.5rem; 
    }
}