.hero_section {
    position: relative;
    height: 120vh;
    width: 100vw;
    /* max-height: 800px; */
    /* max-width: 1400px; */
    margin: auto;
    /* background: var(--secondary-color); */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("/static/images/others/BannerNew.webp") no-repeat right center/cover;
}
.hero_section_banner {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 30vw;
    box-shadow: 0px 0px 20px #1f1f1f;
    border-radius: 10px;
}

.background_container {
    position: absolute;
    /* top: 50%;
    right: 100px;
    transform: translateY(-50%); */
    bottom: 0;
    right: 0;
    height: 650px;
    width: 710px;
}

.hero_section_content {
    position: absolute;
    max-width: 680px;
    top: 45%;
    left: 5%;
    transform: translateY(-50%);
}

.hero_section_heading {
    font-size: 72px;
    font-weight: 300;
}

.hero_section_description {
    margin: 20px 0;
    font-size: 18px;
    line-height: 1.8rem;
}

.start_test_button {
    margin: 20px 0;
    border: none;
    outline: none;
    background: var(--gradient);
    color: #fff;
    cursor: pointer;
    padding: 15px 40px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
}
.start_test_button:active {
    transform: scale(0.95);
}

.hero_section_image {
    position: absolute;
    max-width: 700px;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
}

.container {
    width: 90%;
    margin: auto;
    padding: 30px 0;
    max-width: 1400px;
}

.main {
    background: url("/static/svg/doodle.svg");
}

.about_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
}

.image_about {
    width: 40%;
    height: 300px;
}

.about_image {
    /* height: 330px; */
    width: 40%;
    border-radius: 5px;
    background: linear-gradient(rgba(17, 17, 17, 0), rgba(17, 17, 17, 1));
    transform-style: preserve-3d;
}

.about_content {
    width: 50%;
    margin: 30px 0;
}

.about_subheading {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--celebrityschool-purple);
}

.about_heading {
    margin: 20px 0;
    font-size: 50px;
    font-weight: 300;
}

.about_description {
    font-size: 18px;
    line-height: 1.8rem;
}

.career_test_container {
    display: flex;
    align-items: center;
}

.illustration {
    width: 50%;
}

.content {
    width: 50%;
}

.career_test_heading {
    font-size: 60px;
    font-weight: 300;
}

.metrics {
    margin: 30px 0;
}

.metric {
    position: relative;
    border-left: 1px solid var(--celebrityschool-purple);
    padding-left: 20px;
    margin-bottom: 30px;
}

.metric::after {
    position: absolute;
    content: "";
    top: 0;
    left: -3px;
    width: 5px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
    background: var(--celebrityschool-purple);
}
.metric.active::after {
    animation: load-metric 6s ease-in forwards;
}

