body,
body.boxed-wrapper .page-wrapper,
.about-one__satisfied-box-inner,
.services-one:before,
.team-one__single,
.video-one__contact-box:before,
.video-one__contact-box:after {
    background-color: var(--judges-black);
}

/* Sticky header glass effect in dark mode */
.stricky-header.main-menu {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(25px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Make top header match sticky header background in dark theme with glass effect */
header.main-header,
.main-header {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    color: var(--judges-white) !important;
}

.main-menu,
.main-menu__wrapper {
    background-color: transparent !important;
    color: var(--judges-white) !important;
}

.main-menu__wrapper-inner,
.main-menu__left,
.main-menu__main-menu-box,
.main-menu__right,
.stricky-header.main-menu {
    background-color: transparent !important;
    color: var(--judges-white) !important;
}


.services-one__icon,
.services-one__btn:hover,
.why-choose-one,
.why-choose-one__icon,
.why-choose-one__round-text-box,
.skill-one__video-content,
.process-one__icon,
.testimonial-one__single,
.case-one:before,
.case-one__content,
.counter-one__content,
.team-one,
.video-one__contact-box,
.faq-one-accrodion .accrodion {
    background-color: #1c1c1c;
}



.main-menu__wrapper {
    border-bottom: 1px solid rgba(var(--judges-white-rgb), .10);
}



.main-menu .main-menu__list>li>a,
.stricky-header .main-menu__list>li>a,
.main-menu .main-menu__list>li.dropdown>a:after,
.main-menu__call-number a,
.main-menu__search,
.main-menu__cart,
.thm-btn,
.main-slider__title,
.section-title__title,
.about-one__points-content h4,
.about-one__high-quality-service h5,
.about-one__satisfied-count h3,
.about-one__satisfied-count span,
.services-one__title a,
.why-choose-one__points li .content h3 a,
.skill-one__progress-title,
.skill-one__progress-box .progress-box .bar-title,
.process-one__title,
.testimonial-one__satisfied-clients-text span,
.testimonial-one__client-name a,
.case-one__content-box h3 a,
.counter-one__count-box h3,
.counter-one__count-box span,
.team-one__name a,
.faq-one-accrodion .accrodion-title h4,
.pricing-one__price-title,
.brand-one__text,
.blog-one__title a,
.blog-one__read-more {
    color: var(--judges-white);
}

.main-menu .main-menu__list>li.current>a::after,
.main-menu .main-menu__list>li:hover>a::after,
.stricky-header .main-menu__list>li.current>a::after,
.stricky-header .main-menu__list>li:hover>a::after,
.main-menu__call-sub-title,
.about-one__satisfied-count-text {
    color: var(--judges-base);
}







.main-slider__text,
.about-one__text,
.about-one__points-content p,
.services-one__text,
.why-choose-one__text,
.why-choose-one__points li .content p,
.skill-one__text,
.process-one__text,
.testimonial-one__client-sub-title,
.testimonial-one__text,
.case-one__content-box p,
.faq-one-accrodion .accrodion-content p,
.blog-one__text {
    color: rgba(var(--judges-white-rgb), .60);
}







.main-slider__btn .thm-btn {
    color: var(--judges-black);
}

.main-slider__btn .thm-btn:hover {
    color: var(--judges-white);
}

.main-slider__video-icon {
    color: var(--judges-base);
    background-color: rgba(var(--judges-white-rgb), 1);
}

.main-slider__video-link .ripple,
.main-slider__video-icon .ripple:before,
.main-slider__video-icon .ripple:after {
    -ms-box-shadow: 0 0 0 0 rgba(var(--judges-base-rgb), 0.6);
    -o-box-shadow: 0 0 0 0 rgba(var(--judges-base-rgb), 0.6);
    -webkit-box-shadow: 0 0 0 0 rgba(var(--judges-base-rgb), 0.6);
    box-shadow: 0 0 0 0 rgba(var(--judges-base-rgb), 0.6);
}





.about-one__high-quality-service {
    background-color: rgba(var(--judges-black-rgb), 1);
}

.about-one__shape-2 {
    filter: brightness(0.5);
}

.services-one__single {
    background-color: var(--judges-black);
    border: 1px solid rgba(var(--judges-white-rgb), .10);
}

.services-one__count {
    -webkit-text-stroke: 1px rgba(var(--judges-white-rgb), .10);
}

.skill-one__progress-box .progress-box .bar {
    background-color: rgba(var(--judges-white-rgb), .10);
}

.process-one__shape-4 {
    opacity: .05;
}

.process-one__shape-1,
.process-one__shape-2,
.process-one__shape-3 {
    border: 1px dashed rgba(var(--judges-white-rgb), .10);
}

.testimonial-one__img img {
    border: 5px solid #1c1c1c;
}

.counter-one__text {
    background-color: var(--judges-black);
    color: var(--judges-white);
}

.team-one__shape-box-2,
.team-one__shape-box {
    background: rgba(22, 22, 22, 0.8);
}

.team-one__shape-2,
.team-one__shape-1 {
    background: rgba(16, 15, 15, .50);
}

.team-one__single:hover .team-one__shape-2,
.team-one__single:hover .team-one__shape-1 {
    background: rgba(16, 15, 15, .2);
}

.video-one-contact__btn-box .thm-btn {
    color: var(--judges-black);
}

.video-one-contact__btn-box .thm-btn:hover {
    color: var(--judges-white);
}

.pricing-one__single-inner {
    background-color: #1c1c1c;
}

.brand-one {
    border-top: 1px solid rgba(var(--judges-white-rgb), .10);
    border-bottom: 1px solid rgba(var(--judges-white-rgb), .10);
}

.brand-one__img img {
    filter: none;
}

.blog-one__single {
    background-color: #1c1c1c;
    border: 1px solid rgba(var(--judges-white-rgb), .10);
}

.blog-one__single:hover {
    background-color: #1c1c1c;
}

.blog-one__date span {
    background-color: var(--judges-black);
    color: var(--judges-white);
}

.footer-widget__newsletter-form .thm-btn {
    color: var(--judges-black);
}

.footer-widget__newsletter-form .thm-btn:hover {
    color: var(--judges-white);
}

.video-one-contact__input-box input[type="text"],
.video-one-contact__input-box input[type="email"],
.video-one-contact__input-box .nice-select,
.video-one-contact__input-box textarea {
    border: 1px solid rgba(var(--judges-white-rgb), .10);
}

.xs-sidebar-group .content-inner .form-inner .form-group button {
    color: var(--judges-black);
}

.xs-sidebar-group .content-inner .form-inner .form-group button:hover {
    color: var(--judges-white);
}


.blog-one__carousel.owl-theme .owl-nav .owl-next:hover,
.blog-one__carousel.owl-theme .owl-nav .owl-prev:hover {
    background-color: #1c1c1c !important;
    color: var(--judges-white) !important;
}



@media only screen and (max-width: 767px) {
    .about-one__points--two {
        border-top: 1px solid rgba(var(--judges-white-rgb), .10);
    }
}


.main-menu .mobile-nav__toggler:hover {
    color: var(--judges-white);
}



/* End */

/* Ensure navbar brand text is white in dark theme (overrides other forced rules) */
.main-header .main-menu__brand-title,
.main-header .main-menu__brand-subtitle,
.main-header #site-name-header,
.main-menu__brand-title,
.main-menu__brand-subtitle,
#site-name-header {
    color: var(--judges-white) !important;
}

/* Fix any remaining navbar elements */
body.dark-mode .navbar,
body.dark-mode .navbar-brand,
body.dark-mode .navbar-nav,
body.dark-mode .nav-link {
    background: var(--judges-black) !important;
    color: var(--judges-white) !important;
}

body.dark-mode .navbar-toggler {
    background: rgba(34, 211, 238, 0.1) !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
}

body.dark-mode .navbar-toggler-icon {
    filter: invert(1) !important;
}

/* Fix dropdown menus */
body.dark-mode .dropdown-menu {
    background: #1e293b !important;
    border: 1px solid rgba(34, 211, 238, 0.2) !important;
}

body.dark-mode .dropdown-item {
    color: #f1f5f9 !important;
}

body.dark-mode .dropdown-item:hover {
    background: rgba(34, 211, 238, 0.1) !important;
    color: #f1f5f9 !important;
}

/* Override login page inline styles so background becomes dark in dark theme */
body,
.login-bg {
    background: #0b0b0d !important; /* dark charcoal */
}

/* Make login card adapt to dark theme for readability */
.login-card {
    background: #35353d !important;
    box-shadow: 0 6px 30px rgba(0,0,0,0.6) !important;
}

.login-title,
.login-desc,
.login-label,
.login-input,
.login-footer,
.login-footer-copy,
.login-footer-logo span {
    color: #e6e6e6 !important;
}

.login-input {
    background: #0f1113 !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e6e6e6 !important;
}

/* Dark-mode card backgrounds for Infografis and Berita */
.case-one .info-card,
.case-one .info-card__body,
.case-one .info-card__media,
.blog-one__single,
.blog-one__content,
.blog-one__img-box {
    /* Dark gray translucent surface */
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    /* box-shadow: 0 8px 30px rgba(0,0,0,0.6) !important; */
    /* border: 1px solid rgba(34, 211, 238, 0.1) !important; */
}

.case-one .info-card__media,
.blog-one__img-box {
    background: #1e293b !important;
    /* border: 1px solid rgba(34, 211, 238, 0.2) !important; */
}

.case-one .info-card:hover,

/* Main Slider Section */
body.dark-mode .main-slider {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 100%);
    position: relative;
}

