
/* =========================================
   NOOR EYE CLINIC — CONTACT & APPOINTMENT
========================================= */

.noor-contact-section {
    padding: 64px 0;
    background: #f5f7fa;
    color: #172337;
}

.noor-contact-heading {
    margin-bottom: 30px;
}

.noor-contact-eyebrow,
.noor-form-kicker,
.noor-info-kicker {
    display: inline-block;
    color: #397eb4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.noor-contact-heading h2 {
    margin: 9px 0 8px;
    color: #132238;
    font-family: "Manrope", sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.2;
}

.noor-contact-heading h2 span {
    color: #3689c5;
}

.noor-contact-heading > p {
    margin: 0;
    color: #68778a;
    font-size: 14px;
    line-height: 1.7;
}

.noor-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
    align-items: stretch;
    gap: 34px;
}

/* Form */
.noor-appointment-panel {
    padding: 30px;
    background: #fff;
    border: 1px solid #e3e9f0;
    border-radius: 16px;
}

.noor-form-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.noor-form-heading h3 {
    margin: 7px 0 0;
    color: #172337;
    font-size: 23px;
    font-weight: 750;
    letter-spacing: -.6px;
}

.noor-form-icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #287bb7;
    background: #eaf5fd;
    font-size: 21px;
}

.noor-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
}

.noor-field {
    min-width: 0;
}

.noor-field-full {
    grid-column: 1 / -1;
}

.noor-field label {
    display: block;
    margin-bottom: 7px;
    color: #344258;
    font-size: 12px;
    font-weight: 700;
}

.noor-field label span {
    color: #8792a2;
    font-weight: 400;
}

.noor-field input,
.noor-field select,
.noor-field textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    outline: none;
    background: #fbfcfe;
    color: #172337;
    font: inherit;
    font-size: 13px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.noor-field textarea {
    min-height: 85px;
    resize: vertical;
}

.noor-field input::placeholder,
.noor-field textarea::placeholder {
    color: #9aa5b4;
}

.noor-field input:focus,
.noor-field select:focus,
.noor-field textarea:focus {
    border-color: #3689c5;
    box-shadow: 0 0 0 3px rgba(54, 137, 197, .12);
}

.noor-appointment-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 49px;
    margin-top: 21px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: #176eaa;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.noor-appointment-submit:hover {
    background: #105783;
}

.noor-appointment-submit:active {
    transform: translateY(1px);
}

.noor-form-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 13px 0 0;
    color: #7b8797;
    font-size: 11px;
    line-height: 1.6;
}

/* Contact information */
.noor-contact-info {
    padding: 26px 0 20px;
}

.noor-info-kicker {
    color: #3689c5;
}

.noor-contact-info h3 {
    margin: 12px 0 12px;
    color: #14253b;
    font-family: "Manrope", sans-serif;
    font-size: clamp(27px, 3vw, 35px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.noor-info-description {
    max-width: 360px;
    margin-bottom: 27px;
    color: #6c798a;
    font-size: 13px;
    line-height: 1.8;
}

.noor-contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 23px;
}

.noor-detail-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #e6f1fa;
    color: #247bb5;
    font-size: 18px;
}

.noor-contact-detail > div {
    min-width: 0;
    padding-top: 1px;
}

