.section-hero {
    background-color: #F1E5D5;
}

.hero-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    height: 420px;
    overflow: hidden;
}

.hero-container .hero-left-side {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
    margin-left: 0;
    margin-right: auto;
    z-index: 999;
}

[dir="rtl"] .hero-container .hero-left-side {
    justify-content: right;
}

.hero-left-subside {
    display: block;
    position: relative;
    height: 100%;
    width: 50%;
}

.hero-container .hero-left-side .hero-left-subside:after,
.hero-container .hero-left-side .hero-left-subside:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background-color: #F1E5D5;
    z-index: -1;
}

[dir="rtl"] .hero-container .hero-left-side .hero-left-subside:after,
[dir="rtl"] .hero-container .hero-left-side .hero-left-subside:before {
    left: 0;
    right:  auto;
}

.hero-container .hero-left-side .hero-left-subside:before {
    transform: skew(-20deg);
}

.hero-container .hero-left-side .hero-left-subside:after {
    transform: skew(20deg);
}

.hero-container .hero-text-container {
    display: flex;
    height: 100%;
    flex-wrap: wrap;
    padding: 15px;
    align-content: center;
    justify-content: left;
    max-width: 550px;
}

[dir="rtl"] .hero-container .hero-text-container {
    justify-content: right;
}

.hero-text-title h1 {
    font-weight: bold;
    font-size: 40px !important;
    text-align: left;
    margin-bottom: 20px;
    color: #333233 !important;
}

[dir="rtl"] .hero-text-title h1 {
    text-align: right;
}

.hero-text-subtitle p {
    font-size: 18px;
}

.hero-container .hero-button-container {
    display: flex;
    justify-content: left;
    gap: 15px;
}

body #container .hero-container .hero-button-container .btn-primary,
body #container .hero-container .hero-button-container .btn-secondary {
    padding-left: 30px;
    padding-right: 30px;
    white-space: nowrap;
}

.hero-container .hero-image-container {
    width: 50%;
    height: 100%;
    margin-left: auto;
}

[dir="rtl"] .hero-container .hero-image-container {
    margin-left: 0;
    margin-right: auto;
}

.hero-container .hero-image-container > div {
    position: relative;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #f6f1e6;
}

.hero-container .hero-image-container img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .hero-container {
        flex-wrap: wrap;
        height: auto;
    }

    .hero-container .hero-text-container {
        max-width: 100%;
    }

    .hero-container .hero-text-title h1 {
        font-size: 28px !important;
        text-align: center;
    }

    .hero-container .hero-text-subtitle p {
        font-size: 16px;
        width: 100%;
        max-width: unset;
        text-align: center;
    }

    .hero-container .hero-left-subside {
        width: 100%;
    }

    .hero-container .hero-left-side {
        order: 2;
        position: relative;
        margin-top: 30px;
        padding-bottom: 30px;
    }

    .hero-container .hero-image-container {
        order: 1;
        position: relative;
        width: 100%;
    }

    .overlay-hero-text-container {
        width: 100%;
    }

    .hero-container .hero-button-container {
        flex-wrap: wrap;
        width: 100%;
    }

    .hero-container .hero-right-side:after,
    .hero-container .hero-right-side:before {
        content: "";
        position: absolute;
        width: 50%;
        height: 400px;
        background-color: #F1E5D5;
        z-index: 9;
        bottom: -200px;
    }

    .hero-container .hero-right-side:before {
        right: 0;
        left: auto;
        transform: skew(-70deg);
    }

    .hero-container .hero-right-side:after {
        left: 0;
        right: auto;
        transform: skew(70deg);
    }

    .button-container {
        width: 100%;
    }
}
