/* General Body Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header Styles */
header {
    background-color: #11661e;
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 3em;
    font-weight: 700;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

nav .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 25px;
    position: relative;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 1000;
    padding: 5px 0;
    
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #000000;
    border-bottom: 2px solid #000000;
}


/* Section Styles */
section {
    padding: 60px 0;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #11661e;
}

section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

/* Contact Methods Section */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.method-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.method-card i {
    font-size: 3em;
    color: #11661e;
    margin-bottom: 20px;
}

.method-card h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.method-card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows text to take available space */
}

.method-card .button {
    display: inline-block;
    background-color: #11661e;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Pushes button to the bottom */
}

.method-card .button:hover {
    background-color: #11661e;
}

.method-card address {
    font-style: normal;
    margin-bottom: 20px;
    color: #666;
}

.social-links a {
    color: #11661e;
    font-size: 1.8em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #11661e;
}


/* Contact Form Section */
.contact-form {
    background-color: #eaf2f8;
}

.contact-form form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 40px auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c3e50;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in element's total width and height */
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #11661e;
    outline: none;
    box-shadow: 0 0 5px #11661e;
}

textarea {
    resize: vertical;
}

.submit-button {
    background-color: #27ae60;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #229a54;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }

    section h2 {
        font-size: 2em;
    }

    .method-card {
        padding: 25px;
    }

    .method-card i {
        font-size: 2.5em;
    }

    .method-card h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }

    section h2 {
        font-size: 1.8em;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .method-card {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea,
    .submit-button {
        padding: 10px;
        font-size: 1em;
    }
}