.contact-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    color: white;
    
}

.contact-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: white;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}

    .contact-input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

.contact-btn {
    width: 50%; /* Make button full-width for easier tapping */
    font-size: 1rem; /* Scale down the text size slightly */
    padding: 14px;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.compliance-box {
    font-size: 0.85rem;
    margin: 20px 0;
    line-height: 1.4;
    display: flex;
    gap: 10px;
}

    .compliance-box a {
        color: #fdbb2d;
        text-decoration: none;
    }


/* Mobile Responsiveness */
@media (max-width: 600px) {
    .contact-container {
        padding: 20px; /* Reduce outer padding to save space */
        margin: 10px; /* Ensure it doesn't touch the edge of the screen */
        border-radius: 10px;
    }

    h2 {
        font-size: 1.5rem; /* Shrink the header */
        margin-top: 0;
    }

    .contact-input {
        font-size: 16px; /* Prevents iOS from auto-zooming on focus */
        padding: 10px;
        margin-bottom: 12px;
    }

    .contact-btn {
        width: 100%; /* Make button full-width for easier tapping */
        font-size: 1.2rem; /* Scale down the text size slightly */
        padding: 14px;
    }

    .compliance-box {
        font-size: 0.75rem; /* Smaller legal text to keep it compact */
        align-items: flex-start;
    }

    /* If you used a horizontal layout for Name/Email, stack them here */
    .form-group {
        display: flex;
        flex-direction: column;
    }
}

/* The actual spinner element */
.spinner {
    display: none; /* Hidden by default */
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* State when the button is "loading" */
.contact-btn.is-loading {
    pointer-events: none; /* Prevent double-clicks */
    opacity: 0.8;
    cursor: not-allowed;
}

    .contact-btn.is-loading .spinner {
        display: inline-block; /* Show spinner on click */
    }