/* ------ DEMO TOP CONTENT ------ */
.demoTopCont{
    background:#f7f7f4;
    padding:70px 40px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.demoTopCont h1{
    font-size: 20px;
    margin: 0;
    width: fit-content;
    padding-bottom: 10px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #1097b9, #12BFEA, #1097b9);
    border-image-slice: 1;
}
.demoTopCont h2{
    margin: 20px 0 20px 0;
    padding: 0;
    font-size: 50px;
    font-weight: bold;
    background: linear-gradient(to right, #1097b9, #12BFEA);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.demoTopCont p{
    font-size:15.5px; 
    color:#74768a; 
    line-height:1.7;
}

/* ------- CONTACT + FORM SECTION ------- */
.contactContainer{
    padding: 20px;
    margin-bottom: 3rem;
    display: flex;
}

main{ 
    max-width:1180px;
    margin:0 auto; 
}

.contactDesc{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 44%;
    box-sizing: border-box;
    padding: 0px 40px 60px 40px;
}
.contactDesc h1{
    font-size:26px; 
    font-weight:800; 
    color:#1f2a7c;    
    text-align: left;
    padding: 0px;
    margin: 0px;
}
.contactDesc p{
    font-size:14px; 
    color:#74768a; 
    line-height:1.6; 
    margin-bottom:24px;
}
.contactDesc ul{ 
    list-style:none; 
}
.contactDesc li{
    padding:18px 0; 
    font-size:13px; 
    color:#1f2a7c; 
    border-top:1px solid #d6d3f0;
}
.contactDesc li b{
    display:block; 
    font-size:15px; 
    font-weight:700; 
    color:#1f2a7c; 
    margin-bottom:4px;
}

/* ------- FORM CARD ------- */
.contactForm{
    display:inline-block; 
    vertical-align:top;
    width:60%; 
    box-sizing:border-box;
    padding:40px 40px 60px 0;
}
.contactForm ul{
    list-style:none;
    background:#ffffff;
    border-radius:14px;
    padding:32px;
    box-shadow:0 20px 40px rgba(23,27,61,0.08);
}
.contactForm li{
    margin-bottom:18px;
}
.contactForm label{
    display:block; 
    font-size:12.5px; 
    font-weight:700; 
    color:#1f2a7c; 
    margin-bottom:6px;
}
.contactForm input,
.contactForm select,
.contactForm textarea{
    width:100%;
    padding:12px 14px;
    background:#f7f7f4;
    border:1px solid #e6e5df;
    border-radius:8px;
    font-size:13px;
    font-family:inherit;
    color:#171b3d;
}
.contactForm input::placeholder,
.contactForm textarea::placeholder{
    color:#9a9cb0;
}
.contactForm input:focus,
.contactForm select:focus,
.contactForm textarea:focus{
    outline:none;
    border-color:#2f6fed;
    background:#ffffff;
}

/* "How can we help" — a real textarea, sized to take a few sentences without
   scrolling. It was styled as #moreInfo before, an id the markup never had, so
   the intended height never actually landed. */
.contactForm #message{
    min-height:150px;
    padding:13px 14px;
    line-height:1.6;
    resize:vertical;
}

/* submit button — no <button> exists in the markup yet, add one and style it: */
.contactForm #submitBtn{
    display:block; 
    text-align: center;
    background:#1f2a7c; 
    color:#ffffff;
    font-size:13.5px; 
    font-weight:700;
    padding:14px; 
    border-radius:8px;
    border:none; 
    margin-top:6px;
}
.contactForm #submitBtn:hover{
    background:#171b3d;
}

/* ------- RESPONSIVE ------- */

/* Stack the two columns: description on top, form underneath.
   .contactContainer is a flex row, so it has to become a column —
   widening the children alone leaves them side by side. */
@media (max-width:900px){
    .contactContainer{
        flex-direction: column;
        padding: 20px 0;
        margin-bottom: 6rem;
    }
    .contactDesc,
    .contactForm{
        display: block;
        width: 100%;
        padding: 0 40px 40px;
    }
}

/* ------- PHONE ------- */
@media (max-width:620px){
    .demoTopCont{
        padding: 44px 22px 34px;
    }
    .demoTopCont h2{
        margin: 16px 0;
        font-size: 30px;
    }
    .demoTopCont p{
        font-size: 14px;
    }
    .contactContainer{
        padding: 10px 0;
        margin-bottom: 4rem;
    }
    .contactDesc,
    .contactForm{
        padding: 0 18px 28px;
    }
    .contactDesc h1{
        font-size: 22px;
    }
    .contactDesc li{
        padding: 14px 0;
    }
    .contactForm ul{
        padding: 22px 18px;
    }
}
/* the honeypot must be reachable by bots but invisible to people */
.contactForm .hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contactForm #submitBtn {
    width: 100%;
    font-family: inherit;
    cursor: pointer;
}
.contactForm #submitBtn:disabled {
    opacity: 0.65;
    cursor: default;
}
.contactForm .form-status {
    margin: 10px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
}
.contactForm .form-status[data-state="loading"] {
    color: #5b6172;
}
.contactForm .form-status[data-state="success"] {
    color: #0a7d59;
}
.contactForm .form-status[data-state="error"] {
    color: #c0343a;
}

.contactForm .form-status a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}
