/************************#020f20;*******/
/********* General CSS *********/
/*******************************/
:root {

    --primary-color: #061a30;
    --primary-color-trans: #061a3046;
    --secondary-color: #d4a017;
    --accent-color: #28a745;
    --neutral-color: #a5a5a5;
    --text-color: #333333;
    --text-white-color: #fff;


}

body {
    color: var(--text-color);
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    text-align: right;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    font-style: italic;
    color: var(--primary-color);
}

a {
    color: var(--text-color);
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: var(--secondary-color);
    outline: none;
    text-decoration: none;
}

.btn:focus {
    box-shadow: none;
}

.wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
}

.back-to-top {
    position: fixed;
    display: none;
    background: var(--secondary-color);
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top:hover {
    color: var(--secondary-color);
    background: var(--primary-color);
}

.back-to-top i {
    padding-top: 10px;
}


/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
    position: relative;
    height: auto;
    background: #000000;
}

.top-bar .logo {
    padding: 15px 0;
    text-align: left;
    overflow: hidden;
}

.top-bar .logo h1 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 75px;
    line-height: 55px;
    font-weight: 800;
}

.top-bar .logo img {
    max-width: 100%;
    max-height: 60px;
}

.top-bar .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 90px;
    padding: 0 20px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, .15);
}

.top-bar .text h2 {
    color: var(--secondary-color);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 25px;
    margin: 0;
}

.top-bar .text p {
    color: var(--secondary-color);
    font-size: 13px;
    margin: 0;
}

.top-bar .social {
    display: flex;
    height: 90px;
    font-size: 0;
    justify-content: flex-end;
}

.top-bar .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;
    font-size: 22px;
    color: var(--text-white-color);
    border-right: 1px solid var(--text-color)
}

.top-bar .social a:first-child {
    border-left: 1px solid var(--text-color);
}

.top-bar .social a:hover {
    color: var(--secondary-color);
    background: var(--text-white-color);
}

@media (min-width: 992px) {
    .top-bar {
        padding: 0 60px;
    }
}

@media (max-width: 991.98px) {
    .top-bar .logo {
        text-align: center;
    }

    .top-bar .social {
        display: none;
    }

    .profile-image-site {
        position: absolute;
        bottom: -132px;
        display: block !important;
        right: 20%;
        left: 20%;
    }

    .profile-image-div {
        width: 200px !important;
        height: 200px !important;
        overflow: hidden;
        border-radius: 50%;
        margin: auto !important;
    }

    .h-img {
      display: none!important;
    }

    .img-header {
        display: none !important;
    }

    .img-header img {
        width: auto !important;
        height: 100% !important;
        
    }
}

/*@media (max-width: 988px) {*/
/*    .top-bar {*/
/*        display: none;*/
/*    }*/
/*}*/

/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.nav-bar {
    position: relative;
    padding: 20px 0;
    transition: .3s;
}

.nav-bar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    z-index: 999;
}

.nav-bar .navbar {
    height: 100%;
    padding: 0;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    padding: 10px 10px 8px 10px;
    color: #ffffff;
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--secondary-color);
    transition: none;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
}

.nav-bar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

.nav-bar .btn {
    color: #ffffff;
    border: 2px solid var(--secondary-color);
    border-radius: 0;
    display: block;
}

.nav-bar .btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .nav-bar {
        padding: 20px 60px;
    }

    .nav-bar.nav-sticky {
        padding: 10px 60px;
    }

    .nav-bar,
    .nav-bar .navbar {
        background: var(--primary-color) !important;
    }

    /* .nav-bar .navbar-brand {
        display: none;
    } */

    .nav-bar a.nav-link {
        padding: 8px 15px;
        font-size: 15px;
        text-transform: uppercase;
    }
}

@media (max-width: 991.98px) {

    .nav-bar,
    .nav-bar .navbar {
        padding: 3px 0;
        background: var(--primary-color) !important;
    }

    .nav-bar a.nav-link {
        padding: 5px;
    }

    .nav-bar .dropdown-menu {
        box-shadow: none;
    }

    /* .nav-bar .btn {
        display: none;
    } */
    .ml-auto {
        margin: 5px;
    }
}


