/* Container for the overall statistics section */
.statistics-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 20px;
    text-align: center;
}

/* Headings for statistics section */
.statistics-header h1 {
    font-size: 2rem; /* Increase heading size for clarity */
    color: #333;
    font-weight: bold; /* Make it stand out */
    margin-bottom: 15px; /* Provide space under the header */
}

.statistics-header p {
    font-size: 1rem; /* Increase the subtitle for better readability */
    color: #666;
    margin-bottom: 30px; /* More space for breathing room */
}

/* Layout for key statistics section */
.key-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 30px; /* Larger gap for spacious look */
    padding: 20px 0;
}

.stat i {
    font-size: 3.5rem; /* Increase the icon size */
    color: #4CAF50;
}

.stat h3 {
    font-size: 2rem; /* Make the numbers more prominent */
    color: #333;
}

.stat p {
    font-size: 1.25rem; /* Slightly larger text for better flow */
    color: #666;
}

/* Styling the learn more section */
.learn-more-container {
    max-width: 1000px; /* Slightly wider for better flow */
    margin: 60px auto;
    padding: 30px;
    /*  background-color: #f9f9f9; Add a light background for separation */
    border-radius: 10px;
    text-align: center;
    line-height: 1.8; /* Improved line spacing for readability */
}

.learn-more-container h2, 
.learn-more-container h3 {
    /* font-size: 2.5rem;  Larger headings for sections */
    color: #04611a;
    font-weight: bold;
    margin-bottom: 20px;
}

.learn-more-container h4 {
    font-size: 2rem; /* Clear subheadings */
    margin-top: 30px; /* Space above subheadings */
    color: #333;
}

.learn-more-container p {
    /* font-size: 1.15rem;  Standardize the paragraph text size */
    color: #333;
    text-align: justify; /* Justify for professional alignment */
    margin-bottom: 15px;
}

.image-placeholder {
    text-align: center;
    margin: 30px 0; /* More space around the images */
}

.learn-more-container img.charging-image {
    max-width: 100%;
    height: auto;
    margin: 10px;
    border-radius: 8px; /* Slight border-radius for images */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Button for exploring map */
.explore-map {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px; /* Larger padding for prominent CTA */
    margin-top: 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.5rem; /* Larger font size for the button */
    cursor: pointer;
    display: block; /* Centers the button */
    text-align: center;
    transition: background-color 0.3s ease; /* Smooth hover transition */
}

.explore-map:hover {
    background-color: #45a049;
}

/* Embedded map container styling */
#map-container {
    width: 100%;
    height: 450px;
    margin-top: 30px;
    border-radius: 10px; /* Smooth corners for the map */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Subtle shadow */
}

/* Container for the grid of charging points */
.charging-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 30px; /* Space between the columns */
    margin: 40px 0;
}

/* Each charging item styling */
.charging-item {
    text-align: center; /* Center align for images and text */
}

/* Image styling */
.charging-item img {
    max-width: 100%; /* Make sure images are responsive */
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Headings for each charging type */
.charging-item h3 {
    font-size: 1.5rem;
    color: #04611a;
    margin-bottom: 10px;
}

/* Description paragraph styling */
.charging-item p {
    font-size: 1.1rem;
    color: #333;
    text-align: justify; /* Justify the text for professional alignment */
}


/* Responsive Adjustments */

/* Medium screens (Tablets) */
@media (max-width: 991px) {
    .statistics-header h1 {
        font-size: 2.5rem;
    }

    .statistics-header p {
        font-size: 1.5rem;
    }

    .key-stats {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }

    .stat i {
        font-size: 3rem;
    }

    .stat h3 {
        font-size: 1.75rem;
    }

    .stat p {
        font-size: 1.2rem;
    }

    .learn-more-container {
        max-width: 90%;
    }

    .learn-more-container h2,
    .learn-more-container h3 {
        font-size: 2rem;
    }

    .learn-more-container p {
        font-size: 1.1rem;
    }

    .explore-map {
        font-size: 1.3rem;
        padding: 12px 20px;
    }
    .charging-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
        gap: 20px;
    }
}

/* Small screens (Mobile) */
@media (max-width: 600px) {
    .statistics-header h1 {
        font-size: 2rem;
    }

    .statistics-header p {
        font-size: 1.25rem;
    }

    .key-stats {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }

    .stat i {
        font-size: 2.5rem;
    }

    .stat h3 {
        font-size: 1.5rem;
    }

    .stat p {
        font-size: 1.1rem;
    }

    .learn-more-container {
        max-width: 100%;
        padding: 20px;
    }

    .learn-more-container h2,
    .learn-more-container h3 {
        font-size: 1.75rem;
    }

    .learn-more-container p {
        font-size: 1rem;
    }

    .explore-map {
        font-size: 1.2rem;
        padding: 10px 16px;
    }

    #map-container {
        height: 300px; /* Adjust map height for smaller screens */
    }
    .charging-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }

    .charging-item h3 {
        font-size: 1.3rem; /* Smaller font size for mobile */
    }

    .charging-item p {
        font-size: 1rem;
    }
}
