/* Stats Counter Section Styles */
.stats-counter-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.stats-counter-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.stats-counter-section .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stats-counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.05)" fill-opacity="1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.counter-item {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 2;
}

.counter-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.counter-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.counter-icon i {
    font-size: 2.5rem;
    color: white;
}

.counter-item:hover .counter-icon {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.counter-item:hover .counter-number {
    transform: scale(1.05);
}

.counter-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    padding: 0 10px;
}

.counter-item:hover .counter-title {
    color: white;
}

/* Responsive styles for stats counter section */
@media (max-width: 992px) {
    .stats-counter-section {
        padding: 50px 0;
    }

    .stats-counter-section .section-title {
        font-size: 1.8rem;
    }

    .counter-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .stats-counter-section {
        padding: 40px 0;
    }

    .stats-counter-section .section-title {
        font-size: 1.6rem;
    }

    .stats-counter-section .section-subtitle {
        font-size: 1rem;
    }

    .counter-item {
        margin-bottom: 30px;
    }

    .counter-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .counter-icon i {
        font-size: 2rem;
    }

    .counter-number {
        font-size: 2.2rem;
        margin-bottom: 5px;
    }

    .counter-title {
        font-size: 1.1rem;
    }
}

/* RTL Support */
.rtl-container .stats-counter-section .section-subtitle,
.rtl-container .counter-title {
    text-align: center;
}
