/*=========== HEADER ==============*/
@media (min-width: 992px) {

    .navbar-expand-lg > .container {
        position: relative;
    }

    .navbar-expand-lg .navbar-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        margin: 0.35rem 1rem;
    }

}

.navbar {
    box-shadow: none;
    background-color: var(--primary-bold);
}

@media (min-width: 1200px) {
    .navbar-expand-lg .navbar-nav {
        flex-wrap: nowrap;
        justify-content: space-around;
    }

    .navbar {
        height: 80px;
    }

    .navbar .navbar-brand {
        position: absolute;
    }
}

@media (max-width: 1300px) {
    .navbar .navbar-brand .logo {
        height: 50px;
    }
}


header .navbar-light .navbar-nav .nav-link {
    color: var(--white) !important;
    text-transform: capitalize;
    font-size: 16px;
    padding: 0.5rem;
}

header .navbar-light .navbar-nav .nav-item:hover {
    color: var(--white) !important;
    background-color: var(--primary);
}

header .navbar-light .navbar-nav .nav-item.active {
    color: var(--white);
    background-color: var(--primary);
    position: relative;

}

header .nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
}

header .nav-link.dropdown-toggle::after {
    border: none;
    background-size: 13px;
    margin-left: 0.5rem;
}

header .nav-link:hover.dropdown-toggle::after {
    color: var(--primary-light);
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    padding: 0;
    box-shadow: none;
    background: var(--white);
    border-radius: 0;
    color: var(--black-medium);
}


@media (min-width: 992px ) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        top: calc(100%);
    }

    .nav-item:hover > .dropdown-menu {
        display: block;
    }

    .nav-item {
        padding: 1rem 0;
    }

}


.navbar-expand-lg .navbar-nav .dropdown-item {
    color: var(--black-medium);
    display: block;
    white-space: pre-line;
    line-height: 1.3;
}

.navbar-expand-lg .navbar-nav .dropdown-item:hover,
.navbar-expand-lg .navbar-nav .dropdown-item:focus {
    background-color: var(--primary-xlight);
}

/*============== END HEADER STYLE ===========*/


/*============== FOOTER STYLE ===========*/

footer {
    background-color: var(--primary-bold);
    color: var(--white);
    padding: 3rem 0;
}

.footer-socials a {
    color: white;
    margin-left: 1rem;
}

.footer-socials a:hover {
    color: var(--primary-light);
}

/*============== FOOTER STYLE ENDS ==========*/

main#main {
    min-height: 80vh;
}

.btn-search {
    background-color: transparent;
    padding: 0 1rem;
    border-radius: 0 10px 10px 0;
    border: 2px solid var(--primary-light);
}

.input-group.search:hover .form-control, .input-group.search:hover .btn-search {
    border: 2px solid var(--primary-xlight);
}

.search-content {
    display: flex;
    align-items: center;
    border: 1px solid var(--grey-3);
    padding: 1rem;
    margin: 1rem 0;
}

.search-content .img-wrapper {
    height: 10rem;
    width: 10rem;
    overflow: hidden;
    margin-right: 1rem;
}

.search-content .img-wrapper img {
    height: 100%;
    width: 100%;
}

.search-content .content {
    flex: 1;
}

.search-content .content .title {
    color: var(--primary);
    text-decoration: underline;
}

.search-content .content .title:hover {
    text-decoration: none;
}

@media (max-width: 574px) {
    .search-content {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        border: 1px solid var(--grey-3);
        padding: 1rem;
        margin: 1rem 0;
    }

    .search-content .img-wrapper {
        height: 12rem;
        width: 80vw;
        overflow: hidden;
        margin-right: 0;
        margin-bottom: 1rem;
    }

}

.error-bg {
    background: url('../images/bg/404-image.jpg') center no-repeat;
    background-size: cover;
    min-height: 80vh;
}

.error-content {
    padding: 8rem 1rem 0 1rem;
}

.error-content .content {
    margin-bottom: 5rem;
}

.error-content .content .title {
    font-size: 90px;
    color: var(--primary-light);
    text-shadow: 1px 2px var(--white);
}

.error-content .content .text {
    color: var(--primary-bold);
    text-shadow: 1px 2px var(--white);
}

.error-content .content small, .error-content .home-link {
    text-shadow: 1px 2px var(--white);
}

.error-content .home-link {
    font-family: Spartan-Bold;
    color: var(--primary);
}

