.hero {
    padding: 120px 10px 0 10px;
    min-height: 100vh;
    background: linear-gradient(160deg, rgba(0, 94, 82, 1) 42%, rgba(28, 186, 164, 1) 98%, rgba(29, 188, 166, 1) 82%);
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    min-height: calc(100vh - 120px);
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    min-width: 320px;
    min-height: 320px;
}


.content h4 {
    font-size: 16px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.content h2 {
    font-size: 22px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.content .hero-title {
    font-size: 55px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--span-color);
    margin: 0;
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.typing-wrap {
    display: inline-flex;
    min-width: 230px;
    white-space: nowrap;
}

#text {
    color: aliceblue;
    display: inline-block;
    white-space: nowrap;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    background: var(--span-color);
    margin-left: 6px;
    vertical-align: -0.15em;
}


.content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    padding-right: 30px;
    color: var(--p-color);
    min-height: 52px;
}

.content .btn {
    padding: 12px 30px;
    background: var(--span-color);
    color: var(--btn-b-text);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 14px;
}

.content .btn:hover {
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.4);
    transform: translateY(-4px);
}


.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;


}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 570px;
    display: block;
    aspect-ratio: 570 / 571;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero {
        padding: 90px 5px;
    }

    .hero .container {
        flex-direction: column;
        gap: 0px;
        text-align: left;
    }

    .content {
        order: 2;
        margin-top: 0;
        justify-content: center;
        width: 100%;
    }

    .content p {
        padding-right: 0;
    }

    .content p span {
        display: none;
    }

    .content h2 {
        font-size: 22px;
    }

    .content .hero-title {
        font-size: 34px;
    }

    .typing-wrap {
        min-width: 155px;
        display: inline-block;
        white-space: nowrap;

    }

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

    .hero-image img {
        width: 100%;
        max-width: 540px;
        height: auto;
        aspect-ratio: 570 / 571;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }

    #text {
        font-family: var(--font-family);
    }
}