/* =============================================================
   CONTACT PAGE STYLES - FINAL & CORRECTED
   ============================================================= */

/* Contact Section Specifics */
.contact-section {
    background-color: var(--light-bg);
    padding: 60px 20px;
    text-align: center;
}

.contact-section h3 {
    color: var(--primary-color);
    font-family: var(--font);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-section h4 {
    color: var(--primary-color);
    font-family: var(--font);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-section p.honest-statement {
    color: var(--primary-color);
    max-width: 750px;
    margin: 0 auto 40px auto;
    font-family: var(--font);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Contact Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: #ffffff;
    box-shadow: var(--box-shadow);
}

.contact-form label {
    font-weight: bold;
    color: var(--primary-color);
    text-align: left;
    font-size: 0.9rem;
    margin-bottom: -5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--cta-border-radius);
    font-size: 1rem;
    color: var(--text-color);
    font-family: var(--font);
}

/* --- STYLES TO FIX THE BROKEN RADIO BUTTON LAYOUT --- */

/* 1. Reset the fieldset to remove the default browser border and padding */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* 2. Style the legend to match the other form labels */
legend {
    font-weight: bold;
    color: var(--primary-color);
    text-align: left;
    font-size: 0.9rem;
    margin-bottom: 10px; /* Space between "Reason for Contact:" and the box */
    padding: 0;
    width: 100%;
}

/* 3. Re-apply the box style to the .radio-group div */
.radio-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px; /* Space between the two radio options */
    border: 1px solid #ccc; /* The border from your original design */
    border-radius: var(--cta-border-radius);
    padding: 12px;
    margin-top: 0; 
    margin-bottom: 0;
}

/* 4. Style the labels within the radio group */
.radio-group label {
    font-weight: normal; /* Text should not be bold */
    display: flex;
    align-items: center;
    gap: 8px; /* Space between radio circle and text */
    margin-bottom: 0; /* Remove the negative margin from the main label style */
    cursor: pointer;
}

/* --- END OF FIX --- */


.contact-form button {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 10px auto 0;
    padding: 12px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: var(--cta-border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font);
    text-align: center;
    line-height: 1.4;
    box-sizing: border-box;
}

.contact-form button:hover {
    background-color: #c09c2c;
    color: var(--light-text);
}

.privacy-notice {
    margin-top: 20px;
    text-align: center;
}

.privacy-notice p {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    padding: 0 10px;
}

.privacy-notice a {
    color: #007bff;
    text-decoration: underline;
    
}

.privacy-notice a:hover {
    color: #0056b3; /* Standard darker hover effect */
}

/* Tablet and larger (min-width: 769px) */
@media (min-width: 769px) {

    .contact-section {
        padding: 80px 20px;
    }

    .contact-section h3 {
        font-size: 2rem;
    }

    .contact-section h4 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 30px;
    }

    .contact-form button {
        display: inline-block;
        width: auto;
        margin-top: 10px;
    }

    .privacy-notice p {
        font-size: 0.85rem;
        padding: 0;
    }
}
