/* General Styles */
:root {
    --primary-dark-green: #1A4D2E; /* Dark green from the header/footer */
    --secondary-green: #336633;   /* A slightly lighter, more vibrant green */
    --accent-gold: #E0A45C;      /* Gold/orange for buttons and highlights */
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-dark: #1A4D2E;
    --bg-mid-dark: #2C4E3A; /* For sections like 'who we serve' or 'currently serving' */
    --bg-light-grey: #f8f8f8; /* For form background */
    --border-color: #4CAF50; /* A subtle green for borders */
    --input-border: #CCCCCC;
    --placeholder-text-color: #AAAAAA;
}

body {
    font-family: 'Arial', sans-serif; /* Using Arial as a common sans-serif, can be replaced with a web font */
    margin: 0;
    padding: 0;
    color: var(--text-light);
    background-color: var(--bg-dark);
    line-height: 1.6;
}

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

h1, h2, h3 {
    color: var(--text-light);
}

h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

p {
    color: var(--text-light);
    margin-bottom: 15px;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    border-color: var(--text-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    border-color: var(--text-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
}

section {
    padding: 80px 0;
}

/* Header */
header {
    background-color: var(--primary-dark-green);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-gold);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.header-content .logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Space for wrapping */
}

.header-content .logo img {
    height: 40px; /* Adjust as needed */
    margin-right: 15px;
}

.header-content .logo span {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-light);
}

.header-content .contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Space for wrapping */
}

.header-content .contact-info a {
    margin-left: 20px;
    color: var(--text-light);
    font-weight: bold;
}

.header-content .contact-info a i {
    margin-right: 8px;
    color: var(--accent-gold);
}

/* Hero Section */
#hero {
    background-color: var(--primary-dark-green);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 77, 46, 0.8), rgba(26, 77, 46, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .btn {
    margin: 0 10px;
}

.hero-tagline {
    margin-top: 40px;
    font-size: 0.9em;
    color: #ccc;
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 1px;
    flex-wrap: wrap; /* Allow tagline items to wrap */
    display: flex;
    justify-content: center;
}

.hero-tagline span {
    margin: 5px 15px; /* Add vertical margin for wrapping */
}

/* Simple Process Section */
#simple-process {
    background-color: var(--bg-mid-dark);
    text-align: center;
}

#simple-process p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.process-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.process-step {
    background-color: var(--primary-dark-green);
    padding: 30px;
    border-radius: 8px;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: left;
}

.process-step .step-header {
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-step h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.process-step p {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 0;
}

/* Smart Technology Section */
#smart-technology {
    background-color: var(--bg-dark);
    text-align: center;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.tech-feature {
    background-color: var(--bg-mid-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tech-feature .icon {
    font-size: 2.5em;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.tech-feature h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.tech-feature p {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* Why Desert Pulse Section */
#why-desert-pulse {
    background-color: var(--bg-mid-dark);
    text-align: center;
}

.pulse-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pulse-feature {
    background-color: var(--primary-dark-green);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: left;
}

.pulse-feature .icon {
    font-size: 2em;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.pulse-feature h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.pulse-feature p {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* Who We Serve Section */
#who-we-serve {
    background-color: var(--bg-dark);
    text-align: center;
}

#who-we-serve p {
    color: #e0e0e0;
    max-width: 700px;
    margin: 10px auto 30px auto;
}

.serve-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.serve-category {
    background-color: var(--bg-mid-dark);
    padding: 15px 25px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-weight: bold;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.serve-category:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
}

/* Currently Serving Section */
#currently-serving {
    background-color: var(--bg-mid-dark);
    text-align: center;
    padding: 40px 0;
}

.serving-locations {
    font-size: 1.1em;
    color: #e0e0e0;
}

.serving-locations span {
    margin: 0 10px;
    font-weight: bold;
    display: inline-block; /* For better spacing on wrap */
    margin-bottom: 5px; /* Spacing if wrapped */
}

.serving-locations span:first-child {
    color: var(--accent-gold);
}

/* Get Started Section */
#get-started {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

.get-started-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.get-started-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.get-started-text h2 {
    text-align: left;
    font-size: 2.3em;
}

.get-started-text p {
    color: #e0e0e0;
}

.what-to-expect ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.what-to-expect li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.what-to-expect li i {
    color: var(--accent-gold);
    margin-right: 10px;
    font-size: 1.2em;
}

.contact-details {
    margin-top: 30px;
}

.contact-details h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.contact-details p {
    margin-bottom: 10px;
    color: #e0e0e0;
}

.contact-details p i {
    margin-right: 10px;
    color: var(--accent-gold);
}

.get-started-form {
    flex: 1;
    min-width: 350px;
    background-color: var(--bg-mid-dark);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

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

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--input-border);
    border-radius: 5px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    font-size: 1em;
    background-color: var(--bg-light-grey);
    color: var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--placeholder-text-color);
}

.form-group select {
    appearance: none; /* Remove default dropdown arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23333"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-dark-green);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid var(--accent-gold);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex: 1 1 250px; /* Flexible */
    justify-content: center;
}

.footer-logo img {
    height: 35px; /* Adjust as needed */
    margin-right: 15px;
}

.footer-logo span {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-light);
}

.footer-links {
    margin-bottom: 20px;
    flex: 1 1 350px; /* Flexible */
}

.footer-links span {
    font-weight: bold;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 10px;
}

.footer-links p {
    margin: 0;
    color: #e0e0e0;
}

.footer-links a {
    color: #e0e0e0;
    margin: 0 5px;
}

.footer-links a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.footer-links p i {
    margin-right: 5px;
    color: var(--accent-gold);
}

.footer-tagline {
    flex: 1 1 100%; /* Full width */
    margin-top: 20px;
    font-weight: bold;
    color: var(--accent-gold);
    font-size: 1.1em;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-content .contact-info {
        margin-top: 10px;
        width: 100%;
        justify-content: flex-end;
    }
    .hero-content h1 {
        font-size: 2.8em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .process-steps, .tech-features, .pulse-features {
        flex-direction: column;
        align-items: center;
    }
    .process-step, .tech-feature, .pulse-feature {
        width: 100%;
        max-width: 450px;
    }
    .get-started-content {
        flex-direction: column;
        align-items: center;
    }
    .get-started-text, .get-started-form {
        width: 100%;
        max-width: 500px; /* Adjust as needed */
    }
    .get-started-text {
        text-align: center;
    }
    .get-started-text h2 {
        text-align: center;
    }
    .footer-logo, .footer-links {
        flex-basis: 100%;
        justify-content: center;
    }
    .footer-links p {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2em;
    }
    h3 {
        font-size: 1.5em;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-tagline span {
        margin: 5px 5px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .header-content .contact-info a {
        margin-left: 10px;
        font-size: 0.9em;
    }
    .header-content .logo span {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .header-content .logo, .header-content .contact-info {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .header-content .logo img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .header-content .contact-info a {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .hero-buttons .btn {
        margin: 5px;
        display: block;
        width: calc(100% - 20px); /* Full width minus margin */
    }
    .hero-tagline {
        font-size: 0.75em;
        padding: 10px 0;
    }
    .process-step, .tech-feature, .pulse-feature, .get-started-text, .get-started-form {
        padding: 20px;
    }
    .footer-logo, .footer-links {
        flex-basis: 100%;
        justify-content: center;
    }
    .footer-logo img {
        margin-right: 0;
    }
}
