.sb-hero-slider {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #032f38;
}


/* =========================================================
   CAROUSEL ITEM
   ========================================================= */

.sb-hero-slider .carousel-item {
    position: relative;
    height: 520px;
    overflow: hidden;
}


/* =========================================================
   HERO IMAGE
   Slow Zoom / Ken Burns Effect
   ========================================================= */

.sb-hero-slider .sb-hero-image {
    position: absolute !important;

    top: 0;
    left: 0;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover;
    object-position: center center;

    z-index: 1;

    opacity: 0;

    transform: scale(1.08);

    transition:
        opacity 1s ease,
        transform 7s ease;
}


/* Active slide image */

.sb-hero-slider .carousel-item.active .sb-hero-image {
    opacity: 0.62;

    transform: scale(1);
}


/* =========================================================
   IMAGE DARK PREMIUM OVERLAY
   ========================================================= */

.sb-hero-slider .sb-hero-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(2, 35, 44, 0.97) 0%,
            rgba(2, 35, 44, 0.88) 30%,
            rgba(2, 35, 44, 0.68) 58%,
            rgba(2, 35, 44, 0.48) 100%
        );

    pointer-events: none;
}


/* Bottom cinematic gradient */

.sb-hero-slider .carousel-item::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 35%;

    z-index: 3;

    background:
        linear-gradient(
            to top,
            rgba(2,30,37,.72),
            transparent
        );

    pointer-events: none;
}


/* =========================================================
   HERO CAPTION
   ========================================================= */

.sb-hero-slider .sb-hero-caption {

    position: absolute !important;

    z-index: 5;

    top: 50%;

    left: 8%;

    right: auto;
    bottom: auto;

    transform: translateY(-50%);

    width: 58%;

    padding: 0;

    margin: 0;

    text-align: left;
}


/* =========================================================
   SMALL GOLD LABEL
   ========================================================= */

.sb-hero-slider .sb-hero-caption::before {

    content: "FIND YOUR DREAM PROPERTY";

    display: inline-block;

    margin-bottom: 14px;

    padding-left: 14px;

    border-left: 3px solid #d9a441;

    color: #e5b75a;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2.5px;

    line-height: 1;
}


/* =========================================================
   MAIN TITLE
   ========================================================= */

.sb-hero-slider .sb-hero-title {

    margin: 0 0 16px;

    max-width: 760px;

    color: #ffffff;

    font-size: 48px;

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: .2px;

    text-shadow:
        0 3px 18px rgba(0,0,0,.35);
}


/* =========================================================
   SUBTITLE
   ========================================================= */

.sb-hero-slider .sb-hero-subtitle {

    max-width: 650px;

    margin: 0 0 27px;

    color: rgba(255,255,255,.90);

    font-size: 17px;

    font-weight: 400;

    line-height: 1.7;

    text-shadow:
        0 2px 8px rgba(0,0,0,.3);
}


/* =========================================================
   CTA BUTTON
   ========================================================= */

.sb-hero-slider .sb-hero-btn {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 13px 25px;

    background:
        linear-gradient(
            135deg,
            #d9a441,
            #b77b20
        );

    color: #ffffff !important;

    border: 1px solid rgba(255,255,255,.18);

    border-radius: 5px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .3px;

    text-decoration: none !important;

    box-shadow:
        0 8px 22px rgba(0,0,0,.22);

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}


/* Button shine */

.sb-hero-slider .sb-hero-btn::before {

    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    transform: skewX(-20deg);

    transition: left .6s ease;
}


.sb-hero-slider .sb-hero-btn:hover::before {

    left: 140%;
}


.sb-hero-slider .sb-hero-btn:hover {

    transform: translateY(-3px);

    background:
        linear-gradient(
            135deg,
            #e6b957,
            #c58a32
        );

    box-shadow:
        0 12px 30px rgba(0,0,0,.30);

    color: #ffffff !important;
}


/* =========================================================
   SLIDER INDICATORS
   ========================================================= */