body.dark-mode .main-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

body.dark-mode .main-slider__title {
    color: #f1f5f9;
    text-shadow: 0 4px 20px rgba(34, 211, 238, 0.4),
                 0 0 40px rgba(34, 211, 238, 0.2);
}

body.dark-mode .main-slider__text {
    color: #e0e7ff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

body.dark-mode .main-slider__content {
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(34, 211, 238, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Running Text Section */
body.dark-mode .running-text-one {
    background: linear-gradient(90deg, #151b2e 0%, #1e293b 50%, #151b2e 100%);
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.1);
    position: relative;
}

body.dark-mode .running-text-one::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22d3ee, transparent);
}

body.dark-mode .running-text-one::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

body.dark-mode .running-text-one .marquee span {
    color: #22d3ee;
    text-shadow: 0 0 25px rgba(34, 211, 238, 0.6),
                 0 0 50px rgba(34, 211, 238, 0.3);
    font-weight: 600;
}

/* Services Section (Indikator Kualitas Perumahan) */
body.dark-mode .services-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 100%);
    position: relative;
}

body.dark-mode .services-one:before {
    background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.03) 0%, transparent 70%);
}

body.dark-mode .services-one__single {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%);
    border: 1px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(34, 211, 238, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .services-one__single::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.1), transparent);
    transition: left 0.6s ease;
}

