.home-third5 {
    padding: 60px 0;
    overflow: hidden;
    background-color: var(--SECONDARY_MINOR_COLOR);
}

.home-third5__container {
    max-width: var(--CONTAINER_WIDTH);
    margin: 0px auto;
    padding: 0 20px;
}

.home-third5 .row__element {
    margin-bottom: 60px;
}

.home-third5 .section-title {
    color: var(--SECONDARY_MAJOR_COLOR);
}

.home-third5 .row__element:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .home-third5 .row__element {
        margin-bottom: 20px;
    }
}

.home-third5 .card {
    border: 0;
    padding: 0 30px;
    position: relative;
    background: transparent;
}

.home-third5 .card-img {
    width: calc(100% + 60px);
    margin-left: -30px;
    overflow: hidden;
    z-index: 9;
    border-radius: 0;
}

.home-third5 .card-img img {
    max-width: 100%;
    transition: all 0.3s ease-in-out;
}

.home-third5 .card-body {
    z-index: 10;
    padding: 30px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    transition: 0.3s;
    background: var(--SECONDARY_MINOR_COLOR);
    border-top: 4px solid var(--SECONDARY_MINOR_COLOR);
}

.home-third5 .card-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--SECONDARY_MAJOR_COLOR);
}

.home-third5 .card-text {
    color: var(--TEXT_COLOR);
}

.home-third5 .read-more a {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    transition: 0.3s;
    text-decoration: none;
    color: var(--PRIMARY_MAJOR_COLOR);
}

@media (min-width: 768px) {
    .home-third5 .read-more a:hover {
        text-decoration: var(--TEXT_DECORATION);
        opacity: 0.5;
    }

    .home-third5 .card:hover img {
        transform: scale(1.1);
    }

    .home-third5 .card:hover .card-body {
        border-color: var(--PRIMARY_MAJOR_COLOR);
    }
}
