/* Explore and Book Section Styles */

.explore-book-section {
    padding: 60px 40px;
    animation: fadeIn 0.8s ease;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    color: white;
}

.explore-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
}

/* Common Card Styles */
.explore-card {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    width: 500px;
    height: 600px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-position: center;
}

.explore-card:hover {
    transform: scale(1.02);
}

/* Blue Card */
.card-blue {
    background: linear-gradient(135deg, #3BADF9 0%, #1771FF 100%);
    /* You might want a subtle texture or overlay */
}

/* Green Card */
.card-green {
    background: linear-gradient(135deg, #2EF1A8 0%, #00b894 100%);
}

@media (min-width: 1150px) {
    .card-image-wrapper {
        width: 80%;
        height: 80%;
        z-index: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        bottom: 0;
    }
}

@media (max-width: 1150px) {
    .card-image-wrapper {

        width: 100%;
        height: 100%;

    }
}

@media (max-width: 380px) {
    .explore-book-section {
        padding-left: 0;
        padding-right: 0;
    }
}

[dir="ltr"] .card-blue .card-image-wrapper {
    right: 0 !important;
}

[dir="rtl"] .card-blue .card-image-wrapper {
    right: 0 !important;
}

[dir="ltr"] .card-green .card-image-wrapper {
    left: 0 !important;
}

[dir="rtl"] .card-green .card-image-wrapper {
    left: 0 !important;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Adjust object-fit based on image actual content if containment is better */
}

.card-text-content {
    position: absolute;
    bottom: 60px;
    right: 40px;
    /* Assuming RTL for Arabic text origin */
    z-index: 2;
    text-align: right;
    pointer-events: none;
}

/* For RTL Layout */
[dir="rtl"] .card-text-content {
    right: 40px;
    left: auto;
}

/* For LTR Layout */
[dir="ltr"] .card-green .card-text-content {
    right: 40px;
    left: auto;
    text-align: left;
}

[dir="ltr"] .card-blue .card-text-content {
    left: 40px;
    right: auto;
    text-align: left;
}

[dir="rtl"] .card-blue .card-text-content {
    left: 40px;
    right: auto;
    text-align: left;
}

.card-headline {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    font-family: 'Cairo', sans-serif;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 800px) {
    .explore-container {
        flex-direction: column;
    }

    .explore-card {
        width: 100%;
        max-width: 500px;
        height: 400px;
    }

    .card-headline {
        font-size: 2rem;
    }
}