.sb-hero-slider .carousel-indicators {

    position: absolute;

    z-index: 10;

    bottom: 24px;

    left: 8%;

    right: auto;

    margin: 0;

    justify-content: flex-start;

    width: auto;
}


.sb-hero-slider .carousel-indicators li {

    width: 28px;

    height: 3px;

    margin:
        0 5px 0 0;

    border: 0;

    border-radius: 10px;

    background:
        rgba(255,255,255,.40);

    opacity: 1;

    transition:
        width .35s ease,
        background .35s ease;
}


.sb-hero-slider .carousel-indicators li.active {

    width: 52px;

    background:
        linear-gradient(
            90deg,
            #d9a441,
            #f1c66d
        );

    box-shadow:
        0 0 8px rgba(217,164,65,.45);
}


/* =========================================================
   PREVIOUS / NEXT BUTTONS
   ========================================================= */

.sb-hero-slider .sb-slider-control {

    z-index: 10;

    width: 7%;

    opacity: .65;

    transition: all .3s ease;
}


.sb-hero-slider .sb-slider-control:hover {

    opacity: 1;
}


/* Custom arrow circles */

.sb-hero-slider .carousel-control-prev-icon,
.sb-hero-slider .carousel-control-next-icon {

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background-color:
        rgba(3,47,56,.75);

    background-size: 15px 15px;

    border: 1px solid rgba(217,164,65,.55);

    box-shadow:
        0 5px 18px rgba(0,0,0,.25);
}


/* =========================================================
   SLIDE TEXT ANIMATION
   ========================================================= */

/* Hide initially */

.sb-hero-slider .carousel-item .sb-hero-caption {

    opacity: 0;

    transform:
        translateY(-50%)
        translateX(-35px);

    transition:
        opacity .8s ease .25s,
        transform .8s ease .25s;
}


/* Active */

.sb-hero-slider .carousel-item.active .sb-hero-caption {

    opacity: 1;

    transform:
        translateY(-50%)
        translateX(0);
}


/* =========================================================
   TITLE EXTRA ANIMATION
   ========================================================= */

.sb-hero-slider .carousel-item .sb-hero-title {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .8s ease .35s,
        transform .8s ease .35s;
}


