body {
    font-family: "Michroma", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Make it full viewport height */
    background-image: url('./wastecast.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; /* Text color on the hero image */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%); /* Gradient overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content .subheadline {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-button {
    background-color: #0071e3;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none; /* In case it's used as an anchor */
}

.contact-button:hover {
    background-color: #005db3;
}

.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 30px;
    text-align: center;
}

.section p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center; /* Default text alignment for sections */
}

#about p {
    text-align: left; /* Override for About section */
}

#features .container {
    max-width: 1200px; /* Adjust max-width if needed for better spacing */
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr)); /* Force 4 equal columns */
    gap: 20px; /* Adjust gap as needed */
    margin-top: 40px;
}

.feature-item {
    background-color: #fff;
    padding: 25px; /* Adjust padding for the smaller column width */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.feature-item h3 {
    font-size: 1.3rem; /* Slightly reduce font size if needed */
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 10px; /* Adjust margin */
}

.feature-item p {
    font-size: 0.95rem; /* Slightly reduce font size if needed */
    color: #666;
    line-height: 1.5; /* Adjust line height */
    text-align: left;
}

#partners .container {
    text-align: center;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.logo-grid img {
    max-height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-grid a:hover img,
.logo-grid img:hover {
    opacity: 1;
}

.backed-by {
    font-style: italic;
    color: #777;
    margin-top: 40px;
}

.contact-section {
    text-align: center;
}

.contact-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section p {
    margin-bottom: 30px;
}

footer {
    background-color: #f0f0f0;
    padding: 30px 0;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 960px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content .subheadline {
        font-size: 1.2rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Fallback to responsive layout */
    }

    .logo-grid {
        flex-direction: column;
        gap: 20px;
    }
}

/* Add a specific media query for smaller screens where 4 columns might be too tight */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust minmax for smaller screens */
    }
}