.applications {
    margin-bottom: 216px;
}

.applications-header {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    margin-bottom: 40px;
    padding-bottom: 1rem;
    border-bottom: none;
}

.applications-header span {
    display: block;
    font-size: 14.4px;
    text-transform: uppercase;
    color: #303030;
}

.applications-header h2 {
    padding-top: 0;
    margin-top: 8px;
    text-align: left;
    font-size: 32px;
    color: #3a3a3a;
}

.applications-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.applications-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 750px;
    padding-top: 1rem;
    padding-bottom: 0;
    margin-bottom: 0;
    font-size: 18px;
    color: #3a3a3a;
}

.applications-item h3 {
    padding-bottom: 0;
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    color: #3a3a3a;
}

.applications-item img {
    margin: 32px auto 0;
    max-height: 271px;
    object-fit: contain;
}

.quality-control h2 {
    padding-top: 32px;
    padding-right: 48px;
    padding-bottom: 16px;
    padding-left: 48px;
    margin-bottom: 0;
    border-bottom: none;
    font-size: 32px;
    line-height: 1.2;
    color: #3a3a3a;
}

.quality-control-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 4rem;
    column-gap: 2rem;
    padding: 0 32px 80px;
}

.applications .tabs {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 2px solid #eee;
}

.applications .tab {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.4em;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.applications .tab svg {
    width: 1em;
    height: 1em;
}

.applications .tab:hover {
    color: #d2232a;
}

.applications .tab.active {
    color: #d2232a;
}

.applications .tab-content {
    display: none;
    padding: 24px 0 0 0;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
    min-height: 72vh;
    margin-top: 1.5rem;
    margin-bottom: 5rem;
}

.applications .applications tab.active .tab-content {
    display: flex;
}

.applications .tab-content.active {
    display: flex;
}

.applications .text-content {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 41%;
    width: 100%;
    padding-top: 48px;
}

.applications .text-content p {
    margin-bottom: 1rem;
}

.applications .text-content p:last-child {
    margin-bottom: 0;
}

.applications .image-content {
    flex: 1;
    max-width: 59%;
    width: 100%;
    max-height: 1181px;
    height: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.applications .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


@media screen and (max-width: 768px) {
    .applications .tabs {
        justify-content: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .applications .tab-content {
        flex-direction: column;
    }
    .applications .text-content,
    .applications .image-content {
        max-width: 100%;
        width: 100%;
    }
    .applications .tab-content {
        margin-bottom: 1rem;
    }
    .applications {
        margin-bottom: 1rem;
    }
    .quality-control-inner {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        row-gap: 4rem;
        column-gap: 2rem;
        padding: 0 0 48px;
    }
}