/* Contact Form */
.paragraph-title {
    width: calc(100% - 40px);
    text-align: center;
}
.contact-form {
    width: calc(100% - 40px);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    max-width: 400px;
}

.contact-form label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 1px solid #ffffff;
    font-family: Raleway;
    background: #18157c;
}

.contact-form textarea {
    resize: vertical;
}

.input-row {
    width: 100%;
    display: flex;
    /* Enables Flexbox layout */
    gap: 10px;
    /* Spacing between the two fields, adjust as needed */
}

.input-row input {
    flex-grow: 1;
    /* Allows the inputs to grow and fill the available space */
}

/* Ensure styles for the rest of the form elements are appropriate */
.contact-form input,
.contact-form textarea,
.contact-form button {
    /* Makes input fields take the full container width */
    margin-bottom: 10px;
    /* Adds space below each input field */
    box-sizing: border-box;
    /* Ensures padding does not add to the field's total width */
}


.contact-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-button:hover {
    background-color: #0056b3;
}

#thank-you-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 999;
}

#thank-you-popup {
    background: white;
    color: #333;
    padding: 2rem 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-size: 1.25rem;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .paragraph-title {
        font-size: 23px;
    }
}