body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-mode #wrapper {
    background-color: #121212;
}

.dark-mode header {
    background-color: #1d1d1f !important;
}

.dark-mode section, 
.dark-mode .section {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
}

.dark-mode h1, 
.dark-mode h2, 
.dark-mode h3, 
.dark-mode h4, 
.dark-mode h5, 
.dark-mode h6,
.dark-mode .title {
    color: #ffffff !important;
}

.dark-mode p, 
.dark-mode span, 
.dark-mode li {
    color: #cccccc !important;
}

.dark-mode .bg-grey,
.dark-mode .bg-color-even,
.dark-mode .bg-color-odd {
    background-color: #1e1e1e !important;
}

.dark-mode footer {
    background-color: #0a0a0a !important;
}

.dark-mode .card,
.dark-mode .box-icon,
.dark-mode .de-item {
    background-color: #1e1e1e !important;
    border-color: #333 !important;
}

/* Toggle Switch Styles */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 44px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 16px;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #ccc;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
body.dark-mode .bg-color-3{
    background-color: #0a0a0a;
}
body.dark-mode #content{
    background-color: #121212;
}
h2.slider-title{
    color: #000 !important;
}
p.slider-teaser{
    color: #000 !important;
}
body.dark-mode .contact-title{
    color: #fff !important;
}
/* body.dark-mode .shadow-overlay{
    background-color:rgba(216, 216, 216, 0.575);
} */
body.dark-mode #mainmenu a{
    color: #fff !important;
}
body.dark-mode .service-text{
    color: #000 !important;
}
body.dark-mode #mainmenu > li.has-child:after{
    color: #fff !important;
}
body.dark-mode .type-project{
    color: #fff !important;
}
body.dark-mode .modal-body, body.dark-mode .modal-header{
    background-color: #000;
}
@media only screen and (max-width: 768px) {
    .theme-switch-wrapper {
position: absolute;
right: 60px;
margin-left: 0 !important;
    }
}
@media only screen and (max-width: 400px) {
    .slider {
left: -65px !important;
    }
}
.theme-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-switch .slider {
  position: relative;
  display: inline-block;
  width: 65px;
  height: 40px;
  border-radius: 999px !important;
  cursor: pointer;
  transition: 0.25s;
}

/* knob */
.theme-switch .slider:before {
  content: "☀";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: 0.25s;
}

/* when checked = dark */
.theme-switch input:checked + .slider:before {
  content: "🌙";
  transform: translateX(26px);
}
.site-logo .logo-dark { display: none; }

/* Default (Light) */
.site-logo .logo-dark { display: none !important; }
.site-logo .logo-light { display: inline-block; }

/* Dark mode */
/*body.dark-mode .site-logo .logo-light { display: none !important; }*/
/*body.dark-mode .site-logo .logo-dark  { display: inline-block !important; }*/
/*body.dark-mode img.logo-main, body.dark-mode img.logo-scroll{*/
/*    width: 500px;*/
/*}*/
body.dark-mode #mainmenu li li a.menu-item:hover, #mainmenu ul li:hover>a.menu-item, body.dark-mode header.smaller.scroll-light #mainmenu li a{
    background-color:#1d1d1f  !important;
}
body.dark-mode .btn-close{
   background-color: #fff !important;
}
