:root {
    --primary: #1B1B1B;
    --primary_opacity: rgb(27 27 27 / 60%);
    --secondary: #C0A177;
    --brown: #AF7C43;
    --brown-active: #C0A177;
    --line: #323232;

    --bg-secondary: rgba(50, 50, 50, 0.30);

    --btn-secondary: #FFFFFF;
    --btn-background: #323232;
}

.bg-main {
    background: var(--bg-secondary);
    border-color: var(--silver);
}

.text-brown {
    color: var(--brown-active) !important;
}

.dark-theme .btn-secondary {
    border: 1px solid var(--btn-secondary, #FFF);
    background: var(--btn-background, #323232);
    color: var(--black);
    display: inline-block;
    padding: 10px 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.dark-theme .btn-primary:hover, .dark-theme .btn-secondary:hover {
    background: var(--brown) !important;
    border-color: var(--brown) !important;
    color: var(--white)!important;
}

.dark-theme .btn-transparent:hover {
    background: var(--brown) !important;
    border-color: var(--brown) !important;
}

.dark-theme {
    background-color: var(--primary);
}

.dark-theme .text-title,
.dark-theme .text-description {
    color: var(--white) !important;
}

.dark-theme .section-hero .hero-sub-title {
    color: var(--brown-active);
}

.dark-theme .header-wrap {
    background: var(--primary) !important;
    border-bottom: 1px solid var(--line) !important;
    -webkit-box-shadow: 0px 5px 30px 0px rgba(27, 27, 27, 0.04) !important;
            box-shadow: 0px 5px 30px 0px rgba(27, 27, 27, 0.04) !important;
}

.home-page.dark-theme .header-wrap:not(.sticky) {
    background: transparent !important;
    border-bottom: none !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
}

.dark-theme .header-wrap .navbar-item {
    color: var(--white) !important;
}

.dark-theme .header-wrap .navbar-item__icon svg path {
    fill: var(--white) !important;
}

.dark-theme .statistics-item {
    border-color: var(--line);
}

.dark-theme .statistics-item.active {
    background: var(--brown-active);
}

.dark-theme .statistics-item.active .count-text {
    color: var(--white);
}

.dark-theme .count-text {
    color: var(--brown-active);
}

.dark-theme .service-item .service-item__content {
    background: var(--primary_opacity);
}

.dark-theme .project-nav-item.nav-link {
    background-color: transparent;
    color: var(--white);
    opacity: 0.4;
}

.dark-theme .project-nav-item.active {
    color: var(--white);
    opacity: 1;
}

.dark-theme .blog-item:before {
    background: var(--primary);
}

.dark-theme .blog-item svg path {
    fill: var(--white);
}

.dark-theme .blog-item:hover:before {
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.60)), to(rgba(0, 0, 0, 0.60)));
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.60) 100%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.60) 100%);
}

.dark-theme .blog-item:hover .blog-time {
    color: var(--white);
    background: var(--brown-active);
}

.dark-theme .blog-item:hover .blog-triangle {
    border-top: 15px solid var(--brown-active);
}

.dark-theme .blog-item:hover .blog-content p {
    color: var(--white) !important;
}

.dark-theme .blog-item:hover .blog-content p:first-child {
    color: var(--brown-active) !important;
}

.dark-theme .blog .blog-item .text-sub-title {
    border-color: var(--brown-active);
}

.dark-theme .client-item {
    border-color: rgba(255, 255, 255, 0.20);
}

.dark-theme .imp-shape-oval {
    background: var(--brown-active) !important;
    border-color: var(--brown-active) !important;
}

.dark-theme .imp-tooltip {
    background: var(--line) !important;
}

.dark-theme .hs-arrow-bottom {
    border-top-color: var(--line) !important;
}

.dark-theme .section.contact {
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(27, 27, 27, 0.70)), to(rgba(27, 27, 27, 0.70))), url("../images/slider/slider_dark_1.png"), lightgray 50% / cover no-repeat;
    background: -o-linear-gradient(bottom, rgba(27, 27, 27, 0.70) 0%, rgba(27, 27, 27, 0.70) 100%), url("../images/slider/slider_dark_1.png"), lightgray 50% / cover no-repeat;
    background: linear-gradient(0deg, rgba(27, 27, 27, 0.70) 0%, rgba(27, 27, 27, 0.70) 100%), url("../images/slider/slider_dark_1.png"), lightgray 50% / cover no-repeat;
    background-position: center;
}

.dark-theme .vision-item {
    background: var(--bg-secondary);
    border-color: var(--silver);
}

.dark-theme .nioh-pagination ul li a {
    border-color: var(--line);
}

.dark-theme .nioh-pagination ul li.active a {
    background: var(--line);
    border-color: var(--line);
}

.dark-theme .breadcrumb-item+.breadcrumb-item::before {
    color: var(--white);
}

.dark-theme .section-similar {
    background: var(--bg-secondary);
}

