/* Card Size Consistency */
.place-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.place-item .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.place-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.place-content .description-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Text truncation styles */
.text-truncate-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.text-truncate-multiline.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.view-more-btn {
    background: none;
    border: none;
    color: #007bff;
    padding: 0;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 5px;
}

.view-more-btn:hover {
    color: #0056b3;
}

/* Ensure consistent image heights */
.place-img {
    height: 200px;
    overflow: hidden;
}

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

/* Benefit cards height consistency */
.benefit-card {
    min-height: 280px;
    height: 100%;
}

.benefit-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.benefit-card p {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.benefit-card p.expanded {
    -webkit-line-clamp: unset;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        left: 15px;
        font-size: 26px;
    }
}

/* RTL Image Display Fixes */
[dir="rtl"] .place-img {
    direction: ltr;
}

[dir="rtl"] .img-slider {
    direction: ltr;
}

[dir="rtl"] .image-slide {
    direction: ltr;
}

[dir="rtl"] .slide-images {
    display: block !important;
    visibility: visible !important;
}

[dir="rtl"] .place-img img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure Owl Carousel works in RTL */
[dir="rtl"] .owl-carousel {
    direction: ltr;
}

[dir="rtl"] .owl-carousel .owl-item {
    direction: ltr;
}

