.hero-pattern {
    width: 2214px;
    left: 50%;
    position: absolute !important;
    top: 82%;
    transform: translate(-50%, -55%);
    z-index: -1;
    height: 2019px;
    right: 0;
    bottom: 0;
}

.hero {
    position: relative;
    min-height: 400px;
    margin-top: 220px;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    padding-top: 0;
    color: black;
    margin-bottom: 1205px;
}

.hero .container {
    width: 100%;
    display: flex;
    position: relative;
    z-index: 2;
}

.hero .hero-content {
    min-width: 500px;
    max-width: 800px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero .hero-image {
    width: 100%;
}

.hero .hero-title {
    color: #323649;
    text-align: left;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
}

/* ===== MEDIA ===== */

@media (max-width: 1400px) {
    .hero .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 1200px) {
    .hero .hero-content {
        max-width: 600px;
    }

    .hero .container {
        flex-direction: row;
    }

    .hero .hero-title {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 1100px) {
    .hero .hero-content {
        min-width: 440px;
    }
}

@media (max-width: 1024px) {
    .hero .hero-title {
        font-size: 2.4rem;
    }

    .hero .hero-content {
        align-items: center;
    }

    .container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
}

@media (max-width: 1023px) {
    .hero .container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .hero .hero-content {
        min-width: auto;
        max-width: 100%;
    }

    .hero .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .hero .hero-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 140px;
    }

    .hero .hero-title {
        font-size: 28px;
    }
}

@media (max-width: 620px) {
    .hero .hero-title {
        font-size: 26px;
    }
}

@media (max-width: 500px) {
    .hero .hero-title {
        font-size: 24px;
    }
}
