
/* =========================================
   NOOR EYE CLINIC — GOOGLE REVIEWS
========================================= */

.noor-reviews-section {
    --review-bg: #080e19;
    --review-card: #101a29;
    --review-card-hover: #142235;
    --review-border: rgba(168, 196, 230, 0.14);
    --review-text: #eaf1fb;
    --review-muted: #a3b1c5;
    --review-accent: #59d9e9;

    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 100px 0 86px;
    color: var(--review-text);
    background:
        radial-gradient(ellipse at 8% 10%, rgba(26, 103, 143, .20), transparent 35%),
        radial-gradient(ellipse at 94% 75%, rgba(36, 76, 141, .16), transparent 32%),
        var(--review-bg);
}

.noor-reviews-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -180px;
    right: -150px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(89, 217, 233, .10);
    border-radius: 50%;
    box-shadow:
        0 0 0 40px rgba(89, 217, 233, .025),
        0 0 0 80px rgba(89, 217, 233, .02);
    pointer-events: none;
}

.noor-reviews-section .container {
    position: relative;
    z-index: 1;
}

/* Heading */

.noor-reviews-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.noor-reviews-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--review-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.4px;
}

.noor-reviews-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--review-accent);
    box-shadow: 0 0 14px rgba(89, 217, 233, .7);
    animation: noorReviewPulse 2s ease-in-out infinite;
}

.noor-reviews-heading h2 {
    margin: 0 0 16px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -1.5px;
}

.noor-reviews-heading h2 span {
    color: var(--review-accent);
}

.noor-reviews-heading p {
    max-width: 610px;
    margin: 0 auto;
    color: var(--review-muted);
    font-size: 16px;
    line-height: 1.85;
}

/* Rating summary */

.noor-rating-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 920px;
    margin: 0 auto 38px;
    padding: 24px 30px;
    border: 1px solid var(--review-border);
    border-radius: 20px;
    background: linear-gradient(
        115deg,
        rgba(23, 40, 61, .95),
        rgba(13, 25, 41, .96)
    );
    box-shadow: 0 18px 50px rgba(0, 0, 0, .15);
}

.noor-google-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #f3f7ff;
    font-size: 15px;
    font-weight: 750;
    white-space: nowrap;
}

.noor-google-g {
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: #4285f4;
    text-shadow: 1px 1px 0 #34a853;
}

