/* FPGB Elementor Full Width Slider */

.fpgb-slider {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 520px;
    overflow: hidden;
    isolation: isolate;
    background: #222;
    font-family: Arial, Helvetica, sans-serif;
}

.fpgb-slides,
.fpgb-slide,
.fpgb-slide-picture,
.fpgb-slide-image {
    width: 100%;
    height: 100%;
}

.fpgb-slides {
    position: relative;
}

.fpgb-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .7s ease, visibility .7s ease;
}

.fpgb-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.fpgb-slide-picture {
    position: absolute;
    inset: 0;
    display: block;
}

.fpgb-slide-image {
    position: absolute;
    inset: 0;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition: transform 7s ease;
}

.fpgb-slide.active .fpgb-slide-image {
    transform: scale(1.035);
}

.fpgb-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(23,27,30,.90) 0%,
        rgba(23,27,30,.78) 25%,
        rgba(23,27,30,.42) 49%,
        rgba(23,27,30,.08) 76%,
        rgba(23,27,30,0) 100%
    );
}

.fpgb-slide-content {
    position: relative;
    z-index: 2;
    width: min(1440px, calc(100% - 80px));
    height: 100%;
    margin: 0 auto;
    padding: 70px 10px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
}

.fpgb-eyebrow {
    position: relative;
    display: inline-block;
    margin: 0 0 20px;
    padding: 0 0 16px;
    color: #f7bd18;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.fpgb-eyebrow::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    background: #f7bd18;
}

.fpgb-heading {
    max-width: 760px;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(40px, 4.2vw, 60px);
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -.02em;
}

.fpgb-subheading {
    max-width: 720px;
    margin: 0 0 18px;
    color: #fff;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
}

.fpgb-description {
    position: relative;
    max-width: 520px;
    margin: 0 0 32px;
    padding-left: 14px;
    color: #fff;
    font-size: 18px;
    line-height: 1.55;
}

.fpgb-description::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #f7bd18;
}

.fpgb-description p {
    margin: 0;
}

.fpgb-buttons {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.fpgb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 3px;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .01em;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.fpgb-button-primary {
    background: #f7bd18;
    border: 2px solid #f7bd18;
    color: #1d2529 !important;
}

.fpgb-button-primary:hover {
    background: #fff;
    border-color: #fff;
    color: #1d2529 !important;
    transform: translateY(-1px);
}

.fpgb-button-secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,.9);
    color: #fff !important;
}

.fpgb-button-secondary:hover {
    background: #fff;
    border-color: #fff;
    color: #1d2529 !important;
    transform: translateY(-1px);
}

.fpgb-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    padding: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.6);
    background: rgba(0,0,0,.12);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    opacity: 0;
    transition: opacity .25s ease, background .25s ease;
}

.fpgb-slider:hover .fpgb-arrow,
.fpgb-slider:focus-within .fpgb-arrow {
    opacity: 1;
}

.fpgb-arrow:hover {
    background: #f7bd18;
    color: #1d2529;
    border-color: #f7bd18;
}

.fpgb-prev { left: 22px; }
.fpgb-next { right: 22px; }

.fpgb-dots {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
}

.fpgb-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    opacity: .95;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.fpgb-dot.active {
    background: #f7bd18;
    transform: scale(1.08);
}

@media (max-width: 1024px) {
    .fpgb-slider {
        height: 500px;
    }

    .fpgb-slide-content {
        width: calc(100% - 70px);
    }

    .fpgb-heading {
        font-size: clamp(36px, 5.5vw, 52px);
    }

    .fpgb-subheading {
        font-size: 21px;
    }
}

@media (max-width: 767px) {
    .fpgb-slider {
        height: 650px;
    }

    .fpgb-slide::after {
        background: linear-gradient(
            180deg,
            rgba(23,27,30,.08) 0%,
            rgba(23,27,30,.38) 35%,
            rgba(23,27,30,.82) 66%,
            rgba(23,27,30,.95) 100%
        );
    }

    .fpgb-slide-content {
        width: 100%;
        padding: 30px 22px 65px;
        justify-content: flex-end;
    }

    .fpgb-eyebrow {
        margin-bottom: 17px;
        padding-bottom: 12px;
        font-size: 11px;
    }

    .fpgb-eyebrow::after {
        width: 32px;
        height: 3px;
    }

    .fpgb-heading {
        max-width: 100%;
        margin-bottom: 12px;
        font-size: 30px;
        line-height: 40px;
    }

    .fpgb-subheading {
        max-width: 100%;
        margin-bottom: 15px;
        font-size: 18px;
        line-height: 1.35;
    }

    .fpgb-description {
        max-width: 100%;
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.5;
    }

    .fpgb-buttons {
        width: 100%;
        gap: 9px;
    }

    .fpgb-button {
        min-width: 0;
        min-height: 46px;
        padding: 0 16px;
        font-size: 10px;
    }

    .fpgb-arrow {
        display: none;
    }

    .fpgb-dots {
        bottom: 18px;
        gap: 10px;
    }

    .fpgb-dot {
        width: 9px;
        height: 9px;
    }
	.fpgb-slide-image{height: 100% !important;}
}

@media (prefers-reduced-motion: reduce) {
    .fpgb-slide,
    .fpgb-slide-image,
    .fpgb-button {
        transition: none !important;
    }
}
