/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
}

/* Hero Section */
.env-hero {
    background: url('images/EVcharging.jpeg') center / cover no-repeat;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 20px;
}

.env-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.env-hero h1 {
    font-size: 4rem;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

.env-hero p {
    font-size: 1.5rem;
    color: #ccc;
    z-index: 2;
    margin-top: 10px;
}

/* Remove color change on hover, keep white text */
.env-hero:hover h1 {
    transform: scale(1.05); /* Slight scaling effect on hover */
}

/* Main Container */
.env-container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

/* Two Column Section */
.env-two-column {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 40px 0;
}

.env-column {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
}

.env-column h2 {
    color: #388e3c;
    margin-bottom: 20px;
}

.env-column ul li {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.env-column ul li i {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.5rem;
    color: #388e3c;
}

.env-column:hover {
    transform: translateY(-5px);
}

/* Infographic Section */
.env-infographic {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    background: #e8f5e9; /* Light green background */
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.env-infographic div {
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.env-infographic div h3 {
    font-size: 3rem;
    font-weight: bold;
    color: #388e3c;
    margin-bottom: 10px;
}

.env-infographic div p {
    font-size: 1.3rem;
    color: #555;
}

.env-infographic div:hover {
    transform: scale(1.1); /* On hover, make the stats pop */
}

/* Call-to-Action Tiles - Saffron Color & Positioning */
.env-cta-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    grid-template-rows: 1fr 1fr; /* Two rows */
    gap: 40px;
    margin: 40px 0;
}

.env-cta-tile {
    background: #ffb367; /* Light saffron background */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    
}

.env-cta-tile h4 {
    color: #333;
    margin-bottom: 10px;
}

.env-cta-tile p {
    color: #666;
    font-size: 1.1rem;
}

.env-cta-tile:hover {
    transform: translateY(-5px);
}

/* Custom Grid Layout */
.env-cta-tile:nth-child(1) {
    grid-column: 1 / 2; /* First card in first column */
}

.env-cta-tile:nth-child(2) {
    grid-column: 2 / 3; /* Second card in second column */
}

.env-cta-tile:nth-child(3) {
    grid-column: 1 / 3; /* Third card centered between the first two */
    grid-row: 2 / 3;
    width: 50%; /* Optional: Adjust width for better centering */
    margin: 0 auto; /* Center the third tile */
}

/* Section Divider */
.env-section-divider {
    height: 10px;
    background: linear-gradient(to right, #388e3c, #e8f5e9);
    margin: 40px 0;
}

@media(max-width:650px){
	.env-infographic, .env-cta-tiles {
		display: block;
	}
	.env-cta-tile {
		margin-bottom: 20px;
	}
	.env-cta-tile:nth-child(3) {
		width: 100%;
	}
}