.mouse-over::after {
    background-color: #3fab37;
}

.active2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 3px;
    background-color: #3fab37;
    animation: mouseover 1s ease-in-out forwards;
}

.active3::after {
    width: 100%;
}

.top-container {
    margin-top: 140px;
    width: 100%;
    height: 500px;
    transition: all 0.5s ease-in-out;
}

.top {
    margin-top: 80px;
}

.top-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;

}

.top-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-content {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
}

.top-content h3 {
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 8px;
}

.content {
    background-image: url("../images/vector_0.jpg");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 200px 200px;
}

.bg-content {
    background-image: url("../images/layer_1.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    align-items: center;
}

.bg-content p {
    width: 80%;

}

.news-bg {
    width: 100%;
    position: relative;
}

.news-bg::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 70%;
    background-color: #243772;
    background-image: url("../images/bg-pattern-blue.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: -1;
}


.news {
    justify-content: space-between;
    align-items: flex-end;
}


.story-btn {
    display: inline-block;
    height: 50px;
    padding: 0 30px;
    border-radius: 50px;
    background-color: #243772;
    border: 1px solid #243772;
    line-height: 50px;
    color: #fff;
    transition: all 0.5s ease-in-out;
}

.story-btn:hover {
    transform: scale(0.9);
}

.news-all-btn {
    border: 1px solid #3fab37;
    background-color: none;
    text-transform: uppercase;
}

.news-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.news-item {

    background-color: #ebeff2;
}

.news-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.news-img {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
}

.news-left-item {
    width: 60%;
}

.news-text {
    overflow: hidden;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-clamp: 3;
    -webkit-line-clamp: 3;
}

.news-right {
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
}

.news-right-item {
    flex: 1;
}

.news-right-item h3 {
    overflow: hidden;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-clamp: 3;
    -webkit-line-clamp: 3;
}

.news-right-item a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item:hover h3 {
    text-decoration: underline;
}

.news-item:hover img {
    transform: scale(1.05);
}

.news-item:hover .read-more span {
    background-image: url("../images/arrow-right-green.svg");
    margin-left: 15px;
}

.read-more {
    display: flex;
    align-items: center;
}

.read-more span {
    margin-left: 5px;
    width: 15px;
    height: 15px;
    background-image: url("../images/arrow-right-black.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: all 0.5s ease-in-out;
}

.what-we-do-swiper .swiper-slide:hover .read-more span {
    background-image: url("../images/arrow-right-green.svg");
    margin-left: 15px;
}

.what-content::after {
    content: "";
    width: 9.375rem;
    height: 3.75rem;
    background-size: 9.375rem 3.75rem;
    position: absolute;
    top: -1.8125rem;
    right: 0;
    z-index: 99;
    background-image: url("../images/vector-card.svg");
    background-repeat: no-repeat;
}

.what-content .what-title {
    padding: 1.8125rem 0px;
}

.item-content {
    list-style: disc;
    padding-left: 20px;
}

.what-img {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

.what-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.detail-img {
    width: 70%;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
}

.contact-left {
    width: 60%;
    margin-right: 5%;
}

.contact-right {
    width: 35%;
}

.map {
    width: 100%;
    height: 500px;
}
.map iframe{
    width: 100%;
}
@media screen and (max-width: 965px) {
    .news-left-item {
        width: 100%;
    }

    .mr-10 {
        margin-right: 0px !important;
    }

    .news-right-item {
        margin-top: 20px;
    }

    .bg-content {
        background-image: none;
    }

    .bg-content p {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .top-container {
        margin-top: 80px;
        width: 100%;
        height: 250px;
        transition: all 0.5s ease-in-out;
    }

    .top-container .py-20 {
        padding-bottom: 2rem;
    }

    .top {
        margin-top: 80px;
    }

    .contact-left {
        width: 100%;
    }

    .contact-right {
        width: 100%;
        margin-top: 30px;
    }
}