/*******************************/
/******** Carousel CSS *********/
/*******************************/
.carousel {
    position: relative;
    width: 100%;
    height: calc(100vh - 170px);
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.carousel .carousel-inner,
.carousel .carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .carousel-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .3);
    z-index: 1;
}

.carousel .carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: calc(100vh - 170px);
}

.carousel .carousel-caption h1 {
    color: #ffffff;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
}

.carousel .carousel-caption p {
    color: #ffffff;
    font-size: 25px;
    margin-bottom: 25px;
}

.carousel .carousel-caption .btn {
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-color);
    background: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 0;
    transition: .3s;
}

.carousel .carousel-caption .btn:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}

@media (max-width: 767.98px) {
    .carousel .carousel-caption h1 {
        font-size: 40px;
        font-weight: 700;
    }

    .carousel .carousel-caption p {
        font-size: 20px;
    }

    .carousel .carousel-caption .btn {
        padding: 12px 30px;
        font-size: 18px;
        font-weight: 500;
        letter-spacing: 0;
    }

    .top-bar-right {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-caption h1 {
        font-size: 30px;
        font-weight: 500;
    }

    .top-bar-right {
        display: none !important;
    }

    .carousel .carousel-caption p {
        font-size: 16px;
    }

    .carousel .carousel-caption .btn {
        padding: 10px 25px;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 0;
    }
}

.carousel .animated {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
}


/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    text-align: center;
}


.page-header h2 {
    position: relative;
    color: var(--primary-color);
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: var(--primary-color);
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: var(--primary-color);
}

.page-header a:hover {
    color: #ffffff;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: var(--primary-color);
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 767.98px) {
    .page-header h2 {
        font-size: 35px;
    }

    .page-header a {
        font-size: 18px;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 45px;
    background-color: var(--primary-color);
    border-radius: 20px;
}

.section-header h2,.title-landing {
    margin: 0;
    position: relative;
    font-size: 25px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--secondary-color);
    z-index: 1;
    padding: 10px;
}

/* .section-header h2::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 7px;
    left: 0;
    top: 21px;
    background: transparent;
    border-top: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
    z-index: -1;
}

.section-header h2::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 7px;
    left: 0;
    bottom: 20px;
    background: transparent;
    border-top: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
    z-index: -1;
} */

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 100%;
    }
}

/*******************************/
/******** Top Feature CSS ******/
/*******************************/
.feature-top {
    position: relative;
    background: var(--primary-color);
    margin-bottom: 45px;
}

.feature-top .col-md-3 {
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 575.98px) {
    .feature-top .col-md-3:nth-child(1n) {
        border-right: none;
    }

    .feature-top .col-md-3:last-child {
        border-bottom: none;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .feature-top .col-md-3:nth-child(2n) {
        border-right: none;
    }

    .feature-top .col-md-3:nth-child(3n),
    .feature-top .col-md-3:nth-child(4n) {
        border-bottom: none;
    }
}

@media (min-width: 768px) {
    .feature-top .col-md-3 {
        border-bottom: none;
    }

    .feature-top .col-md-3:nth-child(4n) {
        border-right: none;
    }
}

.feature-top .feature-item {
    padding: 30px 0;
    text-align: center;
}

.feature-top .feature-item i {
    color: var(--secondary-color);
    font-size: 35px;
    margin-bottom: 10px;
}

.feature-top .feature-item h3 {
    color: #ffffff;
    font-size: 30px;
    font-weight: 600;
}

.feature-top .feature-item p {
    color: var(--neutral-color)9;
    margin: 0;
    font-size: 18px;
}


/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.about .section-header {
    margin-bottom: 30px;
}

.about .about-img {
    position: relative;
    height: 100%;
    padding: 10px;
    background: var(--primary-color);
}

.about .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about .about-text p {
    font-size: 20px;
    font-weight: 500;
}

.about .about-text a.btn {
    position: relative;
    margin-top: 15px;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 0;
    background: var(--primary-color);
    transition: .3s;
}

.about .about-text a.btn:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}