.noor-contact-detail small {
    display: block;
    margin-bottom: 6px;
    color: #7a8798;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.noor-contact-detail p {
    margin: 0 0 6px;
    color: #3d4b5e;
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.noor-contact-detail a {
    color: #1975b5;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.noor-contact-detail a:hover,
.noor-contact-map-link:hover {
    text-decoration: underline;
}

.noor-contact-detail .noor-contact-phone {
    display: inline-block;
    margin-bottom: 5px;
    color: #172337;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.3px;
}

.noor-contact-map-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0 0;
    border-top: 1px solid #dce3eb;
    color: #1975b5;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

/* Tablet */
@media (max-width: 991.98px) {
    .noor-contact-section {
        padding: 48px 0;
    }

    .noor-contact-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
        gap: 24px;
    }

    .noor-appointment-panel {
        padding: 23px;
    }

    .noor-form-heading h3 {
        font-size: 20px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .noor-contact-section {
        padding: 38px 0;
    }

    .noor-contact-heading {
        margin-bottom: 23px;
    }

    .noor-contact-heading h2 {
        font-size: 29px;
        letter-spacing: -.8px;
    }

    .noor-contact-heading > p {
        font-size: 13px;
    }

    .noor-contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .noor-appointment-panel {
        padding: 21px 17px;
        border-radius: 12px;
    }

    .noor-form-heading {
        margin-bottom: 21px;
    }

    .noor-form-heading h3 {
        font-size: 20px;
    }

    .noor-form-grid {
        gap: 15px 12px;
    }

    .noor-field input,
    .noor-field select {
        min-height: 45px;
    }

    .noor-contact-info {
        padding: 7px 2px 0;
    }

    .noor-contact-info h3 {
        font-size: 29px;
    }

    .noor-info-description {
        margin-bottom: 22px;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .noor-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .noor-field-full {
        grid-column: auto;
    }

    .noor-appointment-panel {
        padding: 18px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .noor-contact-section * {
        transition: none !important;
    }
}


/* =========================================
   NOOR CONTACT SECTION — DARK THEME
   Original light theme remains unchanged.
========================================= */

html[data-theme="dark"] .noor-contact-section {
    background: #080e19;
    color: #eaf1f8;
}

html[data-theme="dark"] .noor-contact-eyebrow,
html[data-theme="dark"] .noor-form-kicker,
html[data-theme="dark"] .noor-info-kicker {
    color: #55c5d5;
}

html[data-theme="dark"] .noor-contact-heading h2,
html[data-theme="dark"] .noor-contact-info h3 {
    color: #f1f6fc;
}

html[data-theme="dark"] .noor-contact-heading h2 span {
    color: #55c5d5;
}

html[data-theme="dark"] .noor-contact-heading > p,
html[data-theme="dark"] .noor-info-description {
    color: #a9b8ca;
}

/* Appointment form panel */
html[data-theme="dark"] .noor-appointment-panel {
    background: #111d2c;
    border-color: rgba(148, 174, 197, .18);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] .noor-form-heading h3 {
    color: #edf4fb;
}

html[data-theme="dark"] .noor-form-icon {
    color: #55c5d5;
    background: rgba(54, 197, 208, .12);
}

html[data-theme="dark"] .noor-field label {
    color: #d6e1ec;
}

html[data-theme="dark"] .noor-field label span {
    color: #91a2b5;
}

html[data-theme="dark"] .noor-field input,
html[data-theme="dark"] .noor-field select,
html[data-theme="dark"] .noor-field textarea {
    color: #edf4fb;
    background: #0b1522;
    border-color: #2a3b4e;
    color-scheme: dark;
}

html[data-theme="dark"] .noor-field input::placeholder,
html[data-theme="dark"] .noor-field textarea::placeholder {
    color: #8293a7;
}

html[data-theme="dark"] .noor-field select option {
    color: #edf4fb;
    background: #0b1522;
}

html[data-theme="dark"] .noor-field input:focus,
html[data-theme="dark"] .noor-field select:focus,
html[data-theme="dark"] .noor-field textarea:focus {
    border-color: #45bdca;
    box-shadow: 0 0 0 3px rgba(69, 189, 202, .15);
}

html[data-theme="dark"] .noor-appointment-submit {
    color: #ffffff;
    background: linear-gradient(135deg, #087f9c, #075f80);
}

html[data-theme="dark"] .noor-appointment-submit:hover {
    background: linear-gradient(135deg, #0996b5, #087092);
}

html[data-theme="dark"] .noor-form-note {
    color: #9aabbd;
}

/* Contact details */
html[data-theme="dark"] .noor-detail-icon {
    color: #55c5d5;
    background: rgba(54, 197, 208, .12);
}

html[data-theme="dark"] .noor-contact-detail small {
    color: #9aabbd;
}

html[data-theme="dark"] .noor-contact-detail p {
    color: #c4d0dd;
}

html[data-theme="dark"] .noor-contact-detail a {
    color: #62c9e2;
}

html[data-theme="dark"] .noor-contact-detail .noor-contact-phone {
    color: #f1f6fc;
}

html[data-theme="dark"] .noor-contact-map-link {
    color: #62c9e2;
    border-top-color: rgba(148, 174, 197, .20);
}

html[data-theme="dark"] .noor-contact-detail a:hover,
html[data-theme="dark"] .noor-contact-map-link:hover {
    color: #a0e8ef;
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme="dark"] .noor-contact-section *,
    html[data-theme="dark"] .noor-contact-section *::before,
    html[data-theme="dark"] .noor-contact-section *::after {
        transition: none !important;
    }
}
