/********** Template CSS **********/
body{
    color: #616161;
    font-size: 1.25rem;
    line-height: 1.9;
}
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1{
    color: #52552c;
    font-weight: 500;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}

.text-dark{
    color: var(--bs-secondary) !important;
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #fff;
}

.btn-secondary,
.btn-outline-secondary:hover {
   color: #fff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.btn-equal{
    width: 280px;
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.icon-box-primary img{
    max-width: 120px;
}

.icon-box-primary::before {
    background: var(--bs-primary);
}

.icon-box-light::before {
    background: var(--bs-light);
}


/*** Navbar ***/
/*.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 55px;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #898b71;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}*/

#navigation{
    width: 100%;
    max-width: 1460px;
}

#navigation .nav-link{
    color: #212529;
}

#navigation .nav-link:hover, 
#navigation .nav-link:focus{
    color: #52552c;
}

.rounded{
    border-radius: 1rem !important;
}

/*@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .sticky-top {
        margin-top: -34px;
    }

    .navbar {
        height: 68px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}*/


/*** Header ***/
/*@media (min-width: 992px) {
    .header-carousel,
    .page-header {
        margin-top: -34px;
    }
}*/

/* Smooth fade between banners */
#header-carousel .carousel-item {
    transition: opacity 1.5s ease-in-out !important;
}

/* Prevent the zoomed image from overflowing */
#header-carousel,
#header-carousel .carousel-inner {
    overflow: hidden;
}

/* Ken Burns effect */
#header-carousel .carousel-item img {
    transform: scale(1);
    will-change: transform;
}

/* Animate every active slide, including the first one */
#header-carousel .carousel-item.active img {
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}



.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: end;
    background: rgba(3, 27, 78, .1);
    padding-bottom: 10rem;
    z-index: 1;
    position: relative;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--bs-primary);
    border: 15px solid var(--bs-primary);
}

/*@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}*/

.page-header {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonial.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}


/*** About ***/
.about-fact {
    width: 220px;
    height: 220px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
    line-height: 1.4;
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}


/*** Service ***/
.container-service {
    position: relative;
}

.container-service::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 45px 30px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
    text-align: center;
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: var(--bs-primary);
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item:hover img{
    filter: brightness(0) invert(1);
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
    background: var(--bs-dark);
}

.service-item:hover .icon-box-primary i {
    color: var(--bs-white) !important;
}


/*** Team ***/
.container-team {
    position: relative;
}

.container-team::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}

.team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Footer ***/
.footer {
    background: #5a0c60;
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 1);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link:focus,
.footer .btn.btn-link:hover {
    color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

.footer a{
    color: rgba(255, 255, 255, 0.5);
}

.footer a:focus,
.footer a:hover{
    color: rgba(255, 255, 255, 0.8);
}

.copyright {
    border-top: 1px dashed rgba(255, 255, 255, .2);
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

#mapid{
    width: 100%; 
    height: 380px; 
    position: relative;
    z-index: 1;
}
.border-dark{
    border-color: #52552c !important;
}
#header-nav .container{
    max-width: 1640px;
}
#navbar .nav-link{
    color: #52552c;
}
/*#header.scrolled{
    background: #52552c;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
#header-nav.navbar{

}*/

#header{
    height: 248px;
    background: #fff;
}

#header #header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;

    background: transparent;
    box-shadow: none;

    transform: translateY(0);
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

#header.scrolled #header-nav{
    background: #52552c;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}