@media (max-width: 767.98px) {
    .about .about-img {
        margin-bottom: 30px;
        height: auto;
    }
}


/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    position: relative;
    width: 100%;
    text-align: center;
    background: var(--primary-color);
    margin-bottom: 30px;
}

.service .service-icon {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-color);
}

.service .service-icon i {
    width: 100px;
    height: 100px;
    padding: 20px 0;
    text-align: center;
    font-size: 60px;
    color: var(--secondary-color);
    background: var(--text-color);
    transition: .5s;
}

.service .service-item:hover .service-icon i {
    margin-top: -15px;
}

.service .service-item h3 {
    margin: 0;
    padding: 25px 15px 15px 15px;
    font-size: 30px;
    font-weight: 600;
    color: var(--secondary-color);
}

.service .service-item p {
    margin: 0;
    color: var(--neutral-color)9;
    padding: 0 25px 25px 25px;
    font-size: 18px;
}

.service .service-item a.btn {
    position: relative;
    margin-bottom: 30px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 0;
    background: var(--primary-color);
    transition: .3s;
}

.service .service-item:hover a.btn {
    color: var(--primary-color);
    background: var(--secondary-color);
}


/*******************************/
/********* Feature CSS *********/
/*******************************/
.feature {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.feature .feature-item {
    margin-bottom: 30px;
}

.feature .feature-icon {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
}

.feature .feature-icon i {
    width: 100px;
    height: 100px;
    padding: 20px 0;
    text-align: center;
    font-size: 60px;
    color: var(--secondary-color);
    background: var(--primary-color);
    transition: .5s;
}

.feature .feature-item:hover .feature-icon i {
    margin-right: -15px;
}

.feature .feature-item h3 {
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 30px;
    font-weight: 600;
}

.feature .feature-item h3::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    left: 0;
    bottom: 0;
    background: var(--secondary-color);
}

.feature .feature-item p {
    margin: 0;
    font-size: 16px;
}

.feature .feature-img {
    position: relative;
    height: 100%;
    padding: 10px;
    background: var(--primary-color);
}

.feature .feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
    position: relative;
    width: 100%;
}

.team .team-item {
    margin-bottom: 30px;
}

.team .team-img {
    position: relative;
}

.team .team-img img {
    width: 100%;
}

.team .team-text {
    position: relative;
    padding: 50px 15px 30px 15px;
    text-align: center;
    background: var(--primary-color);
}

.team .team-text h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white-color);
}

.team .team-text h2 a {
    color: var(--text-white-color);
}

.team .team-text h2:hover a {
    color: var(--secondary-color);
}

.team .team-text p {
    margin: 0;
    color: var(--text-white-color);
}

.team .team-social {
    position: absolute;
    width: calc(100% - 60px);
    height: 50px;
    top: -25px;
    left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    font-size: 0;
    transition: .5s;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-social a {
    display: inline-block;
    margin-right: 15px;
    font-size: 18px;
    text-align: center;
    color: var(--primary-color);
    transition: .3s;
}

/* .team .team-social a:last-child {
    margin-right: 0;
} */

.team .team-social a:hover {
    color: #ffffff;
}


/*******************************/
/*********** FAQs CSS **********/
/*******************************/
.faqs {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.faqs .faqs-img {
    position: relative;
    height: 100%;
    padding: 10px;
    background: var(--primary-color);
}

.faqs .faqs-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width: 767.98px) {
    .faqs .faqs-img {
        margin-bottom: 30px;
        height: auto;
    }
}

.faqs .card {
    margin-bottom: 15px;
    padding-top: 15px;
    border: none;
    border-radius: 0;
    border-top: 1px solid var(--secondary-color);
}

.faqs .card:last-child {
    margin-bottom: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--secondary-color);
}

.faqs .card-header {
    padding: 0;
    border: none;
    background: #ffffff;
}

.faqs .card-header a {
    display: block;
    width: 100%;
    color: var(--primary-color);
    font-size: 18px;
    line-height: 40px;
}