body.dark-mode .services-one__single:hover::before {
    left: 100%;
}

body.dark-mode .services-one__single:hover {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.98) 0%, rgba(71, 85, 105, 0.98) 100%);
    border-color: #22d3ee;
    box-shadow: 0 12px 40px rgba(34, 211, 238, 0.3), 
                0 0 30px rgba(34, 211, 238, 0.2),
                inset 0 0 20px rgba(34, 211, 238, 0.05);
    transform: translateY(-8px) scale(1.02);
}

body.dark-mode .services-one__icon {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.4),
                0 0 30px rgba(34, 211, 238, 0.3);
    transition: all 0.3s ease;
}

body.dark-mode .services-one__single:hover .services-one__icon {
    box-shadow: 0 12px 30px rgba(34, 211, 238, 0.6),
                0 0 50px rgba(34, 211, 238, 0.4);
    transform: scale(1.1) rotate(5deg);
}

body.dark-mode .services-one__title a {
    color: #f1f5f9;
    transition: all 0.3s ease;
}

body.dark-mode .services-one__title a:hover {
    color: #22d3ee;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
}

body.dark-mode .services-one__text {
    color: #cbd5e1;
}

body.dark-mode .services-one__count {
    color: rgba(34, 211, 238, 0.08);
    -webkit-text-stroke: 1px rgba(34, 211, 238, 0.25);
    text-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
}

/* Bank Desain Section */
body.dark-mode .team-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 100%);
    position: relative;
}

body.dark-mode .team-one:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

body.dark-mode .section-title__title {
    color: #f1f5f9;
    text-shadow: 0 2px 20px rgba(34, 211, 238, 0.2);
}

