@use "../abstracts/variables" as vars;

/* ===========================
   Hero 3
   =========================== */
.hero3 {
    position: relative;
    background-color: #F8F9FA; // Light grey base
    background-image: url('../images/hero/hero-thumbbg3_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    overflow: hidden;
    margin-top: -97px;

    @media (max-width: 1600px) {
        margin-top: -100px;
    }

    @media (max-width: 1399px) {
        margin-top: 0;
    }



    &__content {
        position: relative;
        z-index: 5;
        padding: 230px 0 75px;

        @media (max-width: 1399px) {
            padding: 150px 0 25px;
        }

        @media (max-width: 991px) {
            padding: 100px 0 25px;
        }

        @media (max-width: 767px) {
            padding: 75px 0 25px;
        }
    }

    &__badge {
        display: inline-flex;
        align-items: center;
        background-color: vars.$color-white;
        padding: vars.rem(12) vars.rem(32);
        border-radius: vars.rem(50);
        margin-bottom: vars.rem(30);
        gap: vars.rem(15);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

        @media (max-width: 767px) {
            padding: vars.rem(12) vars.rem(20);
            margin-bottom: vars.rem(20);
        }

        &::before {
            content: '';
            display: inline-block;
            width: vars.rem(30);
            height: vars.rem(6);
            background-color: vars.$color-heading;
            border-radius: vars.rem(5);
        }

        span {
            color: vars.$color-primary;
            font-size: vars.rem(15);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;

            @media (max-width: 767px) {
                font-size: vars.rem(12);
            }
        }
    }

    &__title {
        color: vars.$color-heading;
        font-size: clamp(vars.rem(40), 6vw, vars.rem(80));
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.02em;
        margin-bottom: vars.rem(35);

        @media (max-width: 767px) {
            font-size: vars.rem(35);
            line-height: 1.25;
        }
    }

    &__desc {
        color: #5C5B66;
        font-size: vars.rem(18);
        line-height: vars.rem(32);
        margin-bottom: vars.rem(50);
        max-width: vars.rem(650);

        @media (max-width: 767px) {
            font-size: vars.rem(16);
            line-height: 1.6;
        }
    }

    &__btn {
        display: inline-flex;
        align-items: center;
        padding: vars.rem(15) vars.rem(38);
        background-color: vars.$color-primary;
        color: vars.$color-white;
        font-size: vars.rem(15);
        font-weight: 800;
        text-transform: uppercase;
        border-radius: vars.rem(100);
        text-decoration: none;
        position: relative;
        overflow: hidden;
        z-index: 1;
        transition: all 0.4s ease;
        border: none;
        letter-spacing: 0.05em;

        &::after {
            content: '';
            position: absolute;
            right: 0;
            top: 0;
            width: vars.rem(60);
            height: 100%;
            background-color: vars.$color-black;
            clip-path: ellipse(40% 100% at 100% 50%);
            z-index: -1;
            transition: all 0.4s ease;
        }

        i {
            margin-left: vars.rem(15);
            font-size: vars.rem(18);
        }

        &:hover {
            color: vars.$color-white;

            &::after {
                width: 100%;
                clip-path: ellipse(100% 100% at 50% 50%);
            }
        }
    }

    &__thumb {
        position: relative;
        z-index: 2;

        @media (max-width: 991px) {
            text-align: center;
        }

        img {
            max-width: 100%;
            display: block;

            @media (max-width: 991px) {
                margin: 0 auto;
                max-width: 70%;
            }

            @media (max-width: 767px) {
                max-width: 100%;
            }
        }
    }
}