.activity-tabs-wrapper {
    position: relative;
}
#cardRow::-webkit-scrollbar {
    display: none;
}

.activity-tabs-wrapper .activity-card {
    position: relative;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease;
}

.activity-tabs-wrapper .activity-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

.activity-tabs-wrapper .activity-card:hover .card-bg {
    transform: scale(1.05);
}

.activity-tabs-wrapper .activity-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    transition: height 0.3s ease;
}

.activity-tabs-wrapper .activity-card::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background-color: #d32f2f;
    z-index: 4;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.activity-tabs-wrapper .activity-card:hover::before,
.activity-tabs-wrapper .activity-card.active::before {
    transform: scaleX(1);
}

.activity-tabs-wrapper .activity-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 3;
    color: #ffffff;
}

.activity-tabs-wrapper .activity-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.activity-tabs-wrapper .activity-card .read-more {
    font-size: 0.9rem;
    opacity: 1;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: #dddddd;
}

.activity-tabs-wrapper .activity-card:hover .read-more,
.activity-tabs-wrapper .activity-card.active .read-more {
    opacity: 1;
    transform: translateY(0);
}

.activity-tabs-wrapper .card-row-wrapper {
    position: relative;
}

.activity-tabs-wrapper .pointer-arrow {
    position: absolute;
    top: calc(100% - 5px);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #d32f2f;
    transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
}

.activity-tabs-wrapper .panel-title {
    color: #d32f2f;
    font-weight: 500;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.activity-tabs-wrapper .panel-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
}

.activity-tabs-wrapper .info-list {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
}

.activity-tabs-wrapper .info-list li {
    list-style: none;
    position: relative;
    margin-bottom: 8px;
    padding-left: 26px;
}

.activity-tabs-wrapper .info-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #d32f2f;
    font-weight: 700;
    line-height: 1.4;
}

.activity-tabs-wrapper .info-list li.info-list-title::before {
    content: none;
}

.activity-tabs-wrapper .info-list ul {
    list-style: none;
    padding-left: 0;
}

/* Mobile view optimizations for single row display */
@media (max-width: 767px) {
    .activity-tabs-wrapper .activity-card {
        height: 200px;
    }
    .activity-tabs-wrapper .activity-card .card-content {
        padding: 12px;
    }
    .activity-tabs-wrapper .activity-card .card-title {
        font-size: 0.95rem;
        word-break: break-word;
    }
    .activity-tabs-wrapper .activity-card .read-more {
        font-size: 0.75rem;
    }
    .activity-tabs-wrapper .pointer-arrow {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #d32f2f;
    }
}

/* ==========================================
    WATER ACTIVITIES SECTION (SLIDE DOWN TEXT)
    ========================================== */
.water-activities-wrapper .slide-card-container {
    position: relative;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e2e2;
    cursor: pointer;
    background-color: #555;
}

.water-activities-wrapper .slide-card-container .card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: transform 0.5s ease;
}

.water-activities-wrapper .slide-card-container:hover .card-bg {
    transform: scale(1.03);
}

.water-activities-wrapper .slide-card-container .card-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.6) 100%);
}

.water-activities-wrapper .slide-card-container .front-content {
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    z-index: 2;
    color: #ffffff;
    transition: opacity 0.3s ease;
}

.water-activities-wrapper .slide-card-container:hover .front-content {
    opacity: 0;
}

.water-activities-wrapper .slide-card-container .front-title {
    font-family: 'Prata', serif, 'Segoe UI';
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.25;
}

.water-activities-wrapper .slide-card-container .front-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Slide Down Content Window */
.water-activities-wrapper .slide-card-dropdown {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    color: #444444;
    z-index: 3;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);

    /* Slide Down Initial State Setup */
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.water-activities-wrapper .slide-card-container:hover .slide-card-dropdown {
    transform: translateY(0);
}

.water-activities-wrapper .slide-card-dropdown::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #d32f2f;
}

.water-activities-wrapper .slide-card-dropdown .back-title {
    color: #d32f2f;
    font-family: 'Prata', serif, 'Segoe UI';
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.water-activities-wrapper .slide-card-dropdown .back-subtitle {
    font-weight: 600;
    color: #333333;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.water-activities-wrapper .slide-card-dropdown .back-description {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #666666;
    overflow-y: auto;
}