/* Lead form styles copied from RabehCustomStyle.css, scoped to the Sulfah landing page */
.sulfah-lead-form,
.sulfah-thanks {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 5px;
    border-radius: 10px;
    clear: both;
    font-family: 'Montserrat', sans-serif;
}

.sulfah-lead-form form {
    max-width: 1200px;
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    padding: 5px 10px;
}

label {
    color: #12456a;
}

.DefaultLightButton {
        border-radius: 40px;
    color: #fff;
    width: 100%;
    background: #2c323d;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 10px 10px 25px;
    margin: 10px auto 0px;
    font-family: 'Montserrat', sans-serif !important;
    border-color: transparent;
    border: 2px solid #2c323d;
    box-shadow: 7px 8px 9px 0px rgba(0, 155, 218, 0.10);
    margin-top: 20px;
}


.button-row {
    display: flex;
    justify-content: center; /* center horizontally */
    gap: 10px; /* space between buttons */
    flex-wrap: wrap; /* wrap if screen is too small */
    max-width: 100%;
    margin: 0 auto;
}

.button-row .btn {
     display: inline-flex;
    /* gap: 8px; */
    /* padding: 10px 15px; */
    font-size: 13px;
    border-radius: 35px;
    text-decoration: none;
    color: rgb(255 255 255);
    border: 1px solid #ccc;
    max-width: 280px;
    width: 100%;
    transition: background 0.3s, transform 0.3s;
    box-sizing: border-box;
    background: rgba(9, 68, 107, 1);
    justify-content: space-between;
}

.button-row .btn:hover {
    transform: translateY(-2px);
    background: #f0f0f0; /* hover color */
    background-color: #808080;
}

.button-row .arrow {
font-weight: bold;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    transition: transform 0.3s;
    position: relative;
    top: 27px;
    height: 20px;
}

.button-row .btn:hover .arrow {
    transform: translateX(4px); /* arrow moves slightly on hover */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .button-row {
        flex-direction: column;
        align-items: center;
    }

    .button-row .btn {
        max-width: 90%; /* make smaller on mobile */
    }
}


.DefaultLightButton:focus,
.DefaultLightButton:hover,
.DefaultLightButton.focus	    { color:#FFFFFF; background-color: #1A93CC; border-color:transparent; }


.sulfah-lead-form .FormSection         { margin: 0; }
.sulfah-lead-form .FormRightSection    { color: #F8F8F8; padding: 0; display: block; width: 100%; }
.sulfah-lead-form .DisplayStretch2     { flex-flow: column; justify-content: flex-end; }
.sulfah-lead-form .DisplayStretch2 > div { width: 100%; }

.sulfah-lead-form .ApplySection        { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(30px); border-radius: 15px; padding: 10px; }
.sulfah-lead-form .ApplySection .Heading { font-size: 24px; font-weight: 700; color: #09446B; padding: 10px 30px; }
.sulfah-lead-form .CardTitleRow        { margin-bottom: 10px !important; margin-right: 0; }

.sulfah-lead-form.form-inline label,
/* .sulfah-lead-form .form-inline label   { display: initial !important; } */

.sulfah-lead-form #formFields          { padding: 20px; }

.sulfah-lead-form .form-control {
    height: 40px !important;
    border-radius: 50px !important;
    border-color: #a7bfd2 !important;
    color: #292929;
    font-family: 'Montserrat', sans-serif !important;
    margin: 10px 0 5px;
    font-size: 15px;
    font-weight: 500;
    width: 100% !important;
    padding-left: 15px !important;
}

.sulfah-lead-form .DefaultLightButton {
    border-radius: 40px;
    color: #fff;
    width: 200px;
    background: #1A93CC;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 10px 10px 25px;
    margin: 20px auto 0;
    font-family: 'Montserrat', sans-serif !important;
    border: 2px solid #1A93CC;
    box-shadow: 7px 8px 9px 0px rgba(0, 155, 218, 0.10);
}
.sulfah-lead-form .DefaultLightButton:focus,
.sulfah-lead-form .DefaultLightButton:focus,
.sulfah-lead-form .DefaultLightButton:hover { color: #FFFFFF; background-color: #09446B; border-color: transparent; }

.sulfah-lead-form .d-none,
.sulfah-lead-form .dnone               { display: none !important; }

.sulfah-lead-form .only-uae-national-msg { color: #09446B !important; padding: 30px 0; font-weight: 500; border-bottom: 0 !important; font-size: 14px !important; }

.sulfah-lead-form .error               { color: #C3103B; display: block; }

.sulfah-lead-form input::-webkit-outer-spin-button,
.sulfah-lead-form input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sulfah-lead-form input[type=number]   { -moz-appearance: textfield; }

.sulfah-lead-form .loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: none;
    padding: 21px;
    position: relative;
    animation: sulfahRotate 1s linear infinite;
}
.sulfah-lead-form .loader::before {
    content: "";
    display: inline-flex;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #C3103B;
    animation: sulfahPrixClipFix 2s linear infinite;
    width: 35px;
    height: 35px;
}

@keyframes sulfahRotate { 100% { transform: rotate(360deg); } }
@keyframes sulfahPrixClipFix {
    0%   { clip-path: polygon(50% 50%,0 0,0 0,0 0,0 0,0 0); }
    25%  { clip-path: polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0); }
    50%  { clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%); }
    75%  { clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%); }
    100% { clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0); }
}

/* Thank you / error messages */
.sulfah-thanks .FormSubSection { border-radius: 20px; background-color: #FFFFFF; padding: 20px 25px; margin: 10px 0; box-shadow: 0px 11px 32px 0px rgba(0, 0, 0, 0.05); text-align: center; width: 100%; max-width: 900px; }
.sulfah-thanks .form-title3    { font-size: 22px; padding-top: 13px; color: #333; font-weight: 600; }
.sulfah-thanks .form-title4    { padding: 5px 0 10px; color: #7D7D7D; font-weight: 400; font-size: 20px; line-height: 35px; }
.sulfah-thanks .mybutton       { border-radius: 50px; color: white; background: #1A93CC; padding: 8px 35px; font-size: 15px; margin: 20px auto 0; }
.sulfah-thanks .mybutton:focus,
.sulfah-thanks .mybutton:focus,
.sulfah-thanks .mybutton:hover { color: #FFFFFF; background-color: #09446B; border-color: #09446B; }