.faqs .card-header a span {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    text-align: center;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 700;
}

.faqs .card-header [data-toggle="collapse"]:after {
    font-family: 'font Awesome 5 Free';
    content: "\f067";
    float: right;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 900;
    transition: .3s;
}

.faqs .card-header [data-toggle="collapse"][aria-expanded="true"]:after {
    font-family: 'font Awesome 5 Free';
    content: "\f068";
    float: right;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 900;
    transition: .3s;
}

.faqs .card-body {
    padding: 15px 0 0 0;
    font-size: 16px;
    border: none;
    background: #ffffff;
}

.faqs a.btn {
    position: relative;
    margin-top: 15px;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 0;
    background: var(--primary-color);
    transition: .3s;
}

.faqs a.btn:hover {
    color: var(--primary-color);
    background: var(--primary-color);
}


/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    padding: 45px 0;
}

.testimonial .testimonials-carousel {
    position: relative;
    width: calc(100% + 30px);
    left: -15px;
    right: -15px;
}

.testimonial .testimonial-item {
    position: relative;
    margin: 0 15px;
    padding: 30px;
    border: 1px solid #d4a017;
    border-radius: 10px;
    background: var(--primary-color-trans);
    overflow: hidden;
}

.testimonial .testimonial-item i {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--text-color);
    font-size: 60px;
    transform: rotate(45deg);
    z-index: 1;
}

.testimonial .testimonial-item .col-12 {
    margin-top: 20px;
}

.testimonial .testimonial-item img {
    width: 100%;
}

.testimonial .testimonial-item h2 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial .testimonial-item p {
    color: #000000;
    font-size: 16px;
    margin: 0;
}

.testimonial .owl-nav,
.testimonial .owl-dots,
.Specialties .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.testimonial .owl-dot,
.Specialties .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.testimonial .owl-dot.active,
.Specialties .owl-dot.active {
    background: var(--primary-color);
}


/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.blog .blog-carousel {
    position: relative;
    width: calc(100% + 30px);
    left: -15px;
    right: -15px;
}

.blog .blog-item {
    position: relative;
    margin: 0 15px;
    background: #ffffff;
    overflow: hidden;
}

.blog .blog-page .blog-item {
    margin: 0 0 30px 0;
}

.blog .blog-item img {
    width: 100%;
    margin-bottom: 25px;
}

.blog .blog-item h3 {
    font-size: 25px;
    font-weight: 600;
}

.blog .blog-item .meta {
    padding: 0 0 15px 0;
}

.blog .blog-item .meta * {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--neutral-color);
}

.blog .blog-item .meta i {
    margin: 0 2px 0 10px;
}

.blog .blog-item .meta i:first-child {
    margin-left: 0;
}

.blog .blog-item p {
    font-size: 16px;
}

.blog .blog-item a.btn {
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-color);
    transition: .3s;
}

.blog .blog-item a.btn i {
    margin-left: 10px;
}

.blog .blog-item a.btn:hover {
    color: var(--primary-color);
}

.blog .owl-nav,
.blog .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.blog .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.blog .owl-dot.active {
    background: var(--primary-color);
}

.blog .pagination .page-link {
    color: var(--primary-color);
    border-radius: 0;
    border-color: var(--secondary-color);
}

.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link {
    color: var(--primary-color);
    background: var(--secondary-color);
}

.blog .pagination .disabled .page-link {
    color: var(--neutral-color);
}


/*******************************/
/********* Timeline CSS ********/
/*******************************/
.timeline {
    position: relative;
    padding: 45px 0;
}

.timeline .timeline-start {
    position: relative;
    width: calc(100% + 30px);
    left: -15px;
    right: -15px;
}

.timeline .timeline-container {
    padding: 0 15px;
    position: relative;
    background: inherit;
    width: 50%;
    margin-top: -5px;
}

.timeline .timeline-container.left {
    left: 0;
}

.timeline .timeline-container.right {
    left: 50%;
}

.timeline .timeline-container::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 5px;
    background: var(--secondary-color);
    z-index: 1;
}

