div#footerformcontainer {
    width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    margin-top: -10vw;
    z-index: 999;
    position: relative;
    text-align: center;
    direction: rtl;
}
form#contactForm.section-title-wrap {
    max-width: unset;
    margin: auto;
}
div#footerformcontainer h2 {
    font-size: 45px;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

div#footerformcontainer .subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #444;
    padding-bottom: 34px;
}

div#footerformcontainer #info {
    font-size: 16px;
    text-align: justify;
    padding-top: 24px;
}

div#footerformcontainer a {
    color: inherit;
}

div#footerformcontainer .checkbox-row {
    font-size: 16px;
    align-items: baseline;
}
 

div#footerformcontainer .form-row input {
    text-align: right;
}

div#footerformcontainer button.submit-btn {
    background: #007BCD;
    padding: 13px 35px;
    font-size: 24px;
    font-weight: 300;
    font-family: 'Assistant', sans-serif;
    color: #fff;
    cursor: pointer;
    border: none;
    position: relative;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row input {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #999;
}

.checkbox-row {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: right;
}

 
.spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,0.4);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    inset: 0;
    margin: auto;
}

.spinner.active {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 📱 Mobile */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
    }
    div#footerformcontainer {
    width: 100%;
    padding: 8vw 5vw;
}

div#footerformcontainer h2 {
    font-size: 7.2vw !important;
    width: 42vw;
}

div#footerformcontainer .subtitle {
    font-size: 4.3vw;
    padding-bottom: 8vw;
}

.form-row input {
    font-size: 4.1vw;
}
}
