/* 
  Landing Page AI Theme Styles
  This file contains styles specific to the landing-page-ai template
*/

/* Import Poppins Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

header .header__container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.body-container-wrapper.landing-ai-page {
    /* Apply Poppins to all elements */
    * {
        font-family: 'Open Sans', sans-serif !important /* override inline styles */;
    }
    /* Style for h1 elements */
    h1 {
        font-size: 55px;
        font-weight: light;
        color: white;
    }
    
    /* Style for bold h1 elements */
    h1 strong {
        font-weight: 700;
    }

    /* Style for h2 elements */
    h2 {
        font-size: 55px;
        font-weight: 300;
        color: #211a54;
    }
    
    /* Style for bold h2 elements */
    h2 strong {
        font-weight: 700;
    }
    
    /* Mobile h1 style - 30px on small screens */


    /* Style for h3 elements */
    h3 {
        font-size: 28px;
        font-weight: 600;
        color: #342a86;
    }

    /* Style for h4 elements */
    h4 {
        font-size: 22px;
        color: #e9a55d;
        font-weight: 600;
        line-height: 1.6
    }
    
    /* Style for h5 elements */
    h5 {
        font-size: 28px;
        font-weight: 300;
        color: white;
    }
    
    /* Style for h6 elements */
    h6 {
        font-size: 16px;
        font-weight: 700;
        color: #e9a55d;
    }

    /* Style for list items */
    ul {
        padding-left: 1.5em;
    }
    
    ul li {
        font-size: 18px;
        color: #211a54;
        list-style-type: disc;
        margin-bottom: 0.25em;
    }

    /* Style for paragraph elements */
    p {
        font-weight: 400;
        color: #ffffff;
        font-size: 20px;
        line-height: 1.6;
    }   
    p.subtitle-gold {
        font-size: 22px;
    }
    p.impact-quote {
        font-size: 24px;
    }
    p.quote {
        font-size: 20px;
    }
    /* Style for impact-gold spans */
    span.impact-gold {
        font-weight: bold;
        font-style: italic;
        color: #e9a55d;
    }
    span.impact-gold-standard {
        font-weight: bold;
        color: #e9a55d;
        font-style: normal;
    }
    /* Gold Button Styling for .action.primary */
    .action.primary {
        background-color: #e9a55d;
        color: #211a54;
        border: none;
        font-weight: 500;
        font-size: 16px;
        min-height: 48px;
        padding: 15px 30px;
        border-radius: 40px;
        display: inline-block;
        text-align: center;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: none;
        text-transform: none;
    }

    .action.primary:hover {
        background-color: #d7944c;
        transform: translateY(-2px);
        box-shadow: 0 0 0 5px rgba(215, 148, 76, 0.8), 0 4px 8px rgba(0,0,0,0.3);
    }

    /* Secondary Button Styling - same as primary but with different background color */
    .action.secondary {
        background-color: #9698BF;
        color: #211a54;
        border: none;
        font-weight: 500;
        font-size: 16px;
        min-height: 48px;
        padding: 15px 30px;
        border-radius: 40px;
        display: inline-block;
        text-align: center;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: none;
        text-transform: none;
    }

    .action.secondary:hover {
        background-color: #7a7ca3;
        transform: translateY(-2px);
        box-shadow: 0 0 0 5px rgba(150, 152, 191, 0.8), 0 4px 8px rgba(0,0,0,0.3);
    }
    .hs-video-wrapper iframe {
        border-radius: 10px;
    }
    @media (max-width: 767px) {
        p.quote {
            font-size: 15px;
        }
        h1,
        h1 > span {
            font-size: 48px!important /* override inline styles */;
        }
        h2,
        h2 > span {
            font-size: 40px!important /* override inline styles */;
        }
  
        h3 {
            font-size: 18px;
            margin-top: 10px;
        }

        h4 {
            font-size: 19px;
            margin: 10px 0;
        }

        h5 {
            font-size: 20px;
        }

        h6 {
            font-size: 14px;
        }
        ul {
            margin-bottom: 0;
        }
        p,
        p > span {
            font-weight: 400;
            color: #ffffff;
            font-size: 14px !important;
            line-height: 1.6;
        }
        p.subtitle-gold {
            font-size: 18px;
        }
        p.impact-quote {
            font-size: 16px;
        }
        p.impact-quote br {display: none;}

        .grid-item-text {
            margin-bottom: 0;
        }

        .enterprise-content-prop {
            text-align: center;
            border-bottom: 1px solid #e0e0e0;
            padding-bottom: 20px;
            margin-bottom: 10px;
            
        }
        .enterprise-content-prop ul,
        .enterprise-content-prop li { 
            list-style-type: none; 
            padding: 0;
        }
        .action.primary {
            font-size: 14px;
            padding: 12px 25px;
        }
        span.impact-gold br,
        h2 br {
            display: none;
        }
    
    }

    /* Custom Form Styling to match transparent design */
    .hs-form {
        background: transparent !important;
        padding: 0 !important;
    }
    

}

