/* About page overrides. Loaded after the shared site stylesheet. */
/* =========================================
   AL-ARAFAT ABOUT PAGE
   REFERENCE DESIGN
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* =========================================
   ABOUT BANNER
========================================= */

.about-page {
    background: #fff;
}

.about-banner {
    /* margin-top: 10px; */
    width: calc(100% - 0px);
    max-width: none;
    padding: 0;
}

.about-banner img {
    width: 100%;
    max-width: 100%;
    /* height: 255px; */
    object-fit: cover;
    object-position: center;
}

/* =========================================
   INTRODUCTION
========================================= */

.about-introduction {
    padding-top: 42px;
}

.about-introduction h1 {
    text-align: center;
    font-size: 36px;
    line-height: 1.3;
    margin: 0 0 22px;
    font-weight: 700;
    color: #202020;
}

.about-copy {
    max-width: 100%;
    margin: 0 auto;
}

.about-copy p {
    margin: 0 0 12px;
    color: #777;
    font-size: 16px;
    line-height: 1.65;
    text-align: justify;
}

/* =========================================
   SACRED JOURNEY SECTION
========================================= */

.about-promise {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    gap: 20px;
    margin-top: 38px;
}

.about-collage {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 7px;
}

.promise-copy {
    padding-left: 0;
    text-align: justify;
}

.promise-copy h2 {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 700;
    color: #222;
}

.promise-copy p {
    margin: 0 0 12px;
    color: #777;
    font-size: 16px;
    line-height: 1.65;
}

.promise-copy strong {
    color: #666;
}

/* =========================================
   MISSION / VISION
========================================= */

.about-mission {
    padding-top: 48px;
    padding-bottom: 45px;
}

.about-mission > h2 {
    text-align: center;
    font-size: 30px;
    line-height: 1.3;
    margin: 0 0 28px;
    color: #222;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.mission-card {
    background: #252525;
    color: #fff;
    min-height: 215px;
    border-radius: 8px;
    padding: 17px 12px 15px;
    text-align: center;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.25);
}

.mission-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 7px;
    color: #d8b56b;
    font-size: 27px;
    font-weight: 500;
}

.mission-card h3 {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 8px;
    font-weight: 600;
    color: #fff;
}

.mission-card p {
    margin: 0;
    color: #ddd;
    font-size: 16px;
    line-height: 1.65;
}

/* =========================================
   GOOGLE REVIEWS - REFERENCE DESIGN
========================================= */

.about-reviews {
    background: #f5f6f8;
    padding: 58px 0 70px;
    overflow: hidden;
}

.about-reviews .content-width {
    width: calc(100% - 150px);
    max-width: 1080px;
    margin: 0 auto;
}

.about-reviews h2 {
    margin: 0 0 72px;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 600;
    color: #111;
}

/* Main horizontal layout */
.review-strip {
    display: grid;
    grid-template-columns: 280px repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
    position: relative;
}

/* =========================================
   BUSINESS INFO
========================================= */

