/* Global Styles */
:root {
    --primary-color: #1a3c40; /* Dark Navy */
    --secondary-color: #285430; /* Dark Green */
    --text-color: #333; /* Charcoal */
    --accent-color: #f0ead6; /* Beige/Off-White */
    --light-gray: #f4f4f4;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure footer stays at the bottom */
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px var(--shadow-color);
}

header .logo {
    font-size: 2em;
    font-weight: 600;
}

/* Hero Section Styles */
.hero {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px var(--shadow-color);
}

.hero h2 {
    font-size: 1.7em;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px;
}

.subscription {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.subscription input[type="email"] {
    padding: 12px 15px;
    border: 1px solid var(--text-color);
    border-radius: 5px;
    font-size: 1em;
    width: 70%;
    margin-right: 10px;
}

.subscription button {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border: 1px;
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscription button:hover {
    background-color: #1e4023; /* Darker Green */
}

/* Services Section Styles */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    /* Placeholder style.  Replace with actual icon styling */
    background-color: var(--light-gray);
    border-radius: 50%;
    object-fit: contain; /* Or 'scale-down' if you want to preserve aspect ratio */
    padding: 10px;
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1em;
    color: var(--text-color);
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--accent-color);
    text-align: center;
    padding: 20px;
    margin-top: auto; /* Push footer to the bottom */
}

footer .contact-info {
    margin-top: 10px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3em;
    }

    .hero h2 {
        font-size: 1.4em;
    }

    .subscription {
        flex-direction: column;
        width: 80%;
    }

    .subscription input[type="email"] {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .subscription button {
        width: 100%;
    }
}
