/* <link rel="stylesheet" href="{ basePath }/sfsites/c/resource/styleAboutUsPage?{ versionKey }"/> */

.about-us__body {
    font-family: 'Montserrat', sans-serif;
    color: #0032A0;
    background-color: #fff;
    line-height: 1.6;
}

.about-us__body * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.about-us__header {
    background: url('https://rixstinewebsitephotos.s3.us-east-2.amazonaws.com/Websitestaticspages/vecteezy_blue-abstract-futuristic-technology-background_12978128.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 6rem 3rem;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-us__header h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.about-us__header p {
    font-size: 2rem;
    opacity: 0.85;
    font-weight: 400;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.about-us__section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-us__body h2 {
    font-size: 3.5rem;
    color: #0032A0;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
}

.about-us__body .mission-flex-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.about-us__body .flex-col {
    flex: 1 1 45%;
    padding: 1rem;
}

.about-us__body .mission-text {
    font-size: 2.25rem;
    line-height: 1.75;
    color: #0032A0;
}

/* Mission Image - Larger Size */
.about-us__body .mission-image-block img {
    width: 100%;
    max-width: 500px;
    /* Larger size for mission image */
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us__body .mission-image-block img:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

/* Vision Image - Smaller Size */
.about-us__body .vision-image-block img {
    width: 100%;
    max-width: 400px;
    /* Smaller size for vision image */
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us__body .core-values {
    background-size: 50% 100%;
    padding: 4rem 2rem;
    border-radius: 16px;
}

.about-us__body .core-values ul {
    list-style: none;
    display: flex;
    /* Use flexbox to align items vertically */
    flex-direction: column;
    /* Stack the items in a column */
    align-items: center;
    /* Center the items */
    gap: 2rem;
    padding-left: 0;
}

.about-us__body .core-values li {
    background: url('https://rixstinewebsitephotos.s3.us-east-2.amazonaws.com/Websitestaticspages/c3cb1113-99c9-4758-8fac-0d390e7f0593.jpg') no-repeat center;
    background-size: cover;
    color: #0032A0;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-weight: 600;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Full width for each item in the column */
    min-height: 100px;
    /* Ensure consistent height */
}

.about-us__body .core-values li:hover {
    background-color: #0032A0;
    /* No color change */
    color: #0032A0;
    /* No color change */
    transform: none;
    /* No transformation on hover */
    box-shadow: none;
    /* No shadow effect on hover */
}

.about-us__body .reviews h2 {
    font-size: 3.5rem;
    color: #0032A0;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
}

.about-us__body .review-boxes {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-us__body .review-box {
    background-color: #f4f4f4;
    padding: 2.0rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 235px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us__body .review-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.about-us__body .stars {
    color: #F2A900;
    font-size: 2rem;
}

.about-us__body .review-box p {
    font-size: 1.3rem;
    color: #333;
    font-style: italic;
}

/* Larger Images in History Gallery */
.about-us__body .history-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Three images in a row */
    gap: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.about-us__body .history-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-height: 400px;
    /* Ensure images are larger */
}

.about-us__body .history-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.about-us__body .history p {
    font-size: 1.5rem;
    /* Change this value to adjust the text size */
    line-height: 2;
    /* Adjust line-height for readability */
}

/* Vision Statement Text */
.about-us__body .vision p {
    font-size: 2.5rem;
    /* Adjust font size */
    line-height: 1.75;
    /* Increase line height for readability */
}

/* Showroom Gallery Slider Styling */
.about-us__body .slider-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    /* Ensure that any overflow from the images is hidden */
}

.about-us__body .slider {
    position: relative;
    display: flex;
    width: 100%;
}

.about-us__body .slides {
    display: flex;
    width: 100%;
    transition: transform 1.0s ease-in-out;
}

.about-us__body .slides img {
    width: 100%;
    /* Ensure images take up full container width */
    height: auto;
    /* Set a consistent height for all images */
    object-fit: cover;
    /* Maintain aspect ratio without stretching */
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {

    .about-us__header h1 {
        font-size: 3rem;
    }

    .about-us__header p {
        font-size: 2rem;
    }

    .about-us__section {
        padding: 3rem 1rem;
    }

    .about-us__body .flex-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .about-us__body .mission-image-block img,
    .about-us__body .vision-image-block img {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .about-us__body .core-values li {
        padding: 1.5rem;
        font-size: 1.2rem;
    }

    .about-us__body .history-gallery {
        grid-template-columns: 1fr;
    }

    .about-us__body .reviews h2 {
        font-size: 2.5rem;
    }

    .about-us__body .review-box {
        width: 100%;
        height: auto;
    }

}