/* Reset Default Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Section */
.header-section {
    background-color: #fff;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Phone Number */
.phone-number a {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c5e77;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.phone-number a:hover {
    color: #ff8c00;
}

.phone-icon,
.email-icon {
    font-size: 1.2rem;
}
.language-switch {
    display: flex;
    gap: 10px;
    font-size: 1rem;
}
.language-switch a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
}
.language-switch a.active {
    background: #007bff;
    color: #fff;
}

/* Navigation Bar */
.navigation-bar {
    background: none;
}

.navigation-bar ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.navigation-bar ul li a {
    color: #2c5e77;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.navigation-bar ul li a.active,
.navigation-bar ul li a:hover {
    background: #4a8b5c;
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: #2c5e77;
    transition: 0.3s ease;
    position: relative;
    z-index: 1001;
}

/* Hero Section */
.hero-section {
    background-color: #2c5e77;
    padding: 50px 20px;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    margin: auto;
}

.hero-text {
    flex: 1;
    max-width: 500px;
    text-align: left;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.2rem;
    color: #f5f5f5;
    margin: 15px 0;
}

.cta-button {
    display: inline-block;
    background-color: #ff8c00;
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #e07b00;
    transform: translateY(-3px);
}

/* Right Side: Image */
.hero-image {
    flex: 1;
    max-width: 500px;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Section */
.footer-section {
    background-color: #333; /* Changed to Dark Gray */
    color: #fff;
    padding: 20px 20px;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 5px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #4a8b5c; /* Changed to Green for visibility against dark gray */
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ff8c00; /* Orange on hover */
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-contact a {
    color: #4a8b5c; /* Changed to Green for visibility */
    text-decoration: none;
}

.footer-contact a:hover {
    color: #ff8c00; /* Orange on hover */
}

/* Footer Bottom Section */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #ccc;
    padding: 10px 0;
}

.footer-bottom p {
    margin: 0 auto;
    display: inline-block;
}

.cameronsol-link {
    color: #4a8b5c; /* Changed to Green for visibility */
    text-decoration: none;
    font-weight: bold;
}

.cameronsol-link:hover {
    text-decoration: underline;
    color: #ff8c00; /* Orange on hover */
}

/* Estimate Form Container */
.estimate-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.estimate-container h2 {
    color: #2c5e77;
    font-size: 1.8rem;
}

.estimate-container p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Form Styling */
.estimate-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.estimate-form label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c5e77;
}

.estimate-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

/* Services Hero Section */
.services-hero {
    background-color: #2c5e77;
    padding: 60px 20px;
    text-align: center;
}

.services-hero-container {
    max-width: 800px;
    margin: auto;
}

.services-hero h1 {
    font-size: 2.5rem;
    color: #fff;
}

.services-hero p {
    font-size: 1.2rem;
    color: #f5f5f5;
    margin: 15px 0;
}

/* Services List */
.services-list {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.services-list h2 {
    font-size: 2rem;
    color: #2c5e77;
    margin-bottom: 20px;
}

.service-item {
    background: #fff;
    padding: 20px;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 1.5rem;
    color: #4a8b5c;
}

.service-item p {
    font-size: 1rem;
    color: #666;
}

/* Services CTA */
.services-cta {
    text-align: center;
    padding: 40px 20px;
    background: #4a8b5c;
    color: #fff;
}

.services-cta h2 {
    font-size: 2rem;
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Projects Hero Section */
.projects-hero {
    background-color: #2c5e77;
    padding: 60px 20px;
    text-align: center;
}

.projects-hero-container {
    max-width: 800px;
    margin: auto;
}

.projects-hero h1 {
    font-size: 2.5rem;
    color: #fff;
}

.projects-hero p {
    font-size: 1.2rem;
    color: #f5f5f5;
    margin: 15px 0;
}

/* Projects Gallery */
.projects-gallery {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.projects-gallery h2 {
    font-size: 2rem;
    color: #2c5e77;
    margin-bottom: 20px;
}

.project-item {
    background: #fff;
    padding: 20px;
    margin: 15px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.project-item img {
    width: 45%;
    margin: 10px;
    border-radius: 5px;
}

.project-item h3 {
    font-size: 1.5rem;
    color: #4a8b5c;
}

.project-item p {
    font-size: 1rem;
    color: #666;
}

/* Projects CTA */
.projects-cta {
    text-align: center;
    padding: 40px 20px;
    background: #4a8b5c; /* Keeping Forest Green for the CTA */
    color: #fff;
}

.projects-cta h2 {
    font-size: 2rem;
}

.projects-cta p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Mobile Optimization */
@media screen and (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        position: relative;
    }

    .header-right {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        align-items: center;
        z-index: 1000;
    }

    .header-right.active {
        display: flex;
    }

    .navigation-bar ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .phone-number {
        margin-bottom: 15px;
        width: fit-content;
    }

    .menu-toggle {
        display: flex;
        /* Removed debugging background: #f0f0f0 since it's working now */
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .cta-button {
        display: block;
        margin: auto;
    }

    .hero-image {
        margin-top: 20px;
    }

    .hero-image img {
        max-width: 100%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .estimate-container {
        width: 90%;
        padding: 15px;
    }

    .services-hero h1 {
        font-size: 2rem;
    }

    .services-hero p {
        font-size: 1.1rem;
    }

    .services-list h2 {
        font-size: 1.8rem;
    }

    .service-item h3 {
        font-size: 1.3rem;
    }

    .services-cta h2 {
        font-size: 1.8rem;
    }

    .services-cta p {
        font-size: 1.1rem;
    }

    .projects-hero h1 {
        font-size: 2rem;
    }

    .projects-hero p {
        font-size: 1.1rem;
    }

    .projects-gallery h2 {
        font-size: 1.8rem;
    }

    .project-item img {
        width: 100%;
    }

    .project-item h3 {
        font-size: 1.3rem;
    }

    .projects-cta h2 {
        font-size: 1.8rem;
    }

    .projects-cta p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .logo img {
        height: 50px;
    }

    .phone-number a {
        font-size: 1rem;
    }

    .header-right {
        top: 60px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .services-hero h1 {
        font-size: 1.8rem;
    }

    .services-hero p {
        font-size: 1rem;
    }

    .services-list h2 {
        font-size: 1.5rem;
    }

    .service-item h3 {
        font-size: 1.2rem;
    }

    .services-cta h2 {
        font-size: 1.5rem;
    }

    .services-cta p {
        font-size: 1rem;
    }

    .projects-hero h1 {
        font-size: 1.8rem;
    }

    .projects-hero p {
        font-size: 1rem;
    }

    .projects-gallery h2 {
        font-size: 1.5rem;
    }

    .project-item h3 {
        font-size: 1.2rem;
    }

    .projects-cta h2 {
        font-size: 1.5rem;
    }

    .projects-cta p {
        font-size: 1rem;
    }
}
/* Contact Hero Section */
.contact-hero {
    background-color: #2c5e77;
    padding: 60px 20px;
    text-align: center;
}

.contact-hero-container {
    max-width: 800px;
    margin: auto;
}

.contact-hero h1 {
    font-size: 2.5rem;
    color: #fff;
}

.contact-hero p {
    font-size: 1.2rem;
    color: #f5f5f5;
    margin: 15px 0;
}

/* Contact Form Section */
.contact-form-section {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.contact-container h2 {
    font-size: 2rem;
    color: #2c5e77;
    margin-bottom: 20px;
}

.contact-container p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c5e77;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    resize: vertical;
}

.form-group textarea {
    min-height: 100px;
}

/* Contact Info Section */
.contact-info {
    text-align: center;
    padding: 40px 20px;
    background: #4a8b5c;
    color: #fff;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.contact-info a {
    color: #ff8c00;
    text-decoration: none;
}

.contact-info a:hover {
    color: #e07b00;
}

/* Mobile Optimization */
@media screen and (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1.1rem;
    }

    .contact-container h2 {
        font-size: 1.8rem;
    }

    .contact-form-section {
        width: 90%;
        margin: 20px auto;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .contact-info p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-container h2 {
        font-size: 1.5rem;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-info p {
        font-size: 1rem;
    }
}
/* Error Message Styling */
.error {
    color: #e07b00; /* Orange to match hover states */
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

/* Adjust reCAPTCHA Styling */
.g-recaptcha {
    margin: 15px 0;
    display: inline-block;
}

/* Input field styling on error */
.form-group input:invalid:focus,
.form-group textarea:invalid:focus {
    border-color: #e07b00;
    box-shadow: 0 0 5px rgba(224, 123, 0, 0.5);
}
.form-message {
    margin-top: 15px;
    font-size: 1.1rem;
    text-align: center;
}
/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, #2c5e77 50%, #4a8b5c 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-hero:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    pointer-events: none;
}

.about-hero-container {
    max-width: 900px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* About Content */
.about-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}

.about-container h2 {
    font-size: 2rem;
    color: #2c5e77;
    margin-bottom: 20px;
}

.about-container p {
    font-size: 1.1rem;
    color: #666;
    margin: 15px 0;
}

/* Timeline Section */
.about-timeline {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.about-timeline h2 {
    font-size: 2.5rem;
    color: #4a8b5c;
    margin-bottom: 30px;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    background: #f5f5f5;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: left;
}

.timeline-year {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff8c00;
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 1.1rem;
    color: #666;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, #2c5e77 50%, #4a8b5c 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-hero:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    pointer-events: none;
}

.about-hero-container {
    max-width: 900px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* About Content */
.about-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}

.about-container h2 {
    font-size: 2rem;
    color: #2c5e77;
    margin-bottom: 20px;
}

.about-container p {
    font-size: 1.1rem;
    color: #666;
    margin: 15px 0;
}

/* Timeline Section */
.about-timeline {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.about-timeline h2 {
    font-size: 2.5rem;
    color: #4a8b5c;
    margin-bottom: 30px;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    background: #f5f5f5;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: left;
}

.timeline-year {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff8c00;
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 1.1rem;
    color: #666;
}

/* About CTA */
.about-cta {
    text-align: center;
    padding: 50px 20px;
    background: #4a8b5c;
    color: #fff;
}

.about-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Mobile Optimization */
@media screen and (max-width: 768px) {
    .about-hero {
        padding: 60px 20px;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }

    .about-hero p {
        font-size: 1.1rem;
    }

    .about-container h2 {
        font-size: 1.8rem;
    }

    .about-timeline h2 {
        font-size: 2rem;
    }

    .timeline-year {
        font-size: 1.5rem;
    }

    .about-cta h2 {
        font-size: 1.8rem;
    }

    .about-cta p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .about-hero h1 {
        font-size: 1.8rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .about-container h2 {
        font-size: 1.5rem;
    }

    .about-timeline h2 {
        font-size: 1.8rem;
    }

    .timeline-year {
        font-size: 1.3rem;
    }

    .timeline-item p {
        font-size: 1rem;
    }

    .about-cta h2 {
        font-size: 1.5rem;
    }

    .about-cta p {
        font-size: 1rem;
    }
}