/* =========================================================
   CONTACT PAGE
   Dr. M A Suboor Shaherose
========================================================= */

:root {
    --c-navy: #081b52;
    --c-purple: #7431b5;

    --c-ink: #17203a;
    --c-muted: #6a7286;

    --c-line: #e9e5ef;
    --c-soft: #fbf9fd;

    --c-white: #ffffff;

    --c-shadow:
        0 10px 28px rgba(15, 28, 74, 0.06);

    --c-shadow-lg:
        0 16px 40px rgba(20, 26, 69, 0.08);
}


/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}


/* =========================================================
   MAIN CONTACT SECTION
========================================================= */

.contact-main-section {
    padding: 86px 0 62px;

    background: #ffffff;
}


.contact-layout {
    display: grid;

    grid-template-columns:
        0.95fr
        1.05fr;

    gap: 76px;

    align-items: start;
}


/* =========================================================
   SMALL SECTION LABEL
========================================================= */

.contact-kicker {
    display: block;

    margin-bottom: 11px;

    color: var(--c-purple);

    font-size: 14px;
    line-height: 1.4;

    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


/* =========================================================
   HEADINGS
========================================================= */

.contact-info-column h2,
.contact-form-column h2,
.contact-map-heading h2 {
    font-family: "Manrope", sans-serif;

    color: var(--c-navy);

    font-weight: 800;

    line-height: 1.18;
}


.contact-info-column h2,
.contact-form-column h2 {
    margin: 0 0 18px;

    font-size: clamp(34px, 3vw, 46px);
}


.contact-map-heading h2 {
    margin: 0;

    font-size: clamp(32px, 2.8vw, 42px);
}


/* =========================================================
   INTRO PARAGRAPH
========================================================= */

.contact-lead {
    max-width: 620px;

    margin: 0 0 30px;

    color: var(--c-muted);

    font-size: 18px;
    line-height: 1.8;

    font-weight: 400;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-detail-list {
    display: grid;

    gap: 17px;
}


.contact-detail-card {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 22px 22px;

    border: 1px solid var(--c-line);

    border-radius: 17px;

    background: #ffffff;

    box-shadow: var(--c-shadow);
}


/* =========================================================
   CONTACT ICON
========================================================= */

.contact-detail-icon {
    flex: none;

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background: #f5effb;

    color: var(--c-purple);
}


.contact-detail-icon svg {
    width: 22px;
    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;
}


/* =========================================================
   CONTACT CARD CONTENT
========================================================= */

.contact-detail-card > div:last-child {
    display: flex;

    flex-direction: column;

    gap: 6px;

    min-width: 0;
}


.contact-detail-card span {
    color: var(--c-purple);

    font-size: 11px;
    line-height: 1.4;

    font-weight: 800;

    letter-spacing: 0.13em;
}


.contact-detail-card a,
.contact-detail-card strong {
    color: var(--c-navy);

    font-size: 17px;
    line-height: 1.6;

    font-weight: 600;

    word-break: break-word;

    text-decoration: none;
}


.contact-detail-card small {
    color: #8a90a0;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   FORM COLUMN
========================================================= */

.contact-form-column {
    padding: 0;
}


/* =========================================================
   FORM CARD
========================================================= */

.contact-form {
    margin-top: 24px;

    padding: 30px;

    background: #ffffff;

    border: 1px solid var(--c-line);

    border-radius: 20px;

    box-shadow: var(--c-shadow-lg);
}


/* =========================================================
   FORM GRID
========================================================= */

.form-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 20px;
}


/* =========================================================
   LABELS
========================================================= */

.contact-form label {
    display: flex;

    flex-direction: column;

    gap: 9px;

    color: var(--c-navy);

    font-size: 14px;
    line-height: 1.5;

    font-weight: 800;
}


/* =========================================================
   INPUTS / TEXTAREA
========================================================= */

.contact-form input,
.contact-form textarea {
    width: 100%;

    border: 1px solid #ded9e7;

    border-radius: 12px;

    background: #ffffff;

    color: var(--c-ink);

    font-family: inherit;

    font-size: 16px;
    line-height: 1.6;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-form input {
    height: 54px;

    padding: 0 16px;
}


.contact-form textarea {
    min-height: 160px;

    padding: 15px 16px;

    resize: vertical;
}


/* =========================================================
   INPUT FOCUS
========================================================= */

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #a774d3;

    box-shadow:
        0 0 0 3px rgba(116, 49, 181, 0.09);
}


/* =========================================================
   PLACEHOLDERS
========================================================= */

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a5a8b4;

    font-size: 15px;

    font-weight: 400;
}


/* =========================================================
   MESSAGE FIELD
========================================================= */

.message-field {
    margin-top: 20px;
}


/* =========================================================
   HONEYPOT
========================================================= */

.contact-honeypot {
    position: absolute !important;

    left: -9999px !important;

    opacity: 0 !important;

    width: 1px !important;

    height: 1px !important;
}


/* =========================================================
   SEND BUTTON
========================================================= */

.send-message-btn {
    min-height: 52px;

    margin-top: 23px;

    padding: 0 27px;

    border: 0;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--c-purple),
            #9a3c9f
        );

    color: #ffffff;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    font-family: inherit;

    font-size: 16px;
    line-height: 1.4;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 24px rgba(116, 49, 181, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.send-message-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 28px rgba(116, 49, 181, 0.24);
}