body.dark-mode .section-title__tagline {
    color: #22d3ee;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

body.dark-mode .design-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(51, 65, 85, 0.98) 100%);
    border: 1px solid rgba(34, 211, 238, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                0 0 25px rgba(34, 211, 238, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .design-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.dark-mode .design-card:hover::after {
    opacity: 1;
}

body.dark-mode .design-card:hover {
    border-color: #22d3ee;
    box-shadow: 0 15px 50px rgba(34, 211, 238, 0.35), 
                0 0 40px rgba(34, 211, 238, 0.25),
                inset 0 0 30px rgba(34, 211, 238, 0.08);
    transform: translateY(-12px) scale(1.03);
}

body.dark-mode .design-card__img-overlay {
    background: linear-gradient(to bottom, 
                                transparent 0%, 
                                rgba(10, 15, 30, 0.7) 50%,
                                rgba(10, 15, 30, 0.95) 100%);
}

body.dark-mode .design-card__title {
    color: #f1f5f9;
    transition: all 0.3s ease;
}

body.dark-mode .design-card:hover .design-card__title {
    color: #22d3ee;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
}

body.dark-mode .design-card__category {
    color: #22d3ee;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

body.dark-mode .design-card__download-btn {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    color: #0f172a;
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
}

body.dark-mode .design-card__download-btn:hover {
    box-shadow: 0 8px 30px rgba(34, 211, 238, 0.6),
                0 0 25px rgba(34, 211, 238, 0.4);
    transform: scale(1.08) translateY(-2px);
}

body.dark-mode .filter-btn {
    background: rgba(30, 41, 59, 0.8);
    color: #cbd5e1;
    border: 1px solid rgba(34, 211, 238, 0.25);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

body.dark-mode .filter-btn.active,
body.dark-mode .filter-btn:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    color: #0f172a;
    border-color: #22d3ee;
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.4),
                0 0 25px rgba(34, 211, 238, 0.3);
    transform: translateY(-2px);
}

/* Process Section (Tahapan Pembangunan) */
body.dark-mode .process-one {
    background: linear-gradient(135deg, #151b2e 0%, #0a0f1e 100%);
    position: relative;
}

body.dark-mode .process-one:before {
    background: radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
}

body.dark-mode .process-one__single {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%);
    border: 1px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(34, 211, 238, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .process-one__single::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0) 0%, rgba(34, 211, 238, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.dark-mode .process-one__single:hover::before {
    opacity: 1;
}

body.dark-mode .process-one__single:hover {
    border-color: #22d3ee;
    box-shadow: 0 12px 40px rgba(34, 211, 238, 0.35), 
                0 0 35px rgba(34, 211, 238, 0.25);
    transform: translateY(-8px);
}

body.dark-mode .process-one__icon {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.5),
                0 8px 20px rgba(34, 211, 238, 0.3);
    transition: all 0.4s ease;
}

body.dark-mode .process-one__single:hover .process-one__icon {
    box-shadow: 0 0 50px rgba(34, 211, 238, 0.7),
                0 12px 30px rgba(34, 211, 238, 0.5);
    transform: scale(1.15) rotate(-5deg);
}

body.dark-mode .process-one__title {
    color: #f1f5f9;
    transition: color 0.3s ease;
}

body.dark-mode .process-one__single:hover .process-one__title {
    color: #22d3ee;
}

body.dark-mode .process-one__text {
    color: #cbd5e1;
}

/* Case Section (Infografis) */
body.dark-mode .case-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 100%);
    position: relative;
}

body.dark-mode .case-one:before {
    background: radial-gradient(circle at 40% 50%, rgba(34, 211, 238, 0.04) 0%, transparent 65%);
}

body.dark-mode .info-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(51, 65, 85, 0.98) 100%) !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 
                0 0 30px rgba(34, 211, 238, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, 
                               transparent 0deg,
                               rgba(34, 211, 238, 0.1) 90deg,
                               transparent 180deg);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.8s ease;
}

body.dark-mode .info-card:hover::before {
    opacity: 1;
    transform: rotate(180deg);
}

body.dark-mode .info-card:hover {
    border-color: #22d3ee !important;
    box-shadow: 0 15px 50px rgba(34, 211, 238, 0.4), 
                0 0 50px rgba(34, 211, 238, 0.3),
                inset 0 0 30px rgba(34, 211, 238, 0.1) !important;
    transform: translateY(-12px) scale(1.02);
}

body.dark-mode .info-card__media {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%) !important;
    position: relative;
}

body.dark-mode .info-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(10, 15, 30, 0.3) 100%);
}

body.dark-mode .info-card__title {
    color: #f1f5f9 !important;
    transition: all 0.3s ease;
}

