/* ==========================================================================
   Olivia Creative Solutions - Comprehensive Dark & Light Mode Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Universal Transitions
   -------------------------------------------------------------------------- */
body,
section,
div,
p,
h1, h2, h3, h4, h5, h6,
span,
a,
input,
textarea,
select,
button,
label,
.inner-box,
.sidebar-widget,
.accordion,
.header-lower,
.sticky-header,
.footer-top,
.widget-section,
.outer-container,
.sec-title,
.pricing-table,
.single-item,
.contact-info-section,
.service-section,
.about-section,
.lower-content,
.form-inner,
.working-block-one,
.testimonial-block-one,
.main-footer,
.footer-bottom,
.page-title,
.slide-text,
.nice-select {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. Header & Sticky Header Toggle Buttons
   -------------------------------------------------------------------------- */
.theme-toggle-box {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    vertical-align: middle;
}

.theme-btn-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.theme-btn-toggle:hover {
    background: var(--theme-color, #17BCBE);
    border-color: var(--theme-color, #17BCBE);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(23, 188, 190, 0.4);
}

.theme-icon-sun,
.theme-icon-moon {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Dark Mode Icon State */
[data-theme="dark"] .theme-icon-moon,
:root:not([data-theme="light"]) .theme-icon-moon {
    display: none !important;
}
[data-theme="dark"] .theme-icon-sun,
:root:not([data-theme="light"]) .theme-icon-sun {
    display: inline-block !important;
    color: #FCD34D;
}

/* Light Mode Icon State */
[data-theme="light"] .theme-icon-sun {
    display: none !important;
}
[data-theme="light"] .theme-icon-moon {
    display: inline-block !important;
    color: #0F172A;
}

[data-theme="light"] .theme-btn-toggle {
    background: #EDF2F7;
    border: 1px solid #CBD5E1;
    color: #0F172A;
}

[data-theme="light"] .theme-btn-toggle:hover {
    background: var(--theme-color, #17BCBE);
    border-color: var(--theme-color, #17BCBE);
    color: #fff;
}
[data-theme="light"] .theme-btn-toggle:hover .theme-icon-moon {
    color: #fff;
}

/* --------------------------------------------------------------------------
   3. Floating Theme Switcher Widget
   -------------------------------------------------------------------------- */
.floating-theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99999;
    display: flex;
    align-items: center;
    background: #1A1E24;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 6px 16px 6px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-theme-toggle .toggle-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.floating-theme-toggle .toggle-label {
    font-family: var(--title-font, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: #E2E8F0;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.floating-theme-toggle:hover {
    transform: translateY(-3px);
    border-color: var(--theme-color, #17BCBE);
    box-shadow: 0 12px 28px rgba(23, 188, 190, 0.35);
}

[data-theme="light"] .floating-theme-toggle {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .floating-theme-toggle .toggle-indicator {
    background: #F1F5F9;
}

[data-theme="light"] .floating-theme-toggle .toggle-label {
    color: #0F172A;
}

/* --------------------------------------------------------------------------
   4. Mobile Menu Theme Toggle
   -------------------------------------------------------------------------- */
.mobile-theme-toggle-wrap {
    padding: 16px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[data-theme="light"] .mobile-theme-toggle-wrap {
    border-bottom: 1px solid #E2E8F0;
}

.mobile-theme-toggle-wrap span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

[data-theme="light"] .mobile-theme-toggle-wrap span {
    color: #0F172A;
}

/* --------------------------------------------------------------------------
   4b. Dark Mode Component Enhancements
   -------------------------------------------------------------------------- */
[data-theme="dark"] .nice-select,
:root:not([data-theme="light"]) .nice-select {
    background-color: #141416 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #E2E8F0 !important;
}

[data-theme="dark"] .nice-select .list,
:root:not([data-theme="light"]) .nice-select .list {
    background-color: #1A1E24 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .nice-select .option,
:root:not([data-theme="light"]) .nice-select .option {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .nice-select .option:hover,
[data-theme="dark"] .nice-select .option.focus,
[data-theme="dark"] .nice-select .option.selected.focus,
:root:not([data-theme="light"]) .nice-select .option:hover,
:root:not([data-theme="light"]) .nice-select .option.focus,
:root:not([data-theme="light"]) .nice-select .option.selected.focus {
    background-color: #262D37 !important;
    color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   5. Light Mode Overrides ([data-theme="light"])
   -------------------------------------------------------------------------- */
[data-theme="light"] body {
    background: #F8FAFC !important;
    color: #475569 !important;
}

/* Headings in Light Mode */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #0F172A !important;
}

[data-theme="light"] h1 a,
[data-theme="light"] h2 a,
[data-theme="light"] h3 a,
[data-theme="light"] h4 a,
[data-theme="light"] h5 a,
[data-theme="light"] h6 a {
    color: #0F172A !important;
}

[data-theme="light"] h1 a:hover,
[data-theme="light"] h2 a:hover,
[data-theme="light"] h3 a:hover,
[data-theme="light"] h4 a:hover,
[data-theme="light"] h5 a:hover,
[data-theme="light"] h6 a:hover {
    color: var(--theme-color, #17BCBE) !important;
}

/* Paragraphs in Light Mode */
[data-theme="light"] p {
    color: #475569 !important;
}

/* Header & Sticky Header */
[data-theme="light"] .main-header .main-menu .navigation > li > a {
    color: #0F172A !important;
}

[data-theme="light"] .main-header .main-menu .navigation > li:hover > a,
[data-theme="light"] .main-header .main-menu .navigation > li.current > a {
    color: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .main-header .menu-right-content .search-box-outer {
    color: #0F172A !important;
}

[data-theme="light"] .main-header .nav-toggler {
    color: #0F172A !important;
}

[data-theme="light"] .sticky-header {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .sticky-header .main-menu .navigation > li > a {
    color: #0F172A !important;
}

[data-theme="light"] .sticky-header .menu-right-content .search-box-outer {
    color: #0F172A !important;
}

[data-theme="light"] .sticky-header .theme-btn-toggle {
    background: #EDF2F7;
    border: 1px solid #CBD5E1;
    color: #0F172A;
}

/* Submenu / Dropdowns in Light Mode */
[data-theme="light"] .main-menu .navigation > li > ul {
    background: #FFFFFF !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1) !important;
    border: 1px solid #E2E8F0;
}

[data-theme="light"] .main-menu .navigation > li > ul > li > a {
    color: #0F172A !important;
    border-bottom: 1px solid #F1F5F9 !important;
}

[data-theme="light"] .main-menu .navigation > li > ul > li > a:hover {
    color: var(--theme-color, #17BCBE) !important;
    background: #F8FAFC !important;
}

/* Section Backgrounds & Containers in Light Mode */
[data-theme="light"] .service-section,
[data-theme="light"] .service-section .lower-content,
[data-theme="light"] .service-style-two,
[data-theme="light"] .service-style-three,
[data-theme="light"] .service-page-section,
[data-theme="light"] .service-details {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
}

[data-theme="light"] .service-section .sec-title,
[data-theme="light"] .service-style-two .sec-title,
[data-theme="light"] .service-style-three .sec-title {
    border-color: #E2E8F0 !important;
}

[data-theme="light"] .service-block-one .inner-box,
[data-theme="light"] .service-block-two .inner-box,
[data-theme="light"] .service-block-three .inner-box {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .service-block-one .inner-box:hover,
[data-theme="light"] .service-block-two .inner-box:hover,
[data-theme="light"] .service-block-three .inner-box:hover {
    border-color: var(--theme-color, #17BCBE) !important;
    box-shadow: 0 12px 30px rgba(23, 188, 190, 0.12) !important;
}

[data-theme="light"] .service-block-one .inner-box .links-list li a,
[data-theme="light"] .service-block-two .inner-box .feature-list li a {
    background: #F1F5F9 !important;
    color: #475569 !important;
    border: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .service-block-two .inner-box .link a {
    background: #F1F5F9 !important;
    color: #0F172A !important;
}

[data-theme="light"] .service-details .funfact-block-one {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
}

/* About Sections */
[data-theme="light"] .about-section,
[data-theme="light"] .about-style-two,
[data-theme="light"] .about-style-three {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}

/* Choose Us */
[data-theme="light"] .chooseus-section,
[data-theme="light"] .chooseus-block-one .inner-box,
[data-theme="light"] .chooseus-section .single-item {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
}

[data-theme="light"] .chooseus-block-one .inner-box {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

/* Funfact & Clients */
[data-theme="light"] .funfact-section,
[data-theme="light"] .clients-section,
[data-theme="light"] .clients-section.alternat-2 {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
}

/* Pricing Section */
[data-theme="light"] .pricing-section,
[data-theme="light"] .pricing-page-section {
    background: #F8FAFC !important;
}

[data-theme="light"] .pricing-block-one .pricing-table,
[data-theme="light"] .pricing-table {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .pricing-block-one .pricing-table .theme-btn,
[data-theme="light"] .pricing-page-section .pricing-block-one .pricing-table .theme-btn {
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
}

[data-theme="light"] .pricing-block-one .pricing-table .theme-btn:hover {
    background: var(--theme-color, #17BCBE) !important;
    color: #fff !important;
    border-color: var(--theme-color, #17BCBE) !important;
}

/* Team */
[data-theme="light"] .team-section,
[data-theme="light"] .team-details {
    background: #FFFFFF !important;
}

[data-theme="light"] .team-block-one .inner-box {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .team-block-one .inner-box .image-box .social-links li a {
    background: #F1F5F9 !important;
    color: #0F172A !important;
}

/* Testimonials */
[data-theme="light"] .testimonial-section,
[data-theme="light"] .testimonial-page-section,
[data-theme="light"] .testimonial-style-two {
    background: #F8FAFC !important;
}

[data-theme="light"] .testimonial-block-one .inner-box,
[data-theme="light"] .testimonial-block-two .inner-box,
[data-theme="light"] .testimonial-section.home-3 .testimonial-block-one .inner-box {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

/* Working Process */
[data-theme="light"] .working-block-one {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .working-block-one:hover {
    background: #F8FAFC !important;
    border-color: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .working-block-one .shape:before {
    background: #E2E8F0 !important;
}

/* Gallery / Portfolio */
[data-theme="light"] .gallery-section,
[data-theme="light"] .gallery-page-section,
[data-theme="light"] .gallery-details,
[data-theme="light"] .gallery-style-two {
    background: #F8FAFC !important;
}

[data-theme="light"] .gallery-block-one .inner-box .lower-content .link a {
    background: #F1F5F9 !important;
    color: #0F172A !important;
}

[data-theme="light"] .gallery-block-two .image-box {
    background: #FFFFFF !important;
}

[data-theme="light"] .gallery-details-content .nav-btn-box .single-btn button {
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
}

/* FAQ Accordion */
[data-theme="light"] .faq-section,
[data-theme="light"] .faq-page-section {
    background: #FFFFFF !important;
}

[data-theme="light"] .accordion-box .block,
[data-theme="light"] .service-details .accordion-box .accordion.active-block {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}

[data-theme="light"] .accordion-box .block .acc-btn {
    color: #0F172A !important;
}

[data-theme="light"] .accordion-box .block .acc-btn .icon-outer {
    color: #0F172A !important;
}

[data-theme="light"] .accordion-box .block.active-block {
    background: #FFFFFF !important;
    border-color: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .accordion-box .block .content {
    background: #FFFFFF !important;
}

/* News / Blog */
[data-theme="light"] .news-section,
[data-theme="light"] .sidebar-page-container {
    background: #F8FAFC !important;
}

[data-theme="light"] .news-block-one .inner-box,
[data-theme="light"] .news-block-two .inner-box,
[data-theme="light"] .sidebar-page-container .sidebar .sidebar-widget {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .news-block-one .inner-box .image-box .date,
[data-theme="light"] .blog-sidebar .post-widget .post .post-thumb .date {
    background: #0F172A !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .news-block-one .inner-box .lower-content .post-info li a,
[data-theme="light"] .blog-sidebar .post-widget .post .category {
    background: #F1F5F9 !important;
    color: #475569 !important;
    border: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .blog-sidebar .social-widget .social-links li a {
    background: #F1F5F9 !important;
    color: #0F172A !important;
}

[data-theme="light"] .blog-sidebar .contact-widget:before {
    background: #0F172A !important;
}

/* Shop */
[data-theme="light"] .shop-page-section,
[data-theme="light"] .shop-details {
    background: #F8FAFC !important;
}

[data-theme="light"] .shop-block-one .inner-box,
[data-theme="light"] .shop-details-content {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .shop-details-content .addto-cart-box .item-quantity,
[data-theme="light"] .shop-page-section .item-shorting .menu-box button,
[data-theme="light"] .shop-page-section .item-shorting .filter-btn button,
[data-theme="light"] .shop-block-one .inner-box .lower-content .cart-btn {
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
}

/* Contact Section & Form */
[data-theme="light"] .contact-info-section,
[data-theme="light"] .contact-section {
    background: #F8FAFC !important;
}

[data-theme="light"] .contact-info-section .single-info-box {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .contact-info-section .info-inner .info-content .social-links li a {
    background: #F1F5F9 !important;
    color: #0F172A !important;
}

[data-theme="light"] .contact-section .form-inner,
[data-theme="light"] .form-inner {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .form-inner h2 {
    color: #0F172A !important;
}

[data-theme="light"] .form-inner p {
    color: #475569 !important;
}

[data-theme="light"] .form-inner .form-group label {
    color: #0F172A !important;
}

/* Form Inputs in Light Mode */
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="password"],
[data-theme="light"] input[type="tel"],
[data-theme="light"] input[type="url"],
[data-theme="light"] textarea,
[data-theme="light"] select,
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-inner .form-group input[type='text'],
[data-theme="light"] .contact-section .form-inner .form-group input[type='email'],
[data-theme="light"] .contact-section .form-inner .form-group textarea {
    background: #F8FAFC !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 6px;
    padding: 12px 16px !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: #94A3B8 !important;
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus {
    border-color: var(--theme-color, #17BCBE) !important;
    box-shadow: 0 0 0 3px rgba(23, 188, 190, 0.15) !important;
    background: #FFFFFF !important;
}

[data-theme="light"] .form-inner .form-group .theme-btn {
    background: var(--theme-color, #17BCBE) !important;
    color: #fff !important;
}

/* Sidebar Widget */
[data-theme="light"] .xs-sidebar-group .sidebar-widget-container {
    background: #FFFFFF !important;
    color: #0F172A !important;
    box-shadow: -5px 0 30px rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .xs-sidebar-group .close-side-widget {
    color: #0F172A !important;
}

[data-theme="light"] .xs-sidebar-group .content-box h4,
[data-theme="light"] .xs-sidebar-group .contact-info h4 {
    color: #0F172A !important;
}

[data-theme="light"] .xs-sidebar-group .contact-info ul li {
    color: #475569 !important;
}

[data-theme="light"] .xs-sidebar-group .contact-info ul li a {
    color: #475569 !important;
}

[data-theme="light"] .xs-sidebar-group .social-box li a {
    background: #F1F5F9 !important;
    color: #0F172A !important;
}

[data-theme="light"] .xs-sidebar-group .social-box li a:hover {
    background: var(--theme-color, #17BCBE) !important;
    color: #fff !important;
}

/* Mobile Menu */
[data-theme="light"] .mobile-menu .menu-box {
    background: #FFFFFF !important;
}

[data-theme="light"] .mobile-menu .navigation li a {
    color: #0F172A !important;
    border-bottom: 1px solid #F1F5F9 !important;
}

[data-theme="light"] .mobile-menu .close-btn {
    color: #0F172A !important;
}

[data-theme="light"] .mobile-menu .contact-info h4 {
    color: #0F172A !important;
}

[data-theme="light"] .mobile-menu .contact-info ul li {
    color: #475569 !important;
}

[data-theme="light"] .mobile-menu .contact-info ul li a {
    color: #475569 !important;
}

/* Hero Elements */
[data-theme="light"] .banner-section .support-box,
[data-theme="light"] .banner-section .circle-box {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .curved-circle text {
    fill: #0F172A !important;
}

/* CTA Section */
[data-theme="light"] .cta-section {
    background: #0F172A !important;
}
[data-theme="light"] .cta-section h2 {
    color: #FFFFFF !important;
}
[data-theme="light"] .cta-section .btn-box {
    border-color: rgba(255, 255, 255, 0.2) !important;
}
[data-theme="light"] .cta-section .btn-box a {
    background: #1E293B !important;
    color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   Subpage Header Banner (.page-title) in Light Mode
   -------------------------------------------------------------------------- */
[data-theme="light"] .page-title {
    background: #F1F5F9 !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .page-title h1 {
    color: #0F172A !important;
}

[data-theme="light"] .page-title .bread-crumb:before {
    background: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .page-title .bread-crumb li {
    color: #64748B !important;
}

[data-theme="light"] .page-title .bread-crumb li a {
    color: #0F172A !important;
    font-weight: 500;
}

[data-theme="light"] .page-title .bread-crumb li a:hover {
    color: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .page-title .bread-crumb li:before {
    background: #94A3B8 !important;
}

[data-theme="light"] .page-title .pattern-layer > div {
    opacity: 0.15 !important;
}

/* --------------------------------------------------------------------------
   Ticker Banner (.slide-text) in Light Mode
   -------------------------------------------------------------------------- */
[data-theme="light"] .slide-text {
    background: #FFFFFF !important;
    border-top: 1px solid #E2E8F0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .slide-text .pattern-layer {
    opacity: 0.12 !important;
}

[data-theme="light"] .slide-text .big-text .white_text {
    color: #0F172A !important;
}

[data-theme="light"] .slide-text .text_stroke {
    -webkit-text-stroke-color: rgba(15, 23, 42, 0.18) !important;
    color: transparent !important;
}

[data-theme="light"] .slide-text .big-text .theme_color {
    color: var(--theme-color, #17BCBE) !important;
}

/* --------------------------------------------------------------------------
   Nice-Select Dropdowns in Light Mode
   -------------------------------------------------------------------------- */
[data-theme="light"] .nice-select {
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

[data-theme="light"] .nice-select:after {
    border-bottom: 2px solid #0F172A;
    border-right: 2px solid #0F172A;
}

[data-theme="light"] .nice-select .list {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .nice-select .option {
    color: #0F172A !important;
}

[data-theme="light"] .nice-select .option:hover,
[data-theme="light"] .nice-select .option.focus,
[data-theme="light"] .nice-select .option.selected.focus {
    background-color: #F1F5F9 !important;
    color: var(--theme-color, #17BCBE) !important;
}

/* --------------------------------------------------------------------------
   Navigation, Carousel & Interactive Buttons in Light Mode
   -------------------------------------------------------------------------- */
[data-theme="light"] .owl-nav button {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
}

[data-theme="light"] .owl-nav button:hover {
    border-color: var(--theme-color, #17BCBE) !important;
    background: #F8FAFC !important;
}

[data-theme="light"] .owl-nav button.owl-prev:before,
[data-theme="light"] .owl-nav button.owl-next:before {
    filter: invert(1) brightness(0.2) !important;
    opacity: 0.8 !important;
}

[data-theme="light"] .service-details .nav-btn-box .single-btn,
[data-theme="light"] .blog-details-content .nav-btn-box .single-btn,
[data-theme="light"] .gallery-details-content .nav-btn-box .single-btn {
    border: 1px solid #CBD5E1 !important;
}

[data-theme="light"] .service-details .nav-btn-box .single-btn .shape:before,
[data-theme="light"] .blog-details-content .nav-btn-box .single-btn .shape:before,
[data-theme="light"] .gallery-details-content .nav-btn-box .single-btn .shape:before {
    background: #CBD5E1 !important;
}

[data-theme="light"] .service-details .nav-btn-box .single-btn button,
[data-theme="light"] .blog-details-content .nav-btn-box .single-btn button,
[data-theme="light"] .gallery-details-content .nav-btn-box .single-btn button {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .service-details .nav-btn-box .single-btn button:hover,
[data-theme="light"] .blog-details-content .nav-btn-box .single-btn button:hover,
[data-theme="light"] .gallery-details-content .nav-btn-box .single-btn button:hover {
    background: var(--theme-color, #17BCBE) !important;
    color: #FFFFFF !important;
    border-color: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .pagination li a {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

[data-theme="light"] .pagination li a.current,
[data-theme="light"] .pagination li a:hover {
    background: var(--theme-color, #17BCBE) !important;
    color: #FFFFFF !important;
    border-color: var(--theme-color, #17BCBE) !important;
}

/* --------------------------------------------------------------------------
   Blog Details, Reviews & Comments in Light Mode
   -------------------------------------------------------------------------- */
[data-theme="light"] .blog-details-content .post-tags .tags-list li a {
    background: #F1F5F9 !important;
    color: #475569 !important;
    border: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .blog-details-content .post-tags .tags-list li a:hover {
    background: var(--theme-color, #17BCBE) !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .blog-details-content .author-box {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .blog-details-content .author-box h3,
[data-theme="light"] .blog-details-content .author-box a,
[data-theme="light"] .blog-details-content .comment-box h2,
[data-theme="light"] .comments-form-area h2 {
    color: #0F172A !important;
}

[data-theme="light"] .blog-details-content .comment-box .comment {
    border-bottom: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .blog-details-content .comment-box .comment h4 {
    color: #0F172A !important;
}

[data-theme="light"] .blog-details-content .comment-box .comment .reply-btn {
    color: var(--theme-color, #17BCBE) !important;
}

/* --------------------------------------------------------------------------
   Shop Details in Light Mode
   -------------------------------------------------------------------------- */
[data-theme="light"] .shop-details .product-discription .tab-btn-box .tab-btns li {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #475569 !important;
}

[data-theme="light"] .shop-details .product-discription .tab-btn-box .tab-btns li.active-btn,
[data-theme="light"] .shop-details .product-discription .tab-btn-box .tab-btns li:hover {
    color: #0F172A !important;
    border-color: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .shop-details .product-discription .tab-btn-box .tab-btns li:before {
    background: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .shop-details .product-discription .customer-inner .customer-review {
    border-bottom: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .shop-details-content .addto-cart-box input.quantity-spinner {
    color: #0F172A !important;
    background: transparent !important;
}

[data-theme="light"] .shop-details-content .addto-cart-box .item-quantity {
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
}

[data-theme="light"] .shop-details .product-discription .comment-form input,
[data-theme="light"] .shop-details .product-discription .comment-form textarea {
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

/* --------------------------------------------------------------------------
   Video, Progress & Misc in Light Mode
   -------------------------------------------------------------------------- */
[data-theme="light"] .video-section.style-two .text-box h2 span:before {
    background: #E2E8F0 !important;
}

[data-theme="light"] .video-section.style-two .text-box h2 strong {
    -webkit-text-stroke-color: #0F172A !important;
    color: transparent !important;
}

[data-theme="light"] .video-section .pattern-layer-2 {
    border-color: rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .progress-box .bar {
    background: #E2E8F0 !important;
}

[data-theme="light"] .progress-box .bar:before,
[data-theme="light"] .progress-box .bar-inner:before {
    background: #E2E8F0 !important;
}

[data-theme="light"] .progress-box .bar-inner {
    background: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .team-details .education-content .single-item .info-box:before {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
}

[data-theme="light"] .team-details .education-content .single-item .info-box:after {
    background: #CBD5E1 !important;
}

[data-theme="light"] .scroll-to-top {
    color: #0F172A !important;
    border-color: #CBD5E1 !important;
}

[data-theme="light"] .scroll-to-top .scroll-bar {
    background: #E2E8F0 !important;
}

[data-theme="light"] .scroll-to-top .bar-inner {
    background: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .scroll-to-top .scroll-bar-text {
    color: #0F172A !important;
}

/* --------------------------------------------------------------------------
   Footer Light Mode Styling (Dynamic Theme Switching)
   -------------------------------------------------------------------------- */
[data-theme="light"] .main-footer {
    background: #F1F5F9 !important;
    border-top: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .main-footer .widget-section {
    background: transparent !important;
}

[data-theme="light"] .main-footer .pattern-layer > div,
[data-theme="light"] .main-footer .pattern-layer .pattern-1,
[data-theme="light"] .main-footer .pattern-layer .pattern-2,
[data-theme="light"] .main-footer .pattern-layer .pattern-3,
[data-theme="light"] .main-footer .pattern-layer .pattern-4,
[data-theme="light"] .main-footer .pattern-layer .pattern-5 {
    opacity: 0.12 !important;
}

[data-theme="light"] .main-footer h1,
[data-theme="light"] .main-footer h2,
[data-theme="light"] .main-footer h3,
[data-theme="light"] .main-footer h4,
[data-theme="light"] .main-footer h5,
[data-theme="light"] .main-footer h6,
[data-theme="light"] .main-footer .widget-title h3,
[data-theme="light"] .main-footer .logo-widget h3 a {
    color: #0F172A !important;
}

[data-theme="light"] .main-footer .logo-widget h3 a:hover {
    color: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .main-footer p,
[data-theme="light"] .main-footer .logo-widget p,
[data-theme="light"] .main-footer .subscribe-widget p {
    color: #475569 !important;
}

[data-theme="light"] .main-footer .links-widget .links-list li a,
[data-theme="light"] .main-footer .contact-widget ul li,
[data-theme="light"] .main-footer .contact-widget ul li a,
[data-theme="light"] .main-footer .subscribe-widget .footer-menu li a {
    color: #475569 !important;
}

[data-theme="light"] .main-footer .links-widget .links-list li a:hover,
[data-theme="light"] .main-footer .contact-widget ul li a:hover,
[data-theme="light"] .main-footer .subscribe-widget .footer-menu li a:hover {
    color: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .main-footer .subscribe-widget form .form-group input[type='email'] {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .main-footer .subscribe-widget form .form-group input[type='email']::placeholder {
    color: #94A3B8 !important;
}

[data-theme="light"] .main-footer .subscribe-widget form .form-group input[type='email']:focus {
    border-color: var(--theme-color, #17BCBE) !important;
    box-shadow: 0 0 0 3px rgba(23, 188, 190, 0.18) !important;
    color: #0F172A !important;
}

[data-theme="light"] .main-footer .subscribe-widget form .form-group button[type='submit'] {
    background: var(--theme-color, #17BCBE) !important;
    width: 44px;
    height: 44px;
    top: 9px;
    right: 9px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

[data-theme="light"] .main-footer .subscribe-widget form .form-group button[type='submit']:hover {
    background: #139ea0 !important;
    transform: scale(1.05);
}

[data-theme="light"] .main-footer .subscribe-widget form .form-group button[type='submit'] img {
    filter: brightness(0) invert(1) !important;
}

[data-theme="light"] .main-footer .social-links a {
    background: #E2E8F0 !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
}

[data-theme="light"] .main-footer .social-links a:hover {
    background: var(--theme-color, #17BCBE) !important;
    color: #FFFFFF !important;
    border-color: var(--theme-color, #17BCBE) !important;
    box-shadow: 0 4px 12px rgba(23, 188, 190, 0.3) !important;
}

/* Footer Bottom Bar in Light Mode */
[data-theme="light"] .footer-bottom {
    background: #E2E8F0 !important;
    border-top: 1px solid #CBD5E1 !important;
}

[data-theme="light"] .footer-bottom .bottom-inner p {
    color: #64748B !important;
}

[data-theme="light"] .footer-bottom .bottom-inner p a {
    color: #0F172A !important;
    font-weight: 600;
}

[data-theme="light"] .footer-bottom .bottom-inner p a:hover {
    color: var(--theme-color, #17BCBE) !important;
}

[data-theme="light"] .footer-bottom .social-links a {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
}

[data-theme="light"] .footer-bottom .social-links a:hover {
    background: var(--theme-color, #17BCBE) !important;
    color: #FFFFFF !important;
    border-color: var(--theme-color, #17BCBE) !important;
}


/* --------------------------------------------------------------------------
   Light mode contrast fixes
   These elements kept their dark-theme colours in light mode, leaving white
   or near-white text sitting on a near-white background.
   -------------------------------------------------------------------------- */

/* Section eyebrow labels were #BABABA on #F8FAFC */
[data-theme="light"] .sub-title {
  color: #475569;
}

/* Animated counters were pure white on near-white */
[data-theme="light"] .count-outer,
[data-theme="light"] .count-outer .count-text,
[data-theme="light"] .count-outer .symble {
  color: #0F172A;
}

/* Rotating badge: drop the dark disc so it sits on the light page,
   and darken the text that ran around it */
[data-theme="light"] .curve-text .curved-circle,
[data-theme="light"] .curve-text .curved-circle span {
  color: #475569;
}
[data-theme="light"] .curve-text .curved-circle .char10,
[data-theme="light"] .curve-text .curved-circle .char11,
[data-theme="light"] .curve-text .curved-circle .char12,
[data-theme="light"] .curve-text .curved-circle .char13,
[data-theme="light"] .curve-text .curved-circle .char14,
[data-theme="light"] .curve-text .curved-circle .char15,
[data-theme="light"] .curve-text .curved-circle .char16,
[data-theme="light"] .curve-text .curved-circle .char17 {
  color: #0E8C8E;
}

/* Banner social links (FB / TW / IN / BE) */
[data-theme="light"] .banner-section .social-links li a,
[data-theme="light"] .banner-style-two .social-links li a,
[data-theme="light"] .banner-style-three .social-links li a {
  color: #0F172A;
}
[data-theme="light"] .banner-section .social-links li a:hover,
[data-theme="light"] .banner-style-two .social-links li a:hover,
[data-theme="light"] .banner-style-three .social-links li a:hover {
  color: #17BCBE;
}

/* Capability list on home three */
[data-theme="light"] .gallery-list li a {
  color: #0F172A;
}
[data-theme="light"] .gallery-list li a:hover {
  color: #17BCBE;
}

/* Inline text links such as "Discover OCS" / "More About Us" */
[data-theme="light"] .more-link a span {
  color: #0F172A;
}
[data-theme="light"] .more-link a:hover span {
  color: #17BCBE;
}

/* Spec list on the project detail page - must out-rank the module rule */
[data-theme="light"] .gallery-details-content .content-box .content-three .list-one li {
  color: #0F172A;
}

/* About badges: the first disc is transparent, so its text must go dark.
   The second and third keep a dark / teal disc, so their text stays light. */
[data-theme="light"] .about-section .inner-box .single-item:nth-child(1) p,
[data-theme="light"] .about-section .inner-box .single-item:nth-child(1) p span {
  color: #0F172A;
}
[data-theme="light"] .about-section .inner-box .single-item:nth-child(2) p,
[data-theme="light"] .about-section .inner-box .single-item:nth-child(2) p span,
[data-theme="light"] .about-section .inner-box .single-item:nth-child(3) p,
[data-theme="light"] .about-section .inner-box .single-item:nth-child(3) p span {
  color: #FFFFFF;
}

/* Home three banner keeps a dark stat panel - the blanket light-mode
   heading rule uses !important, so this has to as well */
[data-theme="light"] .banner-style-three .inner-box .inner h3 {
  color: #FFFFFF !important;
}
[data-theme="light"] .banner-style-three .inner-box .inner p,
[data-theme="light"] .banner-style-three .inner-box .inner span {
  color: #E2E8F0;
}

/* The CTA band stays dark in light mode - keep its label readable */
[data-theme="light"] .cta-section .sub-title {
  color: #E2E8F0;
}

/* Badge sitting inside the light about panel - the module rule paints these
   characters white, which disappears once the panel goes light */
[data-theme="light"] .about-section .video-inner .curve-text .curved-circle .char10,
[data-theme="light"] .about-section .video-inner .curve-text .curved-circle .char11,
[data-theme="light"] .about-section .video-inner .curve-text .curved-circle .char12,
[data-theme="light"] .about-section .video-inner .curve-text .curved-circle .char13,
[data-theme="light"] .about-section .video-inner .curve-text .curved-circle .char14,
[data-theme="light"] .about-section .video-inner .curve-text .curved-circle .char15,
[data-theme="light"] .about-section .video-inner .curve-text .curved-circle .char16,
[data-theme="light"] .about-section .video-inner .curve-text .curved-circle .char17 {
  color: #0E8C8E;
}

/* Badge on the teal video band - that band stays teal in light mode,
   so every character here needs to stay white */
[data-theme="light"] .video-section.style-two .curve-text .curved-circle,
[data-theme="light"] .video-section.style-two .curve-text .curved-circle span,
[data-theme="light"] .video-section.style-two .curve-text .curved-circle .char10,
[data-theme="light"] .video-section.style-two .curve-text .curved-circle .char11,
[data-theme="light"] .video-section.style-two .curve-text .curved-circle .char12,
[data-theme="light"] .video-section.style-two .curve-text .curved-circle .char13,
[data-theme="light"] .video-section.style-two .curve-text .curved-circle .char14,
[data-theme="light"] .video-section.style-two .curve-text .curved-circle .char15,
[data-theme="light"] .video-section.style-two .curve-text .curved-circle .char16,
[data-theme="light"] .video-section.style-two .curve-text .curved-circle .char17 {
  color: #FFFFFF;
}

/* Home three: this badge sits on the teal shape, so it needs light text */
[data-theme="light"] .banner-style-three .curve-text .curved-circle,
[data-theme="light"] .banner-style-three .curve-text .curved-circle span,
[data-theme="light"] .banner-style-three .curve-text .curved-circle .char10,
[data-theme="light"] .banner-style-three .curve-text .curved-circle .char11,
[data-theme="light"] .banner-style-three .curve-text .curved-circle .char12,
[data-theme="light"] .banner-style-three .curve-text .curved-circle .char13,
[data-theme="light"] .banner-style-three .curve-text .curved-circle .char14,
[data-theme="light"] .banner-style-three .curve-text .curved-circle .char15,
[data-theme="light"] .banner-style-three .curve-text .curved-circle .char16,
[data-theme="light"] .banner-style-three .curve-text .curved-circle .char17 {
  color: #FFFFFF;
}

/* Service details: the module rule paints the accent characters white,
   which vanishes on the light panel */
[data-theme="light"] .service-details .curve-text .curved-circle .char10,
[data-theme="light"] .service-details .curve-text .curved-circle .char11,
[data-theme="light"] .service-details .curve-text .curved-circle .char12,
[data-theme="light"] .service-details .curve-text .curved-circle .char13,
[data-theme="light"] .service-details .curve-text .curved-circle .char14,
[data-theme="light"] .service-details .curve-text .curved-circle .char15,
[data-theme="light"] .service-details .curve-text .curved-circle .char16,
[data-theme="light"] .service-details .curve-text .curved-circle .char17 {
  color: #0E8C8E;
}

/* Count chip on the teal shape keeps solid white, matching the buttons */
[data-theme="light"] .banner-style-three .inner-box .clients-list li span {
  color: #FFFFFF;
}
