/* Kids Programs Styles */

/* Program Cards and Product Cards */
.program-card, .product-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.program-card:hover, .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-card .card-img-top, .product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.program-card:hover .card-img-top, .product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-price {
    font-weight: 600;
    margin-top: 10px;
}

.program-age-badge, .product-age-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(13, 110, 253, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(25, 135, 84, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Feature Boxes */
.feature-box {
    padding: 30px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #0d6efd;
}

/* Gallery */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 15px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    height: 100%;
}

.gallery-info {
    color: white;
    text-align: center;
    padding: 15px;
}

.gallery-info h5 {
    margin-bottom: 5px;
}

.gallery-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Registration Form */
.registration-form .card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    overflow: hidden;
}

.registration-form .card-header {
    border-bottom: none;
    padding: 15px 20px;
}

.registration-form .card-body {
    padding: 25px;
}

.registration-form label {
    font-weight: 500;
}

.registration-form .form-control {
    padding: 12px;
    border-radius: 5px;
}

.registration-form textarea.form-control {
    min-height: 100px;
}

/* Testimonials */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .program-card .card-img-top {
        height: 180px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item img {
        height: 150px;
    }
}