/*
* SmartPlan Engineers & Architects - Statistics Section Styles
* Eye-catching design for the statistics counter section
*/

/* Statistics Section Styling */
.statistics-section {
    position: relative;
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%),
                      linear-gradient(225deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%),
                      linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%),
                      linear-gradient(315deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%);
    background-position: 10px 0, 10px 0, 0 0, 0 0;
    background-size: 20px 20px;
    background-repeat: repeat;
    color: white;
    padding: 40px 0; /* Reduced padding */
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(130, 189, 66, 0.9), rgba(130, 189, 66, 0.7));
    z-index: 1;
}

.statistics-section .container {
    position: relative;
    z-index: 2;
}

.statistics-section .section-title {
    color: white;
}

.statistics-section .title-underline {
    background-color: white;
    margin-bottom: 20px; /* Reduced margin */
}

/* Statistics Card */
.statistic-card {
    text-align: center;
    padding: 20px 15px; /* Reduced padding */
    border-radius: 8px; /* Smaller border radius */
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Smaller shadow */
    transition: all 0.3s ease;
    height: 100%;
}

.statistic-card:hover {
    transform: translateY(-5px); /* Reduced hover effect */
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.statistic-icon {
    font-size: 2rem; /* Smaller icon */
    margin-bottom: 10px; /* Reduced margin */
    color: white;
    opacity: 0.9;
}

.counter-container {
    margin-bottom: 8px; /* Reduced margin */
}

.counter-value {
    font-size: 2.8rem; /* Smaller font size */
    font-weight: 700;
    line-height: 1.1; /* Tighter line height */
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    color: white;
}

.counter-label {
    font-size: 1rem; /* Smaller font size */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 3px; /* Reduced margin */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.counter-description {
    font-size: 0.85rem; /* Smaller font size */
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px; /* Reduced margin */
    line-height: 1.3; /* Tighter line height */
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .statistic-card {
        margin-bottom: 20px; /* Reduced margin */
    }

    .counter-value {
        font-size: 2.5rem; /* Smaller font */
    }

    .counter-label {
        font-size: 0.95rem; /* Smaller font */
    }
}

@media (max-width: 767.98px) {
    .statistics-section {
        padding: 30px 0; /* Reduced padding */
    }

    .statistic-card {
        padding: 15px 10px; /* Reduced padding */
        margin-bottom: 15px; /* Reduced margin */
    }

    .statistic-icon {
        font-size: 1.8rem; /* Smaller icon */
        margin-bottom: 8px; /* Reduced margin */
    }

    .counter-value {
        font-size: 2.2rem; /* Smaller font */
    }

    .counter-label {
        font-size: 0.9rem; /* Smaller font */
    }

    .counter-description {
        font-size: 0.8rem; /* Smaller font */
        margin-top: 3px; /* Reduced margin */
    }
}

@media (max-width: 575.98px) {
    .statistics-section {
        padding: 25px 0; /* Reduced padding */
    }

    .statistic-card {
        padding: 12px 8px; /* Reduced padding */
    }

    .counter-value {
        font-size: 2rem; /* Smaller font */
    }

    .counter-label {
        font-size: 0.85rem; /* Smaller font */
    }

    .counter-description {
        display: none; /* Hide description on very small screens */
    }
}