.noor-rating-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.noor-rating-number {
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.noor-rating-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.noor-rating-details > span {
    color: var(--review-muted);
    font-size: 12px;
}

.noor-rating-stars,
.noor-review-stars {
    color: #ffbf47;
    font-size: 18px;
    letter-spacing: 3px;
    line-height: 1.2;
}

.noor-google-review-btn,
.noor-write-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid rgba(89, 217, 233, .36);
    border-radius: 12px;
    color: #eaffff;
    background: rgba(89, 217, 233, .10);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.noor-google-review-btn:hover,
.noor-write-review-btn:hover {
    color: #fff;
    border-color: var(--review-accent);
    background: rgba(89, 217, 233, .20);
    transform: translateY(-3px);
}

/* Review cards */

.noor-reviews-grid {
    align-items: stretch;
}

.noor-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 290px;
    padding: 25px;
    overflow: hidden;
    border: 1px solid var(--review-border);
    border-radius: 18px;
    background: linear-gradient(145deg, var(--review-card), #0c1522);
    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.noor-review-card::after {
    content: "“";
    position: absolute;
    top: 68px;
    right: 20px;
    color: rgba(89, 217, 233, .09);
    font-family: Georgia, serif;
    font-size: 100px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.noor-review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(89, 217, 233, .4);
    background: linear-gradient(145deg, var(--review-card-hover), #0d1928);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .2);
}

.noor-review-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.noor-review-avatar {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 15px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.avatar-purple { background: linear-gradient(145deg, #8659d9, #49318d); }
.avatar-blue   { background: linear-gradient(145deg, #348fe0, #2251a3); }
.avatar-orange { background: linear-gradient(145deg, #ed9a43, #a94f25); }
.avatar-green  { background: linear-gradient(145deg, #32b68b, #16765d); }
.avatar-pink   { background: linear-gradient(145deg, #df6d9d, #95365f); }
.avatar-teal   { background: linear-gradient(145deg, #32b9c5, #176e87); }

.noor-review-author {
    flex: 1;
    min-width: 0;
}

.noor-review-author h3 {
    margin: 0 0 5px;
    color: #f4f8ff;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.noor-review-author span {
    color: var(--review-muted);
    font-size: 12px;
}

.noor-review-google {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid var(--review-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
}

.noor-review-google span {
    font-family: Arial, sans-serif;
    color: #4285f4;
    font-size: 18px;
    font-weight: 800;
}

.noor-review-stars {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    font-size: 16px;
}

.noor-review-text {
    position: relative;
    z-index: 1;
    flex: 1;
    margin: 0 0 22px;
    color: #c4d0e0;
    font-size: 14px;
    line-height: 1.85;
}

.noor-review-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: auto;
    color: var(--review-accent);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.noor-review-link i {
    transition: transform .2s ease;
}

.noor-review-link:hover {
    color: #b1f8ff;
}

.noor-review-link:hover i {
    transform: translate(3px, -3px);
}

/* Bottom CTA */

.noor-reviews-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 36px;
    padding: 28px 30px;
    border: 1px solid var(--review-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .025);
}

.noor-footer-small {
    display: block;
    margin-bottom: 8px;
    color: var(--review-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.noor-reviews-footer h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 750;
    line-height: 1.5;
}

.noor-write-review-btn {
    flex-shrink: 0;
    color: #08131e;
    border-color: var(--review-accent);
    background: var(--review-accent);
}

.noor-write-review-btn:hover {
    color: #08131e;
    background: #91f0f8;
}

/* Animation */

@keyframes noorReviewPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(.8); }
}

.noor-reviews-section .noor-review-card {
    opacity: 0;
    transform: translateY(20px);
}

.noor-reviews-section .noor-review-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.noor-reviews-section .noor-review-card.is-visible:hover {
    transform: translateY(-5px);
}

/* Responsive */

@media (max-width: 991.98px) {
    .noor-reviews-section {
        padding: 78px 0 68px;
    }

    .noor-rating-summary {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 22px;
    }

    .noor-review-card {
        min-height: 275px;
        padding: 22px;
    }
}

@media (max-width: 575.98px) {
    .noor-reviews-section {
        padding: 62px 0 54px;
    }

    .noor-reviews-heading {
        margin-bottom: 28px;
        text-align: left;
    }

    .noor-reviews-eyebrow {
        margin-bottom: 13px;
        font-size: 10px;
        letter-spacing: 1.8px;
    }

    .noor-reviews-heading h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .noor-reviews-heading p {
        font-size: 14px;
        line-height: 1.8;
    }

    .noor-rating-summary {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 18px 12px;
        margin-bottom: 25px;
        padding: 19px;
        border-radius: 16px;
    }

    .noor-google-brand {
        grid-column: 1 / -1;
        font-size: 14px;
    }

    .noor-google-g {
        font-size: 29px;
    }

    .noor-rating-main {
        gap: 10px;
    }

    .noor-rating-number {
        font-size: 34px;
    }

    .noor-rating-stars {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .noor-rating-details > span {
        font-size: 11px;
    }

    .noor-google-review-btn {
        align-self: center;
        min-height: 42px;
        padding: 10px 12px;
        font-size: 12px;
    }

    .noor-review-card {
        min-height: 0;
        padding: 21px;
        border-radius: 16px;
    }

    .noor-review-author h3 {
        font-size: 15px;
    }

    .noor-review-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .noor-reviews-footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 26px;
        padding: 22px;
    }

    .noor-reviews-footer h3 {
        font-size: 19px;
    }

    .noor-write-review-btn {
        width: 100%;
    }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
    .noor-reviews-section *,
    .noor-reviews-section *::before,
    .noor-reviews-section *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .noor-reviews-section .noor-review-card {
        opacity: 1;
        transform: none;
    }
}



/* =========================================
   OWL CAROUSEL — REVIEW SLIDER
========================================= */

.noor-review-slider-wrap {
    position: relative;
    padding: 0 2px;
}

.noor-review-slider .owl-stage {
    display: flex;
    align-items: stretch;
}

.noor-review-slider .owl-item {
    display: flex;
    height: auto;
}

.noor-review-slider .owl-item > .item {
    display: flex;
    width: 100%;
    padding: 8px 0 18px;
}

.noor-review-slider .noor-review-card {
    width: 100%;
    min-height: 320px;
    padding: 27px 25px;
    opacity: 1;
    transform: none;
}

.noor-review-slider .noor-review-card:hover {
    transform: translateY(-4px);
}

.noor-review-slider .noor-review-author h3 {
    font-size: 17px;
    line-height: 1.45;
}

.noor-review-slider .noor-review-author span {
    font-size: 13px;
}

.noor-review-slider .noor-review-text {
    font-size: 15px;
    line-height: 1.9;
}

.noor-review-slider .noor-review-stars {
    margin-bottom: 17px;
    font-size: 17px;
    letter-spacing: 3px;
}

/* Navigation row */

.noor-review-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 12px;
    padding: 0 3px;
}

.noor-review-arrows {
    display: flex;
    align-items: center;
    gap: 11px;
}

.noor-review-prev,
.noor-review-next {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(89, 217, 233, .38);
    border-radius: 15px;
    color: #dffcff;
    background: #122337;
    font-size: 19px;
    cursor: pointer;
    transition: all .25s ease;
}

.noor-review-prev:hover,
.noor-review-next:hover {
    color: #08131e;
    border-color: #59d9e9;
    background: #59d9e9;
    transform: translateY(-2px);
}

.noor-review-prev:focus-visible,
.noor-review-next:focus-visible,
.noor-review-dots button:focus-visible {
    outline: 3px solid #9aeeff;
    outline-offset: 4px;
}

/* Custom dots */

.noor-review-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.noor-review-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #526276;
    cursor: pointer;
    transition: all .25s ease;
}

.noor-review-dots button.active {
    width: 28px;
    background: #59d9e9;
}

/* Owl item shadow/overflow fixes */

.noor-review-slider .owl-stage-outer {
    padding: 5px 2px 0;
}

.noor-review-slider .owl-item,
.noor-review-slider .owl-item * {
    box-sizing: border-box;
}

/* Tablet */

@media (max-width: 991.98px) {
    .noor-review-slider .noor-review-card {
        min-height: 310px;
        padding: 24px 22px;
    }

    .noor-review-slider .noor-review-text {
        font-size: 15px;
    }
}

/* Mobile */

@media (max-width: 575.98px) {
    .noor-review-slider .owl-item > .item {
        padding: 5px 0 14px;
    }

    .noor-review-slider .noor-review-card {
        min-height: 0;
        padding: 23px 21px;
        border-radius: 17px;
    }

    .noor-review-slider .noor-review-author h3 {
        font-size: 16px;
    }

    .noor-review-slider .noor-review-author span {
        font-size: 12px;
    }

    .noor-review-slider .noor-review-text {
        font-size: 15px;
        line-height: 1.85;
    }

    .noor-review-controls {
        margin-top: 10px;
    }

    .noor-review-prev,
    .noor-review-next {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .noor-review-dots {
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .noor-review-slider *,
    .noor-review-controls * {
        transition: none !important;
        animation: none !important;
    }
}
