
/* ===============================
   SERVICES & ACCORDION SECTION - SPORTS CLUB ENHANCED VERSION
   =============================== */

/* ===== MAIN SECTION STYLING ===== */
.elementor-section.elementor-element-d59d5ab {
    background-color: #0f0f0f !important; /* Deep black background */
    background-image: none !important;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Add dynamic sports texture background */
.elementor-section.elementor-element-d59d5ab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(93, 214, 44, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(51, 116, 24, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(93, 214, 44, 0.02) 0%, transparent 70%);
    animation: texture-flow 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

/* Add energy grid pattern */
.elementor-section.elementor-element-d59d5ab::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(93, 214, 44, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(93, 214, 44, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-pulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* ===== WHY CHOOSE US SECTION (Hidden but styling for completeness) ===== */
.elementor-element-6fde17f .sub-title {
    color: #5DD62C !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.elementor-element-6fde17f .sec-title {
    color: #f8f8f8 !important;
    font-size: 42px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 40px;
}

/* ===== ACCORDION STYLING ===== */
.accordion-area {
    background: rgba(32, 32, 32, 0.6) !important;
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(93, 214, 44, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Individual accordion cards */
.accordion-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8) 0%, rgba(32, 32, 32, 0.8) 100%);
    border: 1px solid rgba(93, 214, 44, 0.2);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(93, 214, 44, 0.1), transparent);
    transition: left 0.5s ease;
}

.accordion-card:hover::before {
    left: 100%;
}

.accordion-card.active {
    border-color: #5DD62C;
    box-shadow: 0 10px 30px rgba(93, 214, 44, 0.2);
}

/* Accordion button styling */
.accordion-button {
    background: transparent !important;
    color: #f8f8f8 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 20px 25px !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
}

.accordion-button::after {
    background-image: none !important;
    content: '+';
    font-size: 24px;
    color: #5DD62C;
    font-weight: bold;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    content: '-';
    transform: rotate(0deg);
}

.accordion-button:hover {
    color: #5DD62C !important;
}

/* Accordion body styling */
.accordion-body {
    background: rgba(15, 15, 15, 0.9);
    padding: 25px !important;
    border-top: 1px solid rgba(93, 214, 44, 0.2);
}

.faq-text {
    color: #f8f8f8 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin: 0;
}

/* ===== SERVICES SECTION STYLING ===== */
.elementor-element-b7ef22c {
    background: linear-gradient(135deg, rgba(32, 32, 32, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%) !important;
    border-radius: 25px;
    padding: 80px 40px !important;
    margin: 60px 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(93, 214, 44, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Add corner accents to services section */
.elementor-element-b7ef22c::before,
.elementor-element-b7ef22c::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid #5DD62C;
    z-index: 1;
}

.elementor-element-b7ef22c::before {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.elementor-element-b7ef22c::after {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* ===== SERVICES TITLE STYLING ===== */
.elementor-element-e37d225 .sub-title {
    color: #5DD62C !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

/* Add badge effect to sub-title */
.elementor-element-e37d225 .sub-title::before {
    content: '🎯';
    margin-right: 10px;
    animation: target-pulse 2s ease-in-out infinite;
}

.elementor-element-e37d225 .sub-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #5DD62C, #337418);
    border-radius: 2px;
}

.elementor-element-e37d225 .sec-title {
    color: #f8f8f8 !important;
    font-size: 38px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 50px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* ===== SERVICE CARDS STYLING ===== */
.service-card {
    background: linear-gradient(135deg, rgba(32, 32, 32, 0.9) 0%, rgba(15, 15, 15, 0.9) 100%) !important;
    border: 2px solid rgba(93, 214, 44, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    margin: 15px;
}


.service-card .service-card_content .fas
{
    line-height: 2.5;
}
/* Add energy pulse effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;  
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(93, 214, 44, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    border-radius: 50%;
}

.service-card:hover::before {
    width: 200%;
    height: 200%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #5DD62C;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(93, 214, 44, 0.3);
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.05) 0%, rgba(32, 32, 32, 0.9) 100%) !important;
}

/* ===== SERVICE CARD ICONS ===== */
.service-card_icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #337418, #5DD62C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card_icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.service-card:hover .service-card_icon::before {
    width: 100%;
    height: 100%;
}

.service-card:hover .service-card_icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, #5DD62C, #337418);
    box-shadow: 0 10px 30px rgba(93, 214, 44, 0.4);
}

.service-card_icon i {
    font-size: 32px !important;
    color: #f8f8f8;
    z-index: 2;
    position: relative;
}

/* ===== SERVICE CARD CONTENT ===== */
.service-card_title {
    margin-bottom: 15px;
}

.service-card_title a {
    color: #f8f8f8 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.service-card_title a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #5DD62C;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.service-card:hover .service-card_title a {
    color: #5DD62C !important;
}

.service-card:hover .service-card_title a::after {
    width: 100%;
}

.service-card_text {
    color: #f8f8f8 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* ===== SERVICE CARD LINK BUTTON ===== */
.link-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #337418, #5DD62C);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f8f8f8 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.service-card:hover .link-btn::before {
    width: 100%;
    height: 100%;
}

.service-card:hover .link-btn {
    background: linear-gradient(135deg, #5DD62C, #337418);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(93, 214, 44, 0.4);
}

.link-btn i {
    font-size: 16px;
    z-index: 2;
    position: relative;
}

/* ===== SLIDER CUSTOMIZATION ===== */
.service-slider-1 .slick-slide {
    padding: 0 10px;
}

.service-slider-1 .slick-track {
    display: flex;
    align-items: stretch;
}

/* ===== ANIMATIONS ===== */
@keyframes texture-flow {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    100% { transform: translateX(30px) translateY(-15px) rotate(2deg); }
}

@keyframes grid-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes target-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes service-glow {
    0%, 100% { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6); }
    50% { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(93, 214, 44, 0.2); }
}

/* Apply glow animation to service cards */
.service-card {
    animation: service-glow 6s ease-in-out infinite;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .elementor-section.elementor-element-d59d5ab {
        padding: 80px 0;
    }
    
    .elementor-element-b7ef22c {
        padding: 60px 30px !important;
        margin: 40px 15px;
    }
    
    .elementor-element-e37d225 .sec-title {
        font-size: 32px;
    }
    
    .service-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .accordion-area {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .elementor-section.elementor-element-d59d5ab {
        padding: 60px 0;
    }
    
    .elementor-element-b7ef22c {
        padding: 40px 20px !important;
        margin: 30px 10px;
        border-radius: 20px;
    }
    
    .elementor-element-e37d225 .sec-title {
        font-size: 26px;
        margin-bottom: 40px;
    }
    
    .service-card {
        padding: 25px 15px;
        margin: 8px;
    }
    
    .service-card_icon {
        width: 60px;
        height: 60px;
    }
    
    .service-card_icon i {
        font-size: 24px !important;
    }
    
    .service-card_title a {
        font-size: 18px !important;
    }
    
    .accordion-area {
        padding: 20px;
    }
    
    .accordion-button {
        padding: 15px 20px !important;
        font-size: 16px !important;
    }
    
    /* Simplify effects on mobile */
    .elementor-element-b7ef22c::before,
    .elementor-element-b7ef22c::after {
        display: none;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.service-card,
.service-card_icon,
.link-btn {
    will-change: transform;
}

/* Reduce animations for better performance on low-power devices */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card_icon,
    .link-btn,
    .elementor-element-e37d225 .sub-title::before,
    .elementor-section.elementor-element-d59d5ab::before,
    .elementor-section.elementor-element-d59d5ab::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ===== ADDITIONAL SPORTS CLUB ENHANCEMENTS ===== */

/* Add sport category color coding */
.service-card[data-sport="football"] .service-card_icon {
    background: linear-gradient(135deg, #228B22, #32CD32);
}

.service-card[data-sport="swimming"] .service-card_icon {
    background: linear-gradient(135deg, #4682B4, #87CEEB);
}

.service-card[data-sport="martial-arts"] .service-card_icon {
    background: linear-gradient(135deg, #B22222, #FF6347);
}

.service-card[data-sport="fitness"] .service-card_icon {
    background: linear-gradient(135deg, #FF8C00, #FFA500);
}

/* Premium membership indicator */
.service-card.premium::after {
    content: '★ PREMIUM';
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 10px;
    z-index: 3;
}