/* ================= BABY GYM PAGE STYLES ================= */

/* Hero Image */
.baby-gym-hero {
    width: 100%;
    margin-top: 0;
}

.baby-gym-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Baby Gym Section */

.feature-card {
    background: #f7fafc;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Program Tabs */
.program-tabs-section {
    background: #fef5f5;
}

.program-tabs-wrapper {
    background: #ffffff;
    margin: 0;
    width: 100%;
}

.program-tabs {
    border: none;
    display: flex;
    width: 100%;
    margin: 0;
    padding: 50px 50px 0px 50px;
}

.program-tabs .nav-item {
    flex: 1;
    margin: 0;
}

.program-tab-btn {
    border: none !important;
    background: white !important;
    padding: 1.5rem 1rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #2d5016 !important;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    border-radius: 50px 50px 0px 0px;
    font-weight: 500;
}

.program-tab-btn:hover {
    color: #2d5016 !important;
    background: #f8f9fa !important;
    border-radius: 50px 50px 0px 0px;

}

.program-tab-btn.active {
    color: white !important;
    background: #f8d7da !important;
    border-radius: 50px 50px 0px 0px;

}

.program-tab-icon {
    width: 100px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(27%) sepia(47%) saturate(1000%) hue-rotate(60deg) brightness(0.3) contrast(1);
}

.program-tab-btn.active .program-tab-icon {
    filter: brightness(0) invert(1);
    transform: scale(1.05);
}

.program-tab-text {
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    
}

.tab-content {
    min-height: 400px;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Schedule Cards */
.schedule-card {
    background: rgb(255, 237, 240);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.schedule-card h6 {
    color: #2d3748;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.schedule-card p {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.schedule-card .text-muted {
    color: #6c757d !important;
    margin-bottom: 0;
}

/* Tab Content Styles */
.program-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.tab-content h2 {
    color: #2d3748;
    font-size: 25px;
    text-align: left;
    margin: 0;
    flex-shrink: 0;
}

.tab-content .lead {
    color: #4a5568;
    font-size: 15px;
    text-align: left;
    margin: 0;
    flex: 1;
}

.tab-content h4 {
    color: #2d3748;
    font-size: 20px;
    text-align: center;
}

/* Gallery Items */
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    background: #fff;
}

.cta-section h3 {
    color: #2d3748;
}

/* Responsive Design */
@media (max-width: 768px) {
    .program-tab-btn {
        padding: 0.75rem 1rem !important;
    }

    .program-tab-icon {
        width: 50px;
        height: 50px;
    }

    .program-tab-text {
        font-size: 0.85rem;
    }

    .schedule-card {
        margin-bottom: 1rem;
        background: rgb(255, 237, 240);
    }

    .gallery-item img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .program-tabs {
        flex-wrap: wrap;
    }

    .program-tab-btn {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem;
    }

    .program-tab-icon {
        width: 40px;
        height: 40px;
    }

    .gallery-item img {
        height: 200px;
    }
}

