/* =========================================================
   NEWA DEY DABOO
   CONTACT PAGE
========================================================= */

body.page-template-page-contact {
    display: block;
    grid-template-columns: none;
    gap: 0;
    align-items: initial;

    margin: 0;
    padding: 0;
}


/* =========================================================
   CONTACT PAGE
========================================================= */

body.page-template-page-contact .contact-page {
    width: 100%;

    background: var(--paper);
}


/* =========================================================
   CONTACT HERO
========================================================= */

body.page-template-page-contact .contact-hero {
    background: transparent;

    color: var(--ink);

    padding: 38px 0 28px;
}


body.page-template-page-contact .contact-hero-inner {
    max-width: 760px;

    margin: 0;

    text-align: left;
}


/* =========================================================
   MAIN CONTACT PAGE H1
========================================================= */

body.page-template-page-contact .contact-hero h1 {
    position: relative;

    margin: 0 0 14px;

    padding-bottom: 12px;

    font-family: 'Noto Serif Devanagari', serif;

    color: #2016a0;

    font-size: 36px;
    font-weight: 700;

    line-height: 1.3;
}


/* Blue underline below H1 */

body.page-template-page-contact .contact-hero h1::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 62px;
    height: 3px;

    background: #2016a0;
}


body.page-template-page-contact .contact-hero p {
    max-width: 680px;

    margin: 0;

    color: var(--text-soft);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

body.page-template-page-contact .contact-section {
    padding: 15px 0 70px;
}


body.page-template-page-contact .contact-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 28px;

    align-items: start;
}


/* =========================================================
   LEFT CONTACT INFORMATION
========================================================= */

body.page-template-page-contact .contact-info {
    padding: 26px;

    background: #ffffff;

    border: 1px solid var(--line);
}


/* Small heading */

body.page-template-page-contact .contact-section-label {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--brick);

    font-family: 'Work Sans', sans-serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;
}


/* Main H2 */

body.page-template-page-contact .contact-info h2 {
    margin: 0 0 12px;

    font-family: 'Noto Serif Devanagari', serif;

    color: var(--indigo);

    font-size: 26px;
    font-weight: 700;

    line-height: 1.35;
}


/* Description */

body.page-template-page-contact .contact-intro {
    margin: 0 0 24px;

    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   CONTACT INFORMATION LIST
========================================================= */

body.page-template-page-contact .contact-info-list {
    display: flex;

    flex-direction: column;

    gap: 0;
}


body.page-template-page-contact .contact-info-item {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 15px 0;

    background: transparent;

    border: 0;
    border-bottom: 1px solid var(--line);

    box-shadow: none;

    transition:
        background 0.2s ease,
        padding-left 0.2s ease;
}


body.page-template-page-contact .contact-info-item:first-child {
    border-top: 1px solid var(--line);
}


body.page-template-page-contact .contact-info-item:hover {
    padding-left: 5px;

    background:
        rgba(
            32,
            22,
            160,
            0.025
        );
}


/* =========================================================
   CONTACT ICON
========================================================= */

body.page-template-page-contact .contact-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border-radius: 0;

    background:
        rgba(
            32,
            22,
            160,
            0.08
        );

    color: var(--indigo);

    font-size: 16px;
    font-weight: 700;
}


body.page-template-page-contact
.contact-info-item > div:last-child {

    display: flex;

    flex-direction: column;

    gap: 2px;

    min-width: 0;
}


body.page-template-page-contact .contact-info-title {
    color: var(--text-muted);

    font-family: 'Work Sans', sans-serif;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.03em;
}


