/* Default red button */
.modern-button {
    align-self: center;
    background: linear-gradient(135deg, #f13542, #dc3548);
    color: white;
    font-weight: bold;
    padding: 15px 40px;
    font-size: 1.2rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 800px;
    border: none;
    border-radius: 13px;
    margin-bottom: 20px;

}

/* Hover effect */
.modern-button:hover {
    background: linear-gradient(135deg, #c02d3d, #a0282f);
    transform: scale(1.05);
}

/* Button while loading */
.modern-button.loading {
    background: #a0282f;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Adjust loader inside button */
.modern-button .loader {
    width: 16px;
    height: 16px;
    border-width: 2px;
    margin-left: 5px;
}

#processing-message {
    color: #f03a47;
    font-weight: bold;
    text-align: center;
    margin-top: 1px;
    display: none;
    /* Hidden by default */
}

#processing-message.show {
    display: block;
    /* Show when JavaScript adds the class */
}

/* Loader Spinner */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

/* Spinner Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Disable button styles */
.modern-button:disabled {
    background: #f03a47;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Contact Section */
.contact {
    background: linear-gradient(to right, #2a2a2a, #111);
    padding: 60px 20px;
    color: white;
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-email {
    display: block;
    font-weight: bold;
    color: #f03a47;
    margin-top: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.contact-form label {
    font-size: 1rem;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: #222;
    color: white;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}