.timeline .timeline-container.left::before {
    top: 0;
    right: 0;
}

.timeline .timeline-container.right::before {
    bottom: 0;
    left: 0;
}

.timeline .timeline-container::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 5px;
    background: var(--secondary-color);
    z-index: 1;
}

.timeline .timeline-container.left::after {
    bottom: 0;
    right: 0;
}

.timeline .timeline-container.right::after {
    top: 0;
    left: 0;
}

.timeline .timeline-container:first-child::before,
.timeline .timeline-container:last-child::before {
    display: none;
}

.timeline .timeline-container .timeline-content {
    padding: 30px;
    background: var(--primary-color);
    position: relative;
    border-right: 5px solid var(--secondary-color);
}

.timeline .timeline-container.right .timeline-content {
    border-left: 5px solid var(--secondary-color);
}

.timeline .timeline-container .timeline-content h2 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
}

.timeline .timeline-container .timeline-content h2 span {
    display: inline-block;
    margin-right: 15px;
    padding: 5px 10px;
    color: var(--primary-color);
    background: var(--secondary-color);
    font-family: 'Roboto', sans-serif;
    font-style: normal;
}

.timeline .timeline-container .timeline-content p {
    margin: 0;
    font-size: 16px;
    color: var(--neutral-color)9;
}

@media (max-width: 767.98px) {
    .timeline .timeline-container {
        width: 100%;
        margin-top: 0;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 30px;
    }

    .timeline .timeline-container:last-child {
        padding-bottom: 0;
    }

    .timeline .timeline-container.right {
        left: 0%;
    }

    .timeline .timeline-container.left::after,
    .timeline .timeline-container.right::after,
    .timeline .timeline-container.left::before,
    .timeline .timeline-container.right::before {
        width: 5px;
        height: 35px;
        left: 15px;
    }

    .timeline .timeline-container.left .timeline-content,
    .timeline .timeline-container.right .timeline-content {
        border-left: 5px solid var(--secondary-color);
        border-right: none;
    }
}


/*******************************/
/******** Portfolio CSS ********/
/*******************************/
.portfolio {
    position: relative;
    padding: 45px 0;
    background: #ffffff;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: -15px 0 25px 0;
    list-style: none;
    font-size: 0;
    text-align: center;
}

.portfolio #portfolio-flters li,
.portfolio .load-more .btn {
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 0;
    background: var(--primary-color);
    border: 2px solid var(--secondary-color);
    transition: .3s;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.portfolio .load-more {
    text-align: center;
}

.portfolio .load-more .btn {
    padding: 15px 35px;
    font-size: 16px;
    transition: .3s;
}

.portfolio .load-more .btn:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}

.portfolio .portfolio-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    transition: .5s;
}

.portfolio .portfolio-item:hover {
    margin-top: -10px;
}

.portfolio .portfolio-wrap {
    position: relative;
    width: 100%;
}

.portfolio img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio figure {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
    background: linear-gradient(rgba(0, 0, 0, .0), rgba(0, 0, 0, .0), rgba(0, 0, 0, 1) 90%);
}

.portfolio figure p {
    position: relative;
    margin-bottom: 5px;
    padding-bottom: 5px;
    color: #ffffff;
    font-size: 18px;
}

.portfolio figure p::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #ffffff;
}

.portfolio figure a {
    font-family: 'EB Garamond', serif;
    color: var(--secondary-color);
    font-size: 25px;
    font-weight: 600;
    font-style: italic;
    transition: .3s;
}

.portfolio figure a:hover {
    text-decoration: none;
    color: #ffffff;
}