body.page-template-page-contact .contact-info-text {
    color: var(--ink);

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   CONTACT FORM CARD
========================================================= */

body.page-template-page-contact .contact-form-card {
    overflow: hidden;

    padding: 0;

    background: #ffffff;

    border: 1px solid var(--line);

    border-top: 3px solid var(--indigo);

    box-shadow: none;
}


/* =========================================================
   CONTACT FORM HEADER
========================================================= */

body.page-template-page-contact .contact-form-head {
    margin: 0;

    padding: 25px 28px 20px;

    border-bottom: 1px solid var(--line);
}


body.page-template-page-contact .contact-form-head > span {
    display: block;

    margin-bottom: 5px;

    color: var(--brick);

    font-family: 'Work Sans', sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;
}


body.page-template-page-contact .contact-form-head h2 {
    margin: 0 0 6px;

    font-family: 'Noto Serif Devanagari', serif;

    color: var(--indigo);

    font-size: 25px;
    font-weight: 700;

    line-height: 1.35;
}


body.page-template-page-contact .contact-form-head p {
    margin: 0;

    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   FORMINATOR WRAPPER
========================================================= */

body.page-template-page-contact .contact-form-wrap {
    padding: 25px 28px 28px;
}


body.page-template-page-contact
.contact-form-wrap
.forminator-ui {

    margin: 0 !important;
}


body.page-template-page-contact
.contact-form-wrap
.forminator-row {

    margin-bottom: 16px !important;
}


body.page-template-page-contact
.contact-form-wrap
.forminator-field {

    margin: 0 !important;
}


/* =========================================================
   FORMINATOR LABELS
========================================================= */

body.page-template-page-contact
.contact-form-wrap
.forminator-label {

    display: block !important;

    margin-bottom: 6px !important;

    color: var(--ink) !important;

    font-family: 'Work Sans', sans-serif !important;

    font-size: 14px !important;
    font-weight: 600 !important;
}


/* =========================================================
   FORMINATOR INPUTS
========================================================= */

body.page-template-page-contact
.contact-form-wrap
.forminator-input,

body.page-template-page-contact
.contact-form-wrap
.forminator-textarea,

body.page-template-page-contact
.contact-form-wrap
.forminator-select2
.select2-selection {

    width: 100% !important;

    border:
        1px solid
        var(--line) !important;

    border-radius: 0 !important;

    background:
        #fafafe !important;

    color:
        var(--ink) !important;

    box-shadow:
        none !important;

    font-family:
        'Hind',
        sans-serif !important;
}


/* Input */

body.page-template-page-contact
.contact-form-wrap
.forminator-input {

    min-height: 44px !important;

    padding:
        9px
        12px !important;
}


/* Textarea */

body.page-template-page-contact
.contact-form-wrap
.forminator-textarea {

    min-height: 140px !important;

    padding:
        10px
        12px !important;

    resize: vertical;
}


/* Placeholder */

body.page-template-page-contact
.contact-form-wrap
.forminator-input::placeholder,

body.page-template-page-contact
.contact-form-wrap
.forminator-textarea::placeholder {

    color:
        rgba(
            21,
            23,
            68,
            0.42
        ) !important;
}


/* =========================================================
   FORM FIELD FOCUS
========================================================= */

body.page-template-page-contact
.contact-form-wrap
.forminator-input:focus,

body.page-template-page-contact
.contact-form-wrap
.forminator-textarea:focus {

    border-color:
        var(--indigo) !important;

    background:
        #ffffff !important;

    box-shadow:
        0
        0
        0
        2px
        rgba(
            32,
            22,
            160,
            0.06
        ) !important;

    outline: none !important;
}


/* =========================================================
   FORMINATOR SUBMIT BUTTON
========================================================= */

body.page-template-page-contact
.contact-form-wrap
.forminator-button-submit {

    min-height: 44px !important;

    padding:
        9px
        24px !important;

    border:
        0 !important;

    border-radius:
        0 !important;

    background:
        var(--indigo) !important;

    color:
        #ffffff !important;

    font-family:
        'Work Sans',
        sans-serif !important;

    font-size:
        16px !important;

    font-weight:
        600 !important;

    box-shadow:
        none !important;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease !important;
}


body.page-template-page-contact
.contact-form-wrap
.forminator-button-submit:hover {

    background:
        var(--indigo-dark) !important;

    transform:
        translateY(-1px);
}


/* =========================================================
   FORMINATOR ERRORS
========================================================= */

body.page-template-page-contact
.contact-form-wrap
.forminator-error-message {

    margin-top:
        4px !important;

    color:
        #a11d2b !important;

    font-size:
        11px !important;
}


/* =========================================================
   FORMINATOR RESPONSE MESSAGE
========================================================= */

body.page-template-page-contact
.contact-form-wrap
.forminator-response-message {

    border-radius:
        0 !important;

    font-size:
        13px !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    body.page-template-page-contact .contact-layout {
        grid-template-columns: 1fr;

        gap: 24px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    body.page-template-page-contact .contact-hero {
        padding:
            26px
            0
            20px;
    }


    body.page-template-page-contact .contact-hero h1 {
        font-family: 'Noto Serif Devanagari', serif;

        color: #2016a0;

        font-size: 28px;
    }


    body.page-template-page-contact .contact-hero p {
        font-size: 14px;

        line-height: 1.7;
    }


    body.page-template-page-contact .contact-section {
        padding:
            10px
            0
            45px;
    }


    body.page-template-page-contact .contact-layout {
        gap: 18px;
    }


    /* Contact info */

    body.page-template-page-contact .contact-info {
        padding:
            20px
            17px;
    }


    body.page-template-page-contact .contact-info h2 {
        font-size: 22px;
    }


    body.page-template-page-contact .contact-intro {
        font-size: 13.5px;
    }


    /* Form */

    body.page-template-page-contact .contact-form-head {
        padding:
            20px
            17px
            16px;
    }


    body.page-template-page-contact .contact-form-head h2 {
        font-size: 22px;
    }


    body.page-template-page-contact .contact-form-wrap {
        padding:
            20px
            17px
            22px;
    }


    /* Full-width mobile submit */

    body.page-template-page-contact
    .contact-form-wrap
    .forminator-button-submit {

        width: 100% !important;
    }

}