/* --- Variables & Reset --- */
:root {
    --primary-color: #183b2a; /* Deep Forest Green */
    --secondary-color: #2b8d5e; /* Vibrant Accent Green */
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* --- Hero Section (Home/About) --- */
.hero-section {
    /* Background uses a dark gradient overlay on an image */
    background: linear-gradient(#183b2a, #2b8d5e), url('https://images.unsplash.com/photo-1581578731117-104f2a8d23e9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* --- Buttons --- */
.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #183b2a;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* --- Services Section --- */
.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* --- Contact Form --- */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.btn-block {
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* --- Enhanced Footer Styling --- */

/* Reset footer for a multi-column layout */
footer {
    background: var(--primary-color); /* Dark Green Background */
    color: var(--text-light);     /* White text */
    padding: 40px 0;
    text-align: left; 
}

.footer-content {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 30px; 
}

.footer-details, .footer-contact, .footer-location {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color); 
}

.footer-contact h4, .footer-location h4 {
    color: var(--secondary-color); 
    margin-bottom: 10px;
}

/* Style the links in the footer (Phone/Email) */
.footer-contact a {
    color: #fff; /* White links for high contrast */
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--secondary-color); /* Links turn Accent Green on hover */
    text-decoration: underline;
}

/* --- Mobile Responsive Tweaks --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .button-group {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-details, .footer-contact, .footer-location {
        min-width: 100%;
        margin-bottom: 20px;
    }
    .footer-contact a:hover {
        color: #fff; /* Prevents color flicker on mobile taps */
    }
}