/* Balls Hero Section */
.balls-hero {
    background:  url('img/banner/common-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #585656;
    position: relative;
}

.balls-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(5, 186, 252, 0.779);
    color: #080808;
}

.balls-hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgb(0, 0, 0);
}

.balls-hero-content .primary-btn {
    font-size: 16px;
    padding: 15px 40px;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Balls Filter Section */
.balls-filter-section {
    background-color: #f8f9fa;
}

.filter-card {
    transition: all 0.3s ease;
}

.filter-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.filter-group {
    margin-bottom: 15px;
}

/* Balls Collections */
.ball-type-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.ball-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ball-img-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ball-img-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.ball-type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Featured Balls */
.featured-balls {
    margin-top: 30px;
}

.single-product {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.single-product:hover {
    transform: translateY(-5px);
}

.position-relative {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.type-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #4ecdc4;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.product-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.position-relative:hover .product-overlay {
    height: 50px;
}

.quick-view-btn {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.product-details {
    background: #fff;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-details h6 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.price h6 {
    font-size: 1.2rem;
    color: #ff6b6b;
    font-weight: 700;
    display: inline-block;
    margin-right: 10px;
}

.price .l-through {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
}

.product-rating {
    margin-bottom: 15px;
}

.product-rating .checked {
    color: #ffc107;
}

.prd-bottom {
    display: flex;
    justify-content: space-between;
}

.social-info {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-info:hover {
    color: #ff6b6b;
}

.hover-text {
    display: none;
}

.social-info:hover .hover-text {
    display: inline;
}

/* Ball Care Section */
.ball-care-section {
    background-color: #f8f9fa;
}

.ball-care-img img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ball-care-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.care-intro {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
}

.ball-care-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.ball-care-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: flex-start;
}

.ball-care-list i {
    color: #4ecdc4;
    margin-right: 10px;
    font-size: 1.1rem;
}

.care-guide-btn {
    padding: 12px 30px;
    font-weight: 600;
}

/* Testimonials */
.testimonials-section {
    
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    margin: 15px;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.testimonial-author h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .balls-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .balls-hero-content p {
        font-size: 1rem;
    }
    
    .ball-type-card {
        padding: 15px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Animations */
.animate__animated {
    animation-duration: 1s;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}