.dark-theme .swiper-button-prev,
.dark-theme .swiper-button-next {
    background: var(--line);
    border-color: var(--line);
}

.dark-theme .swiper-button-next:after,
.dark-theme .swiper-button-prev:after {
    color: var(--white);
}

.dark-theme .banner-hero {
    background: url(../images/background/banner_hero_dark.png);
}

.dark-theme .sidebar ul {
    background: var(--bg-secondary);
}

.dark-theme .sidebar>* p.text-sub-title,
.dark-theme .sidebar ul li {
    border-color: var(--line);
}

.dark-theme .sidebar>div {
    border-color: var(--bg-secondary);
}

.dark-theme .sidebar>* p.text-sub-title {
    background: var(--bg-secondary);
    margin: 0;
    padding: 15px 30px;
}

.dark-theme .breadcrumb-item,
.dark-theme .breadcrumb-item a {
    color: var(--white) !important;
}

.dark-theme .contact-form {
    background: var(--brown-active);
}

.dark-theme .contact-form .contact-button a:hover {
    background: var(--brown) !important;
}

.dark-theme .blog-cat__item:not(:last-child) {
    border-color: var(--line);
}

.dark-theme .section.contact input {
    border-color: var(--brown-active);
}

.dark-theme .project-nav-item {
    color: var(--white);
}

.dark-theme .project-input-search .input-group input {
    background: var(--line);
    border-color: var(--line) !important;
    color: var(--silver);
}

.dark-theme .project-input-search .input-group input::-webkit-input-placeholder {
    color: var(--silver);
}

.dark-theme .project-input-search .input-group input::-moz-placeholder {
    color: var(--silver);
}

.dark-theme .project-input-search .input-group input:-ms-input-placeholder {
    color: var(--silver);
}

.dark-theme .project-input-search .input-group input::-ms-input-placeholder {
    color: var(--silver);
}

.dark-theme .project-input-search .input-group input::placeholder {
    color: var(--silver);
}

.dark-theme .project-input-search .input-group input:focus {
    -webkit-box-shadow: none;
            box-shadow: none;
}

/******************* Modern dark ********************/
.home-modern.dark-theme .statistics-wrap {
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.40)), to(rgba(0, 0, 0, 0.40))), url(../images/background/bg_statistic_dark.png), lightgray 0px -716.462px / 100% 414.149% no-repeat;
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%), url(../images/background/bg_statistic_dark.png), lightgray 0px -716.462px / 100% 414.149% no-repeat;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%), url(../images/background/bg_statistic_dark.png), lightgray 0px -716.462px / 100% 414.149% no-repeat;
    background-position: center;
    background-size: cover;
}

.home-modern.dark-theme .statistics-wrap .col-6:not(:last-child) .statistics-item:before {
    background: rgb(255 255 255 / 40%);
}

.home-modern.dark-theme .ourprocess-item svg path {
    fill: var(--brown-active);
}

.home-modern.dark-theme .ourprocess-item:hover {
    background: var(--white);
}

.home-modern.dark-theme .ourprocess-item:hover .ourprocess-content>div {
    color: var(--primary)!important;
}

.home-modern.dark-theme .ourprocess-item .ourprocess-content>div {
    color: var(--white);
}

.home-modern.dark-theme .project-nav-item {
    border-color: var(--white);
}

.home-modern.dark-theme .blog-wrap .swiper-slide:not(:last-child) {
    border-color: var(--line);
}

.about-modern.dark-theme .section-testimonials {
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.80)), to(rgba(0, 0, 0, 0.80))), url(../images/contact/banner_modern_dark.png), lightgray 50% / cover no-repeat;
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.80) 100%), url(../images/contact/banner_modern_dark.png), lightgray 50% / cover no-repeat;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.80) 100%), url(../images/contact/banner_modern_dark.png), lightgray 50% / cover no-repeat;
    background-position: center;
    background-size: cover;
}

.service-modern.dark-theme .ourprocess-item {
    background: transparent;
    border-color: var(--line);
}

.service-modern.dark-theme .ourprocess-item:hover svg path {
    fill: var(--brown-active);
}

.service-modern.dark-theme .ourprocess-item:hover {
    background: var(--white);
}

.service-modern.dark-theme .ourprocess-item:hover .ourprocess-content>div {
    color: var(--primary) !important;
}

.service-modern.dark-theme .ourprocess-modern-item:first-child {
    background: var(--bg-secondary);
}

.service-page.dark-theme .text-hero {
    color: var(--line);
}

.service-modern.dark-theme .ourprocess-modern-item .text-hero:before {
    background: var(--line);
}

.service-modern.dark-theme .ourprocess-modern-item .circle-dashed,
.about-modern .ourprocess-modern-item:before {
    background: var(--primary);
}

.blog-modern.dark-theme .section-blog-category .col-12:nth-child(n+3) .blog-cat__item {
    border-color: var(--line);
}

/******************* End Modern dark ********************/