@keyframes load-metric {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

.metric_head {
    font-size: 36px;
    margin-bottom: 10px;
}

.metric_info {
    position: relative;
    line-height: 1.6rem;
    height: 0;
    overflow: hidden;
}

.metric_body {
    opacity: 0;
    transition: opacity 0.2s ease-in;
}

.active .metric_info {
    height: auto;
}

.active .metric_body {
    opacity: 1;
}

.about_section {
    display: flex;
}

.about_title {
    height: 100px;
    position: sticky;
    top: 75px;
    left: 0;
    font-size: 72px;
    font-weight: 300;
}

.about_main {
    margin: 80px 0 0 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about_question {
    font-size: 24px;
}
.about_answer {
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.7rem;
}

.end {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.end_heading {
    font-size: 72px;
    font-weight: 300;
    width: 70%;
    margin-bottom: 20px;
}
.end_subheading {
    font-size: 32px;
    font-weight: 300;
}

.begin_assessment {
    outline: none;
    border: none;
    background: var(--gradient);
    position: relative;
    padding: 15px 20px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 8px;
    font-weight: 600;
    width: 250px;
    /* height: 300px; */
    /* width: 300px; */
    /* margin-left: auto; */
    margin: 40px 0 0 0;
    cursor: pointer;
    display: block;
}
.begin_assessment:active {
    transform: scale(0.95);
}

.begin_assessment_text {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    font-size: 28px;
    transform: translate(-50%, -50%);
}

.analytic {
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.rating {
    padding-left: 20px;
    border-left: 1px solid #ccc;
    margin-right: 50px;
}

.rating_title {
    text-transform: uppercase;
    font-size: 14px;
}

.rating_main {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.rating_number {
    font-size: 14px;
    margin-left: 10px;
}

.rating_stars {
    display: flex;
}
.star_container {
    height: 20px;
    width: 20px;
    margin-right: 5px;
}
.star_container::last-child {
    margin-right: 0;
}

.total_customers {
    font-size: 14px;
    margin-top: 20px;
}

.analytic_container {
    display: flex;
}

.analytic_numbers {
    margin: 0 10px;
    width: 100px;
}

.analytic_numbers_head {
    font-size: 24px;
    font-family: "Poppins", "Roboto", sans-serif;
    color: #fff;
    font-weight: 600;
}
.analytic_numbers_content {
    margin-top: 10px;
    font-size: 14px;
}
.album_prices {
    font-size: 24px;
}
.before_price {
    position: relative;
    margin-right: 20px;
    color: #fff;
}
.before_price::after {
    content: "";
    position: absolute;
    bottom: 15px;
    left: 0;
    transform: rotate(-14deg);
    height: 3px;
    border-radius: 5px;
    width: calc(100% + 2px);
    background: #fff;
}

.hero_section_mobile {
    width: 100vw;
    background: linear-gradient(rgba(17, 17, 17, 0), rgba(17, 17, 17, 1)),
        url("/static/images/others/BannerMobileNew.webp") no-repeat bottom
            center/cover;
    display: none;
}

@media screen and (max-width: 1200px) {
    .hero_section_banner {
        display: none;
    }
    .hero_section {
        height: 750px;
    }
}

@media screen and (max-width: 1100px) {
    .about_main {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 950px) {
    .hero_section {
        padding: 100px 0 50px 0;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 1)),
            url("/static/images/others/BannerNew.webp") no-repeat right
                center/cover;
    }
}

@media screen and (max-width: 800px) {
    .container {
        padding: 0;
    }

    .hero_section {
        padding: 100px 0 50px 0;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 1)),
            url("/static/images/others/BannerNew.webp") no-repeat right
                center/cover;
    }
    .background_container {
        display: none;
    }
    .hero_section_content {
        position: relative;
        top: 0;
        left: 0;
        width: 90%;
        margin: auto;
        transform: translate(0);
    }
    .hero_section_heading {
        font-size: 36px;
    }
    .start_test_button {
        width: 100%;
        padding: 20px 0;
    }
    .about_item {
        flex-direction: column;
    }
    .about_item.reverse {
        flex-direction: column-reverse !important;
    }
    .illustration {
        width: 100% !important;
        margin-bottom: 40px;
    }
    .illustration img {
        width: 100% !important;
    }
    .about_content {
        width: 100%;
    }
    .about_image {
        width: 100%;
    }
    .image_about {
        width: 100% !important;
    }

    .about_heading {
        font-size: 36px;
    }

    .career_test_container {
        flex-direction: column;
    }
    .content {
        width: 100%;
    }
    .career_test_heading {
        font-size: 36px;
    }
    .metric_head {
        font-size: 28px;
    }
    .about_section {
        flex-direction: column;
    }
    .about_title {
        font-size: 48px;
        height: auto;
        position: initial;
    }
    .about_main {
        margin: 40px 0;
    }
    .end_heading {
        font-size: 48px;
    }
    .end_subheading {
        font-size: 24px;
    }
    .begin_assessment {
        /* margin: auto; */
    }

    .analytic {
        flex-direction: column;
        align-items: start;
    }

    .analytic_container {
        width: 100%;
        justify-content: space-between;
        width: 95%;
        margin: 30px auto;
    }
    .analytic_numbers {
        margin: 0;
    }
    .album_prices {
        text-align: center;
    }
}

@media screen and (max-width: 550px) {
    .about_question {
        font-size: 20px;
    }
    .about_answer {
        margin: 10px 0;
        font-size: 14px;
        line-height: 1.4rem;
    }
    .end_heading {
        font-size: 32px;
    }
    .end_subheading {
        font-size: 18px;
    }

    .begin_assessment {
        /* height: 250px;
        width: 250px; */
        width: 100%;
    }
    .begin_assessment_text {
        font-size: 24px;
    }

    .analytic_container {
        width: 100%;
    }

    .analytic_numbers_head {
        font-size: 22px;
    }
    .analytic_numbers_content {
        font-size: 14px;
    }
    .rating_title {
        font-size: 14px;
    }
    .rating_number {
        font-size: 12px;
    }
    .total_customers {
        font-size: 12px;
    }
}

@media screen and (max-width: 450px) {
    .hero_section {
        padding: 0;
        height: auto;
        background: none;
    }
    .hero_section_mobile {
        height: 550px;
        display: block;
    }
}

@media screen and (max-width: 390px) {
    .about_main {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 300px) {
    .hero_section_heading {
        font-size: 24px;
    }
    .hero_section_description {
        font-size: 14px;
        line-height: 1.4rem;
    }
    .start_test_button {
        padding: 15px 0;
        font-size: 14px;
        font-weight: 500;
    }
    .about_subheading {
        font-size: 14px;
        line-height: 1.4rem;
    }
    .about_heading {
        font-size: 24px;
    }
    .about_description {
        font-size: 14px;
        line-height: 1.4rem;
    }
    .career_test_heading {
        font-size: 28px;
    }
    .metric_head {
        font-size: 18px;
    }
    .metric_body {
        font-size: 14px;
    }
    .end_heading {
        font-size: 24px;
    }
    .end_subheading {
        font-size: 14px;
    }
    .begin_assessment {
        /* height: 200px;
        width: 200px; */
    }
    .begin_assessment_text {
        font-size: 18px;
    }
    .analytic_numbers_head {
        font-size: 18px;
    }
    .analytic_numbers_content {
        font-size: 12px;
    }

    .star_container {
        height: 15px;
        width: 15px;
    }
    .rating_title {
        font-size: 12px;
    }
    .rating_number {
        font-size: 12px;
    }
    .total_customers {
        font-size: 12px;
    }
}
