.welcome-section {
    padding: 120px 0;
    /* background: #f8f9fa; */
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, #007bff 100%);
    opacity: 0.05;
}

.welcome-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.welcome-content {
    position: relative;
    padding: 0 40px;
    /* margin-bottom: 80px; */
}

.welcome-content h2 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #007bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.welcome-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #666;
    margin: 0 auto 50px;
    max-width: 800px;
}

.welcome-features {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007bff 0%, #00ff88 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.feature-item:hover::before {
    opacity: 0.1;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.1);
}

.feature-icon {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: #007bff;
    color: #fff;
    transform: scale(1.1);
}

.feature-text {
    position: relative;
    z-index: 2;
}

.feature-text h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-text p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.welcome-image {
    position: relative;
}

.welcome-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(0, 123, 255, 0.2);
    border-radius: 30px;
    z-index: 1;
}

.welcome-image img {
    width: 100%;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.welcome-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Classes Section Styles */
.fitness-classes {
    padding: 100px 0;
    background: #fff;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    width: 100%;
    max-width: 800px;
    margin-bottom: 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #00ff88);
    border-radius: 2px;
}

.section-header h2 {
    width: 100%;
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    text-align: center;
}

.section-header p {
    width: 100%;
    max-width: 600px;
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-align: center;
}

/* Dark theme support */
[data-theme="dark"] .fitness-classes {
    background: #111;
}

[data-theme="dark"] .section-header h2 {
    color: #fff;
}

[data-theme="dark"] .section-header p {
    color: #aaa;
}

@media (max-width: 1200px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .fitness-classes {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .fitness-classes {
        padding: 60px 0;
    }

    .section-container {
        padding: 0 20px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

/* Dark theme styles */
[data-theme="dark"] .welcome-section {
    background: #111;
}

[data-theme="dark"] .welcome-content h2 {
    background: linear-gradient(135deg, #fff 0%, #007bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .welcome-content p {
    color: #aaa;
}

[data-theme="dark"] .feature-item {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .feature-item:hover {
    box-shadow: none;
    border-color: #007bff;
}

[data-theme="dark"] .feature-text h3 {
    color: #fff;
}

[data-theme="dark"] .feature-text p {
    color: #aaa;
}

[data-theme="dark"] .feature-icon {
    background: rgba(0, 123, 255, 0.2);
}

[data-theme="dark"] .welcome-image::before {
    border-color: rgba(0, 123, 255, 0.3);
}

[data-theme="dark"] .welcome-image img {
    filter: brightness(0.9) contrast(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1200px) {
    .welcome-content h2 {
        font-size: 4rem;
    }
    
    .welcome-features {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 992px) {
    .welcome-section {
        padding: 80px 0;
    }

    .welcome-content h2 {
        font-size: 3.5rem;
        letter-spacing: -1px;
    }

    .welcome-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 60px 0;
    }

    .welcome-content {
        padding: 0 20px;
    }

    .welcome-content h2 {
        font-size: 2.8rem;
    }

    .welcome-features {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }

    .feature-item {
        padding: 30px 25px;
    }
}

.testimony-section {
    padding: 100px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 20px;
}

.testimonial-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.client-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 30px;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.client-info {
    margin-top: 20px;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.client-role {
    font-size: 0.9rem;
    color: #666;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.slider-arrow {
    background: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    color: #007bff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
    background: #007bff;
    color: #fff;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #007bff;
    transform: scale(1.2);
}

/* Dark theme support */
[data-theme="dark"] .testimony-section {
    background: #111;
}

[data-theme="dark"] .testimonial-content {
    background: #1a1a1a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .testimonial-text {
    color: #aaa;
}

[data-theme="dark"] .client-name {
    color: #fff;
}

[data-theme="dark"] .client-role {
    color: #aaa;
}

[data-theme="dark"] .slider-arrow {
    background: #1a1a1a;
    color: #007bff;
}

[data-theme="dark"] .slider-arrow:hover {
    background: #007bff;
    color: #fff;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .testimonial-content {
        max-width: 700px;
    }
}

@media (max-width: 992px) {
    .testimony-section {
        padding: 80px 0;
    }

    .testimonial-content {
        padding: 30px;
        max-width: 600px;
    }

    .client-image {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }

    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .testimony-section {
        padding: 60px 0;
    }

    .testimonial-content {
        padding: 25px;
        margin: 0 15px;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .client-image {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .client-name {
        font-size: 1.1rem;
    }

    .client-role {
        font-size: 0.85rem;
    }

    .slider-controls {
        margin-top: 30px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .testimonial-content {
        padding: 20px;
        margin: 0 10px;
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .slider-controls {
        gap: 15px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}
