/********** Template CSS **********/
::selection {
  /* CSS properties to apply to selected text */
  background-color: #009e3e52;
}
:root {
    --primary: #009e3e;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}
ol, ul {
    list-style: none;
    padding: 0;
}
h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

.font-weight-semi-bold {
    font-weight: 600 !important;
}

.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 24px;
    height: 24px;
}

.btn-sm-square {
    width: 24px;
    height: 24px;
}

.btn-lg-square {
    width: 24px;
    height: 24px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}
.btn-check:focus+.btn-primary, .btn-primary:focus {
    color: #000;
    background-color: #ef8200;
    border-color: #cf7100;
    box-shadow: 0 0 0 .25rem rgba(207, 70, 77, 0.5);
}
.form-floating .btn-submit {
    color: #000;
    background-color: #ef8200;
    border-color: #cf7100;
}
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.padding-0 {
    padding: 0;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active, #menu-mainmenu li.current-menu-item a  {
    color: var(--primary);
}
.top-header {
    background: #ffffff;
}
.top-header ul li {
    display: inline-block;
}
.top-header ul li a {
    color: #6B6A75;
    font-size: 12px;
    border-right: 1px solid #dee2e6;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .25rem;
    padding-bottom: .25rem;
}
.top-header ul li:last-child a {
    border-right: none;
}
.top-header p, .top-header .text-body {
    font-size: 12px;
}
h1 a {
    font-size: 32px;
    line-height: 36px;
    font-family: 'Open Sans', sans-serif;
}
h1 a span {
    display: block;
}
.sticky-top h1 a span {
    display: inline-block;
}
#menu-mainmenu li {
    display: inline-block;
}


.copyright p {
    font-size: 14px;
}
.service-item .d-flex {
    overflow: hidden;
}
.top-footer-block {
    display: inline-block;
}
.top-footer-block .social-link {
    /* padding: 10px 30px; */
    border: 1px solid #2bc568;
    border-radius: 40px;
    /* display: block; */
    margin-left: 30px;
}
.top-footer-block .social-link .social-link-block {
    padding: 5px 20px;
}
.top-footer-block .social-link h3 {
    padding: 5px 0 0;
    font-size: 14px;
    margin: 0;
    font-style: italic;
}
.top-footer-block .social-link .btn-lg {
    padding: .25rem 0.5rem;
    font-size: 1rem;
     border-radius: 0; 
}
.top-footer-block .social-link a {
    color: #c7ffdd;
}
.top-footer-block .social-link a:hover {
    color: #fff;
}
.icon-image {
    padding: 10px;
}
.footer-link ul li a {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(2 89 47 / 48%);
    z-index: 1;
}
.carousel-caption:hover {
    background: rgb(2 89 47 / 28%);
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
    font-size: 14px;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}
.form-horizontal .form-group {
    margin: 0 0 20px;
    background: #fff;
    padding: 10px 15px 5px;
    border-radius: 6px;
    border: 1px solid #ddd;
}
label.text-small {
    font-size: 14px;
    margin: 6px 0 10px;
}
label.text-small input {
    margin-right: 4px;
}
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

@media (max-width: 776px) {
    h1 a {
        font-size: 22px;
        line-height: 30px;
    }
    .px-5, .container-fluid.p-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .container-fluid.px-5, .container-fluid.p-0, .container-fluid.px-0, .container-fluid.footer-link {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .navbar-brand img {
        height: 72px;
    }
    #menu-mainmenu li {
        display: block;
    }
    #menu-mainmenu li a {
        display: block;
        text-align: center;
        background: #ddd;
        border-bottom: 1px solid #fff;
    }
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
    .sticky-top h1 a span {
        display: block;
    }
    .display-1 {
        font-size: calc(1.25rem + 2.5vw);
    }
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}