/* --- 1. CSS Variables for Color Palette --- */
:root {
    --primary-accent: #F47D30;
    --dark-bg: #303030;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-gray: #666666;
    --border-gray: #E0E0E0;

    --transition-speed: 0.3s;
    --font-main: 'Serif', Roboto, Helvetica, Arial, sans-serif;
}


/* --- 3. Layout Structure --- */
.enquiry-section {
    padding: 80px 20px;
    background-color: #1A1A1A;
    width: 100%;
    /* Slightly narrower than full width for form focus */
    margin: 0;
    /*border-radius: 12px;*/
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.form-container {
    width: 100%;
    background-color: var(--dark-bg);
    border-radius: 12px;
    padding: 60px 40px;
}

/* --- 4. Section Heading Styles --- */
.section-header {
    display: flex;
    flex-direction: row;
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    color: var(--primary-accent);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.main-heading {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
}

/* Centered Decorative Accent Line */
/*.main-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-accent);
    margin: 16px auto 0;
    border-radius: 2px;
}*/

.sect-intro {
    font-size: 2.1rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto;
}

/* --- 5. Form Styling --- */
.property-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--light-gray);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--dark-bg);
    background-color: var(--light-gray);
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
}

/* Focus State for Accessibility and Aesthetics */
.form-control:focus {
    outline: none;
    border-color: var(--primary-accent);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(244, 125, 48, 0.1);
}

/* Select Dropdown specific styling */
select.form-control {
    cursor: pointer;
    appearance: none;
    /* Removes default OS styling */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23303030%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px top 50%;
    background-size: 12px auto;
    padding-right: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* --- 6. Button Styling --- */
.btn-submit {
    display: inline-block;
    background-color: var(--primary-accent);
    color: var(--white);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    border: 2px solid var(--primary-accent);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    margin-top: 10px;
    align-self: center;
    /* Center the button */
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--primary-accent);
    box-shadow: 0 8px 20px rgba(244, 125, 48, 0.2);
    transform: translateY(-2px);
}

/* --- 7. Responsive Breakpoints --- */
@media (max-width: 768px) {
    .enquiry-section {
        padding: 60px 20px;
        margin: 0;
    }

    .main-heading {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        /* Stack inputs on mobile */
        gap: 20px;
    }

    .btn-submit {
        width: 100%;
        /* Full width button on mobile */
    }
}