.background-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-image: url(/static/assets/hero-mask.svg);
    background-position: 50px -10px;
}

@media (max-width: 1200px) {
    .background-mask {
        background-position: -190px 0
    }
}

@media (max-width: 992px) {
    .background-mask {
        background-position: -280px 0
    }
}

@media (max-width: 768px) {
    .background-mask {
        display: none;
    }

    .head {
        background-image: none;
    }
}


.background-gradient {
    background: linear-gradient(90deg, #fff 35%, rgba(0, 0, 0, 0) 35%);
    height: 100%;
}

.head {
    background-image: linear-gradient(306deg, var(--primary-color-light), var(--primary-color));
    background-color: #fff;
    width: 100%;
    height: fit-content;
    color: #4a4a4a;
    position: relative;
    overflow-x: hidden;
}

.mobile .head {
    background-image: none;
}

.head-title {
    font-size: 60px;
    color: rgb(74, 74, 74);
}

.mobile .head-title {
    font-size: 35px;
}

.head-subtitle {
    font-size: 40px;
    font-style: italic !important;
    color: rgb(74, 74, 74);
}

.mobile .head-subtitle {
    font-size: 25px;
}

.head-sub-link {
    padding: 5px 20px;
    font-size: 20px;
    font-weight: bold;
    color: rgb(74, 74, 74);
    border: 1px solid rgb(74, 74, 74) !important;
    border-radius: 9999px 9999px 0 9999px !important;
}

.head-sub-link:hover {
    color: rgb(30, 30, 30);
    border-color: var(--primary-color);
    cursor: pointer;
}

.main-page-image {
    display: block;
    max-width: 400px;
    /* Layered box-shadow for smoother final result */
    box-shadow: 0 1px 1px rgba(0,0,0,0.08),
                0 2px 2px rgba(0,0,0,0.10),
                0 4px 4px rgba(0,0,0,0.12),
                0 8px 8px rgba(0,0,0,0.14),
                0 16px 16px rgba(0,0,0,0.16);
}

/* Services and features */
.index-service-part-container {
    background: rgb(64, 61, 122);
    background: linear-gradient(0deg, rgba(64, 61, 122, 1) 0%, rgba(77, 77, 220, 1) 100%);
    color: #f9f9fe
}
.index-services-title {
    display: flex;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold
}

.index-services-sub-title {
    padding-top: 0.5rem;
    display: flex;
    justify-content: center;
    font-weight: 400;
    font-size: 1.2rem
}

.index-services-container {
    display: flex;
    justify-content: center;
    padding-top: 3rem;
}

.index-services-service-box {
    padding: 1.5rem 1.5rem;
    background: #675ec0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 300ms ease-in;
}
.index-services-service-box.show {
    opacity: 1;
}

/* Testimonials */
.index-testimonials-part-container {
    background: rgb(24, 24, 26);
    background: linear-gradient(0deg, rgba(24, 24, 26, 1) 0%, rgba(38, 38, 40, 1) 100%);
    color: #fefefe;
}
.index-testimonials-testimonial-box {
    padding: 1.5rem 1.5rem;
    color: #fefefe;
    background: #2f2e31;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 300ms ease-in;
}
.index-testimonials-testimonial-box.show {
    opacity: 1;
}