* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}
body {
    background-color: #111827; 
    color: white; 
    margin: 0;
    padding: 0;
}
/* Section general styling */
.section {
    padding: 10px 40px; 
    max-width: 1200px; 
    margin: auto;
}

.section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.section p {
    text-align: center;
    color: #cbd5e1; 
    margin-bottom: 40px;
}

/* Package container for flex layout */
.package-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
    justify-content: center; 
}

/* Individual card styling */
.card {
    width: 350px; 
    height: 380px; 
    border-radius: 20px;
    background: white;
    overflow: hidden; 
    position: relative; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4); 
}

/* Card image container */
.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block; 
}

/* "Top Rated" badge */
.top-rated {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #fdfdfc; 
    color: #f7b63d; 
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Rating box overlapping the image */
.rating {
    position: absolute;
    top: 165px;
    right: 20px;
    background-color: white;
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 2; 
}

/* Card content area */
.card-pack {
    background-color: rgb(255, 250, 250); 
    color: #000; 
    padding: 10px;
    border-top-left-radius: 20px; 
    border-top-right-radius: 20px;
    position: relative;
    z-index: 1;
}

.card-pack h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.card-pack p {
    font-size: 14px;
    color: #000;
    margin-left: auto;
    padding-top: 20px; 
}

/* Price styling */
.price {
    color: #e27c1c; 
    font-weight: bold;
    font-size: 18px;
}

/* Book Now button styling */
.book{
    float: right; 
    padding: 8px 14px;
    background-color: #000; 
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.book:hover {
    background-color:#616143; 
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .card {
        width: 100%; 
    }
}