/* contact_us.css */
body {
    background-color: #fafefa; /* Light background */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    flex-direction: row; /* Align items in a row */
    justify-content: space-between; /* Space between logo and nav */
    align-items: center; /* Align items vertically centered */
    background-color: #ffffff; /* White background for contrast */
    padding: 10px 5%;
    width: 100%;
    box-sizing: border-box;
}

/*dealer and text above*/
/* Wrapper to add spacing */
.contact-page-wrapper {
    padding-top: 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Intro Section */
.intro-section {
    text-align: center;
    margin-bottom: 60px;
}

.intro-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Dealers Section */
/* Styling for becomeDealer text to match Intro text */
.dealer-text {
    text-align: center;         /* Centers the text */
    font-size: 1.1rem;          /* Matches Intro font size */
    line-height: 1.6;           /* Matches Intro spacing */
    color: #555;                /* Matches Intro color */
    max-width: 800px;           /* Prevents text from stretching too wide */
    margin: 0 auto 30px auto;   /* Centers the block and adds space below */
}

/* Optional: If you want to make sure the text isn't too close to the green header */
.section-header-dealers {
    margin-bottom: 20px;        /* Slightly reduced to accommodate text below it */
}

.dealers-section {
    margin-bottom: 80px;
}

.section-header-dealers {
    background-color: #63d150;
    color: #000;
    font-size: 2.2rem;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 30px;
}

.dealers-placeholder {
    background-color: #fff;
    border: 2px dashed #63d150; /* Dashed border looks good for "future" content */
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    color: #888;
    font-style: italic;
}

/* contact us forms*/
.contact-container {
    display: flex;
    justify-content: space-between; /* Pushes items to the edges */
    align-items: stretch;           /* Makes both columns equal height */
    max-width: 1200px;
    margin: 40px auto;
    gap: 40px;
    padding: 0 20px;
}


.contact-section {
    padding: 50px;
    background-color: #fafefa; /* Light background for the section */
}

.contact-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    gap: 5%;
}

.contact-info, .contact-form {
    flex: 1; /* Gives both sides equal weight */
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
    font-size: 2rem;
    color: #63d150;
    margin-bottom: 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.contact-item .icon {
    font-size: 1.5rem;
    margin-right: 10px;
    color: #63d150;
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #63d150;
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 1rem;
    display: block;
    margin-top: 15px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 95%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #63d150;
    color: #010101;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #4ca03d;
}

.popup-message {
    background-color: #e0f7fa; /* Light blue background */
    color: #00695c; /* Dark teal text */
    padding: 10px 15px; /* Padding around the text */
    border: 1px solid #004d40; /* Darker border */
    border-radius: 5px; /* Rounded corners */
    margin-bottom: 15px; /* Space below the pop-up */
    display: flex; /* Flex to center align text */
    justify-content: center; /* Center text horizontally */
    align-items: center; /* Center text vertically */
    font-weight: bold; /* Bold text for emphasis */
}


@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stacks the info on top of the form */
        align-items: center;
    }
    .contact-info, .contact-form {
        width: 100%; /* Makes them full width on mobile */
        margin-bottom: 20px;
    }
}