.portfolio figure span {
    position: relative;
    color: var(--neutral-color)9;
    font-size: 16px;
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.contact .contact-info {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
    padding: 30px;
    background: var(--primary-color);
}

.contact .contact-item {
    position: relative;
    margin-bottom: 30px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    border: 2px solid var(--secondary-color);
}

.contact .contact-item i {
    display: inline-block;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.contact .contact-text {
    position: relative;
    width: auto;
    padding-right: 15px;
}

.contact .contact-text h2 {
    color: var(--secondary-color);
    font-size: 25px;
    font-weight: 600;
}

.contact .contact-text p {
    margin: 0;
    color: var(--neutral-color);
    font-size: 16px;
}

.contact .contact-item:last-child {
    margin-bottom: 0;
}

.contact .contact-form {
    position: relative;
    margin-bottom: 30px;
}

.contact .contact-form input {
    height: 60px;
    border-radius: 0;
    border-width: 2px;
    border-color: var(--primary-color);
}

.contact .contact-form textarea {
    height: 190px;
    border-radius: 0;
    border-width: 2px;
    border-color: var(--primary-color);
}

.contact .contact-form .btn {
    padding: 16px 35px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-color);
    background: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 0;
    transition: .3s;
}

.contact .contact-form .btn:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}


/*******************************/
/******* Single Page CSS *******/
/*******************************/
.single {
    position: relative;
    width: 100%;
    padding: 45px 0 65px 0;
}

.single img {
    margin: 10px 0 15px 0;
}

.single .table,
.single .list-group {
    margin-bottom: 30px;
}

.single .ul-group {
    padding: 0;
    list-style: none;
}

.single .ul-group li {
    margin-left: 2px;
}

.single .ul-group li::before {
    position: relative;
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.single .ol-group {
    padding-left: 18px;
}


/*******************************/
/********** Newsletter *********/
/*******************************/
.newsletter {
    position: relative;
    max-width: 900px;
    margin: 45px auto -140px auto;
    padding: 30px 15px;
    background: var(--secondary-color);
    z-index: 1;
    display: none;
}

.newsletter .section-header {
    margin-bottom: 25px;
}

.newsletter .section-header h2::before,
.newsletter .section-header h2::after {
    border-color: var(--text-white-color);
}

.newsletter .form {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter input {
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 0;
}

.newsletter .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 40px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--secondary-color);
    background: var(--primary-color);
    border-radius: 0;
    border: 2px solid var(--secondary-color);
    transition: .3s;
}

.newsletter .section-header {
    background: transparent;
}

.newsletter h2 {
    color: var(--primary-color);
}

.newsletter .btn:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 45px;
    padding-top: 5%;
    background: var(--primary-color);
    border-radius: 20px;
    color: #ffffff;
}

.footer .footer-about,
.footer .footer-link,
.footer .footer-contact {
    position: relative;
    margin-bottom: 45px;
    color: var(--neutral-color)9;
}

.footer .footer-about h2,
.footer .footer-link h2,
.footer .footer-contact h2 {
    position: relative;
    margin-bottom: 30px;
    font-size: 25px;
    font-weight: 600;
    color: var(--secondary-color);
}

.footer .footer-link a ,.footer-contact a{
    display: block;
    margin-bottom: 10px;
    color: var(--text-white-color);
    transition: .3s;
}
.footer-contact p
{
    display: flex;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f053";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px;
}

