﻿/* =========================================================
   CONTACT US PAGE
   Medicare Plus Healthcare Pvt. Ltd.
   ========================================================= */

.contact-page {
    overflow: hidden;
    background: #ffffff;
    width: 100%;
}

    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        box-sizing: border-box;
    }


/* =========================================
   MOBILE BANNER FINAL FIX
========================================= */

.page-banner {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0;
}

    .page-banner img {
        display: block;
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
    }

.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

@media (max-width: 576px) {

    .page-banner {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

        .page-banner img {
            width: 100% !important;
            height: auto !important;
            object-fit: contain !important;
        }
}
/* =========================================================
   INTRO
   ========================================================= */

.contact-intro {
    padding: 90px 0 45px;
    background: #ffffff;
}

.contact-intro-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.contact-section-tag {
    display: inline-block;
    margin-bottom: 15px;
    color: #0B3D91;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-intro h2 {
    margin: 0 0 20px;
    color: #092f6b;
    font-size: 40px;
    line-height: 1.3;
    font-weight: 750;
}

.contact-intro p {
    margin: 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.9;
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-info-section {
    padding: 35px 0 85px;
    background: #f7faff;
}

.contact-info-card {
    min-height: 215px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(9,45,91,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .contact-info-card:hover {
        transform: translateY(-7px);
        border-color: #c9def5;
        box-shadow: 0 20px 45px rgba(11,61,145,0.12);
    }


/* Icon */

.contact-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #EAF3FF;
    color: #0B3D91;
    font-size: 22px;
    transition: 0.35s ease;
}

.contact-info-card:hover .contact-icon {
    background: #0B3D91;
    color: #ffffff;
    transform: rotate(-5deg);
}


/* Card text */

.contact-card-label {
    display: block;
    margin-bottom: 7px;
    color: #0B3D91;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.contact-info-card h3 {
    margin: 0 0 10px;
    color: #102f59;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
}

.contact-info-card p {
    margin: 0;
    color: #687385;
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}


/* Phone / Email links */

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .contact-links a {
        color: #334155;
        overflow-wrap: anywhere;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: 0.3s ease;
    }

        .contact-links a:hover {
            color: #0B3D91;
        }

    .contact-links span {
        color: #7a8492;
        font-size: 13px;
        line-height: 1.5;
    }


/* =========================================================
   MAIN CONTACT AREA
   ========================================================= */

.contact-main-section {
    padding: 90px 0;
    background: #ffffff;
}


/* =========================================================
   COMMON BOX HEADING
   ========================================================= */

.contact-box-heading {
    margin-bottom: 28px;
}

    .contact-box-heading > span {
        display: inline-block;
        margin-bottom: 10px;
        color: #0B3D91;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1.5px;
    }

    .contact-box-heading h2 {
        margin: 0 0 12px;
        color: #092f6b;
        font-size: 32px;
        line-height: 1.3;
        font-weight: 750;
    }

    .contact-box-heading p {
        margin: 0;
        color: #687385;
        font-size: 15px;
        line-height: 1.8;
    }


/* =========================================================
   MAP BOX
   ========================================================= */

.contact-map-wrapper {
    height: 100%;
    padding: 35px;
    background: #f7faff;
    border: 1px solid #e4ebf4;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(9,45,91,0.07);
}

.contact-map {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #e8eef6;
    box-shadow: 0 8px 25px rgba(9,45,91,0.08);
}

    .contact-map iframe {
        display: block;
        width: 100%;
        height: 430px;
        border: 0;
    }


/* Map address */

.map-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 15px 18px;
    background: #ffffff;
    border: 1px solid #e5ebf3;
    border-radius: 12px;
    color: #687385;
    font-size: 13px;
    line-height: 1.7;
}

    .map-address i {
        margin-top: 3px;
        color: #0B3D91;
        font-size: 17px;
    }


/* =========================================================
   CONTACT FORM BOX
   ========================================================= */

.contact-form-box {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e4ebf4;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(9,45,91,0.07);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


/* Form field */

.form-field {
    width: 100%;
}

    .form-field label {
        display: block;
        margin-bottom: 8px;
        color: #263b57;
        font-size: 13px;
        font-weight: 600;
    }


/* Input wrapper */

.input-wrapper {
    position: relative;
    width: 100%;
}

    .input-wrapper > i {
        position: absolute;
        left: 17px;
        top: 19px;
        transform: none;
        color: #8b98a9;
        font-size: 15px;
        pointer-events: none;
        transition: 0.3s ease;
    }


    /* Inputs */

    .input-wrapper input,
    .input-wrapper textarea {
        width: 100%;
        border: 1px solid #dce4ee;
        border-radius: 11px;
        background: #f9fbfd;
        color: #263b57;
        font-family: inherit;
        font-size: 14px;
        outline: none;
        transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    }

    .input-wrapper input {
        height: 52px;
        padding: 0 15px 0 46px;
    }

    .input-wrapper textarea {
        min-height: 145px;
        padding: 15px 15px 15px 46px;
        resize: vertical;
        line-height: 1.6;
    }


        /* Placeholder */

        .input-wrapper input::placeholder,
        .input-wrapper textarea::placeholder {
            color: #a0aab7;
        }


        /* Focus */

        .input-wrapper input:focus,
        .input-wrapper textarea:focus {
            border-color: #4c91df;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(11,61,145,0.08);
        }

    .input-wrapper:focus-within > i {
        color: #0B3D91;
    }


/* Message full width */

.form-field:has(textarea) {
    grid-column: 1 / -1;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.form-submit {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.contact-submit-btn {
    min-width: 185px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient( 135deg, #0B3D91, #1266D5 );
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(11,61,145,0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

    .contact-submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(11,61,145,0.25);
    }

    .contact-submit-btn i {
        font-size: 13px;
        transition: transform 0.3s ease;
    }

    .contact-submit-btn:hover i {
        transform: translateX(4px);
    }



    .contact-submit-btn:focus-visible,
    .cta-call-btn:focus-visible,
    .cta-mail-btn:focus-visible,
    .contact-breadcrumb a:focus-visible,
    .contact-links a:focus-visible {
        outline: 3px solid rgba(76, 145, 223, 0.45);
        outline-offset: 3px;
    }

/* =========================================================
   BOTTOM CTA
   ========================================================= */

.contact-cta {
    padding: 0 0 90px;
    background: #ffffff;
}

.contact-cta-box {
    position: relative;
    overflow: hidden;
    padding: 48px 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    border-radius: 24px;
    background: linear-gradient( 135deg, #082f70, #1266d5 );
    box-shadow: 0 20px 45px rgba(11,61,145,0.18);
}


    /* Decorative circles */

    .contact-cta-box::before {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        right: -120px;
        top: -180px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
    }

    .contact-cta-box::after {
        content: "";
        position: absolute;
        width: 190px;
        height: 190px;
        left: -90px;
        bottom: -130px;
        border-radius: 50%;
        background: rgba(255,255,255,0.06);
    }


/* CTA content */

.contact-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

    .contact-cta-content > span {
        display: block;
        margin-bottom: 9px;
        color: #b9dcff;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1.5px;
    }

    .contact-cta-content h2 {
        margin: 0 0 12px;
        color: #ffffff;
        font-size: 31px;
        line-height: 1.35;
        font-weight: 700;
    }

    .contact-cta-content p {
        margin: 0;
        color: rgba(255,255,255,0.84);
        font-size: 15px;
        line-height: 1.75;
    }


/* CTA actions */

.contact-cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cta-call-btn,
.cta-mail-btn {
    min-width: 135px;
    padding: 13px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.cta-call-btn {
    background: #ffffff;
    color: #0B3D91;
}

    .cta-call-btn:hover {
        background: #edf6ff;
        color: #0B3D91;
        transform: translateY(-3px);
    }

.cta-mail-btn {
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

    .cta-mail-btn:hover {
        background: rgba(255,255,255,0.18);
        color: #ffffff;
        transform: translateY(-3px);
    }


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .contact-banner h1 {
        font-size: 46px;
    }

    .contact-intro h2 {
        font-size: 36px;
    }

    .contact-info-card {
        padding: 25px;
    }

    .contact-map-wrapper,
    .contact-form-box {
        padding: 30px;
    }

    .contact-cta-box {
        padding: 42px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .contact-banner {
        min-height: 400px;
    }

    .contact-banner-content {
        padding: 80px 0;
    }

    .contact-banner h1 {
        font-size: 40px;
    }

    .contact-banner p {
        font-size: 16px;
    }


    .contact-intro {
        padding: 70px 0 35px;
    }

        .contact-intro h2 {
            font-size: 34px;
        }


    .contact-info-section {
        padding: 30px 0 70px;
    }


    .contact-main-section {
        padding: 70px 0;
    }


    .contact-map-wrapper {
        margin-bottom: 10px;
    }


    .contact-form {
        gap: 18px;
    }


    .contact-cta {
        padding-bottom: 70px;
    }

    .contact-cta-box {
        padding: 40px;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .contact-banner {
        min-height: 370px;
    }

    .contact-banner-content {
        padding: 70px 0;
        text-align: center;
    }

        .contact-banner-content > span {
            padding: 7px 15px;
            font-size: 11px;
        }

    .contact-banner h1 {
        font-size: 34px;
    }

    .contact-banner p {
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-breadcrumb {
        justify-content: center;
        font-size: 13px;
    }


    /* Intro */

    .contact-intro {
        padding: 60px 0 30px;
    }

    .contact-intro-content {
        padding: 0 10px;
    }

    .contact-intro h2 {
        font-size: 29px;
    }

    .contact-intro p {
        font-size: 15px;
        line-height: 1.8;
    }


    /* Info */

    .contact-info-section {
        padding: 25px 0 60px;
    }

    .contact-info-card {
        min-height: auto;
        padding: 24px;
        border-radius: 15px;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 13px;
        font-size: 19px;
    }

    .contact-info-card h3 {
        font-size: 19px;
    }


    /* Main */

    .contact-main-section {
        padding: 60px 0;
    }

    .contact-map-wrapper,
    .contact-form-box {
        padding: 25px;
        border-radius: 18px;
    }

    .contact-box-heading h2 {
        font-size: 27px;
    }

    .contact-box-heading p {
        font-size: 14px;
    }


    /* Map */

    .contact-map iframe {
        height: 330px;
    }


    /* Form */

    .contact-form {
        display: block;
    }

    .form-field {
        margin-bottom: 18px;
    }

        .form-field:has(textarea) {
            margin-top: 3px;
        }

    .input-wrapper input {
        height: 50px;
    }

    .input-wrapper textarea {
        min-height: 130px;
    }

    .form-submit {
        display: block;
        margin-top: 5px;
    }

    .contact-submit-btn {
        width: 100%;
    }


    /* CTA */

    .contact-cta {
        padding-bottom: 60px;
    }

    .contact-cta-box {
        padding: 35px 25px;
        align-items: center;
        text-align: center;
        border-radius: 20px;
    }

    .contact-cta-content h2 {
        font-size: 25px;
    }

    .contact-cta-content p {
        font-size: 14px;
    }

    .contact-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .cta-call-btn,
    .cta-mail-btn {
        width: 100%;
    }
}



/* =========================================================
   COMPACT TABLET / LARGE MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .contact-banner {
        min-height: 390px;
    }

    .contact-banner-content {
        padding: 65px 0;
    }

    .contact-info-card {
        gap: 15px;
        padding: 22px;
    }

    .contact-main-section {
        padding: 50px 0;
    }

    .contact-map-wrapper,
    .contact-form-box {
        padding: 22px;
    }

    .contact-map iframe {
        height: 300px;
    }

    .contact-cta-box {
        gap: 25px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .contact-banner {
        min-height: 350px;
    }

    .contact-banner-content {
        padding: 60px 0;
    }

    .contact-banner h1 {
        font-size: 29px;
    }

    .contact-banner p {
        font-size: 14px;
    }


    .contact-intro {
        padding: 50px 0 25px;
    }

        .contact-intro h2 {
            font-size: 26px;
        }


    .contact-info-card {
        padding: 20px;
        gap: 15px;
    }

    .contact-icon {
        width: 47px;
        height: 47px;
        min-width: 47px;
        font-size: 17px;
    }

    .contact-info-card h3 {
        font-size: 18px;
    }

    .contact-info-card p,
    .contact-links a {
        font-size: 13px;
    }


    .contact-map-wrapper,
    .contact-form-box {
        padding: 20px;
    }

    .contact-box-heading h2 {
        font-size: 24px;
    }


    .contact-map iframe {
        height: 280px;
    }


    .contact-cta-box {
        padding: 30px 20px;
    }

    .contact-cta-content h2 {
        font-size: 23px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 360px) {

    .contact-banner h1 {
        font-size: 26px;
    }

    .contact-intro h2 {
        font-size: 24px;
    }

    .contact-info-card {
        display: block;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto 15px;
    }

    .contact-box-heading h2 {
        font-size: 22px;
    }
}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   ASP.NET VALIDATION / FORM MESSAGE
========================================================= */

.field-error {
    display: block;
    margin-top: 6px;
    color: #dc3545;
    font-size: 12px;
    line-height: 1.4;
}


/* SUCCESS / ERROR MESSAGE */

.form-message {
    grid-column: 1 / -1;
    display: block;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}


/* ASP.NET TextBox */

.input-wrapper input,
.input-wrapper textarea {
    appearance: none;
    -webkit-appearance: none;
}


/* Remove ASP.NET default button appearance */

.contact-submit-btn {
    text-decoration: none !important;
    border: 0 !important;
}


/* Mobile */

@media (max-width: 767px) {

    .form-message {
        margin-bottom: 15px;
    }
}