.contactusImg {
    border-radius: 25px;
    width: 400px
}

.contactus-sec,
.query-wrapper {
    align-items: center;
    max-width: 1000px;
    display: flex
}

.contact-form textarea,
.select-box select {
    padding: 14px;
    transition: .3s;
    font-size: 14px
}

.contact-outline-field label,
.select-box::after {
    position: absolute;
    top: 50%;
    pointer-events: none;
    transform: translateY(-50%)
}

.contactus-sec {
    /*    gap: 20px;
    margin: auto*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    gap: 40px;
}

.contactus-subsec h2 {
    text-align: center;
    font-size: 30px;
    color: #0f766e;
    text-decoration: underline;
    margin-bottom: 10px
}

.enquiry-form {
    background-color: #cee1e0
}

.query-wrapper {
    border-radius: 6px;
    justify-content: center;
    gap: 30px;
    padding: 40px 0;
    margin: 0 auto
}

.iframe-sec iframe {
    border: 2px solid #ccc;
    border-radius: 15px
}

.form-note {
    font-size: 13px;
    margin-bottom: 18px;
    text-align: center
}

.select-box {
    position: relative;
    margin-bottom: 15px
}

    .select-box::after {
        content: "▼";
        right: 12px;
        font-size: 12px
    }

.captcha {
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 6px;
    padding: 12px 14px;
    margin: 15px auto;
    background: #fafafa;
    max-width: 320px
}

    .captcha input {
        margin-right: 10px
    }

    .captcha label {
        flex: 1;
        font-size: 14px
    }

    .captcha img {
        width: 32px
    }

.contact-form {
    padding: 30px;
    background: #fff;
    border-radius: 15px
}

    .contact-form textarea {
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 8px;
        resize: none
    }

        .contact-form textarea:focus,
        .select-box select:focus {
            border: 2px solid #0f766e;
            outline: 0
        }

.contact-row {
    display: flex;
    gap: 15px
}

.select-box select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    appearance: none;
    cursor: pointer
}

.contact-outline-field {
    position: relative;
    width: 100%;
    margin-bottom: 15px
}

.enquiry-btn {
    display: flex;
    justify-content: center
}

    .enquiry-btn button {
        border: none;
        padding: 10px 20px;
        border-radius: 10px;
        cursor: pointer;
        font-size: 18px;
        background-color: #0f766e;
        color: #fff
    }

.contact-outline-field input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: 0 0;
    font-size: 14px
}

    .contact-outline-field input:focus {
        border: 2px solid #0f766e;
        outline: 0;
        box-shadow: none
    }

.contact-outline-field label {
    left: 12px;
    background: #fff;
    padding: 0 6px;
    font-size: 14px;
    color: #0f766e;
    opacity: 0;
    transition: .2s
}

.contact-outline-field input:focus::placeholder {
    opacity: 0
}

.contact-outline-field input:focus + label,
.contact-outline-field input:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    opacity: 1
}

.book-appointment,
.inputfield {
    padding: 14px;
    transition: .3s;
    width: 100%
}

.iframe-info {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 10px 20px;
    margin-top: 15px
}

    .iframe-info span {
        font-weight: 600
    }

.iframe-img {
    width: 450px;
    height: 350px
}

.ei-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* background: #dcdcdc; */
    padding: 20px;
    border-radius: 10px;
    max-width: 1000px;
    margin: 30px auto;
}

.ei-video-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background: #000;
}

    .ei-video-box img {
        width: 100%;
        max-width: 465px;
        height: auto;
        display: block;
    }

/* play button */
.ei-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
}

    .ei-play-btn::after {
        content: "";
        position: absolute;
        left: 28px;
        top: 20px;
        border-left: 22px solid #fff;
        border-top: 14px solid transparent;
        border-bottom: 14px solid transparent;
    }

/* bottom strip */
.ei-video-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #ddd;
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    font-size: 14px;
}

.iframe {
    min-height: 350px;
}

.validate {
    border: 1px solid #A94442 !important;
    background: #fff6f6;
}

.validate1 {
    border: 1px solid #28a745 !important;
}

@media(max-width:1024px) {
    .query-wrapper {
        max-width: 1000px;
        margin: 0 30px
    }
}

@media(max-width:768px) {

    .contactus-sec,
    .query-wrapper {
        flex-direction: column
    }

    .contactus-sec {
        padding: 0 20px
    }

    .contactus-subsec {
        text-align: justify
    }
}

@media(max-width:600px) {
    .iframe {
        min-height: 250px;
    }

    .ei-video-grid {
        grid-template-columns: 1fr;
    }

    .query-wrapper {
        margin: 0 20px
    }

    .enquiry-btn button {
        padding: 12px;
        font-size: 16px
    }

    .contact-form {
        padding: 20px;
        max-width: 300px;
    }

    .contactus-sec {
        gap: 0;
        padding: 0
    }

    .contact-row {
        flex-direction: column;
        gap: 0
    }

    .contactus-sec img,
    .iframe-sec {
        max-width: 300px
    }

    .iframe-img {
        width: 300px
    }
}
