.hero {
    padding-inline: 60px;
    padding-bottom: 150px;
    position: relative;
}

.hero-wrapper {
    background-size: cover;
    height: 630px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    position: relative;
}

.hero-contents {
    position: absolute;
    left: 50px;
    bottom: -87px;
    border-radius: 16px;
    background-color: var(--jaspe);
    padding: 24px 48px;
    transform: rotate(-2deg);
    text-align: center;
    width: 47%;
}

.hero-subscribe .hero-contents {
    left: 90px;
    bottom: 30px;
}

.hero-contents h1 {
    line-height: 98%;
}

.hero-subscribe__form .btn,
.hero-subscribe__form .form-group{
    width: 100%;
}
.hero-subscribe__form .form-group .form-control,
.hero-subscribe__form .btn{
    height: 60px;
}
.hero-subscribe__form .parsley-errors-list {
    background-color: transparent;
    color: var(--bs-danger);
    margin: 0;
}
.hero-subscribe__form .parsley-errors-list li {
    padding: 0;
}
.hero-subscribe__form .btn:hover {
    color: var(--malachite) !important;
}

.hero-icon {
    position: absolute;
    right: 30px;
    bottom: 20px;
    width: 233px;
}

.hero-subscribe__form .btn.text-yellow:hover {
    color: var(--jaspe) !important;
}
.terms-text p {
    margin-bottom: 0;
}
.terms-text a {
    color: var(--malachite) !important;
    filter: none !important;
      text-decoration: underline;
}

@media (max-width: 1442px) {
    .hero-contents h1 {
        font-size: 60px;
    }
}

@media (max-width: 1288px) {
    .hero-contents h1 {
        font-size: 50px;
    }
}
@media (max-width: 1065px) {
    .hero-wrapper {
        height: 570px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding-inline: 20px;
        padding-bottom: 270px;
    } 
    
    .hero-subscribe {
        padding-bottom: 60px;
    }  
    
    .hero-wrapper {
        height: 190px;
    }
    .hero-subscribe .hero-wrapper {
        height: 170px;
    }
    .hero-contents span,
    .hero-contents p {
        font-size: 15px;
    }
    .hero-subscribe__form {
        flex-wrap: wrap;
    }
    .hero-subscribe__form .form-group,
    .hero-subscribe__form .btn {
        width: 100%;
    }
    .hero-icon {
        width: 123px;
    }
    .hero-contents {
        left: 40px;
        bottom: -136px;
        width: 57%;
        padding: 20px;
        background-color: var(--selenite);
    }
    .hero-subscribe .hero-contents {
        width: 90%;
        margin: auto;
        position: static;
        margin-top: -6px;
    }
    .hero-subscribe .hero-contents .hero-subscribe__form .form-control {
        border-color: var(--grenat) !important;
    }
    .hero-subscribe .hero-contents p a {
        color: var(--grenat) !important;
    }
    .hero-subscribe .hero-contents .hero-subscribe__form .btn {
        background-color: var(--jaspe) !important;
        border-color: var(--jaspe) !important;
        color: #fff !important;
    }
    .hero-contents h1 {
        font-size: 36px;
    }
    .hero-contents h1,
    .hero-contents span,
    .hero-contents p {
        color: var(--grenat) !important;
    }
}

@media (max-width: 535px) {
    .hero-contents {
        left: 0;
        width: 100%;
        bottom: -209px;
                position: relative;

    }
}
