

/* =========================================================
   BROTHERS HERO
========================================================= */

.brothers-hero {
    position: relative;
    width: 100%;
    min-height: 560px;

    overflow: hidden;

    background: #031d2a;
    color: #fff;

    isolation: isolate;
}


/* =========================================================
   BACKGROUND
========================================================= */

.brothers-hero-bg {
    position: absolute;
    inset: 0;

    z-index: -3;

    background-image:
        linear-gradient(
            90deg,
            rgba(2, 27, 40, 0.98) 0%,
            rgba(2, 27, 40, 0.95) 20%,
            rgba(2, 27, 40, 0.78) 55%,
            rgba(2, 27, 40, 0.45) 78%,
            rgba(2, 27, 40, 0.30) 100%
        ),
        url("img/banner.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.03);
}


/* =========================================================
   OVERLAY
========================================================= */

.brothers-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(34, 119, 160, 0.22),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            rgba(0, 16, 25, 0.08),
            rgba(0, 16, 25, 0.28)
        );

    pointer-events: none;
}


/* =========================================================
   WRAPPER
========================================================= */

.brothers-hero-wrap {

    position: relative;

    min-height: 560px;

    display: flex;

    align-items: center;

    max-width: 1562px;

    margin: 0 auto;

    padding-top: 45px;
    padding-bottom: 45px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.brothers-hero-content {

    position: relative;

    z-index: 5;

    width: 56%;

    max-width: 650px;
}


/* =========================================================
   TAGS
========================================================= */

.brothers-hero-tags {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 22px;
}


.brothers-hero .tag {

    font-size: 11px;

    line-height: 1;

    padding: 7px 11px;

    border-radius: 4px;

    white-space: nowrap;
}


.brothers-hero .tag-accent {

    background: #238bc2;

    border-color: #238bc2;

    color: #fff;
}


.brothers-hero .tag-outline {

    color: #fff;

    border: 1px solid rgba(255,255,255,.55);

    background: rgba(255,255,255,.04);
}


.brothers-hero .tag-neutral {

    color: #163544;

    background: rgba(255,255,255,.90);

    border-color: rgba(255,255,255,.90);
}


/* =========================================================
   TITLE
========================================================= */

.brothers-hero-title {

    margin: 0;

    max-width: 650px;

    color: #fff !important;

    font-size: clamp(42px, 4.4vw, 66px);

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -1.8px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.brothers-hero-text {

    max-width: 610px;

    margin: 20px 0 0;

    color: rgba(255,255,255,.88) !important;

    font-size: 15px;

    line-height: 1.55;
}


/* =========================================================
   BUTTONS
========================================================= */

.brothers-hero-buttons {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 25px;
}


.brothers-hero .btn-primary {

    background: #238bc2;

    border-color: #238bc2;

    color: #fff;
}


.brothers-hero .btn-primary:hover {

    background: #1d78a9;

    border-color: #1d78a9;
}


.brothers-hero .btn-secondary {

    background: #fff !important;

    border-color: #fff !important;

    color: #092838 !important;
}


.brothers-hero .btn-secondary:hover {

    background: #edf5f8 !important;

    border-color: #edf5f8 !important;
}


/* =========================================================
   PRICE TEXT
========================================================= */

.brothers-hero-fine {

    margin: 13px 0 0;

    color: rgba(255,255,255,.78) !important;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   MACHINE AREA
========================================================= */

.brothers-hero-machine-area {

    position: absolute;

    right: 0;

    /*
       IMPORTANT:
       machine banner ni andar rahe
    */
    bottom: 0;

    width: 50%;

    height: 100%;

    z-index: 3;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    pointer-events: none;
}


/* =========================================================
   MACHINE GLOW
========================================================= */

.brothers-machine-glow {

    position: absolute;

    right: 8%;

    top: 50%;

    transform: translateY(-50%);

    width: 430px;

    height: 430px;

    border-radius: 50%;

    background: rgba(33, 131, 178, .20);

    filter: blur(65px);

    z-index: -1;
}


/* =========================================================
   MACHINE IMAGE
   FULL MACHINE VISIBLE
========================================================= */

.brothers-hero-machine {

    display: block;

    /*
       Machine width
    */
    width: 560px;

    max-width: 100%;

    /*
       IMPORTANT:
       whole machine fit thase
    */
    height: auto;

    max-height: 470px;

    object-fit: contain;

    object-position: center center;

    /*
       NO oversized scale
    */
    transform: none;

    filter:
        drop-shadow(0 22px 28px rgba(0,0,0,.35))
        drop-shadow(0 4px 10px rgba(0,0,0,.25));
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1500px) {

    .brothers-hero {

        min-height: 600px;
    }


    .brothers-hero-wrap {

        min-height: 600px;
    }


    .brothers-hero-machine-area {

        width: 51%;

        right: 5px;
    }


    .brothers-hero-machine {

        width: 630px;

        max-height: 520px;
    }


    .brothers-machine-glow {

        width: 480px;

        height: 480px;
    }


    .brothers-hero-title {

        font-size: 68px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .brothers-hero {

        min-height: 560px;
    }


    .brothers-hero-wrap {

        min-height: 560px;

        padding-left: 35px;
        padding-right: 35px;
    }


    .brothers-hero-content {

        width: 57%;
    }


    .brothers-hero-title {

        font-size: 48px;
    }


    .brothers-hero-machine-area {

        width: 47%;

        right: 10px;
    }


    .brothers-hero-machine {

        width: 470px;

        max-height: 430px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .brothers-hero {

        min-height: auto;
    }


    .brothers-hero-bg {

        background-position: 65% center;
    }


    .brothers-hero-wrap {

        min-height: auto;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        padding: 50px 20px 0;
    }


    .brothers-hero-content {

        width: 100%;

        max-width: none;
    }


    .brothers-hero-title {

        font-size: 38px;

        line-height: 1.08;

        letter-spacing: -1px;
    }


    .brothers-hero-text {

        font-size: 14px;
    }


    .brothers-hero-buttons {

        flex-wrap: wrap;
    }


    /* =====================================================
       MOBILE MACHINE
    ===================================================== */

    .brothers-hero-machine-area {

        position: relative;

        right: auto;

        bottom: auto;

        width: 100%;

        height: 300px;

        margin-top: 15px;

        display: flex;

        align-items: center;

        justify-content: center;
    }


    .brothers-hero-machine {

        width: 400px;

        max-width: 100%;

        max-height: 290px;

        height: auto;

        transform: none;
    }


    .brothers-machine-glow {

        width: 280px;

        height: 280px;

        right: 50%;

        transform: translate(50%, -50%);
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .brothers-hero-wrap {

        padding-left: 16px;

        padding-right: 16px;
    }


    .brothers-hero-title {

        font-size: 32px;
    }


    .brothers-hero-tags {

        gap: 5px;
    }


    .brothers-hero .tag {

        font-size: 9px;

        padding: 6px 8px;
    }


    .brothers-hero-machine-area {

        height: 260px;
    }


    .brothers-hero-machine {

        width: 350px;

        max-height: 255px;
    }
}

