/* Basic Resets & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Define your color palette */
    --primary-color: #556B2F; /* Olive Green - based on Durable site background */
    --secondary-color: #F8F8F8; /* Light background for services/benefits */
    --dark-text: #333;
    --light-text: #FFF;
    --button-hero-bg: #000000; /* Black button */
    --button-primary-bg: #556B2F; /* Green button */
    --button-secondary-bg: #8FBC8F; /* Lighter green button */
    --button-text-color: #FFF;
    --border-color: #DDD;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--secondary-color);
}

.container {
    max-width: 1200px; /* Adjust as needed for your desired width */
    margin: 0 auto;
    padding: 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif; /* A bold, display font similar to Notable */
    color: var(--dark-text);
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 {
    font-size: 3.2em; /* Adjust for Hero title */
    text-align: center;
}

h2 {
    font-size: 2.5em; /* Adjust for section titles */
    text-align: center;
    text-transform: uppercase;
}

h3 {
    font-size: 1.8em; /* Adjust for service/benefit titles */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1em;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.btn-hero {
    background-color: var(--button-hero-bg);
    color: var(--button-text-color);
}

.btn-primary {
    background-color: var(--button-primary-bg);
    color: var(--button-text-color);
}

.btn-primary:hover {
    background-color: #4CAF50; /* A slightly darker green on hover */
}

.btn-secondary {
    background-color: var(--button-secondary-bg);
    color: var(--button-text-color);
    font-weight: 400; /* Lighter weight for learn more buttons */
    padding: 8px 15px;
    font-size: 0.9em;
}

.btn-secondary:hover {
    background-color: #6B8E23; /* A slightly darker lighter-green on hover */
}

/* Header */
.main-header {
    display: flex;
    background-color: var(--secondary-color); /* Matches the hero background initially */
    padding: 20px 0;
    position: sticky; /* For shrinking effect */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out; /* For shrinking effect */
}

.main-header.scrolled {
    padding: 10px 0; /* Smaller padding when scrolled */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-text);
}

.logo img {
    vertical-align: center;
    text-align: center;
    height: 150px; /* Initial logo size */
    transition: height 0.3s ease-in-out;
}


.logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5em; /* Adjust for logo text size */
    margin-left: 10px;
    transition: font-size 0.3s ease-in-out;
}


.contact-header-btn {
    /* Style this button specifically for the header if needed */
}


/* Hero Section */
.hero-section {
    background-color: var(--primary-color); /* Green background */
    color: var(--light-text);
    padding: 20px 20px; /* Adjust padding for height */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px; /* Minimum height */
    position: relative; /* For background image */
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-background-placeholder.jpg') no-repeat center center/cover; /* Placeholder, replace later */
    opacity: 0.2; /* Dark overlay effect */
    z-index: -1;
}

.hero-title {
    color: var(--light-text);
    font-size: 3.5em;
    max-width: 800px;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2em;
    max-width: 700px;
    margin-bottom: 40px;
}

/* Services and Benefits Sections */
.services-section, .benefits-section {
    padding: 20px 20px;
    text-align: center;
}

.services-section {
    background-color: var(--secondary-color);
}

.benefits-section {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.benefits-section h2, .benefits-section h3 {
    color: var(--light-text);
}

.services-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 columns on large screens */
    gap: 20px;
    margin-top: 50px;
}

.service-item, .benefit-item {
    background-color: #FFF; /* White background for items */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 250px; /* Ensure consistent height */
}

.benefit-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for benefits */
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item h3, .benefit-item h3 {
    margin-top: 0;
}

.service-item p, .benefit-item p {
    margin-bottom: 20px;
    flex-grow: 1; /* Allows paragraphs to take up available space */
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--secondary-color);
    padding: 15px 15px;
    text-align: center;
}

.testimonial-slider {
    /* This will be handled by JavaScript for actual sliding */
    overflow: hidden; /* Hide overflow for now */
    position: relative;
    max-width: 800px; /* Constrain slider width */
    margin: 0 auto;
}

.testimonial-item {
    background-color: var(--primary-color); /* Green background for testimonial cards */
    color: var(--light-text);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    /* For now, just display one. JavaScript will handle actual sliding */
    opacity: 1; /* Will be used for fade effect */
    transition: opacity 0.5s ease-in-out;
}

.testimonial-item p {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.1em;
}

/* Contact Section */
.contact-section {
    background-color: var(--secondary-color);
    padding: 80px 20px;
    text-align: center;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    margin-top: 40px;
}

.contact-content p {
    flex: 1;
    min-width: 300px; /* Ensures text doesn't get too narrow */
    text-align: left;
    font-size: 1.1em;
    max-width: 400px;
}

.contact-form {
    flex: 2;
    min-width: 300px; /* Ensures form doesn't get too narrow */
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #FFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
    width: 100%; /* Make inputs fill container */
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
}

.contact-form button {
    width: auto; /* Allow button to size to content */
    align-self: flex-start; /* Align button to the left */
}

/* Footer */
.main-footer {
    background-color: var(--primary-color); /* Green footer */
    color: var(--light-text);
    padding: 20px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column; /* Stack on small screens */
    align-items: center;
    gap: 10px;
}

.footer-logo-info {
    display: flex;
    flex-direction: column; /* Stack logo and text */
    align-items: center;
}

.footer-logo {
    height: 80px; /* Adjust footer logo size */
    margin-bottom: 0px;
}

.footer-logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2em;
    color: var(--light-text);
}

.footer-contact-info p {
    margin: 1px 0; /* Your solution for line spacing! */
    font-size: 1em;
}

.footer-copyright {
    font-size: 0.5em;
}

/* --- Responsive Design (Basic) --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    .header-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .contact-header-btn {
        width: 100%;
    }

    .hero-title {
        font-size: 2.8em;
    }

    .services-grid, .benefits-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-content p, .contact-form {
        max-width: 100%;
        min-width: unset;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }
}


