/* Horizon Family Section */
.horizon-family {

    padding: 0 20px;
    padding-top: 120px;
    position: relative;
}

.horizon-family__container {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.horizon-family__title {
    font-family: var(--font-family-archer, 'Archer', serif);
    font-weight: 700;
    font-size: 62px;
    line-height: 100%;
    letter-spacing: -1px;
    text-align: center;
    padding-bottom: 20px;
    color: #196B81;
    margin: 0 0 40px 0;
    position: relative;
}
.horizon-family__title:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 80%;
    height: 15px;
    background-image: url('../images/BRUSHES.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateX(-50%);
}
.horizon-family__image-wrapper {
    position: relative;
    margin: 60px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.horizon-family__image {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 12px 12px 0px 0px #196B81;
}

.horizon-family__arrow {
    position: absolute;
    bottom: 32px;
    left: 40px;
    height: auto;
}

.horizon-family__description {
    font-family: var(--font-family-archer, 'Archer', serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0px;
    text-align: center;
    color: #000;
    margin: 0;
    max-width: 980px;
}

.horizon-family__decor {
    position: absolute;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.horizon-family__decor--top-left {
    top: -8%;
    left: 0;
}

.horizon-family__decor--bottom-right {
    bottom: -4%;
    right: 0;
}

/* Responsive */
@media (max-width: 1000px) {
    .horizon-family__image-wrapper{
        margin-top: 0;
    }
    .horizon-family__title {
        font-size: 48px;
    }

    .horizon-family__image {
        height: 450px;
    }

    .horizon-family__description {
        font-size: 18px;
    }
    .horizon-family__arrow{
        max-width: 150px;
    }

    .horizon-family__decor {
        display: none;
    }

    .horizon-family__decor--top-left {
        top: 20px;
        left: 20px;
    }

    .horizon-family__decor--bottom-right {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .horizon-family {
        padding: 30px 20px 30px;
        padding-bottom: 0;
    }

    .horizon-family__title {
        font-size: 36px;
    }

    .horizon-family__image {
        height: 350px;
        border-radius: 24px;
    }

}

@media (max-width: 500px) {
    .horizon-family__title {
        font-size: 28px;
    }

    .horizon-family__image {
        height: 280px;
    }

    .horizon-family__description {
        font-size: 16px;
    }
    .horizon-family__arrow{
        max-width: 70px;
        bottom:15px;
        left: 20px;
    }
}

