/* EK Construction: Form Styles (Modular) */

/* EK Custom Form Styles */
.ek-form-section {
    max-width: 600px;
    margin: 2em auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    padding: 1.8rem 1.7rem 2rem 1.7rem;
    color: #232933;
}

.ek-form-section label {
    display: block;
    margin-top: 1em;
    font-family: "Barlow", "Lato", "Playfair Display", Arial, sans-serif;
    color: #31445b;
    letter-spacing: 0.03em;
    font-weight: 500;
    font-size: 1.07rem;
}

.ek-form-section input,
.ek-form-section select,
.ek-form-section textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 0.25em;
    margin-bottom: 1em;
    padding: 0.57em 1.1em;
    border: 1px solid #bcd6e1;
    border-radius: 9px;
    background: #f9fafb;
    color: #222;
    font-size: 1.03rem;
    font-family: inherit;
    box-shadow: 0 1px 5px rgba(44, 62, 80, 0.04);
    transition: box-shadow 0.17s;
}

.ek-form-section input:focus,
.ek-form-section select:focus,
.ek-form-section textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #0693e3;
    background: #fff;
}

.ek-form-section textarea {
    min-height: 48px;
    max-height: 140px;
    resize: vertical;
}

.ek-form-section button[type="submit"] {
    margin-top: 1.35em;
    background: linear-gradient(90deg, #0693e3 0%, #14276d 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2.25rem;
    border: none;
    border-radius: 40px;
    font-size: 1.12rem;
    cursor: pointer;
    font-family: "Barlow", "Lato", "Playfair Display", Arial, sans-serif;
    box-shadow: 0px 15px 25px -7px rgba(0, 0, 0, 0.11);
    transition:
        background 0.17s,
        color 0.17s;
    display: inline-block;
}

.ek-form-section button[type="submit"]:hover {
    background: linear-gradient(90deg, #45aaf2 0%, #253574 100%);
}

.ek-form-section .msg {
    margin-bottom: 1em;
    padding: 0.85em 1em;
    border-radius: 9px;
    font-size: 1.03em;
    background: #e2f3ea;
    color: #167c33;
    font-weight: 600;
    border: 1px solid #b3e0c7;
}

.ek-form-section .error {
    background: #ffeaea;
    color: #b90000;
    border: 1px solid #ffb1b1;
}

/* EK Construction: FAQ Section Styles (modular, standalone) */

#ek-faq {
    max-width: 840px;
    margin: 2em auto 2.5em auto;
    font-family: "Inter", "Arial", sans-serif;
}

#ek-faq > div {
    border-radius: 16px;
    background: #fafbfc;
    box-shadow: 0 3px 18px rgba(40, 50, 75, 0.06);
    padding: 2.3em 1.5em;
}

#ek-faq details {
    margin-bottom: 1em;
    border-bottom: 1px solid #e5eaf6;
    padding-bottom: 0.8em;
    transition: box-shadow 0.13s;
}

#ek-faq details:last-child {
    border-bottom: none;
}

#ek-faq summary {
    font-size: 1.13rem;
    font-family: "Barlow", "Lato", "Playfair Display", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: #31445b;
    display: flex;
    align-items: center;
    cursor: pointer;
    outline: none;
    user-select: none;
    background: none;
    border-radius: 9px;
    padding: 0.16em 0.18em;
    transition: background 0.13s;
}

#ek-faq summary:hover,
#ek-faq details[open] > summary {
    background: #f0f7fa;
}

#ek-faq i {
    margin-right: 0.62em;
    font-size: 1.18em;
    vertical-align: middle;
}

#ek-faq div > div {
    margin-top: 0.7em;
    margin-left: 2em;
    color: #36404a;
    font-size: 1.03em;
    font-family: "Inter", "Arial", sans-serif;
    line-height: 1.62;
}

@media (max-width: 767px) {
    h4 {
        padding: 1.12em 0.5em;
        font-size: 1.01rem;
        margin-left: 1em;
    }
}

@media (max-width: 767px) {
    .ek-form-section {
        max-width: 99vw;
        padding: 1.1em 0.7em 1.5em 0.7em;
    }

    .ek-form-section button[type="submit"] {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

.wpcf7-form {
    background: rgba(20, 39, 109, 0.93);
    padding: 1.2rem 1.2rem 1.3rem 1.2rem;
    border-radius: 13px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    color: #fff;
    max-width: 400px;
    margin: 0 auto;
    font-family: "Inter", "Arial", sans-serif;
}

/* Form Labels */
.wpcf7-form label {
    display: block;
    margin-bottom: 0.1rem;
    font-family: "Barlow", "Lato", "Playfair Display", Arial, sans-serif;
    font-size: 1.01rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #e5eaf6;
}

/* Inputs, Textareas */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.5rem 0.8rem;
    border: none;
    border-radius: 9px;
    margin-bottom: 0.7rem;
    background: #fff;
    color: #222;
    font-size: 0.98rem;
    font-family: inherit;
    box-shadow: 0 1px 5px rgba(20, 39, 109, 0.06);
    transition: box-shadow 0.18s;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #5ec6f6;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
    background: linear-gradient(90deg, #0693e3 0%, #14276d 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border: none;
    border-radius: 23px;
    font-size: 1.02rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(6, 147, 227, 0.11);
    transition:
        background 0.15s,
        color 0.15s;
    font-family: "Barlow", "Lato", "Playfair Display", Arial, sans-serif;
}

.wpcf7-form input[type="submit"]:hover {
    background: linear-gradient(90deg, #45aaf2 0%, #253574 100%);
    color: #fff;
}

.wpcf7-response-output {
    margin-top: 0.7rem;
    font-size: 0.98rem;
    color: #0af;
    border-radius: 8px;
}

.akismet-fields-container {
    display: none !important;
}

#ek-popup-modal-cf7 .wpcf7-form textarea {
    min-height: 28px;
    max-height: 55px;
}