.review-brand {
    min-width: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.review-brand::before {
    content: "";
    width: 65px;
    height: 65px;
    background: #050505 url("https://alarafat.com/wp-content/uploads/2022/09/Al-arafat-Logo-300-x-60.png")
        center / 58px auto no-repeat;
    border-radius: 3px;
    margin-bottom: 10px;
}

.review-brand strong {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    color: #111;
    display: block;
    max-width: 210px;
}

.review-brand span {
    font-size: 10px;
    color: #555;
    margin-top: 2px;
}

.review-brand b {
    color: #f5b400;
    font-size: 19px;
    letter-spacing: 0;
    line-height: 1;
    margin-top: 8px;
}

.review-brand small {
    color: #222;
    font-size: 12px;
    margin-top: 5px;
}

.review-brand::after {
    content: "Write a review";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 138px;
    height: 36px;
    border: 1px solid #777;
    border-radius: 4px;
    margin-top: 11px;
    color: #111;
    font-size: 11px;
    font-weight: 600;
}

/* =========================================
   REVIEW CARDS
========================================= */

.review-strip article {
    background: #fff;
    border-radius: 10px;
    height: 205px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* Google logo */
.review-strip article::after {
    content: "G";
    position: absolute;
    top: 20px;
    right: 19px;
    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #4285f4;
}

/* Reviewer name */
.review-strip article strong {
    display: block;
    color: #111;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
    padding-right: 35px;
}

/* Date */
.review-strip article small {
    display: block;
    color: #777;
    font-size: 11px;
    margin-top: 2px;
}

/* Stars */
.review-strip article b {
    display: block;
    color: #f6b400;
    font-size: 19px;
    line-height: 1;
    letter-spacing: 0;
    margin-top: 9px;
}

/* Blue verified icon */
.review-strip article b::after {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    margin-left: 6px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    font-size: 8px;
    vertical-align: 2px;
}

/* Review text */
.review-strip article p {
    color: #222;
    font-size: 12px;
    line-height: 1.5;
    margin: 12px 0 0;
}

/* =========================================
   REVIEW ARROWS
========================================= */

.review-strip::before {
    content: "‹";
    position: absolute;
    left: 276px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    z-index: 5;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.review-strip::after {
    content: "›";
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #444;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    z-index: 5;
}

/* =========================================
   TRUSTINDEX BADGE
========================================= */

.about-reviews .content-width::after {
    content: "Verified by Trustindex ⓘ";
    display: block;
    width: max-content;
    margin-left: auto;
    margin-top: 14px;
    padding: 5px 13px;
    border-radius: 3px;
    background: #16845f;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
}

/* =========================================
   DESKTOP - EXACT SINGLE ROW
========================================= */

@media (min-width: 901px) {
    .review-strip {
        grid-template-columns: 280px repeat(3, 1fr);
    }

    .review-strip article {
        min-width: 0;
    }
}

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

@media (max-width: 900px) {

    .about-reviews .content-width {
        width: calc(100% - 50px);
    }

    .about-reviews h2 {
        margin-bottom: 45px;
    }

    .review-strip {
        grid-template-columns: 220px repeat(3, 1fr);
        gap: 10px;
    }

    .review-strip article {
        height: 190px;
        padding: 16px;
    }

    .review-strip::before {
        left: 216px;
    }

    .review-brand strong {
        font-size: 13px;
    }
}

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

@media (max-width: 650px) {

    .about-reviews {
        padding: 40px 0 50px;
    }

    .about-reviews .content-width {
        width: calc(100% - 30px);
    }

    .about-reviews h2 {
        font-size: 20px;
        margin-bottom: 35px;
    }

    .review-strip {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 10px;
    }

    .review-brand {
        min-width: 180px;
        scroll-snap-align: start;
    }

    .review-strip article {
        min-width: 280px;
        height: 190px;
        scroll-snap-align: start;
    }

    .review-strip::before,
    .review-strip::after {
        display: none;
    }

    .about-reviews .content-width::after {
        margin-top: 10px;
    }
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .content-width {
        width: calc(100% - 40px);
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-strip {
        grid-template-columns: 1fr 1fr;
    }

    .review-brand {
        display: none;
    }

}

@media (max-width: 650px) {

    .about-banner {
        width: calc(100% - 20px);
        margin-top: 8px;
    }

    .about-banner img {
        height: 160px;
    }

    .about-reviews .content-width {
        width: calc(100% - 30px);
    }

    .about-introduction {
        padding-top: 30px;
    }

    .about-introduction h1 {
        font-size: 21px;
    }

    .about-copy p,
    .promise-copy p {
        font-size: 10px;
    }

    .about-promise {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .about-collage {
        height: 300px;
    }

    .promise-copy h2 {
        font-size: 20px;
    }

    .about-mission {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .about-mission > h2 {
        font-size: 20px;
    }

    .mission-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mission-card {
        min-height: 210px;
    }

    .review-strip {
        grid-template-columns: 1fr;
    }

    .about-reviews h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }

}

@media (max-width: 430px) {

    .about-banner img {
        height: 130px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

}