.error-content .home-link:hover {
    color: var(--primary-light);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2rem;
}

.contact-info .text {
    flex: 1;
    margin-left: 1rem;
}

.contact-info .text p {
    font-size: 13px;
    font-weight: 600;
    margin: 2px 0;
}

.contact-form {
    background-color: var(--primary-bold);
    color: white;
    padding: 4rem 2rem;
}

@media (max-width: 575px) {
    .contact-form {
        padding: 2rem 1rem;
    }
}

.contact-form .form-group {
    margin-bottom: 2rem;
}

.contact-form .form-control {
    border: transparent;
    border-bottom: solid 2px var(--white);
    background-color: transparent;
    border-radius: 0px;
    font-size: 16px;
    /*height: calc(1.5em + 1.25rem + 10px);*/
    padding: 0.35rem 1.25rem;
    color: white;
}

.contact-form .form-control:hover, .contact-form .form-control:focus {
    border-bottom: solid 2px var(--primary-light);
}

.contact-form .form-control::placeholder {
    color: white;
}

.contact-form textarea.form-control {
    border: solid 2px var(--white);
    background-color: transparent;
    border-radius: 0px;
    font-size: 16px;
    padding: 1rem 1.25rem;
    color: white;
}

.contact-form textarea.form-control:hover, .contact-form textarea.form-control:focus {
    border: 2px solid var(--primary-light);
}

.contact-footer {
    margin-top: 2rem;
}

.contact-footer p {
    font-family: Spartan-Bold;
    color: var(--primary-light);
}

.contact-socials a {
    color: var(--primary);
    margin: 1vw;
}

.contact-socials a:hover {
    color: var(--primary-light);
}

.contact-map {
    background-color: var(--grey-3);
    border: none;
    height: 45vw;
    margin-bottom: 2rem;
    width: 100%;
}

.service-card {
    background-color: var(--primary);
    color: var(--white);
    border: 10px solid var(--light);
    margin: 1rem 0;
}

.service-card .img-wrapper {
    height: 15rem;
    overflow: hidden;
}

.service-card .img-wrapper img {
    height: 100%;
    width: 100%;
}

.service-card .content {
    padding: 1.5rem;
}

