
/* ==========================================================
   GROWTH LOCALIZATION - HOMEPAGE
   Brand Red: #B51F32
   Charcoal Gray: #55565A
   ========================================================== */

:root {
    --gl-brand-red: #B51F32;
    --gl-charcoal: #55565A;
    --gl-dark-blue: #1D4558;
    --gl-white: #FFFFFF;
    --gl-light: #F5F6F7;
}

/* ==========================================================
   HERO SLIDER
   ========================================================== */

.gl-hero {
    position: relative;
    overflow: hidden;
    background: #F5F5F5;
}

.gl-hero .carousel-inner {
    overflow: hidden;
}

.gl-hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    background-color: #F1F2F2;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    overflow: hidden;
}

/* Light background for readable text */

.gl-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.92) 35%,
        rgba(255, 255, 255, 0.60) 55%,
        rgba(255, 255, 255, 0.05) 100%
    );
}

/* Decorative geometric pattern */

.gl-hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 25%;
    z-index: 0;
    pointer-events: none;

    background-image:
        linear-gradient(
            30deg,
            transparent 48%,
            rgba(85, 86, 90, 0.09) 49%,
            rgba(85, 86, 90, 0.09) 51%,
            transparent 52%
        ),
        linear-gradient(
            150deg,
            transparent 48%,
            rgba(181, 31, 50, 0.08) 49%,
            rgba(181, 31, 50, 0.08) 51%,
            transparent 52%
        );

    background-size: 70px 120px;
    opacity: 0.65;
}

.gl-hero-container {
    position: relative;
    z-index: 1;
    padding-top: 70px;
    padding-bottom: 90px;
}

.gl-hero-content {
    max-width: 650px;
    padding: 15px 0;
}

/* Eyebrow heading */

.gl-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;

    color: var(--gl-charcoal);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.35px;
    line-height: 1.5;
}

.gl-eyebrow-line {
    display: inline-block;
    flex: 0 0 70px;
    width: 70px;
    height: 2px;
    background: var(--gl-brand-red);
}

/* Main heading */

.gl-hero-content h1,
.gl-hero-content h2 {
    margin: 0 0 20px;
    color: var(--gl-charcoal);

    font-size: clamp(38px, 4.1vw, 58px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.gl-hero-content h1 span,
.gl-hero-content h2 span {
    display: block;
    color: var(--gl-brand-red);
}

.gl-hero-description {
    max-width: 580px;
    margin: 0 0 32px;

    color: #45464A;
    font-size: 16px;
    line-height: 1.8;
}

/* Hero buttons */

.gl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.gl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 50px;
    padding: 0 25px;

    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.gl-btn:hover {
    transform: translateY(-2px);
}

.gl-btn-primary {
    border: 1px solid var(--gl-brand-red);
    background: var(--gl-brand-red);
    color: var(--gl-white);
}

.gl-btn-primary:hover {
    border-color: #94192A;
    background: #94192A;
    color: var(--gl-white);
}

.gl-btn-outline {
    border: 1px solid var(--gl-dark-blue);
    background: var(--gl-dark-blue);
    color: var(--gl-white);
}

.gl-btn-outline:hover {
    border-color: var(--gl-charcoal);
    background: var(--gl-charcoal);
    color: var(--gl-white);
}

/* Slider indicators */

.gl-hero-indicators {
    z-index: 5;
    justify-content: flex-start;
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto 22px;
}

.gl-hero-indicators [data-bs-target] {
    width: 25px;
    height: 4px;
    margin-right: 5px;
    margin-left: 5px;

    border: 0;
    background-color: var(--gl-charcoal);
    opacity: 0.35;
}

.gl-hero-indicators .active {
    background-color: var(--gl-brand-red);
    opacity: 1;
}

/* Slider arrows */

.gl-hero-control {
    z-index: 4;
    width: 45px;
    height: 45px;
    top: 50%;
    bottom: auto;

    margin: 0 15px;
    border: 1px solid rgba(85, 86, 90, 0.2);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.8);
    opacity: 0.75;
    transform: translateY(-50%);
}

.gl-hero-control:hover {
    background: var(--gl-brand-red);
    opacity: 1;
}







/* ==========================================================
   COMPANY HIGHLIGHTS
   Growth Localization
   ========================================================== */

.gl-highlights {
    position: relative;
    z-index: 5;
    padding: 0 0 80px;
    margin-top: 0;
    background: transparent;
}

/* Move cards upward over the hero slider */
.gl-highlight-grid {
    position: relative;
    z-index: 5;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;

    margin-top: -80px;
}

/* Individual highlight card */
.gl-highlight-card {
    position: relative;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;

    background: #FFFFFF;
    border: 1px solid rgba(85, 86, 90, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gl-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

/* Card image */
.gl-highlight-image {
    position: absolute;
    inset: 0 0 auto;
    height: 205px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Fade the image into the white content area */
.gl-highlight-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.40) 45%,
        rgba(255, 255, 255, 0.88) 75%,
        #FFFFFF 100%
    );
}

/* Highlight image files */
.gl-highlight-image-services {
    background-image: url("../images/highlight-services.jpg");
}

.gl-highlight-image-approach {
    background-image: url("../images/highlight-approach.png");
}

.gl-highlight-image-growth {
    background-image: url("../images/highlight-growth.png");
}

/* Card text and buttons */
.gl-highlight-content {
    position: relative;
    z-index: 1;

    padding: 135px 30px 32px;
}

.gl-highlight-content .gl-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 10px;

    color: #55565A;
    font-size: 11px;
    line-height: 1.5;
}

.gl-highlight-content .gl-eyebrow-line {
    flex: 0 0 40px;
    width: 40px;
    height: 2px;
    background: #B51F32;
}

.gl-highlight-content h3 {
    margin: 0 0 15px;

    color: #55565A;
    font-size: 27px;
    font-weight: 750;
    line-height: 1.2;
}

.gl-highlight-content p {
    margin: 0 0 22px;

    color: #444549;
    font-size: 14px;
    line-height: 1.8;
}

/* Card action button */
.gl-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 46px;
    padding: 0 19px;

    background: #B51F32;
    color: #FFFFFF;

    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    transition:
        background 0.25s ease,
        gap 0.25s ease;
}

.gl-card-link:hover {
    gap: 17px;
    background: #95192A;
    color: #FFFFFF;
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991.98px) {
    .gl-highlights {
        padding-bottom: 60px;
    }

    .gl-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        margin-top: -50px;
    }

    .gl-highlight-card:last-child {
        grid-column: 1 / -1;
    }

    .gl-highlight-content {
        padding-right: 25px;
        padding-left: 25px;
    }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 575.98px) {
    .gl-highlights {
        padding-bottom: 45px;
    }

    .gl-highlight-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin-top: -30px;
    }

    .gl-highlight-card:last-child {
        grid-column: auto;
    }

    .gl-highlight-content {
        padding: 135px 24px 28px;
    }

    .gl-highlight-content h3 {
        font-size: 25px;
    }
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .gl-highlight-card,
    .gl-btn,
    .gl-card-link {
        transition: none;
    }
}
