﻿
.homepage-alert {
    background: var(--main-color);
    color: white;
    padding: 24px 65px;
    text-align: center;
}

.five-pillars-title {
    font-size: 54px;
    font-family: var(--font-family-body);
    font-weight: bold;
    max-width: 330px;
    margin: 0 0 10px auto;
}


.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 48px 24px;
    overflow: hidden;
    background-image: url('/img/Splash_Banner.jpg');
    background-size: cover;
    background-position: center;
}

/* Homepage-only override: remove shared hero overlay gradient. */
.hero .hero__overlay {
    background: none;
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 0;
        height: auto;
        aspect-ratio: 2304 / 1105;
        background-size: 166.6667% auto;
        background-position: left center;
    }
}


@media (max-width: 1200px) {
    .hero-wrapper {
        grid-template-columns: 1.5fr 1fr;
        min-height: 75vh;
    }

    .hero-pillar {
        max-width: 420px;
        padding: 0 1.75rem;
    }

    .hero-img {
        max-width: 55%;
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        min-height: 70vh;
    }

    .hero-pillar {
        max-width: none;
        width: 100%;
        padding: 0 1.5rem;
    }

        .hero-pillar::before {
            top: 12%;
            bottom: 12%;
        }

    .hero-img {
        max-width: 60%;
    }
}

.hero-banner-copy {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    margin-left: clamp(14px, 5vw, 80px);
    padding: clamp(16px, 2.4vw, 30px) 0;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

    .hero-banner-copy h1 {
        margin: 0 0 8px;
        font-size: clamp(1.7rem, 4.2vw, 3rem);
        font-weight: 700;
        line-height: 1.05;
    }

    .hero-banner-copy p {
        margin: 0;
        font-size: clamp(0.92rem, 1.85vw, 1.2rem);
        line-height: 1.4;
        max-width: 36ch;
    }



.five-pillars__title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.service-button{
    background-color: #777;
}
.service-button:hover {
    background-color: #666;
    color:#fff;
}

.nav-btn{
    max-height: 52px;
    margin-top:-6px;
}

.pillar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 28px 22px;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    .pillar-card:hover,
    .pillar-card:focus-visible {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.12);
        border-color: rgba(0,0,0,0.10);
        color: #bf1e2e;
    }

    .pillar-card:focus-visible {
        outline: 3px solid rgba(191, 30, 46, 0.28);
        outline-offset: 3px;
    }

.pillar-card__icon {
    width: 96px;
    height: 96px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

    .pillar-card__icon img {
        width: 84px;
        height: 84px;
        object-fit: contain;
    }

.pillar-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pillar-card__text {
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(33,37,41,0.78);
    margin: 0;
}

.vr.footer-vr{
    color: #fff;
    opacity: 1;
    width: 3px;
    height: 200px;
}

.find-location{
    max-width: 12rem;
    font-size: 1.3rem;
    font-weight:bolder;
}
.icon-location {
    font-size: 2rem;
    color: #fff;
    text-shadow:
    0 0 0 currentColor, 0.6px 0 currentColor, -0.6px 0 currentColor, 0 0.6px currentColor, 0 -0.6px currentColor,
    0 1px 1px rgba(0, 0, 0, 0.35), 0 -1px 0 rgba(255, 255, 255, 0.15);
}

.scroll-reveal {
    opacity: 0;
    transform: translateX(0);
    transition: opacity 600ms ease, transform 600ms ease;
    will-change: opacity, transform;
}

    .scroll-reveal.from-left {
        transform: translateX(-40px);
    }

    .scroll-reveal.from-right {
        transform: translateX(40px);
    }

    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateX(0);
    }

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .rounded-grey-box .flexbox {
        gap: 1.25rem;
        align-items: stretch;
    }
}

@media (max-width: 767.98px) {
    html,
    body {
        overflow-x: hidden;
    }

    .scroll-reveal.from-left,
    .scroll-reveal.from-right {
        transform: translateY(24px);
    }

    .rounded-grey-box .col-4,
    .rounded-grey-box .col-8 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .rounded-grey-box .mx-5 {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .rounded-grey-box .my-3 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .rounded-grey-box .center-obj img {
        width: 100%;
        border-radius: 14px;
    }
}