.send-message-btn svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;
}


/* =========================================================
   MAP SECTION
========================================================= */

.contact-map-section {
    padding: 48px 0 86px;

    background: #ffffff;
}


.contact-map-heading {
    margin-bottom: 28px;

    text-align: center;
}


.contact-map-heading .contact-kicker {
    width: fit-content;

    margin-left: auto;
    margin-right: auto;
}


.contact-map-wrap {
    height: 430px;

    overflow: hidden;

    border: 1px solid var(--c-line);

    border-radius: 22px;

    box-shadow: var(--c-shadow-lg);
}


.contact-map-wrap iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   LARGE DESKTOP / 24-INCH
========================================================= */

@media (min-width: 1440px) {

    .contact-main-section {
        padding:
            96px 0 72px;
    }


    .contact-layout {
        gap: 86px;
    }


    .contact-info-column h2,
    .contact-form-column h2 {
        font-size:
            clamp(38px, 3vw, 48px);
    }


    .contact-lead {
        font-size: 19px;
        line-height: 1.85;
    }


    .contact-detail-card {
        padding: 24px;
    }


    .contact-detail-card a,
    .contact-detail-card strong {
        font-size: 18px;
    }


    .contact-form {
        padding: 34px;
    }


    .contact-form label {
        font-size: 15px;
    }


    .contact-form input,
    .contact-form textarea {
        font-size: 17px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .contact-main-section {
        padding:
            68px 0 50px;
    }


    .contact-layout {
        grid-template-columns: 1fr;

        gap: 52px;
    }


    .contact-info-column h2,
    .contact-form-column h2 {
        font-size: 36px;
    }


    .contact-lead {
        max-width: 700px;

        font-size: 17px;
        line-height: 1.75;
    }


    .contact-detail-card {
        padding:
            20px 19px;
    }


    .contact-detail-card a,
    .contact-detail-card strong {
        font-size: 16.5px;
    }


    .contact-form {
        padding: 27px;
    }


    .contact-map-wrap {
        height: 370px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    .contact-main-section {
        padding:
            50px 0 36px;
    }


    .contact-layout {
        gap: 42px;
    }


    .contact-kicker {
        margin-bottom: 9px;

        font-size: 12px;
    }


    .contact-info-column h2,
    .contact-form-column h2 {
        margin-bottom: 14px;

        font-size: 30px;
        line-height: 1.2;
    }


    .contact-lead {
        margin-bottom: 24px;

        font-size: 16px;
        line-height: 1.72;
    }


    .contact-detail-list {
        gap: 13px;
    }


    .contact-detail-card {
        gap: 14px;

        padding:
            17px 15px;

        border-radius: 14px;
    }


    .contact-detail-icon {
        width: 40px;
        height: 40px;

        border-radius: 10px;
    }


    .contact-detail-icon svg {
        width: 19px;
        height: 19px;
    }


    .contact-detail-card > div:last-child {
        gap: 5px;
    }


    .contact-detail-card span {
        font-size: 10px;
    }


    .contact-detail-card a,
    .contact-detail-card strong {
        font-size: 15px;
        line-height: 1.55;
    }


    .contact-detail-card small {
        font-size: 13px;
    }


    /* FORM */

    .contact-form {
        margin-top: 18px;

        padding: 20px;

        border-radius: 16px;
    }


    .form-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .contact-form label {
        gap: 7px;

        font-size: 13px;
    }


    .contact-form input {
        height: 50px;

        padding:
            0 14px;
    }


    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
    }


    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        font-size: 14px;
    }


    .contact-form textarea {
        min-height: 145px;

        padding:
            13px 14px;
    }


    .message-field {
        margin-top: 15px;
    }


    .send-message-btn {
        width: 100%;

        min-height: 50px;

        margin-top: 19px;

        justify-content: center;

        font-size: 15px;
    }


    /* MAP */

    .contact-map-section {
        padding:
            32px 0 58px;
    }


    .contact-map-heading {
        margin-bottom: 20px;
    }


    .contact-map-heading h2 {
        font-size: 27px;
    }


    .contact-map-wrap {
        height: 310px;

        border-radius: 16px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .contact-info-column h2,
    .contact-form-column h2 {
        font-size: 28px;
    }


    .contact-lead {
        font-size: 15.5px;
    }


    .contact-detail-card {
        padding:
            16px 14px;
    }


    .contact-detail-card a,
    .contact-detail-card strong {
        font-size: 14.5px;
    }


    .contact-form {
        padding:
            17px;
    }


    .contact-map-heading h2 {
        font-size: 25px;
    }

}