.footer .footer-link a:hover,.footer-contact a:hover {
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.footer .footer-contact p i {
    width: 25px;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
}

.footer .footer-social a {
    display: inline-block;
}

.footer .footer-social a i {
    margin-right: 15px;
    font-size: 18px;
    color: var(--secondary-color);
}

.footer .footer-social a:hover i {
    color: var(--neutral-color);
}

.footer .footer-menu .f-menu {
    position: relative;
    padding: 15px 0;
    background: var(--primary-color);
    font-size: 0;
    text-align: center;
}

.footer .footer-menu .f-menu a {
    color: var(--text-white-color);
    font-size: 16px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu .f-menu a:hover {
    color: var(--secondary-color);
}

.footer .footer-menu .f-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


.footer .copyright {
    padding: 30px 15px;
}

.footer .copyright p {
    margin: 0;
    color: var(--text-white-color);
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 1px;
}

.footer .copyright p a:hover {
    color: var(--text-white-color);
}

@media (max-width: 768px) {

    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
}

/* sign */
.sign {
    display: flex;
}

.sign a {
    color: #fff;
    font-weight: bold;
    padding: 9px 26px !important;
}

.sign a:hover {
    color: var(--secondary-color);
}

.register {
    background-color: var(--accent-color);
    color: var(--text-white-color) !important;
}

.register:hover {
    background-color: var(--text-white-color) !important;
    color: var(--accent-color) !important;
}

/* customize theme */
.img-header {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.img-header img {
    width: 100%;
    height: fit-content;
    object-fit: cover;
}

.txt-header {
    text-align: center;
    padding: 60px 0;
}

.search-header {
    margin: 10px;
}

.txt-header h2 {
    font-size: 40px;
}

.txt-header h2::after {
    background-color: transparent;
}

.p-header {
    font-size: 24px;
    font-family: serif;
    font-weight: 700;
}

.search-header label {
    font-size: 20px;
    font-weight: 800;
    font-family: sans-serif;
    color: var(--primary-color);
}

.search-header input,
.search-header select {
    border: 2px solid var(--primary-color);
    height: 50px;
    border-radius: 20px;
}

.h-img {
    width: 100%;
}

.search-header button {
    padding: 10px 63px;
    border-radius: 10px;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: bold;
}

.search-header button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.paginate .active span {
    background-color: var(--primary-color) !important;
    border: var(--primary-color) !important;
    color: var(--text-white-color) !important;
}

.paginate .page-item a {
    color: var(--primary-color);
}

/* profile */
.header-profile {
    height: 400px;
}

.cover-image-section {
    height: 300px;
    overflow: hidden;
}

.profile-image-div {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 20px;
}

.profile-image-div img {
    width: 100%;
    height: 100%;
}

.profile-image-site {
    position: absolute;
    bottom: -140px;
    display: flex;
}

.profile-name {
    margin-top: auto;
}

.profile-name h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-color);
}

.profile-name h2::after {
    background-color: transparent !important;
}

.profile-name p {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-color);
}

.profile-social {
    margin-top: auto;
    direction: ltr;
}

.profile-social a {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 10px;
}

.profile-social a:hover {
    color: var(--secondary-color);
}

.profile-menu {
    display: flex;
    margin-right: 10px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0px 0px 11px 4px var(--primary-color);

}

.profile-menu ul {
    list-style: none;
    padding: 0;
    margin-right: 10px;
}

.profile-menu ul li {
    margin-right: 20px;
}

.profile-menu ul li a {
    display: inline-block;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--neutral-color);
    border-bottom: 3px solid transparent;
    transition: .3s;
}

.profile-menu ul li a:hover,
.profile-menu ul li a.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.profile-content {
    padding: 30px 0;
}

.profile-content h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-color);
}

.profile-content h2::after {
    background-color: transparent !important;
}

.profile-content p {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
}

.profile-text {
    margin: 24px 0;
}

.profile-text li {
    list-style: none;
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
}

.spicialze {
    display: ruby;
}

.spicialze li {
    margin: 10px;
    background: var(--primary-color);
    padding: 5px;
    border-radius: 6px;
}

.spicialze a {
    padding: 9px 20px;
    color: var(--text-white-color);
}

.spicialze li:hover {
    border: 1px solid var(--primary-color);
    background-color: transparent;
    transition: 500ms background-color;
}

.spicialze li:hover a {

    color: var(--secondary-color);
}

.mapouter iframe {
    width: 100%;
    height: 400px;
}

.nav-pills .nav-link {
    color: var(--neutral-color);
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    transition: .3s;
}

.nav-pills .nav-link:hover {
    color: var(--secondary-color);
    background-color: var(--text-white-color);
    border: 1px solid var(--secondary-color);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: var(--secondary-color);
    background-color: var(--text-white-color);
    border: 1px solid var(--primary-color);
}

span.virefied-profile {
    position: absolute;
    bottom: -136px;
    right: 66px;
}

span.virefied-profile svg {
    width: 45px;
}

.virefied {
    color: var(--secondary-color);
    font-size: 20px;
}

/* edit profile */


/* home page */

