.hero {
    position: relative;
    margin-top: 40px;
    width: 100%;
    z-index: 4;
}

.hero-main {
    position: relative;
    background-image: url('../images/hero-l.webp');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    width: 100%;
    min-height: 740px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    padding-right: 140px;
}

.hero-contents {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-contents h1 {
    font-size: 70px;
    font-weight: 900;
    color: var(--w-color);
}

.hero-contents h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--w-color);
}

.hero-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero .secondary-button {
    background: var(--p-color);
    color: var(--w-color) !important;
    border: 2px solid var(--w-color);
}

@media (max-width: 1400px) {
    .hero-main {
        min-height: 600px;
        padding-right: 100px;
    }

    .hero-contents {
        gap: 24px;
    }

    .hero-contents h1 {
        font-size: 60px;
    }

    .hero-contents h2 {
        font-size: 32px;
        font-weight: 800;
    }
}

@media (max-width: 1200px) {
    .hero {
        margin-top: 32px;
    }

    .hero-main {
        min-height: 560px;
        padding-right: 80px;
    }

    .hero-contents h1 {
        font-size: 50px;
    }

    .hero-contents h2 {
        font-size: 26px;
        font-weight: 800;
    }
}

@media (max-width: 992px) {

    .hero {
        margin-top: 32px;
    }

    .hero-main {
        min-height: 460px;
    }

    .hero-contents {
        gap: 10px;
    }

    .hero-contents h1 {
        font-size: 44px;
    }

    .hero-items {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-main {
        background-image: url('../images/hero-s.webp');
        min-height: 700px;
        padding: 0;
        justify-content: center;
        align-items: end;
    }

    .hero-items {
        padding: 0;
        margin-bottom: 40px;
    }

    .hero-contents h1 {
        font-size: 50px;
        text-align: center;
    }

    .hero-contents h2 {
        font-size: 28px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero {
        margin-top: 16px;
    }

    .hero-main {
        min-height: 540px;
    }

    .hero-items {
        padding: 0;
        margin-bottom: 40px;
        gap: 30px;
    }

    .hero-contents h1 {
        font-size: 40px;
    }

    .hero-contents h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-main {
        min-height: 480px;
        border-radius: 40px;
    }

    .hero-items {
        padding: 0;
        margin-bottom: 30px;
        gap: 12px;
    }

    .hero-contents {
        gap: 8px;
    }

    .hero-contents h1 {
        font-size: 36px;
    }

    .hero-contents h2 {
        font-size: 20px;
        line-height: 40px;
    }

    .a-buttons {
        padding: 8px !important;
    }

}

@media (max-width: 390px) {

    .hero-main {
        min-height: 390px;
        border-radius: 30px;
    }

    .hero-contents {
        gap: 4px;
    }

    .hero-contents h1 {
        font-size: 24px;
    }

.hero-contents h2 {
    font-size: 16px;
    line-height: 2;
}

    .hero-items {
        width: 90%;
    }
}

@media (max-width: 360px) {
    .hero-contents {
        gap: 8px;
    }

    .hero-items {
        gap: 18px;
    }
}