.service-card .title {
    color: var(--primary-xlight);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.service-card .title:after {
    content: "";
    height: 1px;
    width: 45%;
    background: white;
    position: absolute;
    top: -0.5rem;
}

.service-card .service-link {
    color: var(--primary-xlight);
    font-family: Spartan-Bold;
    border-bottom: 1px solid var(--white);
    font-size: 14px;
}

.service-card .title:hover, .service-card .service-link:hover {
    color: var(--primary-light);
}

.news-card {
    border: 1px solid var(--primary-xlight);
    margin: 2rem 0.5rem;
}

.news-card .img-wrapper {
    height: 20rem;
    overflow: hidden;
    padding: 1rem;
}

.news-card .img-wrapper img {
    height: 100%;
    width: 100%;
}

.news-card .name {
    border-top: 2px solid var(--primary-xlight);
    border-bottom: 2px solid var(--primary-xlight);
    padding: 0 0.5rem;
    margin: 1rem 0;
}

.news-card .content {
    padding: 1rem;
    text-align: center;
}

.news-card .read-more {
    position: absolute;
    background-color: white;
    padding: 0.5rem 3rem;
    bottom: 1rem;
    color: var(--primary-light);
    text-decoration: underline;
    font-family: Spartan-Bold;
    text-transform: uppercase;
    left: calc(50% - 6rem);
    text-decoration-thickness: 2px;
    text-decoration-color: var(--primary);
}

.news-card .read-more:hover {
    text-decoration: none;
}

.cat {
    background-color: var(--secondary);
    text-transform: uppercase;
    color: white;
    font-family: Spartan-Bold;
    padding: 1.5rem;
    font-size: 13px;
}

.news.img-wrapper {
    height: 28rem;
    overflow: hidden;
    margin: 1.5rem 0;
}

.news.img-wrapper img {
    height: 100%;
    width: 100%;
}

.news-icons span {
    font-size: 13px;
    font-family: Spartan-Bold;
}

@media (max-width: 767px) {
    .news.img-wrapper {
        height: 55vw;
        overflow: hidden;
        margin: 1.5rem 0;
    }

    .cat {
        padding: 0.5rem;
        font-size: 12px;
    }
}

.news-info .text, .news-author {
    font-family: Spartan-Bold;
    color: var(--black-light);
}

.news-info .text > .time {
    border-left: 2px solid var(--black-light);
    margin: 0 1rem;
    padding-left: 1rem;
}

ul.detail-list {
    list-style: none;
}

ul.detail-list li:before {
    content: url('../icons/icon-list-item.svg');
    margin-right: 1rem;
}

ul.detail-list li {
    margin-bottom: 0.5rem;
}

.author-detail {
    background-color: var(--primary-xlight);
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    border-radius: 10px;
    margin: 3rem 0 5rem 0;
}

.author-detail .content {
    flex: 1;
    margin-left: 2rem;
}

.author-detail .img-wrapper {
    height: 12rem;
    width: 12rem;
    border-radius: 50%;
    overflow: hidden;
}

.author-detail .img-wrapper img {
    height: 100%;
    width: 100%;
}

@media (max-width: 767px) {
    .author-detail {
        background-color: var(--primary-xlight);
        padding: 2rem;
        display: flex;
        align-items: start;
        flex-direction: column;
        border-radius: 10px;
    }

    .author-detail .img-wrapper {
        height: 7rem;
        width: 7rem;
        border-radius: 10px;
    }

    .author-detail .content {
        margin-left: 0rem;
        margin-top: 1rem;
    }
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0 30px 0 0;
    padding: 1rem;
    margin-bottom: 3rem;
    box-shadow: 10px 0px 15px 1px var(--light);
}

.team-card .img-wrapper {
    height: 15rem;
    width: 15rem;
    overflow: hidden;
    border-radius: 50%;
    border: 8px solid var(--primary-light);
    box-shadow: -14px -7px 0px 0 var(--primary-xlight);
    margin: 1rem 0;
}

@media (max-width: 767px) {
    .team-card .img-wrapper {
        height: 8rem;
        width: 8rem;
    }
}

.team-card .img-wrapper img {
    height: 100%;
    width: 100%;
}

.team-card .content {
    margin: 1rem 0;
}

.team-card .content .name {
    color: var(--primary-bold);
    font-size: 16px;
    text-transform: uppercase;
    font-family: Spartan-Bold;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.team-card .content .position {
    font-size: 12px;
    color: var(--primary-light);
    text-transform: capitalize;
    font-weight: bold;
}

.team-card .content .text {
    margin: 2rem 0;
    max-height: 4rem;
    overflow: auto;
}

.sdg-title {
    background-color: var(--light);
    padding: 8vw 3vw 4vw 3vw;
    height: 100%;
}

.sdg-title .arrow {
    background-color: var(--xlight);
    height: 3rem;
    width: 3rem;
    position: absolute;
    bottom: -1.5rem;
    left: calc(50% - 1.5rem);
    rotate: 135deg;
}

@media (max-width: 575px) {
    .sdg-title .arrow {
        height: 1.5rem;
        width: 1.5rem;
        bottom: -0.75rem;
        left: calc(50% - 0.75rem);
    }
}

.sdg-goal {
    background-color: var(--light);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

@media (max-width: 991px) {
    .sdg-goal {
        display: none;
    }
}

.bg-xlight .container {
    padding: 3rem 0 10rem 0;
}

.undp-role {
    margin-top: -5rem;
    margin-bottom: 5rem;
}

@media (min-width: 1200px) {
    .sdg > .col-lg-3 {
        max-width: 20%;
    }
}

.logo-slider .slider-item {
    margin: 2rem;
}

@media (min-width: 991px) {
    .sdg a.disabled {
        pointer-events: none;
        cursor: default;
    }
}

.solution-bg {
    background: url("../icons/our-solutions-img-2.svg") no-repeat center;
    background-size: cover;
    padding: 6rem 0;

}

.solution {
    margin: 5rem 0;
    position: relative;
}

.solution .section-title {
    position: absolute;
    background-color: white;
    left: 11vw;
    padding: 1rem 4rem;
    top: -2rem;
}

@media (max-width: 575px) {
    .solution .section-title {
        left: 1rem;
        padding: 0.5rem 2.5rem;
        top: -2rem;
        margin-bottom: 1rem;
    }
}

.solution-card {
    border: 1px solid var(--primary-xlight);
    background-color: white;
    padding: 1rem;
    margin: 0 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    height: 100%;
    position: relative;
    z-index: 5;
}

.solution-card p {
    max-height: 15rem;
    text-align: center;
    overflow: auto;
}

.solution-hr {
    display: block;
    background-color: var(--primary-xlight);
    width: 100%;
    height: 2px;
    position: absolute;
    top: calc(50%);
    z-index: -1;
}

@media (max-width: 991px) {
    .solution-hr {
        display: none;
    }
}

.cta-bg {
    background-color: #D4D3EA;
    padding: 3rem;
    color: var(--primary-bold);
}

.cta-bg h5 {
    font-family: Spartan-Regular;
    font-weight: bolder;
    text-transform: capitalize;
}

.service-detail .img-wrapper-1 {
    height: 30rem;
    overflow: hidden;
}

.service-detail .img-wrapper-1 img {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .service-detail .img-wrapper-1 {
        height: 20rem;
    }
}

@media (max-width: 575px) {
    .service-detail .img-wrapper-1 {
        height: 15rem;
    }
}

.owl-carousel .owl-stage {
    display: flex;
}

.service-slider .slider-item {
    display: flex;
    flex: 1 0 auto;
    height: 100%;
}

.service-slider .slider-item .img-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 2rem 0.5rem;
}

.service-file {
    background-color: var(--primary);
    padding: 2rem;
    margin: 1rem 0;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-file a {
    color: var(--primary-xlight);
}

.service-file a:hover {
    color: var(--primary-light);
}

.service-file .download {
    font-size: 13px;
    font-family: Spartan-Bold;
}

.abt-ceo .title {
    font-family: Spartan-Regular;
    color: var(--primary);
}

.abt-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 1rem 0;
}

.abt-count .number {
    font-size: 70px;
    font-family: Spartan-Bold;
    color: var(--primary-light);
}

.abt-count .number i {
    font-size: 40px;
    color: var(--primary-xlight);
}

.abt-count .title {
    text-transform: uppercase;
    font-size: 18px;
    font-family: Spartan-Bold;
    border-bottom: 1.5px solid var(--primary-xlight);
    color: var(--primary-xlight);
}

@media (max-width: 575px) {
    .abt-count .number {
        font-size: 35px;

    }

    .abt-count .number i {
        font-size: 20px;
    }

    .abt-count .title {
        font-size: 13px;

    }
}

.about-us {
    position: relative;
    margin: 8rem 0;
}

.about-us .tab-content {
    border: 1px solid var(--primary-xlight);
    padding: 10% 6% 14% 6%;
}

.about-us .nav {
    display: flex;
    justify-content: center;
    width: 50rem;
    border-bottom: none;
    background-color: white;
    padding: 0rem 4rem;
    position: absolute;
    top: -2rem;
    left: calc(50% - 25rem);
}

.about-us .logo-wrapper {
    width: 24vw;
    background-color: white;
    overflow: hidden;
    position: absolute;
    left: calc(50% - 12vw);
    bottom: -6vw;
}

.about-us .nav-tabs .nav-link {
    color: var(--primary);
    font-family: Spartan-Bold;
    background-color: var(--primary-xlight);
    border: none;
    border-radius: 0;
    padding: 1rem 1.5rem;
}

.about-us .nav-tabs .nav-link:hover, .about-us .nav-tabs .nav-link.active {
    background-color: white;
    box-shadow: 0px 3px 1px 1px var(--black-xlight);
}

@media (max-width: 991px) {
    .about-us .nav {
        width: 40rem;
        background-color: white;
        padding: 0rem 2rem;
        position: absolute;
        top: -2rem;
        left: calc(50% - 20rem);
    }

    .about-us .nav-tabs .nav-link {
        padding: 1rem;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .about-us .nav {
        width: 20rem;
        background-color: white;
        padding: 0rem 2rem;
        position: absolute;
        top: -2.5rem;
        left: calc(50% - 10rem);
    }

    .about-us .nav-tabs .nav-link {
        padding: 0.5rem;
        font-size: 13px;
    }

    .about-us .tab-content {
        padding: 14% 6%;
    }
}

.our-client .img-wrapper {
    background-color: var(--light);
    height: 100%;
    overflow: hidden;
    padding: 2vw 3vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.our-client.cta-bg {
    background-color: white;
    box-shadow: 0 -2px 10px 2px var(--black-xlight);
}

.home.jumbotron-fluid {
    background: linear-gradient(to bottom, rgba(26, 36, 77, 0.4), rgba(24, 36, 80, 0.38)),
    url("../images/bg/404-image.jpg") center no-repeat;
    background-size: cover;
    min-height: 30rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.home-news-card {
    border: 1px solid var(--primary-xlight);
    position: relative;
    padding: 1rem;
    margin: 1rem 1rem 4rem 1rem;
}

.home-news-card .img-wrapper {
    height: 20rem;
    overflow: hidden;

}

.home-news-card .img-wrapper img {
    height: 100%;
    width: 100%;
}

.home-news-card .category {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 13px;
    position: absolute;
    top: 2rem;
    left: 2rem;
    text-transform: uppercase;
}

.home-news-card .btn-bg {
    background-color: white;
    padding: 0rem 2rem;
    position: absolute;
    right: -1px;
    bottom: -2rem;
}

.home-news-card .btn-bg .btn {
    font-size: 14px !important;
    padding: 1rem !important;
}

.home-service-bg {
    background-color: var(--primary-xlight);
    padding: 2rem;
    align-items: center;
    display: flex;
}

.service a {
    color: var(--primary);
}

.service a:hover {
    color: var(--primary-light);
}

.b-right {
    border-right: 1px solid white;
}

.service:after {
    content: '';
    width: 5rem;
    height: 2px;
    background: white;
    position: absolute;
    top: 1.5rem;
    left: 3rem;
}

.home-service {
    padding: 0 2rem;
}

.home-service-bg .arrow {
    height: 3rem;
    width: 3rem;
    position: absolute;
    top: calc(50% - 1.5rem);
    left: -1.5rem;
    border-top: solid 1.5rem transparent;
    border-bottom: solid 1.5rem transparent;
    border-right: solid 3rem var(--primary-xlight);
}

@media (max-width: 991px) {
    .home-service-bg .arrow {
        display: none;
    }
}

.block2 {

}

.about-tabs {
    display: flex;
}

.about-tabs > .nav {
    width: 35%;
    position: relative;
}

.about-tabs > .nav:before {
    content: "";
    position: absolute;
    width: 3px;
    background: var(--primary-xlight);
    height: 100%;
    right: 8px;
    top: 0;
    transition: all 0.35s;
}

.about-tabs > .tab-content {
    width: 65%;
}

.about-tabs .tab-content > .tab-pane {
    padding: 3rem 2rem;
}

.about-tabs .nav-link {
    display: block;
    padding: .75rem 1rem;
    color: var(--primary-bold);
}

.about-tabs .nav-pills .nav-link {
    border-radius: 0;
    position: relative;
    transition: all 0.35s;
    font-size: 14px;
    padding-right: 2rem;
}

.about-tabs .nav-pills .nav-link:after {
    content: "";
    position: absolute;
    width: 3px;
    background: var(--primary-xlight);
    height: 100%;
    right: 8px;
    top: 0;
    transition: all 0.35s;
}

.about-tabs .nav-pills .nav-link.active:after {
    background: var(--primary-light);
}

.about-tabs .nav-pills .nav-link:before {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    background: #fff;
    border-radius: 50%;
    border: solid 3px var(--primary-xlight);
    display: inline-block;
    right: 0;
    top: 0;
    z-index: 1;
    transition: all 0.35s;
}

.about-tabs .nav-pills .nav-link.active:before {
    border-color: var(--primary);
}

.about-tabs .nav-pills .nav-link:first-child.active:before {
    top: 5px;
}

.about-tabs .nav-pills .nav-link.active,
.about-tabs .nav-pills .show > .nav-link {
    font-family: "Spartan-Bold";
    color: var(--primary-bold);
    background-color: transparent;
    padding-bottom: 2.5rem;
}


@media (min-width: 992px) {
    .block2 {
        display: flex;
        position: relative;
    }

    .block2-left {
        width: calc(50% + 6rem);
        background-color: var(--light);
    }

    .block2-left > .container {
        max-width: calc((50 / 100) * 960px);
        margin-left: auto;
        margin-right: 6rem;
    }

    .block2-right {
        width: 50%;
        margin: 2rem 0 2rem -6rem;
        background: url(../images/bg/home-img-1.jpg) center no-repeat;
        background-size: cover;
        position: absolute;
        right: 0;
        top: 0;
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .block2-left > .container {
        max-width: calc((50 / 100) * 1170px);
    }
}

@media (min-width: 1300px) {
    .block2-left > .container {
        max-width: calc((50 / 100) * 1270px);
    }
}
