/* Main container for the row */
.items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 30px;
    justify-content: flex-start; /* changed from center to start */
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Individual item styling */
.item {
    flex: 0 0 calc(33.33% - 30px); /* prevent stretching */
    display: flex;
    flex-direction: column;
    min-height: 370px;
    border-radius: 20px;
    overflow: hidden;
    animation-duration: .75s;
}

/* Image styling */
.item-image {
    width: 100%;
    height: 260px !important;
    object-fit: cover;
}



/* Heading styling */
.item-heading {
    font-family: inherit;
    font-size: 24px;
    font-weight: bold;
    padding: 20px;
    text-align: center;
    color: #333;
}

/* Accordion styling */
.item-details details {
    padding: 0 20px;
   
}

.item-details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: #555;
}

.item-details summary::-webkit-details-marker {
    display: none;
}

.item-details summary::after {
    content: "+";
    font-size: 24px;
    color: #000;
}

.item-details details[open] summary::after {
    content: "−";
}

.item-details{
    font-size: 20px;
    background-color: #FFF800;
    border-radius: 12px 12px 12px 12px;
}
.item-details .details-content {
    padding: 10px 0 20px;
    font-family: inherit;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.item-details .details-content ul {
    list-style: none;
}

.item-details .details-content li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.item-details .details-content li i {
    margin-right: 10px;
    /* color: #007bff; */
}

/* Book Now button styling */
.item-button {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.item-button a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: transparent;
    color: #000;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.item-button a:hover {
    color: #0056b3;
}

/* Override Elementor wrapper styles */
.items-container > .e-con-inner,
.item > .e-con-inner,
.item .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important; /* Remove wrapper influence */
}

/* Responsive design */
@media (max-width: 1024px) {
    .item {
        flex: 1 1 calc(50% - 30px); /* Two items per row */
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .item {
        flex: 1 1 100%; /* One item per row */
        gap: 20px;
    }
    .item-heading {
        font-size: 20px;
    }
    .item-details summary {
        font-size: 16px;
    }
}