#header.scrolled #navbar{
    display: none !important;
}
#header.scrolled .nav-link{
    color: #fff;
}
#header.scrolled .nav-link svg{
    fill: #fff;
}
.line-divider{
    background-color: #52552c !important;
    margin: 0;
    opacity: 1;
}
body.nav-open {
    overflow: hidden;
    margin: 0;
    touch-action: none;
    -ms-touch-action: none;
    height: 100vh;
}
@media (min-width: 1200px) {
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .nav-item.dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

@media only screen and (min-width:1200px) {
    .hamburger,
    .kebab-toggler,
    .social-menu,
    #navigation .submenu-button {
        display: none;
    }
}
@media only screen and (max-width:1365.98px) {
    #navigation .nav-link{
        font-size: 1rem;
    }
    .dropdown-item{
        font-size: 1rem;
    }
}
@media only screen and (max-width:1199.98px) {
    #header-nav .container{
        position: relative;
    }
    #header-nav .navbar-brand{
      padding: 10px 0;
    }
    #header{
        height: auto;
    }
    #header.scrolled #header-nav{
        background: #fff;
        position: fixed;
    }
    #header #header-nav{
        position: relative;
        transform: none;
    }
    /*.navbar .navbar-brand img {
        max-width: 210px;
        object-fit: contain;
        height: auto;
    }*/
    .hamburger {
        padding: 10px 15px;
        display: inline-block;
        cursor: pointer;
        transition-property: opacity, filter;
        transition-duration: .15s;
        transition-timing-function: linear;
        font: inherit;
        color: inherit;
        text-transform: none;
        background-color: transparent;
        border: 0;
        margin: 0;
        overflow: visible;
        position: absolute;
        top: 10px;
        right: 50px;
        z-index: 9999;
    }
    .hamburger-box {
        width: 32px;
        height: 21px;
        display: inline-block;
        position: relative
    }
    .hamburger-inner {
        display: block;
        top: 50%;
        margin-top: -1.5px
    }
    .hamburger-inner,
    .hamburger-inner::after,
    .hamburger-inner::before {
        width: 32px;
        height: 3px;
        background-color: #2e2e2e;
        border-radius: 4px;
        position: absolute;
        transition-property: transform;
        transition-duration: .15s;
        transition-timing-function: ease
    }
    .hamburger-inner::after,
    .hamburger-inner::before {
        content: "";
        display: block
    }
    .hamburger-inner::before {
        top: -9px
    }
    .hamburger-inner::after {
        bottom: -9px
    }
    .hamburger--collapse .hamburger-inner {
        top: auto;
        bottom: 0;
        transition-duration: .13s;
        transition-delay: .13s;
        transition-timing-function: cubic-bezier(.55, .055, .675, .19)
    }
    .hamburger--collapse .hamburger-inner::after {
        top: -18px;
        transition: top .2s cubic-bezier(.33333, .66667, .66667, 1) .2s, opacity .1s linear
    }
    .hamburger--collapse .hamburger-inner::before {
        transition: top .12s cubic-bezier(.33333, .66667, .66667, 1) .2s, transform .13s cubic-bezier(.55, .055, .675, .19)
    }
    .hamburger--collapse.is-active .hamburger-inner {
        transform: translate3d(0, -9px, 0) rotate(-45deg);
        transition-delay: .22s;
        transition-timing-function: cubic-bezier(.215, .61, .355, 1)
    }
    .hamburger--collapse.is-active .hamburger-inner::after {
        top: 0;
        opacity: 0;
        transition: top .2s cubic-bezier(.33333, 0, .66667, .33333), opacity .1s linear .22s
    }
    .hamburger--collapse.is-active .hamburger-inner::before {
        top: 0;
        transform: rotate(-90deg);
        transition: top .1s cubic-bezier(.33333, 0, .66667, .33333) .16s, transform .13s cubic-bezier(.215, .61, .355, 1) .25s
    }
    .slide-out-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 20px;
        padding: 40px 0;
        background-color: #fff;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        border: 0;
        transform: translateY(100%) perspective(1px);
        transition: height .8s ease-in-out;
        overflow-y: scroll;
        border-radius: 0
    }
    .slide-out-nav.nav-open {
        height: calc(100% - 120px);
        transform: translateY(0) perspective(1px);
        visibility: visible;
        opacity: 1;
    }
    #navigation .nav-item{
        display: block;
        text-align: center;
        margin: 0 !important;
        position: relative;
    }
    .slide-out-nav #navigation li a {
        margin-right: 0;
        display: inline-block;
        padding: 20px 10px;
        color: #898375
    }
    .slide-out-nav.fadeInDown {
        -webkit-animation-name: unset;
        animation-name: unset
    }
    .kebab-toggler {
        position: absolute;
        top: 2px;
        right: 0;
        width: 50px;
        height: 52px;
        display: block;
        padding: 12px 10px;
        z-index: 99999;
    }
    .kebab-toggler.active .circleKebab circle {
        transition: .3s
    }
    .social-menu {
        color: #898375;
        background: #fff;
        display: none;
        text-align: center;
        z-index: 9;
        padding-top: 10px
    }
    .social-menu.menu-on {
        display: block;
        position: fixed;
        width: 100%;
        left: 0;
        top: 90px;
    }
    .social-menu li {
        position: relative;
        padding: 10px 20px
    }
    .social-menu li a{
        letter-spacing: normal;
        font-size: 1rem;
    }
    .social-menu .icon {
        color: #2e2e2e
    }
    .socmedia {
        margin-top: 15px;
        background-color: #52552c;
        box-shadow: 0 0 10px 3px rgb(0 0 0 / 5%)
    }
    .socmedia .social-info {
        padding: 8px 15px 1px 8px
    }
    .socmedia .social-info a {
        color: #52552c;
        background-color: #fff;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        line-height: 43px;
        text-align: center;
        display: inline-block
    }
    #navigation .dropdown-toggle::after{
        display: none;
    }

    #navigation .submenu-button{
        color: #2e2e2e;
        position: absolute;
        right: 20px;
        top: 0px;
        height: 48px;
    }

    #navigation .dropdown-menu.open{
        position: relative;
        display: block;
        text-align: center;
        padding: 0;
        border: 0;
    }

    #header.scrolled .nav-link{
        color: initial;
    }
}
@media only screen and (max-width:991.98px) {
    .carousel-control-prev,
    .carousel-control-next{
        display: none;
    }
}
@media only screen and (max-width:767.98px) {
    #header-nav .navbar-brand img{
        max-width: 200px;
    }
    .slide-out-nav.nav-open {
        height: calc(100% - 90px);
    }
    .btn-equal{
        display: block;
        margin: 0 auto 3px !important;
    }
    .display-3{
        font-size: calc(1.2rem + 3.3vw);
    }
}
