/* Pi Institute - Contact Form 7 */

.custom-contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(10, 36, 71, 0.10);
    width: 100%;
    box-sizing: border-box;
}

/* Heading */
.custom-contact-form h2 {
    margin: 0 0 10px;
    padding: 0;
    color: #0a2447;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 800;
    text-align: center;
    font-family:'Plus Jakarta Sans', sans-serif;
}

/* Description */
.custom-contact-form .form-description {
    margin: 0 0 18px;
    color: #697586;
    font-size: 14px;
    line-height: 1.5;
    font-family:'Plus Jakarta Sans', sans-serif;
}

/* Labels */
.custom-contact-form label {
    display: block;
    margin-bottom: 0px;
    color: #4b5565;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    font-family:'Plus Jakarta Sans', sans-serif;
}

/* Inputs + textarea */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="tel"],
.custom-contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    box-sizing: border-box;
    background: #f7f8fa;
    border: 1px solid #d6dce4;
    border-radius: 9px;
    color: #333;
    font-family:'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

/* Input height */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="tel"] {
    height: 47px;
}

/* Textarea */
.custom-contact-form textarea {
    min-height: 112px;
    resize: vertical;
}

/* Placeholder */
.custom-contact-form input::placeholder,
.custom-contact-form textarea::placeholder {
    color: #858b94;
    opacity: 1;
}

/* Focus */
.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    border-color: #1682c5;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(22, 130, 197, 0.10);
}

/* Submit button */
.custom-contact-form input[type="submit"] {
    display: block;
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border: none;
    border-radius: 30px;
    background: #1682c5;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px -10px #1682c5;
    transition: all 0.25s ease;
}

/* Button hover */
.custom-contact-form input[type="submit"]:hover {
    background: #0f74b5;
    transform: translateY(-1px);
    box-shadow: 0 12px 25px -10px #1682c5;
}

/* WhatsApp text */
.custom-contact-form .whatsapp-text {
    margin-top: -10px;
    text-align: center;
    color: #159447;
    font-size: 14px;
    font-weight: 600;
}

.custom-contact-form .whatsapp-text span {
    color: #159447;
    margin-right: 6px;
}


/* =========================
   CF7 VALIDATION
   ========================= */

.custom-contact-form .wpcf7-not-valid {
    border-color: #e25555 !important;
}

.custom-contact-form .wpcf7-not-valid-tip {
    margin-top: 4px;
    color: #d64545;
    font-size: 12px;
}

.custom-contact-form .wpcf7-response-output {
    margin: 15px 0 0 !important;
    padding: 10px !important;
    border-radius: 8px;
    font-size: 13px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

    .custom-contact-form {
        padding: 26px 20px 24px;
        border-radius: 16px;
    }

    .custom-contact-form h2 {
        font-size: 21px;
    }

    .custom-contact-form .form-description {
        font-size: 13px;
    }

    .custom-contact-form input[type="text"],
    .custom-contact-form input[type="tel"] {
        height: 46px;
    }

    .custom-contact-form textarea {
        min-height: 105px;
    }

    .custom-contact-form input[type="submit"] {
        height: 54px;
    }
}

/* =========================
   enquire form
   ========================= */
.enquiry-form {
    width: 90%;
    height: 435px;
    padding: 24px 21px 18px;
    backdrop-filter: blur(16px) saturate(1.25);
    background: linear-gradient(160deg, #ffffff14, #ffffff08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #fff;
}

.enquiry-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    color: #ffd34f !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
}

.enquiry-form label {
    display: flex;
    margin: 5px 0;
    color: #b8cce2;
    font-size: 13px !important;
    font-weight: 500;
}

.enquiry-input,
.enquiry-select {
    width: 100% !important;
    height: 43px !important;
    margin-bottom: 10px;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 10px;
    outline: none;
    background: #0d2d50;
    color: #fff !important;
    font-size: 14px !important;
}

.enquiry-input::placeholder {
    color: #8da4bc;
}

.enquiry-input:focus,
.enquiry-select:focus {
    border-color: #168bd4;
    box-shadow: 0 0 0 2px rgba(22,139,212,.2);
}

.enquiry-select {
    appearance: auto;
    cursor: pointer;
}

.enquiry-submit {
    width: 100% !important;
    height: 45px !important;
    margin-top: 10px;
    padding: 10px 15px !important;
    border: 0;
    text-align: center !important;
    border-radius: 28px !important;
    background: #1178c4 !important;
    box-shadow: 0 1px 2px #0a244726, 0 10px 22px -10px rgb(17 120 196);
    color: #fff;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: .2s ease;
}

.enquiry-submit:hover {
    background: #0f74b5 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 2px 4px #0a244726, 0 18px 32px -12px rgb(17 120 196) !important;
}

.whatsapp-link {
    margin-top: -6px;
    color: #9db4cc;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.whatsapp-link p{
    text-align: center !important;
    color: #9ec9e9 !important;
}

.whatsapp-link a {
    color: #9ec9e9;
    text-align: center !important;
    font-weight: 700;
    text-decoration: underline;
}

.whatsapp-link a:hover {
    color: #fff;
}

/* ================================
   Responsive Enquiry Form
================================ */

/* Tablets */
@media (max-width: 768px) {

    .enquiry-form {
        width: 100%;
        height: auto;
        padding: 22px 18px 18px;
        box-sizing: border-box;
    }

    .enquiry-title {
        margin-bottom: 12px;
        font-size: 19px !important;
    }

    .enquiry-form label {
        margin: 5px 0;
        font-size: 13px !important;
    }

    .enquiry-input,
    .enquiry-select {
        width: 100% !important;
        height: 43px !important;
        margin-bottom: 9px;
        font-size: 14px !important;
    }

    .enquiry-submit {
        width: 100% !important;
        height: 44px !important;
        margin-top: 10px;
    }

    .whatsapp-link {
        margin-top: 6px;
        text-align: center;
    }

    .whatsapp-link p {
        text-align: center !important;
    }
}

/* Mobile */
@media (max-width: 480px) {

    .enquiry-form {
        width: 90%;
        height: 368px;
        margin-left: 16px;
        padding: 20px 15px 16px;
        border-radius: 16px;
    }

    .enquiry-title {
        margin-bottom: 10px;
        font-size: 18px !important;
        letter-spacing: 1.2px !important;
    }

    .enquiry-form label {
        margin: 4px 0;
        font-size: 12px !important;
    }

    .enquiry-input,
    .enquiry-select {
        height: 42px !important;
        margin-bottom: 8px;
        padding: 0 12px !important;
        border-radius: 8px;
        font-size: 13px !important;
    }

    .enquiry-submit {
        width: 100% !important;
        height: 43px !important;
        margin-top: 9px;
        font-size: 14px !important;
    }

    .whatsapp-link {
        margin-top: -13px;
        font-size: 11px !important;
        text-align: center;
    }

    .whatsapp-link a {
        font-size: 11px !important;
        
    }
}

/* Small Mobile */
@media (max-width: 360px) {

    .enquiry-form {
        padding: 18px 12px 14px;
        border-radius: 14px;
    }

    .enquiry-title {
        font-size: 17px !important;
    }

    .enquiry-input,
    .enquiry-select {
        height: 40px !important;
        font-size: 12px !important;
    }

    .enquiry-submit {
        height: 41px !important;
        font-size: 13px !important;
    }
}
