.carousel-container {
    text-align: center;
    overflow: hidden
}

.carousel-container h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;
}

.carousel-wrapper {
    position: relative;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 360px;
    height: 245px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 10px;
    position: relative;
    transition: transform 0.3s ease;
}

.carousel-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.carousel-item:hover .carousel-image {
    transform: scale(1.1);
}

.city-title {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
}

.arrow.left-arrow {
    left: 10px;
}

.arrow.right-arrow {
    right: 10px;
}

.ribbon-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 30px;
    background: linear-gradient(42deg, #D98030, #814209);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin: 40px;
}

.ribbon-content {
    flex: 1;
    max-width: 500px;
    margin: 20px;
}

.ribbon-content h2 {
    font-size: 24px;
    color: #fff;
}

.ribbon-content p {
    font-size: 16px;
    color: #ffe6e6;
    line-height: 1.5;
}

.cards-container {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* Card Styling */
.card {
    position: relative;
    width: 180px;
    height: 200px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    gap: 10px;
}

.card:hover {
    transform: translateY(-10px) rotate(3deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #814209;
    text-align: center;
}

.card p {
    font-size: 14px;
    color: #666;
    /* Added color for better visibility */
    text-align: center;
    margin: 5px 10px;
}

.card button {
    background: #D98030;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.card button:hover {
    background: #814209;
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.card {
    animation: float 3s ease-in-out infinite;
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ribbon-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .ribbon-content {
        text-align: center;
    }

    .cards-container {
        justify-content: center;
        gap: 10px;
    }

    .card {
        width: 150px;
        height: 180px;
    }

    .card h3 {
        font-size: 16px;
    }

    .card p {
        font-size: 12px;
    }

    .card button {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .ribbon-content h2 {
        font-size: 20px;
    }

    .ribbon-content p {
        font-size: 14px;
    }

    .card {
        width: 170px;
        height: 165px;
    }

    .card h3 {
        font-size: 14px;
    }

    .card p {
        font-size: 10px;
    }

    .card button {
        padding: 4px 10px;
        font-size: 10px;
    }
}