.specialty-item {
    height: 10rem;
    background: var(--primary-color);
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
}

.specialty-item i {
    font-size: 46px;
    padding: 15px 0;
    color: var(--secondary-color);
}

.specialty-item h3 a {
    color: var(--secondary-color);
    font-size: 20px;
    padding: 10px 0;
}

.specialty-item:hover {
    background: var(--text-white-color);
}

.owl-next,
.owl-prev {
    margin: 10px 15px;
    color: var(--text-white-color);

    padding: 10px 15px;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
}

.owl-nav {
    display: flex;
    justify-content: center;
}

.owl-next:hover,
.owl-prev:hover {
    background-color: var(--text-white-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* how it works */
.how-it-works {
    margin: 30px 0;
}

.how-item {
    height: 250px;
    text-align: center;
    padding: 20px;
    border: 2px solid #020f20;
    border-radius: 20px;
    margin: 10px 0;

}

.how-item i {
    font-size: 55px;
    margin: 10px;
    color: #020f20;
}

.how-item h3 {
    margin: 10px;
    color: #d4a017;
    font-size: 20px;
    font-weight: bold;
}

.how-item p {
    font-size: 17px;
    color: #54524e;
    font-weight: bold;
}


/* edit top bar */
/* .top-bar {
    display: none;
} */

/* about page */
.about-page,
.Edit-profile {
    height: 400px;
    display: flex;
    align-items: center;
    background-color: #721c24;
}

.about-page-img {
    overflow: hidden;
    height: 100%;

}

.about-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.about-title h2 {
    color: var(--text-white-color);
}

.about-title p {
    color: var(--text-white-color);
    font-size: 20px;
    font-weight: 500;
}

.Edit-profile .about-title {
    justify-content: center !important;
}


/* select js */
.select2-container--default .select2-search--inline .select2-search__field {
    height: 25px;
}


.sighnup-lawyer a {
    color: #d4991a;
    font-size: larger;
    font-weight: 600;
}

.sighnup-lawyer a:hover {
    color: var(--text-white-color) !important;
    border: 1px solid var(--secondary-color) !important;
    text-decoration: none;
}

.sighnup-lawyer {
    text-align: center;
    margin: 10px;
}


/* custom card */
.profile-info {
    display: flex;
}

.profile-cards {
    border: 1px solid var(--primary-color) !important;
    background-color: var(--primary-color-trans);
}

.btn-card {
    background-color: var(--primary-color);
    margin: 0 10px;
    color: #ffffff;
    padding: 6px 10px;
    font-weight: 600;
}

.btn-card:hover {
    background-color: var(--text-white-color);
    border: 1px solid var(--primary-color);
    color: var(--secondary-color);
}

.info-lawyer p,
.info-lawyer p small {
    font-weight: 700;
}

.info-lawyer h5 {
    color: var(--primary-color);
}

.profile-card {
    position: relative;
    margin: auto;
    overflow: hidden;
}

.profile-header {
    background: url('https://via.placeholder.com/800x200') no-repeat center;
    background-size: cover;
    position: relative;
    height: 200px;
}

.profile-img {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid #fff;
    border-radius: 50%;
    width: 200px;
    height: 200px;
}

.verified-icon {
    color: #0d6efd;
    font-size: 18px;
    margin-right: 5px;
}

.auth .dropdown-item:hover {
    background-color: #061a30;
    color: #fff;
}

.dropdown-toggle::after {
    margin-right: .255em;
    border-top: 0.5em solid;
    border-right: 0.5em solid transparent;
    border-left: 0.5em solid transparent;
}
.nav-item.dropdown {
    list-style: none;
}

.specialization {
    margin: 5px 10px;
    padding: 5px 10px;
    border-radius: 6px;
    background-color: #061a30;
    color: #d3a017;
}
.text-primary{
    color: var(--primary-color)!important;
    font-weight: bold;
}
.testimonial-card
 {
    border: 1px solid var(--primary-color-trans);
    border-radius: 10px;
}

.bg-primary , .btn-primary{
    background-color: var(--primary-color)!important;
}
