.navbar-brand img {
    max-height: 70px;
}

.anmbtn {
    position: relative;
    background: none;
    color: #169848;
    width: 160px;
    height: 72px;
    border: 1px solid #169848;
    font-size: 1.2rem;
    font-weight: bold;
    transition: .5s;
    overflow: hidden;
}

.anmbtn-white {
    color: white;
    width: 160px;
    height: 72px;
    border: 1px solid white;
    font-size: 1.2rem;
    font-weight: bold;
    transition: .5s;
    overflow: hidden;
}

.anmbtn:focus {
    outline: none;
}

.anmbtn:before {
    content: '';
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, 1);
    width: 30px;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 1;
    filter: blur(20px);
    transform: translateX(-130px) skewY(-15deg);
}

.anmbtn:after {
    content: '';
    display: block;
    position: absolute;
    width: 30px;
    height: 100%;
    left: 30px;
    top: 0;
    opacity: 0;
    filter: blur(20px);
    transform: translate(-100px) scaleX(-15deg);
}

.anmbtn:hover {
    background: #169848;
    cursor: pointer;
    color: white;
}

.anmbtn:hover:before {
    transform: translateX(300px) skewX(-15deg);
    opacity: 1;
    transition: 2s;
}

.anmbtn:hover:after {
    transform: translateX(300px) skewX(-15deg);
    opacity: 1;
    transition: .7s;
}

.box_container {
    margin-left: 0%;
    margin-right: 0%;
}

.box1,
.box2 {
    position: relative;
    width: auto;
    background-color: white;
    color: black;
    display: grid;
    padding-top: .5rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.box3 {
    position: relative;
    height: 260px;
    width: auto;
    background-color: white;
    color: black;
    display: grid;
    padding-top: .5rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: -30%;
}

.box4 {
    position: relative;
    height: 260px;
    width: auto;
    background-color: #169848;
    color: white;
    display: grid;
    padding-top: .5rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: -30%;
}

.box_icon {
    font-size: 3rem;
}

.box_heading {
    font-weight: bolder;
    font-size: 1.5rem;
}

.box_heading_colored {
    color: #169848;
}

.box_details {
    font-size: 1rem;
    font-weight: lighter;
}

.our-services-left {
    background-size: cover;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: whitesmoke;
}

.service-img {
    height: 100px;
}

.service-box {
    background-color: white;
    margin: 8px;
    padding: 10px 20px;
}

.service-box-icon {
    font-size: 4rem;
}

.service-box-heading {
    font-weight: bolder;
    font-size: 1.5rem;
}

.grey-background {
    background-color: whitesmoke;
}

.heading {
    font-size: 3.2rem;
    font-weight: bold;
}

.orange-background {
    background-color: #169848;
    color: white;
}

.social {
    font-size: 2rem;
}

.social i:hover {
    cursor: pointer;
    color: #169848;
}

.projectbox {
    background-color: grey;
    height: 375px;
    position: relative;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.6);
}

.projectbox h4 {
    position: absolute;
    bottom: 10px;
}

.page-title {
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 0 0 2000px rgb(0 0 0 /30%);
    color: white;
    margin-left: 0px;
    margin-right: 0px;
}

.orange {
    font-size: 3rem;
    font-weight: 600;
    color: #169848;
}

.box5 {
    height: 300px;
}

.profile {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: whitesmoke;
    padding: 10px;
    color: #1c2e5a;
    margin-top: 10px;
}

.profile img {
    width: 100%;
    margin-bottom: 25px;
}

.profile p {
    color: #169848;
}

.anmbox {
    position: relative;
    cursor: pointer;
    margin-top: 10px;
}

.anmbox::after,
.anmbox::before {
    content: '';
    height: 0;
    width: 0;
    background: linear-gradient(135deg, #169848, #1c2e5a);
    position: absolute;
    z-index: -1;
    animation: none;
}

.anmbox:hover::after,
.anmbox:hover::before {
    animation: stroke .6s linear;
    animation-fill-mode: forwards;
}

.anmbox::before {
    left: 0;
    top: -5px;
}

.anmbox::after {
    right: 0;
    bottom: -5px;
}

.hoverwhite {
    background-color: whitesmoke;
}

.details {
    text-align: justify;
    font-family: 'Poppins', sans-serif;
}

.grey {
    background-color: whitesmoke;
}

.green-big-text {
    font-size: 5rem;
    color: #169848;
    line-height: .3;
    margin-top: 10px;
}

.green-big-text+span {
    line-height: 1;
    color: #1c2e5a;
    font-size: 2.3rem;
}

.green-mid {
    font-size: 3rem;
    color: #169848;
    line-height: 1.5;
    margin-top: 10px;
}

.details-large {
    font-size: 1.2rem;
    text-align: justify;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.img-mobile {
    display: none;
}

a {
    text-decoration: none !important;
    color: black;
}

.card{
    height: 100%;
}

@media screen and (max-width: 600px) {
    .anmbtn {
        display: none;
    }

    .box3,
    .box4 {
        margin-top: 0%;
        min-height: 350px;
        padding-bottom: 0;
        padding-top: 0;
        margin-bottom: 0;
    }

    .heading {
        font-size: 2.2rem;
    }

    .box1,
    .box2 {
        padding-top: .5rem;
        padding-bottom: 0rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .service-box-heading {
        font-size: 1.2rem;
    }

    .box_details {
        line-height: 1 !important;
    }

    .projectbox {
        width: 50vw;
        padding: 1rem !important;
        height: 280px;

    }

    .page-title {
        height: 200px;
    }

    .green-big-text {
        font-size: 3rem;
        color: #169848;
        line-height: .3;
        margin-top: 10px;
    }

    .green-big-text+span {
        color: #1c2e5a;
        font-size: 1.2rem;
    }

    .green-mid {
        font-size: 2rem;
        color: #169848;
        line-height: 1;
        margin-top: 10px;
    }

    .details-large {
        font-size: 1rem;
        text-align: justify;
        font-family: 'Poppins', sans-serif;
        line-height: 1;
    }

    .img-desktop {
        display: none;
    }

    .img-mobile {
        display: block;
    }
}

@keyframes stroke {
    0% {
        height: 5px;
        width: 0px;
    }

    50% {
        height: 5px;
        width: calc(100% + 5px);
    }

    100% {
        height: calc(100% + 10px);
        width: calc(100% + 5px);
    }
}