/* General Styles & Variables */
:root {
    --primary-color: #0d5134; /* Deep Green - professional and trustworthy */
    --secondary-color: #d0b161; /* Gold - for accents and calls to action */
    --accent-color: #6c757d;    /* Muted Gray - for secondary text and borders */
    --background-color: #f8f9fa; /* Light Gray - clean and spacious */
    --text-color: #333;         /* Dark Gray - for body text */
    --heading-color: #0d5134;   /* Darker Green - for headings */
    --white: #fff;
    --footer-bg: #343a40;       /* Darker background for footer */
    --footer-text: #ccc;        /* Lighter text for footer */
    --border-radius: 8px;       /* Slightly rounded corners */
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

h1, h2, h3 {
    font-family: 'Merriweather', serif;
    color: var(--heading-color);
    margin-bottom: 15px;
}

h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: var(--border-radius);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent extra space below images */
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Header & Navigation */
header {
    background-color: var(--heading-color);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.desktop-nav .logo-placeholder img {
    max-width: 150px; /* Adjust logo size as needed */
    height: auto;
    margin-right: 20px;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.desktop-nav ul li {
    margin-left: 25px;
}

.desktop-nav ul li a {
    font-weight: 600;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.desktop-nav ul li a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Mobile Navigation */
.mobile-nav {
    display: none; /* Hidden by default */
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.mobile-nav .logo-placeholder img {
    max-width: 100px; /* Adjust logo size for mobile */
    height: auto;
}

#hamburger-menu {
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 5px;
}

#mobile-menu {
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 999; /* Ensure it's above other content */
}

#mobile-menu li {
    margin-bottom: 15px;
    width: 80%;
    text-align: center;
}

#mobile-menu li a {
    display: block;
    padding: 12px 0;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, color 0.3s ease;
}

#mobile-menu li a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.hidden {
    display: none !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    text-align: center;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh; /* Minimum height for the hero section */
    overflow: hidden; /* Ensures background image stays within bounds */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content h2 {
    font-size: 1.8em;
    font-weight: 400;
    color: var(--white);
    line-height: 1.4;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire section */
    z-index: 0;
}

/* About Us Section */
.about-section {
    padding: 60px 0;
    background-color: var(--white);
}

.about-section .container {
    text-align: center;
}

.about-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px; /* Limit width for readability */
    margin-left: auto;
    margin-right: auto;
}

.about-section .core-business {
    font-weight: 700;
    color: var(--heading-color);
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-item img {
    margin: 0 auto 20px auto;
    border-radius: var(--border-radius);
}

.service-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 15px;
}

.service-item ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-item ul li::before {
    content: '\2022'; /* Bullet point */
    color: var(--secondary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
    font-size: 1.3em;
}

.service-item p {
    font-size: 0.95em;
    color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: var(--white);
}

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

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--heading-color);
    font-size: 1.8em;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.3em;
}

.contact-info strong {
    color: var(--heading-color);
}

.contact-form-placeholder {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.contact-form-placeholder img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.social-media {
    margin-top: 25px;
}

.social-media h3 {
    margin-bottom: 15px;
}

.social-media a {
    font-size: 1.8em;
    margin-right: 20px;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--secondary-color);
}

/* Contact Form Section */
.form-section {
    padding: 60px 0;
    background-color: var(--background-color);
    text-align: center;
}

.form-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--heading-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 20px); /* Account for padding */
    padding: 12px 10px;
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

.submit-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: var(--box-shadow);
}

.submit-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    padding: 25px 0;
    font-size: 0.9em;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop nav, show mobile nav */
    .desktop-nav {
        display: none;
    }
    .mobile-nav {
        display: flex;
    }

    .hero-section {
        min-height: 40vh;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-content h2 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 2em;
    }

    .service-item {
        padding: 20px;
    }

    .service-item h3 {
        font-size: 1.4em;
    }

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

    .contact-info, .contact-form-placeholder {
        width: 100%;
        min-width: unset;
        text-align: center;
    }

    .contact-info p i {
        margin-right: 10px;
    }

    .social-media {
        text-align: center;
    }

    .social-media a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.3em;
    }

    .hero-content h2 {
        font-size: 1.3em;
    }

    h2 {
        font-size: 1.8em;
    }

    .submit-button {
        width: 100%;
        padding: 10px;
    }
}