.stats-section {
    padding: 60px 0;
    background: #f4f4f4;
}
.stats-section .stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.stats-section .stat-item {
    text-align: center;
    padding: 20px;
    min-width: 200px;
}
.stats-section .stat-item i {
    font-size: 48px;
    color: #3fbbc0;
}
.stats-section .stat-item .counter {
    font-size: 48px;
    font-weight: bold;
    margin: 10px 0;
}
.stats-section .stat-item p {
    font-size: 18px;
    color: #555;
}


.stats-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%); /* Subtle gradient background */
    overflow: hidden;
}

/* Responsive grid container for stat items */
.stats-section .stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Responsive grid */
    gap: 30px; /* Space between items */
    align-items: stretch;
}

/* Individual statistic item card styling */
.stats-section .stat-item {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 12px; /* Softer corners */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07); /* Subtle shadow for depth */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hover effect for the stat item */
.stats-section .stat-item:hover {
    transform: translateY(-10px); /* Lift effect on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Stronger shadow on hover */
}

/* Styled container for the icon */
.stats-section .stat-item .stat-icon {
    margin: 0 auto 20px auto;
    width: 80px;
    height: 80px;
    background: #eefcff; /* Light, complementary background for the icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

/* Icon styling */
.stats-section .stat-item .stat-icon i {
    font-size: 36px; /* Slightly smaller icon for better balance */
    color: #3fbbc0; /* Main theme color for the icon */
    line-height: 0;
}

/* Counter number styling */
.stats-section .stat-item .counter {
    font-family: 'Poppins', sans-serif; /* A more modern font if available */
    font-size: 40px;
    font-weight: 700;
    color: #2e3e4e; /* Darker color for better contrast */
    margin: 10px 0;
    display: block;
}

/* Title/paragraph styling */
.stats-section .stat-item p {
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #6c757d; /* Softer grey for the description */
    font-weight: 500;
}
