/* ContactUs.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

/* Basic Style Reset */
.contact * {
    box-sizing: border-box;
}

.contact {
    padding: 50px 0;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
    width: 100%;
}

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

.contact h2 {
    text-align: left;
    margin-bottom: 30px;
    font-size: 1.8em;
    color: #07a59d;
    font-weight: 500;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.3;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
    width: 100%;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: black;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.4em;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.4;
}

.contact-info p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1;
    color: black;
    font-size: 1em;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
}

/* Adjust the spacing between phone, fax, and email */
.contact-info p:nth-child(4), /* T */
.contact-info p:nth-child(5), /* F */
.contact-info p:nth-child(6) { /* E */
    margin-bottom: 3px;
}

.contact-info p b {
    color: black;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
}

.contact-info p:last-child {
    color: #07a59d;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 450;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: transparent;
    padding: 0;
    margin-top: 0;
}

.contact-form h3 {
    color: black;
    margin-bottom: 15px;
    font-size: 1.4em;
    margin-top: 0;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 1em;
    color: black;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.4;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid black;
    background: transparent;
    border-radius: 0;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.4;
    font-weight: 400;
    color: black;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #d4a437;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: black;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
    max-height: 120px;
    line-height: 1.4;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
}

button[type="submit"] {
    background: #d4aa38;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 0.9em;
    cursor: pointer;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: block;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
    min-height: 44px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

button[type="submit"]:hover {
    background: #042b2f;
}

.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: left;
}

/* Phone number input styling without auto-formatting */
.iti {
    width: 100%;
    position: relative;
    display: block !important;
}

.iti input {
    width: 100% !important;
    padding: 12px 50px 12px 0 !important;
    border: none !important;
    border-bottom: 1px solid black !important;
    background: transparent !important;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 16px !important;
    color: black !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
}

.iti input:focus {
    outline: none !important;
    border-bottom-color: #d4a437 !important;
}