/* Form wrapper border - outside media query */
div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form,
div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form {
    border-top: 8px solid #E9A55D !important;
}

/* Override form text styles */
div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h1,
div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h2,
div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h3,
div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h4,
div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h5,
div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h6,
div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form p,
div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h1,
div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h2,
div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h3,
div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h4,
div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h5,
div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h6,
div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form p {
    font-family: 'Open Sans', sans-serif !important;
    color: #3F484F !important;
}

/* Mobile styles for form text */
@media (max-width: 767px) {
    div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h1,
    div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h2,
    div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h3,
    div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h4,
    div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h5,
    div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form h6,
    div[id^="hs_cos_wrapper_widget_"].hs_cos_wrapper_type_module.widget-type-form p,
    div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h1,
    div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h2,
    div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h3,
    div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h4,
    div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h5,
    div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form h6,
    div[id^="hs_cos_wrapper_module_"].hs_cos_wrapper_type_module.widget-type-form p {
    font-size: 24px !important;
    }

    
    .widget-type-form p > span {
        color: #3F484F !important;
    }
}
    .hs-form h2 {
        text-align: center;
        font-size: 26px;
    }
    .hs-form h2 em {
        display: inline-block;
    }
    .hs-form h2 br {display: none;}

    .hs-form .field {
        margin-bottom: 20px;
        position: relative;
    }

    .hs-form input[type=email],.hs-form textarea, .hs-form input[type=tel], .hs-form input[type=text], .hs-form select {
        background-color: #fff;
        border: none;
        border-radius: 5px;
        box-shadow: 0 1px 3px rgba(0,0,0,.1);
        color: #211a54;
        font-size: 16px;
        padding: 12px 15px;
        width: 100%!important /*overriding default styles*/;
    }

    .hs-form .input{margin-right: 0!important /*overriding default styles*/}

    form.hs-form fieldset {margin: 0 auto;}
    .hs-form input[type=tel], .hs-form textarea {color: #71757a;}
    .hs-form select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23211a54' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.938 10.825 4z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        padding-right: 40px;
        color: #71757a;
    }


    /* Style for placeholder text */
    .hs-form input::placeholder,
    .hs-form textarea::placeholder {
        color: #211a54;
        opacity: 0.7;
    }

    /* Error message styling */
    .hs-form .hs-error-msgs {
        position: absolute;
        top: 90%;
        left: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .hs-form .hs-error-msgs label {
        color: #ff7b7b;
        font-size: 12px;
        margin-top: 2px;
        margin-bottom: 0;
    }

    .hs-form .legal-consent-container {
        font-size: 14px;
        line-height: 1.4;
        color: rgba(255,255,255,0.8);
        margin-bottom: 15px;
    }

    .hs-form .legal-consent-container a {
        color: #e9a55d;
        text-decoration: underline;
    }
    .hs-form .actions { text-align: center; }
    .hs-form .hs-button.primary.large {
        background-color: #e9a55d;
        color: #211a54;
        border: none;
        font-weight: 500;
        font-size: 16px;
        margin-top: 10px;
        padding: 12px 28px;
        min-height: 48px;
        border-radius: 4px;
        cursor: pointer;
        display: block;
        text-align: center;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: none;
        text-transform: none;
        width: 100%;
    }

    .hs-form .hs-button:hover {
        background-color: #d7944c;
        transform: translateY(-2px);
        box-shadow: none;
    }
    .hs-form .hs-richtext p,
    .hs-form .hs-richtext a {
        font-size: 16px;
        color: #fff;
        line-height: 1.2; 
    }
    .hs-form .hs-richtext a {
        text-decoration: underline;
    }
    @media (min-width: 768px) {
        .hs-form h2 {
            font-size:34px;
            text-align: left
        }

        .hs-form h2 br {
            display: block
        }

        .hs-form .actions {
            text-align: unset
        }

        .hs-form .hs-button.primary.large {
            font-size: 22px;
            padding: 2.1rem 4rem
        }

        .tw-column-form-content .has-dependent-field,
        .tw-column-form-content .hs-dependent-field,
        .tw-column-form-content .hs-fieldtype-text,
        .tw-column-form-content .hs_email,
        .tw-column-form-content .hs_job_level,
        .tw-column-form-content div:not(.hs-dependent-field) > .hs-fieldtype-select {
            display: inline-block;
            margin: 0 2% 25px;
            vertical-align: top;
            width: 96%;
        }
    }
}

@media (min-width: 768px) {
    form.hs-form fieldset.form-columns-2 > .hs-dependent-field:not(:first-child) .hs-form-field {
        padding-left: 10px;
        padding-right: 0;
    }
}

@media (min-width: 991px) {
    form.hs-form fieldset.form-columns-2 > .hs-dependent-field:not(:first-child) .hs-form-field {
        padding-left: 20px;
        padding-right: 0;
    }
}