/* ------------------------------------ */
/* Quote Form */
/* ------------------------------------ */
.quote-form {
    /* Changed background and text color for better contrast and visibility */
    background: #86A788; /* Dark background similar to CTA */
    color: #EDE4E0; /* Light text for contrast on dark background */
    padding: 3rem 2rem;
    text-align: center;
}

.quote-form h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #86A788; /* Ensure heading color contrasts with new dark background */
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    display: block;
}

.quote-form form {
    max-width: 500px;
    margin: auto;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.quote-form input,
.quote-form textarea {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    resize: vertical;
    width: 100%;
    font-size: 1rem;
    color: #1E1F25; /* Keep input text dark */
    background-color: #f5f5f5; /* Light background for input fields */
}

.quote-form button {
    padding: 0.75rem 2rem;
    background: #C9C4B4;
    color: #1E1F25;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: fit-content;
    margin: 0 auto;
}

.quote-form button:hover {
    background: #1E1F25;
    color: #C9C4B4;
}

@media (max-width: 600px) {
    .quote-form h2,
    .quote-form h3,
    .quote-form p {
        padding: 0 1rem;
    }

    .quote-form form {
        padding: 0 1rem;
    }
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(90deg, #0A3D62 0%, #007acc 100%);
    color: #fff;
    text-align: center;
    border-radius: 2rem 2rem 0 0; /* Soft top corners */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.cta h2 {
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.cta button {
    padding: 1.2rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    background-color: #fff;
    color: #0A3D62;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta button:hover {
    background-color: #e0f0ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-hero-section h1 {
        font-size: 2.8rem;
    }
    .contact-hero-section p {
        font-size: 1.1rem;
    }
    .contact-form-section form {
        padding: 2rem;
        border-radius: 1rem;
    }
    .contact-form-section button[type="submit"] {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    .contact-info-section .container {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
    .contact-info-card {
        padding: 2rem;
        border-radius: 1rem;
    }
    .map-container iframe {
        height: 300px; /* Reduce map height for mobile */
    }
    .cta button {
        padding: 1rem 2.5rem;
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-section h1 {
        font-size: 2.2rem;
    }
    .contact-hero-section p {
        font-size: 1rem;
    }
    .contact-form-section input,
    .contact-form-section textarea {
        padding: 1rem;
        font-size: 1rem;
    }
    .contact-form-section button[type="submit"] {
        font-size: 1rem;
    }
}