.iti input::placeholder {
    color: black !important;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    opacity: 0.7 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* Flag container style */
.iti__flag-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Ensure no formatting is applied by the plugin */
.iti__selected-flag {
    pointer-events: auto !important;
}


.iti__selected-dial-code {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: black;
}

.iti__arrow {
    margin-left: 6px;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid #555;
}

/* Dropdown list style */
.iti__country-list {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
}

.iti__country {
    padding: 8px 10px;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.iti__country-name, .iti__dial-code {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
}

.iti__country:hover, .iti__country.highlight {
    background-color: #f5f5f5;
}

.iti--separate-dial-code .iti__tel-input {
    padding-left: 80px;
}

.iti input {
    padding-left: 100px !important;
}

.iti__flag-container, 
.iti__selected-flag, 
.iti input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.iti input {
    border-bottom: 1px solid black !important;
}

.iti input:focus {
    border-bottom: 1px solid #d4a437 !important;
}

/* Error and validation messages */
.form-group .error-message {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 5px;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
}

.form-group .success-message {
    color: #07a59d;
    font-size: 0.9em;
    margin-top: 5px;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.iti input:focus-visible {
    outline: none;
}

/* Form message styling - NEW STYLES ADDED */
.form-message {
    margin-top: 20px;
    text-align: left;
    width: 100%;
    max-width: 500px;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.4;
    padding: 10px 0;
}

.form-message.error {
    color: red;
}

.form-message.success {
    color: green;
}

.messages-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

/* Responsive design for tablet devices */
@media screen and (max-width: 1024px) {
    .contact {
        padding: 40px 0;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .container {
        padding: 0 25px;
    }
    
    .contact-content {
        gap: 40px;
    }
    
    .contact h2 {
        font-size: 1.6em;
        font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 500;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.25em;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 700;
    }
    
    .contact-info p {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .contact-info p b {
        font-weight: 600;
    }
    
    .form-group label {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 450;
    }
    
    .form-group input,
    .form-group textarea {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .form-group input::placeholder,
    .form-group textarea::placeholder {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    button[type="submit"] {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 500;
    }
    
    .iti input {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-weight: 400 !important;
    }
    
    .iti input::placeholder {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-weight: 400 !important;
    }
}

/* Form message styling at the top of the form */
.form-messages-top {
    width: 100%;
    margin-bottom: 20px;
}

.form-message {
    margin: 0;
    text-align: left;
    width: 100%;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.4;
    padding: 10px 0;
}

.form-message.error {
    color: red;
}

.form-message.success {
    color: green;
}

/* Responsive adjustments for messages on mobile */
@media screen and (max-width: 768px) {
    .form-message {
        text-align: center;
    }
    
    .contact {
        padding: 30px 0 20px;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .contact h2 {
        text-align: center;
        margin-bottom: 30px;
        font-size: 1.5em;
        font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        line-height: 1.3;
        font-weight: 500;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        margin-bottom: 0;
    }
    
    .contact-info,
    .contact-form {
        flex: none;
        width: 100%;
        max-width: 500px;
        min-width: unset;
        text-align: center;
    }
    
    .contact-info h3,
    .contact-form h3 {
        text-align: center;
        font-size: 1.2em;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        line-height: 1.3;
        font-weight: 700;
    }
    
    .contact-info p {
        text-align: center;
        font-size: 0.9em;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        line-height: 1.5;
        font-weight: 400;
    }
    
    .contact-info p b {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 600;
    }
    
    .form-group {
        margin-bottom: 15px;
        text-align: center;
    }
    
    .form-group label {
        text-align: center;
        font-size: 0.85em;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        line-height: 1.4;
        font-weight: 400;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 10px 0;
        text-align: left;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        line-height: 1.4;
        min-height: 50px;
        max-height: 100px;
        font-weight: 400;
    }
    
    .form-group input::placeholder,
    .form-group textarea::placeholder {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-size: 14px;
        text-align: left;
        font-weight: 400;
    }
    
    /* Adjustments for phone number input on mobile */
    .iti input {
        font-size: 14px !important;
        padding: 10px 40px 10px 0 !important;
        text-align: left !important;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-weight: 400 !important;
    }
    
    .iti input::placeholder {
        font-size: 14px !important;
        text-align: left !important;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-weight: 400 !important;
    }
    
    .iti--separate-dial-code .iti__tel-input {
        padding-left: 70px;
    }
    
    .iti input {
        padding-left: 85px !important;
    }
    
    .iti__selected-flag {
        min-height: 44px;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .iti__selected-dial-code {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
        font-size: 14px;
    }
    
    button[type="submit"] {
        width: 100%;
        max-width: 200px;
        padding: 10px 20px;
        margin: 0 auto;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        min-height: 44px;
        font-weight: 500;
    }
    
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: center;
        justify-content: center;
        margin: 20px auto;
    }
    
    /* Responsive adjustments for messages on mobile */
    .form-message {
        text-align: center;
        max-width: 100%;
    }
    
    .messages-container {
        justify-content: center;
    }
}

/* Small-screen mobile devices */
@media screen and (max-width: 480px) {
    .contact {
        padding: 20px 0 15px;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .contact h2 {
        font-size: 1.3em;
        margin-bottom: 20px;
        font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        line-height: 1.3;
        font-weight: 500;
    }
    
    .contact-content {
        gap: 20px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.1em;
        margin-bottom: 20px;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        line-height: 1.3;
        font-weight: 700;
    }
    
    .contact-info p {
        font-size: 0.8em;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        line-height: 1.5;
        font-weight: 400;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 13px;
        padding: 8px 0;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        line-height: 1.4;
        min-height: 40px;
        max-height: 80px;
        font-weight: 400;
    }
    
    .form-group input::placeholder,
    .form-group textarea::placeholder {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-size: 13px;
        font-weight: 400;
    }
    
    .form-group textarea {
        min-height: 80px;
        max-height: 150px;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    /* Phone number input adjustments for small screens */
    .iti input {
        font-size: 13px !important;
        padding: 8px 30px 8px 0 !important;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-weight: 400 !important;
    }
    
    .iti input::placeholder {
        font-size: 13px !important;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-weight: 400 !important;
    }
    
    .iti--separate-dial-code .iti__tel-input {
        padding-left: 65px;
    }
    
    .iti input {
        padding-left: 80px !important;
    }
    
    .iti__selected-flag {
        padding: 0 6px;
        min-height: 44px;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .iti__selected-dial-code {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
        font-size: 13px;
    }
    
    button[type="submit"] {
        font-size: 0.75em;
        padding: 8px 15px;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        min-height: 44px;
        font-weight: 500;
    }
    
    .g-recaptcha {
        transform: scale(0.8);
    }
}

/* Extra small-screen devices */
@media screen and (max-width: 320px) {
    .contact {
        padding: 15px 0 10px;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .container {
        padding: 0 5px;
    }
    
    .contact-info,
    .contact-form {
        padding: 0 5px;
    }
    
    .g-recaptcha {
        transform: scale(0.75);
    }
    
    .contact h2 {
        font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-size: 1.2em;
        font-weight: 500;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-size: 1em;
        font-weight: 700;
    }
    
    .contact-info p {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-size: 0.75em;
        font-weight: 400;
    }
    
    .contact-info p b {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 600;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 12px;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .form-group input::placeholder,
    .form-group textarea::placeholder {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-size: 12px;
        font-weight: 400;
    }
    
    /* Phone number input adjustments for extra small screens */
    .iti input {
        font-size: 12px !important;
        padding: 6px 25px 6px 0 !important;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-weight: 400 !important;
    }
    
    .iti input::placeholder {
        font-size: 12px !important;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-weight: 400 !important;
    }
    
    .iti--separate-dial-code .iti__tel-input {
        padding-left: 60px;
    }
    
    .iti input {
        padding-left: 75px !important;
    }
    
    .iti__selected-flag {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .iti__selected-dial-code {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
        font-size: 12px;
    }
}

/* High-DPI screen optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .contact {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print styles */
@media print {
    .contact {
        padding: 20px 0;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    button[type="submit"],
    .g-recaptcha {
        display: none;
    }
    
    .contact h2 {
        font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 500;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 700;
    }
    
    .contact-info p {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 400;
    }
    
    .contact-info p b {
        font-weight: 600;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .form-group input,
    .form-group textarea,
    button[type="submit"] {
        transition: none;
    }
}

/* Ensure all text elements have appropriate line height and font fallbacks */
.contact-info p,
.form-group label,
.form-group input,
.form-group textarea,
button[type="submit"],
.iti,
.iti input,
.iti__selected-flag,
.iti__selected-dial-code,
.iti__country-name,
.iti__dial-code {
    line-height: 1.4;
    font-synthesis: none;
}

/* Prevent text overflow */
.contact-info p,
.form-group label,
.form-group input,
.form-group textarea {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Ensure readability in dark mode */
@media (prefers-color-scheme: dark) {
    .contact {
        background: inherit;
    }
}