/* ==========================================================================
   Service pages: bottom form section ("Let's Talk About Your Project")
   Used by the pages in the Services menu. Loaded after philly/assets/css/style.css
   and site-chrome.css. Reference look: services/lead-generation-services.php.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Form section: even top/bottom padding and the same background as the
   homepage form section (#contact-us, --navy-light).
   style.css gives .services padding 10px 0 120px and #0f151c.
   -------------------------------------------------------------------------- */
html[data-theme] #contact.services {
    padding: 3rem 0;
    background-color: var(--navy-light);
}

/* --------------------------------------------------------------------------
   Zoho Forms layout (philly/webDesign-FormBottom.php, .form-white-style):
   restyle the grey boxed fields to the underlined look of the other service
   forms (.contact .php-email-form in style.css). The form ships its own
   inline <style> with !important, so these need !important too.
   -------------------------------------------------------------------------- */
html[data-theme] #contact.services .form-white-style .zf-labelName {
    color: #fff !important;
    font-family: Raleway, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400;
}

html[data-theme] #contact.services .form-white-style .zf-labelName em {
    color: red !important;
    font-style: normal;
}

html[data-theme] #contact.services .form-white-style .zf-tempContDiv input[type="text"],
html[data-theme] #contact.services .form-white-style .zf-tempContDiv select {
    background-color: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #ced4da !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-family: Raleway, sans-serif;
    font-size: 1rem;
    padding: 6px 12px !important;
    margin-bottom: 20px;
    box-shadow: none;
    transition: 0.5s;
}

html[data-theme] #contact.services .form-white-style .zf-tempContDiv input[type="text"] {
    height: 50px;
}

html[data-theme] #contact.services .form-white-style .zf-tempContDiv select option {
    background-color: var(--navy-light);
    color: #fff;
}

html[data-theme] #contact.services .form-white-style .zf-tempContDiv input.zf-error {
    border-bottom-color: #ff4b4b !important;
}

/* Submit: same as .buttonForm-bottom */
html[data-theme] #contact.services .form-white-style .zf-submitColor {
    background: #fff !important;
    color: #12161C !important;
    font-family: Raleway, sans-serif;
    font-size: 1rem;
    font-weight: 600 !important;
    padding: 10px 50px !important;
    border-radius: 5px !important;
    margin-top: 20px;
    transition: 0.4s;
}

html[data-theme] #contact.services .form-white-style .zf-submitColor:hover {
    background: #17ACD4 !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   Bottom form: service-bottom-form.php (Zoho Forms). Inputs get the underlined
   look from style.css (.contact .php-email-form input); these add the labels
   and the services list.
   -------------------------------------------------------------------------- */
html[data-theme] #contact.services .svc-bottom-form label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #fff !important;
}
html[data-theme] #contact.services .svc-bottom-form .svc-req {
    margin-left: 2px;
    color: #ff4b4b !important;
}
html[data-theme] #contact.services .svc-bottom-form select {
    height: auto;
    margin-bottom: 20px;
    padding: 6px 12px;
    border: 0;
    border-bottom: 1px solid #ced4da;
    border-radius: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
}
html[data-theme] #contact.services .svc-bottom-form select option {
    padding: 4px 0;
    background-color: var(--navy-light);
    color: #fff;
}
html[data-theme] #contact.services .svc-bottom-form select option:checked {
    background: #17ACD4 linear-gradient(#17ACD4, #17ACD4);
}

/* --------------------------------------------------------------------------
   Top form: hero-form.php card (themes/css/sc-form.css) in the hero's right
   column, replacing the old .contact.custom-form box.
   -------------------------------------------------------------------------- */
.svc-hero-form {
    margin: 2rem 0;
}
.svc-hero-form .sc-form-card {
    margin-left: auto;
}
@media (max-width: 991px) {
    .svc-hero-form .sc-form-card {
        margin: 0 auto;
    }
}
