/* Basic Resets & Global Styles */
:root {
    /* Define your primary color, accent color, and neutral palette */
    --primary-color: #0056b3; /* Example: a professional blue */
    --accent-color: #ff6f00; /* Example: a vibrant orange */
    --light-bg: #f8f8f8;
    --dark-text: #333;
    --light-text: #f0f0f0;
    --white: #fff;
    --border-color: #ddd;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --padding-section: 80px 0; /* Example: for top/bottom padding of sections */
    --container-width: 1200px; /* Max width for content */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px; /* Inner padding for containers */
}

.section-padding {
    padding: var(--padding-section);
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color); /* Headings typically use primary color */
    margin-bottom: 20px;
}

h1 { font-size: 3.5em; } /* Adjust as needed for hero */
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 15px;
}

.section-intro {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%); /* Use CSS preprocessor or calculate darker color */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-cta { /* For the final CTA button */
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 1.2em;
    padding: 15px 30px;
}
.btn-cta:hover {
    background-color: darken(var(--accent-color), 10%);
    transform: translateY(-3px);
}

.btn-submit {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
}
.btn-submit:hover {
    background-color: darken(var(--accent-color), 10%);
}

/* Header Specifics */
#main-header {
    background-color: var(--white); /* Can be slightly transparent */
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky; /* Sticky header */
    top: 0;
    z-index: 1000;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.main-nav .nav-list {
    list-style: none;
    display: flex;
}
.main-nav .nav-list li {
    margin-left: 30px;
}
.main-nav .nav-list a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    transition: color 0.3s ease;
}
.main-nav .nav-list a:hover {
    color: var(--primary-color);
}
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    font-size: 1.8em;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section Specifics */
#hero {
    position: relative;
    height: 70vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white); /* Text color for hero */
    overflow: hidden;
    background-image: url('path/to/your/hero-image.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
}
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)); /* Dark overlay */
    /* Or use your primary/accent colors for a vibrant gradient overlay */
    /* background: linear-gradient(to right, var(--primary-color-rgba-0.7), var(--accent-color-rgba-0.7)); */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}
#hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}
#hero p {
    font-size: 1.3em;
    line-height: 1.5;
    margin-bottom: 40px;
}

/* Why Choose Us & Services Grid Styles */
.features-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.feature-item, .service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary-color); /* Subtle touch of primary color */
}
.service-card {
    border-top: 5px solid var(--accent-color); /* Or accent for services */
}

.feature-item:hover, .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3em;
    color: var(--accent-color); /* Icons use accent color */
    margin-bottom: 20px;
}
.feature-item h3, .service-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.feature-item p, .service-card p {
    font-size: 0.95em;
    color: #666;
}

/* Final CTA Section */
#final-cta {
    background-color: var(--primary-color); /* Solid background for impact */
    color: var(--light-text);
    text-align: center;
}
#final-cta h2 {
    color: var(--white);
    font-size: 2.8em;
    margin-bottom: 25px;
}
#final-cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Adjust column width ratio */
    gap: 50px;
    margin-top: 40px;
}
.contact-details {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.contact-details h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}
.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #555;
}
.contact-details p i {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 1.2em;
}
.map-placeholder {
    background-color: #eee;
    height: 200px; /* Example height for map */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    border-radius: 5px;
    margin-top: 25px;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.contact-form h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1em;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}
textarea {
    resize: vertical; /* Allow vertical resizing */
}

/* Footer Specifics */
#main-footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 50px 0;
    font-size: 0.9em;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.footer-col h3, .footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2em;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-col ul a:hover {
    color: var(--accent-color);
}
.footer-col.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.footer-col.contact-info p i {
    margin-right: 10px;
    font-size: 1.1em;
    color: var(--accent-color);
}
.social-icons a {
    color: var(--white);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: var(--accent-color);
}

/* --- Responsive Design (Media Queries) --- */
@media (max-width: 992px) {
    h1 { font-size: 2.8em; }
    h2 { font-size: 2em; }
    .features-grid, .services-grid, .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .contact-content-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
}

@media (max-width: 768px) {
    .main-nav .nav-list {
        display: none; /* Hide desktop nav */
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-color); /* Background for mobile menu */
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .main-nav .nav-list.active {
        display: flex; /* Show when active */
    }
    .main-nav .nav-list li {
        margin: 0;
        text-align: center;
    }
    .main-nav .nav-list a {
        padding: 15px 0;
        display: block;
        color: var(--white); /* Mobile nav links color */
    }
    .main-nav .nav-list a:hover {
        background-color: darken(var(--primary-color), 10%);
    }
    .mobile-menu-toggle {
        display: block; /* Show hamburger */
    }
    .hero-content {
        max-width: 90%;
        padding: 15px;
    }
    h1 { font-size: 2em; }
    #hero p { font-size: 1em; }
    .btn { padding: 10px 20px; font-size: 0.9em;}
    .btn-cta { font-size: 1em; padding: 12px 25px; }

    .section-padding { padding: 60px 0; }
    .section-intro { font-size: 1em; }
    .feature-item, .service-card { padding: 25px; }
    .feature-icon { font-size: 2.5em; }
    .contact-details, .contact-form { padding: 25px; }
    .footer-grid {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .footer-col ul { padding: 0;}
    .footer-col ul li { margin-bottom: 8px;}
    .footer-col.contact-info p, .social-icons { justify-content: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.8em; }
    .features-grid, .services-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
    .section-padding { padding: 40px 0; }
}

/* Utility classes for consistent colors (optional, but good for main brand colors) */
/* .color-primary { color: var(--primary-color); } */
/* .color-accent { color: var(--accent-color); } */
/* .bg-primary { background-color: var(--primary-color); } */
/* .bg-accent { background-color: var(--accent-color); } */

/* You'll need to define darken() or use exact color values for :hover effects.
   For example, if --primary-color is #0056b3, darken it to #004590. */