body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}


/* Add full-width hero section styles */


/* Hero section with full-width image */

.hero-section {
    position: relative;
    width: 100%;
    height: 500px;
    /* Adjust height as needed */
    background-image: url('../assect/images/contact.png');
    /* Update path to your image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    /* Account for header height */
    overflow: hidden;
}


/* Dark green overlay with wave pattern */

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(20, 77, 68, 0.8);
    /* Dark green overlay color with transparency */
}


/* Hero text styling */

.hero-section h1 {
    color: #42DE84;
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    z-index: 2;
    margin: 0;
    padding: 0;
}

.services-intro {
    padding: 60px 0 40px;
    text-align: center;
    background-color: #FFFFFF;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.services-intro h2 {
    font-size: 40px;
    margin-bottom: 15px;
    color: #000000;
    font-weight: 700;
}

.services-intro p {
    max-width: 1000px;
    margin: 0 auto;
    color: #9D9D9D;
    line-height: 1.6;
    font-size: 22px;
}


/* Adjust contact wrapper padding since we have hero section now */

.contact-wrapper {
    padding: 60px 20px;
    /* Reduced top padding since we have hero section */
}


/* Make hero section responsive */

@media screen and (max-width: 768px) {
    .hero-section {
        height: 300px;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    /* .hero-section {
        height: 150px;
    }
    .hero-section h1 {
        font-size: 2rem;
    } */
}

.contact-wrapper {
    padding: 100px 20px 60px;
    /* Increased top padding to account for fixed header */
    max-width: 100%;
    margin: 0 auto;
    background-color: #f9f9f9;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}


/* Improve the inner layout of the form */

.contact-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
}


/* Heading section styles */

.heading-section {
    margin-bottom: 20px;
    text-align: center;
}

.heading-text {
    color: #3a7d6d;
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

.form-section {
    width: 100%;
    border-radius: 50px 0 0 0;
}

.form-title {
    color: #333;
    font-size: 25px;
    margin: 0 0 30px 0;
    font-weight: 600;
    text-align: center;
}

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

input,
select {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #000;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    background: transparent;
    transition: border-color 0.3s;
    outline: none;
}

input::placeholder {
    color: #237C6FBF;
    font-size: 16px;
}

input:focus,
select:focus {
    border-bottom: 1px solid #3a7d6d;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    padding-right: 25px;
}

.form-submit {
    margin-top: 15px;
}

.submit-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #565656;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.4rem;
    color: #000000;
    background-color: transparent;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #000;
    color: #fff;
}


/* Media Queries for Responsive Design */

@media screen and (min-width: 768px) {
    h2.heading-text.mobile {
        display: none;
    }
    .contactForm-div {
        grid-template-columns: 1fr 1fr .2fr;
        display: grid;
        gap: 30px;
    }
    .contact-inner {
        flex-direction: row;
        gap: 40px;
    }
    .heading-section {
        width: 25%;
        text-align: left;
        display: flex;
        align-items: center;
    }
    .form-section {
        width: 75%;
        padding: 40px;
        border: 1px solid #9D9D9D;
    }
    .form-title {
        text-align: left;
        font-weight: 500;
    }
    .submit-btn {
        width: auto;
    }
}


/* Header specific styles to fix the mobile view */

@media screen and (max-width: 767px) {
    .services-intro h2 {
        font-size: 1.8rem;
    }
    .services-intro p {
        font-size: 16px;
    }
    .contact-inner {
        gap: unset;
    }
    .form-title {
        text-align: left;
    }
    .heading-text {
        font-size: 1.6rem !important;
    }
    h2.heading-text.desktop {
        display: none;
    }
    .mobile-menu-btn {
        display: block !important;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }
    .nav-links {
        width: 100%;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        background: #fff;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        margin: 15px 0;
        display: block;
        text-align: center;
    }
}