
/* =========================================================
   NEHA EYE CENTRE
   CONTACT PAGE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: #f7fbfb;

    font-family: "Poppins", sans-serif;

    color: #263b40;
}


/* =========================================================
   MAIN PAGE
   ========================================================= */

.contact-page {
    width: 96%;

    margin: 0 auto;

    padding: 35px 0 50px;
}


/* =========================================================
   HEADING
   ========================================================= */

.contact-heading {
    max-width: 720px;

    margin: 5px auto 35px;

    text-align: center;
}

.contact-heading-line {
    display: block;

    width: 55px;
    height: 4px;

    margin: 0 auto 13px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #00a99d,
        #008fba
    );
}

.contact-heading h1 {
    margin: 0;

    color: #087f83;

    font-size: 30px;

    line-height: 1.3;

    font-weight: 700;
}

.contact-heading p {
    margin: 10px 0 0;

    color: #65777b;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   MAIN TWO COLUMN AREA
   ========================================================= */

.contact-wrapper {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    gap: 25px;

    align-items: stretch;
}


/* =========================================================
   LEFT INFORMATION PANEL
   ========================================================= */

.contact-information {
    position: relative;

    padding: 32px 34px;

    background:
        linear-gradient(
            145deg,
            #00a99d,
            #008fb7
        );

    border-radius: 17px;

    color: #ffffff;

    box-shadow:
        0 8px 28px rgba(0, 120, 135, 0.17);

    overflow: hidden;
}

.contact-information::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    bottom: -90px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
}


/* =========================================================
   DOCTOR PROFILE
   ========================================================= */

.doctor-profile {
    position: relative;

    z-index: 1;
}

.doctor-profile h2 {
    margin: 0 0 8px;

    font-size: 21px;

    font-weight: 700;

    letter-spacing: 0.2px;
}

.doctor-profile .qualification {
    margin: 0 0 7px;

    font-size: 13px;

    line-height: 1.6;

    font-weight: 600;
}

.doctor-profile .fellowship {
    margin: 0 0 8px;

    font-size: 12.5px;

    line-height: 1.65;

    color: rgba(255, 255, 255, 0.94);
}

.doctor-profile h3 {
    margin: 15px 0 6px;

    font-size: 13px;

    font-weight: 600;
}

.doctor-profile ul {
    margin: 0;

    padding-left: 20px;
}

.doctor-profile li {
    margin-bottom: 4px;

    font-size: 12.5px;

    line-height: 1.6;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.doctor-divider {
    height: 1px;

    margin: 24px 0;

    background:
        rgba(255, 255, 255, 0.30);

    position: relative;

    z-index: 1;
}


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

.contact-details {
    position: relative;

    z-index: 1;
}

.contact-detail {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin-bottom: 18px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail-icon {
    flex-shrink: 0;

    width: 37px;
    height: 37px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.16);

    font-size: 18px;
}

.contact-detail h3 {
    margin: 0 0 3px;

    font-size: 13px;

    font-weight: 600;
}

.contact-detail p {
    margin: 0;

    font-size: 12px;

    line-height: 1.65;

    color: rgba(255, 255, 255, 0.94);
}

.contact-detail a {
    color: #ffffff;

    text-decoration: none;

    font-weight: 600;
}

.contact-detail a:hover {
    color: #fff7ad;

    text-decoration: underline;
}


/* =========================================================
   FORM SECTION
   ========================================================= */

.contact-form-section {
    padding: 31px 34px;

    background: #ffffff;

    border-radius: 17px;

    box-shadow:
        0 6px 25px rgba(0, 120, 135, 0.10);

    border: 1px solid #e5eeee;
}


/* =========================================================
   FORM HEADER
   ========================================================= */

.form-header {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 23px;
}

.form-icon {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #e4f7f5;

    color: #008f91;

    font-size: 23px;
}

.form-header h2 {
    margin: 0;

    color: #087f83;

    font-size: 21px;

    line-height: 1.35;
}

.form-header p {
    margin: 3px 0 0;

    color: #78878a;

    font-size: 11.5px;

    line-height: 1.5;
}


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

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;

    margin-bottom: 6px;

    color: #344e53;

    font-size: 12px;

    font-weight: 600;
}

.form-group label span {
    color: #e05252;
}

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

    display: block;

    padding: 11px 13px;

    border: 1px solid #d7e4e5;

    border-radius: 8px;

    outline: none;

    background: #fbfdfd;

    color: #293f43;

    font-family: "Poppins", sans-serif;

    font-size: 12.5px;

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

.form-group input {
    height: 42px;
}

.form-group textarea {
    min-height: 75px;

    resize: vertical;

    line-height: 1.55;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a4b1b3;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #ffffff;

    border-color: #00a99d;

    box-shadow:
        0 0 0 3px rgba(0, 169, 157, 0.10);
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.contact-submit-button {
    width: 100%;

    height: 47px;

    margin-top: 4px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border: none;

    border-radius: 9px;

    background:
        linear-gradient(
            90deg,
            #00a99d,
            #008fba
        );

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 5px 14px rgba(0, 140, 150, 0.20);

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

.contact-submit-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(0, 140, 150, 0.27);
}

.submit-arrow {
    font-size: 18px;

    line-height: 1;
}

.mandatory-note {
    margin: 9px 0 0;

    color: #8b999b;

    font-size: 10px;

    text-align: right;
}


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

@media (max-width: 950px) {

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

        gap: 18px;
    }

    .contact-information,
    .contact-form-section {
        padding: 27px 25px;
    }

}


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

@media (max-width: 767px) {

    .contact-page {
        width: 98%;

        padding: 25px 0 35px;
    }

    .contact-heading {
        margin-bottom: 25px;
    }

    .contact-heading h1 {
        font-size: 24px;
    }

    .contact-heading p {
        padding: 0 8px;

        font-size: 12.5px;
    }

    .contact-wrapper {
        display: flex;

        flex-direction: column;

        gap: 16px;
    }

    .contact-information {
        padding: 26px 22px;

        border-radius: 14px;
    }

    .contact-form-section {
        padding: 25px 20px;

        border-radius: 14px;
    }

    .doctor-profile h2 {
        font-size: 19px;
    }

    .doctor-profile .qualification,
    .doctor-profile .fellowship,
    .doctor-profile li {
        font-size: 12px;
    }

    .contact-detail p {
        font-size: 11.5px;
    }

    .form-header h2 {
        font-size: 19px;
    }

}


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

@media (max-width: 420px) {

    .contact-information {
        padding: 23px 18px;
    }

    .contact-form-section {
        padding: 22px 17px;
    }

    .doctor-profile h2 {
        font-size: 18px;
    }

    .form-header {
        gap: 10px;
    }

    .form-icon {
        width: 43px;
        height: 43px;
    }

}

/* =========================================================
   FORM STATUS MESSAGE
   ========================================================= */

.form-status {
    width: 100%;

    margin: 0 auto 22px;

    padding: 13px 17px;

    border-radius: 9px;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    line-height: 1.6;

    text-align: center;
}

.form-status.success {
    background: #e8f8f0;

    border: 1px solid #b9e8d0;

    color: #19754b;
}

.form-status.error {
    background: #fff0f0;

    border: 1px solid #f0c6c6;

    color: #a43c3c;
}


