/********** Template CSS **********/
:root {
    --bs-tertiary: #687693;
}

.back-to-top {
    position: fixed !important;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Font ***/
.ff-open-sans {
    font-family: "Open Sans", sans-serif;
}

.ff-roboto-slab {
    font-family: "Roboto Slab", serif;
}

.fw-normal {
    font-weight: 400 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 600 !important;
}


/*** Button ***/
.btn.btn-primary,
.btn.btn-secondary {
    position: relative;
    font-family: "Roboto Slab", serif;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    overflow: hidden;
    z-index: 1;
}

.btn.btn-primary {
    color: var(--bs-secondary);
}

.btn.btn-secondary {
    color: var(--bs-primary);
}

.btn.btn-primary:hover {
    color: var(--bs-primary);
}

.btn.btn-secondary:hover {
    color: var(--bs-secondary);
}

.btn.btn-primary::before,
.btn.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: .5s;
    z-index: -1;
}

.btn.btn-primary:hover::before,
.btn.btn-secondary:hover::before {
    left: 0;
}

.btn.btn-primary:hover::before {
    background: var(--bs-secondary);
}

.btn.btn-secondary:hover::before {
    background: var(--bs-primary);
}

.btn {
    transition: .5s;
}

.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;
    font-weight: normal;
}


/*** Nav Bar ***/
.sticky-top {
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin: 0 10px;
    padding: 0;
    outline: none;
    font-size: 16px;
    color: var(--bs-light);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 575.98px) {
    .sticky-top {
        padding: 0 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .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 ***/
.hero-header,
.page-header {
    position: relative;
}

.hero-header::before,
.page-header::before {
    position: absolute;
    content: "";
    width: 100%;
    top: -500%;
    left: 0;
    bottom: 0;
    background: var(--bs-secondary);
    z-index: -1;
}

.header-carousel {
    position: relative;
    padding-right: 75px;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: -75px;
    width: 0;
    height: 100%;
    border: 75px solid;
    border-color: transparent transparent transparent var(--bs-dark);
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-primary);
}


/*** Section Title ***/
.section-title {
    position: relative;
    padding-left: 25px;
    display: inline-block;
    text-transform: uppercase;
    line-height: 1rem;
    letter-spacing: 2px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: var(--bs-dark);
}

.section-title.text-primary::before {
    background: var(--bs-primary);
}


/*** About ***/
.about-exp {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*** Scrolling ***/
.scrolling {
    white-space: nowrap;
}

.scrolling-text {
    display: inline-block;
    animation: scroll-left 20s linear infinite;
}

.scrolling-text img {
    width: 100px;
    margin: 0 15px;
}

.scrolling-text:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/*** Practice ***/
@media (max-width: 768px) {
    .practice-item {
        border: none !important;
        box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    }
}

@media (min-width: 992px) {
    .practice-item.border-lg-end {
        border-right: 1px solid #dee2e6;
    }

    .practice-item.border-lg-end-0 {
        border-right: none !important;
    }

    .practice-item.border-lg-bottom-0 {
        border-bottom: none !important;
    }
}

.practice-item,
.practice-item * {
    transition: .5s;
}

.practice-item:hover {
    background: var(--bs-secondary);
}

.practice-item:hover * {
    color: var(--bs-white);
}

.practice-item > i.fa {
    display: inline-block;
    transition: transform .5s ease;
}

.practice-item:hover > i.fa {
    animation: swingHorizontal .7s ease;
}

@keyframes swingHorizontal {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.work-process {
    padding: 0;
    list-style: none;
}

.work-process li {
    position: relative;
    display: flex;
    padding-bottom: 25px;
}

.work-process li::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    top: 0;
    left: 22px;
    background: #DEE2E6;
    z-index: -1;
}

.work-process li:last-child {
    padding-bottom: 0;
}

.work-process li:last-child:after {
    display: none;
}

.work-process li h4 {
    width: 45px;
    height: 45px;
    margin: 0 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bs-white);
    border: 1px solid #DEE2E6;
}

.service-list a {
    position: relative;
    transition: .5s;
}

.service-list a::after {
    position: absolute;
    content: "\f061";
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
}

.service-list a:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-color: var(--bs-primary) !important;
    letter-spacing: 1px;
}

.contact-item {
    position: relative;
    display: block;
    transition: .5s;
}

.contact-item:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary) !important;
}

.contact-item * {
    transition: .5s;
}

.contact-item:hover i,
.contact-item:hover p {
    color: var(--bs-white) !important;
}

.contact-item:hover h5 {
    letter-spacing: 1px;
}


/*** Case ***/
.case-item {
    position: relative;
    transition: .5s;
}

.case-item:hover {
    background: var(--bs-secondary);
    border-color: var(--bs-secondary) !important;
}

.case-item * {
    transition: .5s;
}

.case-item:hover * {
    color: var(--bs-white) !important;
}

.case-item h1 {
    color: var(--bs-white);
    -webkit-text-stroke: 1px var(--bs-primary);
    text-shadow:
        -1px -1px 0 var(--bs-primary),
        1px -1px 0 var(--bs-primary),
        -1px  1px 0 var(--bs-primary),
        1px  1px 0 var(--bs-primary);
}

.case-item:hover h1 {
    color: var(--bs-secondary) !important;
}

.case-item:hover .border-bottom {
    border-color: rgba(255, 255, 255, .3) !important;
}


/*** Team ***/
.team-item .team-img a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(38, 43, 62, .7);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-img a {
    height: 100%;
    opacity: 1;
}

.team-item .team-des {
    position: relative;
    height: 110px;
    text-align: center;
    overflow: hidden;
}

.team-item .team-des .team-text {
    position: absolute;
    width: 100%;
    height: 110px;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-des .team-text {
    top: -110px;
}

.team-item .team-des .team-social {
    position: absolute;
    width: 100%;
    height: 110px;
    top: 110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-des .team-social {
    top: 0;
}

.team-item .team-social .btn:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    margin-bottom: 55px;
}

.testimonial-carousel .owl-item .testimonial-item img {
    width: 75px;
    height: 75px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item img {
    border-color: var(--bs-primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item p {
    color: var(--bs-secondary);
}

.testimonial-carousel .owl-item.center .testimonial-item i,
.testimonial-carousel .owl-item.center .testimonial-item h5 {
    color: var(--bs-primary) !important;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}


/*** Blog ***/
.blog-item {
    position: relative;
    transition: .5s;
}

.blog-item:hover {
    background: var(--bs-secondary);
    border-color: var(--bs-secondary) !important;
}

.blog-item * {
    transition: .5s;
}

.blog-item:hover h4,
.blog-item:hover p {
    color: var(--bs-white) !important;
}

.blog-item:hover .border-top {
    border-color: rgba(255, 255, 255, .3) !important;
}


/*** FAQs ***/
.accordion-button:not(.collapsed) {
    color: var(--bs-white);
    background-color: var(--bs-primary);
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-button:focus {
    border: none !important;
}


/*** Contact ***/
.contact-form .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/*** Footer ***/
.footer {
    color: var(--bs-light);
    background: var(--bs-dark);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .list-group li {
    background: transparent;
    border-color: rgba(255, 255, 255, .15);
}

.footer .list-group li a {
    color: var(--bs-light);
}

.footer .list-group li a:hover {
    color: var(--bs-primary);
}

.footer .list-group li small {
    color: var(--bs-tertiary);
}


/*** Copyright ***/
.copyright {
    color: var(--bs-white);
    background: #121624;
}