﻿.container {
    max-width: 1190px !important;
}

/* Enhanced Activity Items */
.activity-item.enhanced {
    position: relative;
    padding: 1rem;
    border-radius: 1rem;
    transition: all 0.4s ease;
    background-color: transparent;
}

    .activity-item.enhanced:hover {
        background-color: rgba(255, 255, 255, 0.8);
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    .activity-item.enhanced::after {
        display: none;
    }

.activity-title {
    position: relative;
    transition: all 0.3s ease;
}

    .activity-title::after {
        display: none;
    }

.activity-item.enhanced .activity-description {
    font-weight: 500;
}

.activity-item.enhanced:hover .activity-circle {
    transform: scale(1.15) translateY(-5px);
}

.card-image-container {
    height: 250px;
}

@media (max-width: 992px) {
    .card-image-container {
        height: 160px;
    }
}

/* Tennis Activities Flow Styles */
.tennis-activities-flow {
    position: relative;
    width: 100%;
    padding-top: 2rem;
}

.activity-items-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.activity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 16.666%; /* 6 items */
    padding: 0 10px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.activity-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

    .activity-circle i {
        font-size: 32px;
        color: white;
    }

.activity-line {
    width: 2px;
    height: 15px;
    background-color: #ddd;
    margin-bottom: 10px;
}

.activity-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #001F3D;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
}

.activity-description {
    font-size: 1.4rem;
    color: #718096;
    max-width: 120px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.activity-item:hover .activity-description {
    opacity: 1;
    transform: translateY(0);
}

/* Connector Lines */
.connector-lines-container {
    position: absolute;
    top: 60px; /* Align with circles */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 100px; /* Space for circles */
    z-index: -1;
}

.connector-line {
    flex: 1;
    height: 4px;
    position: relative;
}

    .connector-line::after {
        content: '';
        position: absolute;
        right: -4px;
        top: -3px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: inherit;
    }

/* Hover Effects */
.activity-item:hover .activity-circle {
    transform: scale(1.15);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    text-decoration: none !important;
}

.activity-item:hover h3 {
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .activity-circle {
        width: 70px;
        height: 70px;
    }

        .activity-circle i {
            font-size: 28px;
        }

    .connector-lines-container {
        top: 55px;
        padding: 0 80px;
    }

    .tennis-activities-flow {
        padding-bottom: 3rem;
    }
}

/* Add this to your existing styles */
.subtitle-text {
    position: relative;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

    .subtitle-text:hover {
        background-color: rgba(0, 120, 215, 0.05);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        color: #001F3D;
    }

    .subtitle-text::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(to right, #0078D7, #8BC540);
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    .subtitle-text:hover::after {
        width: 50%;
    }

.card-link {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

    .card-link:hover {
        box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2), 0 15px 15px -10px rgba(0, 0, 0, 0.1);
        text-decoration: none !important;
    }

.text-content {
    background-color: rgba(255, 255, 255, 0.5);
}