.sb-hero-slider .carousel-item.active .sb-hero-title {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   SUBTITLE EXTRA ANIMATION
   ========================================================= */

.sb-hero-slider .carousel-item .sb-hero-subtitle {

    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity .8s ease .50s,
        transform .8s ease .50s;
}


.sb-hero-slider .carousel-item.active .sb-hero-subtitle {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   BUTTON EXTRA ANIMATION
   ========================================================= */

.sb-hero-slider .carousel-item .sb-hero-btn {

    opacity: 0;

    transform: translateY(18px);

    transition:
        opacity .7s ease .65s,
        transform .7s ease .65s,
        background .3s ease,
        box-shadow .3s ease;
}


.sb-hero-slider .carousel-item.active .sb-hero-btn {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .sb-hero-slider {

        height: 450px;
    }


    .sb-hero-slider .carousel-item {

        height: 450px;
    }


    .sb-hero-slider .sb-hero-caption {

        left: 7%;

        width: 70%;
    }


    .sb-hero-slider .sb-hero-title {

        font-size: 38px;
    }


    .sb-hero-slider .sb-hero-subtitle {

        font-size: 15px;
    }


    .sb-hero-slider .carousel-indicators {

        left: 7%;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .sb-hero-slider {

        height: 430px;

        min-height: 430px;
    }


    .sb-hero-slider .carousel-item {

        height: 430px;
    }


    .sb-hero-slider .sb-hero-image {

        height: 430px !important;

        opacity: .42;

        object-position: center center;
    }


    .sb-hero-slider .carousel-item.active .sb-hero-image {

        opacity: .46;

        transform: scale(1);
    }


    .sb-hero-slider .sb-hero-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(2,35,44,.94) 0%,
                rgba(2,35,44,.78) 55%,
                rgba(2,35,44,.58) 100%
            );
    }


    .sb-hero-slider .sb-hero-caption {

        left: 7%;

        right: 7%;

        width: auto;

        top: 50%;
    }


    .sb-hero-slider .sb-hero-caption::before {

        font-size: 9px;

        letter-spacing: 1.5px;

        margin-bottom: 10px;

        padding-left: 10px;

        border-width: 2px;
    }


    .sb-hero-slider .sb-hero-title {

        font-size: 29px !important;

        line-height: 1.18 !important;

        margin-bottom: 11px;

        max-width: 100%;
    }


    .sb-hero-slider .sb-hero-subtitle {

        font-size: 13px !important;

        line-height: 1.55 !important;

        margin-bottom: 19px;

        max-width: 100%;
    }


    .sb-hero-slider .sb-hero-btn {

        padding: 10px 17px;

        font-size: 11px;
    }


    .sb-hero-slider .carousel-indicators {

        bottom: 16px;

        left: 7%;
    }


    .sb-hero-slider .carousel-indicators li {

        width: 20px;

        height: 3px;

        margin-right: 4px;
    }


    .sb-hero-slider .carousel-indicators li.active {

        width: 38px;
    }


    .sb-hero-slider .sb-slider-control {

        width: 10%;

        opacity: .45;
    }


    .sb-hero-slider .carousel-control-prev-icon,
    .sb-hero-slider .carousel-control-next-icon {

        width: 32px;

        height: 32px;

        background-size: 11px 11px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .sb-hero-slider {

        height: 390px;

        min-height: 390px;
    }


    .sb-hero-slider .carousel-item {

        height: 390px;
    }


    .sb-hero-slider .sb-hero-image {

        height: 390px !important;

        opacity: .38;

        object-position: center center;
    }


    .sb-hero-slider .sb-hero-caption {

        left: 8%;

        right: 8%;
    }


    .sb-hero-slider .sb-hero-caption::before {

        font-size: 8px;

        letter-spacing: 1.2px;

        margin-bottom: 8px;
    }


    .sb-hero-slider .sb-hero-title {

        font-size: 24px !important;

        line-height: 1.2 !important;
    }


    .sb-hero-slider .sb-hero-subtitle {

        font-size: 11px !important;

        line-height: 1.55 !important;
    }


    .sb-hero-slider .sb-hero-btn {

        padding: 9px 15px;

        font-size: 10px;
    }


    .sb-hero-slider .carousel-control-prev,
    .sb-hero-slider .carousel-control-next {

        display: none;
    }


    .sb-hero-slider .carousel-indicators {

        left: 8%;

        bottom: 13px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .sb-hero-slider {

        height: 380px;
    }


    .sb-hero-slider .carousel-item {

        height: 380px;
    }


    .sb-hero-slider .sb-hero-image {

        height: 380px !important;
    }


    .sb-hero-slider .sb-hero-title {

        font-size: 22px !important;
    }


    .sb-hero-slider .sb-hero-subtitle {

        font-size: 10.5px !important;
    }

}
.sb-hero-slider .carousel-indicators {
    position: absolute;
    left: 50% !important;
    right: auto !important;
    bottom: 24px;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.sb-hero-slider .carousel-indicators li {
    width: 28px;
    height: 3px;
    margin: 0 4px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255,255,255,.40);
    opacity: 1;
    transition:
        width .35s ease,
        background .35s ease,
        box-shadow .35s ease;
}

.sb-hero-slider .carousel-indicators li.active {
    width: 52px;
    background:
       linear-gradient(
            90deg,
            #d9a441,
            #f1c66d
        );
    box-shadow:
        0 0 8px rgba(217,164,65,.45);
}

@media (max-width: 767px) {
    .sb-hero-slider .carousel-indicators {
        left: 50% !important;
        right: auto !important;
        bottom: 16px;
        transform: translateX(-50%);
        width: auto !important;
        margin: 0 !important;
        justify-content: center;
   }

    .sb-hero-slider .carousel-indicators li {
        width: 20px;
        height: 3px;
        margin: 0 3px;
   }

    .sb-hero-slider .carousel-indicators li.active {
        width: 38px;
    }
}