body.dark-mode .info-card:hover .info-card__title {
    color: #22d3ee !important;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

body.dark-mode .info-card__body p {
    color: #cbd5e1 !important;
}

body.dark-mode .info-card__view-btn {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    color: #0f172a;
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
}

body.dark-mode .info-card__view-btn:hover {
    box-shadow: 0 8px 30px rgba(34, 211, 238, 0.6),
                0 0 30px rgba(34, 211, 238, 0.5);
    transform: scale(1.08);
}

/* Blog Section (Berita) */
body.dark-mode .blog-one {
    background: linear-gradient(135deg, #151b2e 0%, #0a0f1e 100%);
    position: relative;
}

body.dark-mode .blog-one:before {
    background: radial-gradient(circle at 60% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 65%);
}

body.dark-mode .blog-one__single {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(51, 65, 85, 0.98) 100%) !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 
                0 0 30px rgba(34, 211, 238, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .blog-one__single::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22d3ee 0%, #3b82f6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

body.dark-mode .blog-one__single:hover::after {
    transform: scaleX(1);
}

body.dark-mode .blog-one__single:hover {
    border-color: #22d3ee !important;
    box-shadow: 0 15px 50px rgba(34, 211, 238, 0.4), 
                0 0 50px rgba(34, 211, 238, 0.3),
                inset 0 0 30px rgba(34, 211, 238, 0.08) !important;
    transform: translateY(-12px);
}

body.dark-mode .blog-one__img-box {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%) !important;
    position: relative;
    overflow: hidden;
}

body.dark-mode .blog-one__img-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(34, 211, 238, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.dark-mode .blog-one__single:hover .blog-one__img-box::before {
    opacity: 1;
}

body.dark-mode .blog-one__title a {
    color: #f1f5f9 !important;
    transition: all 0.3s ease;
}

body.dark-mode .blog-one__title a:hover {
    color: #22d3ee !important;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

body.dark-mode .blog-one__text {
    color: #cbd5e1 !important;
}

body.dark-mode .blog-one__date span {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

body.dark-mode .blog-one__read-more {
    color: #22d3ee !important;
    transition: all 0.3s ease;
    position: relative;
}

body.dark-mode .blog-one__read-more::after {
    content: '→';
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

body.dark-mode .blog-one__read-more:hover {
    color: #3b82f6 !important;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

body.dark-mode .blog-one__read-more:hover::after {
    transform: translateX(5px);
}

body.dark-mode .view-all-btn {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    color: #0f172a;
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    border: none;
    position: relative;
    overflow: hidden;
}

body.dark-mode .view-all-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

body.dark-mode .view-all-btn:hover::before {
    width: 300px;
    height: 300px;
}

body.dark-mode .view-all-btn:hover {
    box-shadow: 0 12px 40px rgba(34, 211, 238, 0.6),
                0 0 40px rgba(34, 211, 238, 0.4);
    transform: scale(1.05) translateY(-3px);
}

/* Modal Styling */
body.dark-mode .modal-content {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(51, 65, 85, 0.98) 100%);
    border: 1px solid rgba(34, 211, 238, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(34, 211, 238, 0.2);
    backdrop-filter: blur(20px);
}

body.dark-mode .modal-header {
    border-bottom: 2px solid rgba(34, 211, 238, 0.3);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, transparent 100%);
}

body.dark-mode .modal-title {
    color: #f1f5f9;
    text-shadow: 0 2px 10px rgba(34, 211, 238, 0.3);
}

body.dark-mode .modal-body {
    color: #cbd5e1;
}

body.dark-mode .btn-close {
    filter: invert(1) brightness(1.8);
    transition: all 0.3s ease;
}

body.dark-mode .btn-close:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Scrollbar Styling */
body.dark-mode ::-webkit-scrollbar {
    width: 14px;
}

body.dark-mode ::-webkit-scrollbar-track {
    background: #0a0f1e;
    border-left: 1px solid rgba(34, 211, 238, 0.1);
}

body.dark-mode ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    border-radius: 10px;
    border: 2px solid #0a0f1e;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.6);
}

/* Text Selection */
body.dark-mode ::selection {
    background: rgba(34, 211, 238, 0.4);
    color: #f1f5f9;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

/* Placeholder Text */
body.dark-mode ::placeholder {
    color: #64748b;
    opacity: 1;
}

/* Carousel Navigation */
body.dark-mode .owl-nav button {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%) !important;
    color: #22d3ee !important;
    border: 2px solid rgba(34, 211, 238, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

body.dark-mode .owl-nav button:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%) !important;
    color: #0f172a !important;
    box-shadow: 0 6px 25px rgba(34, 211, 238, 0.5),
                0 0 30px rgba(34, 211, 238, 0.3) !important;
    transform: scale(1.1) !important;
}

body.dark-mode .owl-dots .owl-dot span {
    background: rgba(34, 211, 238, 0.4) !important;
    transition: all 0.3s ease !important;
}

body.dark-mode .owl-dots .owl-dot.active span,
body.dark-mode .owl-dots .owl-dot:hover span {
    background: #22d3ee !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.8),
                0 0 30px rgba(34, 211, 238, 0.4);
    transform: scale(1.3);
}

/* Loading States */
body.dark-mode .spinner-border {
    color: #22d3ee;
    filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.6));
}

/* Tooltips */
body.dark-mode .tooltip-inner {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(51, 65, 85, 0.98) 100%);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: #f1f5f9;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(34, 211, 238, 0.3);
}

/* Additional Glow Effects */
body.dark-mode .glow-on-hover:hover {
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.7),
                0 0 50px rgba(34, 211, 238, 0.5),
                0 0 75px rgba(34, 211, 238, 0.3),
                inset 0 0 20px rgba(34, 211, 238, 0.1);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 25px rgba(34, 211, 238, 0.7),
                    0 0 50px rgba(34, 211, 238, 0.5),
                    0 0 75px rgba(34, 211, 238, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(34, 211, 238, 0.9),
                    0 0 60px rgba(34, 211, 238, 0.7),
                    0 0 90px rgba(34, 211, 238, 0.5);
    }
}

/* Smooth transitions for all interactive elements */
body.dark-mode * {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add shimmer effect to cards */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

body.dark-mode .design-card:hover::before,
body.dark-mode .info-card:hover::before,
body.dark-mode .blog-one__single:hover::before {
    animation: shimmer 3s infinite;
    background: linear-gradient(90deg, 
                                transparent, 
                                rgba(34, 211, 238, 0.1), 
                                transparent);
    background-size: 1000px 100%;
}

/* ========================================
   ADDITIONAL DARK MODE FIXES FOR HARDCODED WHITE COLORS
   ======================================== */

/* Fix hardcoded white colors in Bank Desain section */
body.dark-mode .design-card__title,
body.dark-mode .design-card h3,
body.dark-mode .design-card h4,
body.dark-mode .team-one .design-card h3,
body.dark-mode .team-one .design-card h4 {
    color: #f1f5f9 !important;
}

body.dark-mode .design-card,
body.dark-mode .team-one .design-card,
body.dark-mode .design-card__body {
    background: #1e293b !important;
    border: 1px solid rgba(34, 211, 238, 0.1) !important;
}

/* Fix hardcoded white colors in Blog section */
body.dark-mode .blog-one__single,
body.dark-mode .blog-one__content,
body.dark-mode .blog-one__img-box,
body.dark-mode .blog-one .blog-one__single {
    background: #1e293b !important;
    color: #f1f5f9 !important;
}

body.dark-mode .blog-one__title,
body.dark-mode .blog-one__title a,
body.dark-mode .blog-one h3,
body.dark-mode .blog-one h4 {
    color: #f1f5f9 !important;
}

body.dark-mode .blog-one__read-more,
body.dark-mode .blog-one .btn,
body.dark-mode .blog-one button {
    color: #f1f5f9 !important;
    background: rgba(34, 211, 238, 0.1) !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
}

/* Fix hardcoded white colors in Infografis section */
body.dark-mode .case-one .info-card,
body.dark-mode .case-one .info-card__body,
body.dark-mode .case-one .info-card__media {
    background: #1e293b !important;
    color: #f1f5f9 !important;
}

body.dark-mode .case-one .info-card__title,
body.dark-mode .case-one .info-card h3,
body.dark-mode .case-one .info-card h4 {
    color: #f1f5f9 !important;
}

body.dark-mode .case-one .info-card__view-btn,
body.dark-mode .case-one .btn,
body.dark-mode .case-one button {
    color: #f1f5f9 !important;
    background: rgba(34, 211, 238, 0.1) !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
}

/* Fix modal content */
body.dark-mode .modal-content,
body.dark-mode .article-modal .modal-content,
body.dark-mode #infographicModal .modal-content {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(34, 211, 238, 0.2) !important;
}

body.dark-mode .modal-header,
body.dark-mode .modal-body,
body.dark-mode .modal-footer {
    background: transparent !important;
    color: #f1f5f9 !important;
    border-color: rgba(34, 211, 238, 0.2) !important;
}

/* Fix owl carousel navigation */
body.dark-mode .owl-nav button,
body.dark-mode .owl-theme .owl-nav [class*="owl-"] {
    background: rgba(30, 41, 59, 0.9) !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
}

body.dark-mode .owl-nav button:hover,
body.dark-mode .owl-theme .owl-nav [class*="owl-"]:hover {
    background: rgba(34, 211, 238, 0.2) !important;
    color: #f1f5f9 !important;
}

/* Fix pagination dots */
body.dark-mode .owl-dots .owl-dot span,
body.dark-mode .owl-theme .owl-dots .owl-dot span {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
}

body.dark-mode .owl-dots .owl-dot.active span,
body.dark-mode .owl-dots .owl-dot:hover span,
body.dark-mode .owl-theme .owl-dots .owl-dot.active span,
body.dark-mode .owl-theme .owl-dots .owl-dot:hover span {
    background: rgba(34, 211, 238, 0.6) !important;
}

/* Fix any remaining white backgrounds */
body.dark-mode *[style*="background: #fff"],
body.dark-mode *[style*="background: #ffffff"],
body.dark-mode *[style*="background:#fff"],
body.dark-mode *[style*="background:#ffffff"] {
    background: #1e293b !important;
}

/* Fix any remaining white text colors */
body.dark-mode *[style*="color: #fff"],
body.dark-mode *[style*="color: #ffffff"],
body.dark-mode *[style*="color:#fff"],
body.dark-mode *[style*="color:#ffffff"] {
    color: #f1f5f9 !important;
}

/* Fix form elements */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select,
body.dark-mode .form-control {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: rgba(241, 245, 249, 0.5) !important;
}

/* Fix buttons */
body.dark-mode .btn,
body.dark-mode button {
    background: rgba(30, 41, 59, 0.9) !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
}

body.dark-mode .btn:hover,
body.dark-mode button:hover {
    background: rgba(34, 211, 238, 0.2) !important;
    color: #f1f5f9 !important;
}

/* Fix loading states and overlays */
body.dark-mode .loading,
body.dark-mode .overlay,
body.dark-mode .backdrop {
    background: rgba(10, 15, 30, 0.9) !important;
}

/* Ensure all sections use dark backgrounds */
body.dark-mode section,
body.dark-mode .section {
    background: var(--judges-black) !important;
}

/* Override any light backgrounds in custom styles */
body.dark-mode .case-one,
body.dark-mode .blog-one,
body.dark-mode .team-one,
body.dark-mode .services-one,
body.dark-mode .process-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

/* ========================================
   COMPREHENSIVE DARK MODE SECTION OVERRIDES
   ======================================== */

/* Force all sections to use dark backgrounds */
body.dark-mode .main-slider,
body.dark-mode .running-text-one,
body.dark-mode .sliding-text-one,
body.dark-mode .services-one,
body.dark-mode .team-one,
body.dark-mode .process-one,
body.dark-mode .case-one,
body.dark-mode .blog-one,
body.dark-mode .footer {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
    color: #f1f5f9 !important;
}

/* Override section-specific gradient backgrounds */
body.dark-mode .services-one[style*="background"],
body.dark-mode .team-one[style*="background"],
body.dark-mode .process-one[style*="background"],
body.dark-mode .case-one[style*="background"],
body.dark-mode .blog-one[style*="background"] {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

/* Force section titles and text to use dark mode colors */
body.dark-mode .section-title__title,
body.dark-mode .section-title__tagline,
body.dark-mode .section-title__text,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, 
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: #f1f5f9 !important;
}

body.dark-mode p,
body.dark-mode .section-title__text,
body.dark-mode .description {
    color: rgba(241, 245, 249, 0.8) !important;
}

/* Override any inline styles that force light backgrounds */
body.dark-mode *[style*="background: linear-gradient"] {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

body.dark-mode *[style*="background-color: #f"] {
    background-color: #1e293b !important;
}

/* Fix specific section backgrounds that might be hardcoded */
body.dark-mode .services-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

body.dark-mode .team-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

body.dark-mode .process-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

body.dark-mode .case-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

body.dark-mode .blog-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

/* Fix running text section */
body.dark-mode .sliding-text-one,
body.dark-mode .running-text-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

body.dark-mode .sliding-text-one__list li,
body.dark-mode .marquee span {
    color: #22d3ee !important;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

/* Ensure all cards follow dark theme */
body.dark-mode .services-one__single,
body.dark-mode .process-one__single,
body.dark-mode .design-card {
    background: #1e293b !important;
    border: 1px solid rgba(34, 211, 238, 0.2) !important;
    color: #f1f5f9 !important;
}

/* Fix any remaining light elements */
body.dark-mode .container,
body.dark-mode .row,
body.dark-mode .col-md-6,
body.dark-mode .col-lg-4 {
    color: inherit !important;
}

/* ========================================
   FORCE OVERRIDE FOR INLINE STYLES
   ======================================== */

/* Override specific inline gradient backgrounds found in home.blade.php */
body.dark-mode .services-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

body.dark-mode .team-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

body.dark-mode .process-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

body.dark-mode .case-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

body.dark-mode .blog-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

/* Force override using higher specificity */
body.dark-mode section.services-one,
body.dark-mode section.team-one,
body.dark-mode section.process-one,
body.dark-mode section.case-one,
body.dark-mode section.blog-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

/* Override any CSS-in-JS or inline styles with very high specificity */
body.dark-mode .services-one[style],
body.dark-mode .team-one[style],
body.dark-mode .process-one[style],
body.dark-mode .case-one[style],
body.dark-mode .blog-one[style] {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

/* Override nested style elements within sections */
body.dark-mode .services-one style,
body.dark-mode .team-one style,
body.dark-mode .process-one style,
body.dark-mode .case-one style,
body.dark-mode .blog-one style {
    display: none !important;
}

/* Use CSS custom properties to force dark mode */
body.dark-mode {
    --section-bg: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
    --section-text: #f1f5f9;
    --section-text-muted: rgba(241, 245, 249, 0.8);
}

/* Apply to all potential section backgrounds */
body.dark-mode section {
    background: var(--section-bg) !important;
    color: var(--section-text) !important;
}

/* ========================================
   JAVASCRIPT ASSISTED DARK MODE OVERRIDES
   ======================================== */

/* Add this script to dynamically override inline styles */

/* ========================================
   ULTIMATE DARK MODE SECTION OVERRIDES
   ======================================== */

/* Force all sections to use dark theme with maximum specificity */
body.dark-mode section.services-one,
body.dark-mode section.team-one, 
body.dark-mode section.process-one,
body.dark-mode section.case-one,
body.dark-mode section.blog-one,
body.dark-mode .services-one,
body.dark-mode .team-one,
body.dark-mode .process-one, 
body.dark-mode .case-one,
body.dark-mode .blog-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
    background-color: #0a0f1e !important;
}

/* Override any potential CSS variables */
body.dark-mode {
    --services-bg: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
    --team-bg: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
    --process-bg: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
    --case-bg: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
    --blog-bg: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
}

/* Super aggressive override for inline styles */
body.dark-mode [style*="background"] {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

/* Target specific light gradients and override them */
body.dark-mode [style*="#f0f9ff"],
body.dark-mode [style*="#f0f4f8"],
body.dark-mode [style*="#f8fafc"],
body.dark-mode [style*="#e0f2fe"] {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

/* Make sure section containers also follow dark theme */
body.dark-mode .services-one .container,
body.dark-mode .team-one .container,
body.dark-mode .process-one .container,
body.dark-mode .case-one .container,
body.dark-mode .blog-one .container {
    background: transparent !important;
    color: #f1f5f9 !important;
}

/* Additional overrides for nested elements */
body.dark-mode .services-one *,
body.dark-mode .team-one *,
body.dark-mode .process-one *,
body.dark-mode .case-one *,
body.dark-mode .blog-one * {
    border-color: rgba(34, 211, 238, 0.2) !important;
}

/* Make sure text remains visible */
body.dark-mode .services-one .section-title__title,
body.dark-mode .team-one .section-title__title,
body.dark-mode .process-one .section-title__title,
body.dark-mode .case-one .section-title__title,
body.dark-mode .blog-one .section-title__title {
    color: #f1f5f9 !important;
}

/* ========================================
   ULTIMATE FORCE OVERRIDE FOR ALL SECTIONS
   ======================================== */

/* Override ALL possible CSS styles and inline styles with maximum specificity */
body.dark-mode section.services-one,
body.dark-mode section.team-one,
body.dark-mode section.process-one,
body.dark-mode section.case-one,
body.dark-mode section.blog-one,
html body.dark-mode .services-one,
html body.dark-mode .team-one,
html body.dark-mode .process-one,
html body.dark-mode .case-one,
html body.dark-mode .blog-one {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
    background-color: #0a0f1e !important;
    background-image: none !important;
}

/* Override style attributes with even higher specificity */
body.dark-mode [class*="services-one"][style],
body.dark-mode [class*="team-one"][style],
body.dark-mode [class*="process-one"][style],
body.dark-mode [class*="case-one"][style],
body.dark-mode [class*="blog-one"][style] {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

/* Force override using attribute selectors */
body.dark-mode [style*="background: linear-gradient"]:not(.design-card):not(.info-card):not(.blog-one__single) {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

/* Specific overrides for light gradients */
body.dark-mode [style*="#f0f9ff"],
body.dark-mode [style*="#f0f4f8"], 
body.dark-mode [style*="#f8fafc"],
body.dark-mode [style*="#e0f2fe"],
body.dark-mode [style*="#e1e8ed"],
body.dark-mode [style*="#d9e2ec"] {
    background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
}

/* Additional CSS to handle dynamic styles */
body.dark-mode .services-one * {
    --bg-light: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
}

body.dark-mode .team-one * {
    --bg-light: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
}

body.dark-mode .process-one * {
    --bg-light: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
}

body.dark-mode .case-one * {
    --bg-light: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
}

body.dark-mode .blog-one * {
    --bg-light: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
}

/* ========================================
   JAVASCRIPT POWERED OVERRIDES
   ======================================== */

/* Add custom property support */
body.dark-mode {
    --dark-section-bg: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%);
}

/* Use CSS to trigger JavaScript via pseudo-elements */
body.dark-mode::before {
    content: "dark-mode-active";
    display: none;
}

/* More aggressive CSS overrides */
body.dark-mode section[class*="one"] {
    background: var(--dark-section-bg) !important;
}

body.dark-mode .services-one,
body.dark-mode .team-one,
body.dark-mode .process-one,
body.dark-mode .case-one,
body.dark-mode .blog-one {
    background: var(--dark-section-bg) !important;
    background-color: #0a0f1e !important;
}

/* Force override any computed styles */
@supports (background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%)) {
    body.dark-mode .services-one,
    body.dark-mode .team-one,
    body.dark-mode .process-one,
    body.dark-mode .case-one,
    body.dark-mode .blog-one {
        background: linear-gradient(135deg, #0a0f1e 0%, #151b2e 50%, #0a0f1e 100%) !important;
    }
}

/* Blog color variables for dark theme (used by components via CSS variables) */
:root {
    --blog-title-color: var(--judges-white);
    --blog-subtitle-color: rgba(var(--judges-white-rgb), .75);
    --blog-text-color: rgba(var(--judges-white-rgb), .60);
}

