/* Light Mode Overrides */
body.light-mode {
    background-color: #e4f3f2;
    color: #333333;
}

body.light-mode .section--bg {
    background-color: #d8e7e6 !important;
}

body.light-mode .header-section {
    background-color: #e4f3f2;
    border-bottom: 1px solid #eeeeee;
}

body.light-mode .header-section.header-fixed {
    background-color: #e4f3f2;
}

body.light-mode .navbar-nav .nav-link,
body.light-mode .main-menu li a {
    color: #333333 !important;
}

body.light-mode .main-menu li a.active {
    color: var(--primary-color) !important;
}

body.light-mode .section-title,
body.light-mode .section-sub-title,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
    color: #1a1a1a;
}

body.light-mode p {
    color: #555555;
}

body.light-mode .faq-item {
    background-color: #f0f8ff;
    border: 1px solid #eef2f6;
}

body.light-mode .faq-item .faq-title {
    color: #1a1a1a;
}

body.light-mode .faq-item .faq-content p {
    color: #666666;
}

body.light-mode .footer-section {
    background-color: #e4f3f2;
    color: #333333;
    border-top: 1px solid #eeeeee;
}

body.light-mode .footer-top-area .subscribe-form input {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    color: #333333 !important;
}

body.light-mode .footer-top-area .subscribe-form input::placeholder {
    color: #777777 !important;
}

body.light-mode .footer-top-area .footer-social li a {
    background-color: #f8f9fa;
    color: #333333;
    border: 1px solid #eeeeee;
}

body.light-mode .footer-top-area .footer-social li a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

body.light-mode .banner-section {
    background-color: #f8f9fa;
}

body.light-mode .banner-content .title,
body.light-mode .banner-content .sub-title {
    color: #1a1a1a;
}

body.light-mode .statistics-item .title,
body.light-mode .statistics-item .sub-title {
    color: #1a1a1a;
}

body.light-mode .security-item {
    background-color: #f0f8ff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
}

body.light-mode .section-header .section-sub-title {
    background: #e9ecef;
    color: #333333;
}

body.light-mode .section-header .title-badge::after {
    background: #ffffff;
    color: var(--primary-color);
}

body.light-mode .security-content .title {
    color: #1a1a1a;
}


body.light-mode .how-it-works-content .title {
    color: #1a1a1a;
}

body.light-mode .statistics-area {
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-mode .service-item {
    background-color: #f0f8ff;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .service-icon {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .blog-item {
    background-color: #f0f8ff;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .blog-content .date {
    color: #666666 !important;
}

body.light-mode .blog-content .title a {
    color: #1a1a1a !important;
}

body.light-mode .blog-content .title a:hover {
    color: var(--primary-color) !important;
}

body.light-mode .statistics-wrapper {
    border-top: 1px solid #dee2e6;
}


body.light-mode .call-to-action-content .title {
    color: #1a1a1a;
}

body.light-mode .form--control::placeholder {
    color: #777777 !important;
}

body.light-mode .form--control {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    color: #333333;
}

body.light-mode .form--control:focus {
    border-color: var(--primary-color);
}

body.light-mode .table-wrapper {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .custom-table thead tr th {
    color: #333333;
    border-bottom: 1px solid #eeeeee;
}

body.light-mode .custom-table tbody tr td {
    color: #555555;
    border-bottom: 1px solid #eeeeee;
}

body.light-mode .nice-select {
    background-color: #ffffff !important;
    border: 1px solid #dddddd !important;
    color: #333333 !important;
}

body.light-mode .nice-select .current {
    color: #333333 !important;
}

body.light-mode .nice-select .list {
    background-color: #ffffff !important;
    border: 1px solid #dddddd;
}

body.light-mode .nice-select .option {
    color: #333333 !important;
}

body.light-mode .nice-select .option:hover,
body.light-mode .nice-select .option.focus,
body.light-mode .nice-select .option.selected.focus {
    background-color: #f8f9fa !important;
    color: var(--primary-color) !important;
}

body.light-mode .nice-select::after {
    border-bottom: 2px solid #333333;
    border-right: 2px solid #333333;
}

/* Header link hovers */
body.light-mode .navbar-nav .nav-link:hover,
body.light-mode .main-menu li a:hover {
    color: var(--primary-color) !important;
}

body.light-mode .header-language .nice-select {
    background-color: #ffffff !important;
}

body.light-mode .header-language .nice-select .current {
    color: #333333 !important;
}

body.light-mode .footer-widget .widget-title {
    color: #1a1a1a;
}

body.light-mode .footer-list li a {
    color: #555555;
}

body.light-mode .copyright-area {
    background-color: #e9ecef;
    color: #666666;
}

/* Theme Toggle styles */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-inline-end: 15px;
}

.theme-switch {
    display: inline-block;
    height: 28px;
    position: relative;
    width: 50px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #333333;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.slider i {
    color: #ffd700;
    font-size: 14px;
    z-index: 1;
    transition: .4s;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 20px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 20px;
    z-index: 2;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(22px);
}

body.light-mode .slider {
    background-color: #f1f1f1;
    border: 1px solid #dee2e6;
}

body.light-mode .slider i {
    color: #666666;
}

body.light-mode .slider:before {
    background-color: var(--primary-color);
}

body.light-mode .banner-section .banner-content-wrapper::before {
    background: linear-gradient(to bottom, var(--primary-color), #ffffff);
}

body.light-mode .banner-section .banner-content-wrapper .sub-title {
    background: #e9ecef;
    color: #333333;
}

body.light-mode .banner-section .banner-content-wrapper .title span {
    color: var(--primary-color);
}

body.light-mode .bg_img {
    background-image: none !important;
    background-color: transparent !important;
}

body.light-mode .statistics-area {
    background-color: #ffffff;
    background-image: none !important;
}

body.light-mode .how-it-works-thumb img,
body.light-mode .app-thumb img,
body.light-mode .statistics-thumb img {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

body.light-mode blockquote {
    background: #f8f9fa;
    color: #333;
}

body.light-mode .scrollToTop {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

body.light-mode .btn--base::before {
    background: #333333;
}

body.light-mode .btn--base:focus,
body.light-mode .btn--base:hover {
    color: #ffffff;
}

body.light-mode .header-section .header-bottom-area {
    background-color: #ffffff;
}

body.light-mode .header-section.two {
    background-color: #ffffff;
}

/* Fix for the strange grey bars in the screenshot */
body.light-mode .banner-section {
    background: #d2dfdd !important;
}

body.light-mode .section--bg {
    background: #d2dfdd !important;
}

/* App image blending for dark mode (default) */
/* Ensure theme images don't have conflicting filters */
.theme-img {
    transition: all 0.3s ease;
}

body.light-mode .theme-img {
    filter: none;
}

/* Partners Section Light Mode */
body.light-mode .partners-wrapper {
    background: #eaeaea;
    border-color: #d1e7ff;
}

body.light-mode .partners-wrapper::before,
body.light-mode .partners-wrapper::after {
    border-color: #a5d1ff;
}

body.light-mode .partners-wrapper img {
    filter: invert(1);
}