/* ===================================================
   🌗 ENHANCED GLOBAL THEME SYSTEM (AI BG COMPATIBLE)
   Beautiful Dark/Light Mode with Glass Effects
=================================================== */

:root {
    /* Light Mode Colors */
    --bg-main: #f8fafc;
    --bg-secondary: #ffffff;
    --text-main: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    --section-bg: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(255, 255, 255, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.6);

    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.05);

    /* Accent Colors */
    --primary: #0a1aff;
    --primary-light: #3b5afe;
    --primary-glow: rgba(10, 26, 255, 0.4);
    --accent: #00c6ff;
    --success: #10b981;
    --warning: #f59e0b;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 25px rgba(10, 26, 255, 0.4);
}

/* Dark Mode */
body.dark-mode {
    --bg-main: #030712 !important;
    --bg-secondary: #0f172a;
    --text-main: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --section-bg: rgba(15, 23, 42, 0.75);
    --card-bg: rgba(30, 41, 59, 0.85);
    --glass-bg: rgba(15, 23, 42, 0.65);

    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);

    --primary-glow: rgba(10, 26, 255, 0.6);
    --accent: #22d3ee;
}

/* Body — transparent so canvas #ai-bg design shows through */
body {
    background: transparent !important;
    color: var(--text-main);
    transition: color 0.4s ease;
}

/* AI Animated Background */
#ai-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: transparent;
}

/* ========== GLOBAL DARK MODE ========== */
body.dark-mode {
    background-color: transparent !important;
    color: #f1f5f9;
    transition: color 0.4s ease;
}

body.dark-mode a,
/* footer contact links should not be underlined */
footer .text-decoration-none,
body.dark-mode p,
body.dark-mode span,
body.dark-mode li,
body.dark-mode label,
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 .text-secondary,
body.dark-mode .text-muted {
    color: #94a3b8 !important;
}

body.dark-mode .text-primary {
    color: #60a5fa !important;
}

/* ========== NAVBAR BASE STYLE ========== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: transparent;
    transition: all 0.4s ease;
    padding: 20px 0;
}

/* ✅ When Scrolled */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

/* ✅ Dark Mode Scrolled Navbar */
body.dark-mode #navbar.scrolled {
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Navbar Links */
.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    color: #475569 !important;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary) !important;
}

body.dark-mode .nav-link {
    color: #cbd5e1 !important;
}

body.dark-mode .nav-link:hover {
    color: #60a5fa !important;
}

/* Logo Box */
.logo-box {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    box-shadow: 0 0 25px var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-box:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 35px var(--primary-glow);
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    transition: all 0.3s ease;
    border-top: 1px solid #f1f5f9;
    z-index: 1040;
    box-shadow: var(--shadow-lg);
}

body.dark-mode .mobile-menu {
    background: #0f172a !important;
    border-top: 1px solid #1e293b;
}

/* ========== BUTTONS ========== */
/* ensure buttons (and related clickable UI) always show pointer cursor */
button,
.btn,
.service-tab,
.category-btn,
.toggle-features,
.theme-toggle-btn,
.nav-link,
.whatsapp-btn,
.login-btn,
.contact-btn,
.contact-item,
a[role="button"] {
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    ) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 0 20px var(--primary-glow);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px var(--primary-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Loading Button State */
.btn-primary.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-primary.loading .btn-text {
    display: none;
}

.btn-primary .btn-spinner {
    display: none;
}

.btn-primary.loading .btn-spinner {
    display: inline-block;
}

/* Light Mode Button */
.btn-light {
    background-color: #f8fafc;
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
}

/* Dark Mode Button */
body.dark-mode .btn-light {
    background-color: rgba(255, 255, 255, 0.08);
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* -----------------------------------------------------
   🪄 CONSULTATION MODAL STYLING
------------------------------------------------------ */
.consultation-modal {
    background-color: #ffffff;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.consultation-modal .form-control,
.consultation-modal .form-select {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 0.875rem 1rem;
}

.consultation-modal .form-control:focus,
.consultation-modal .form-select:focus {
    box-shadow: 0 0 0 4px rgba(10, 26, 255, 0.15);
    background-color: #ffffff;
    border-color: var(--primary);
}

/* ✅ Dark Mode Modal */
body.dark-mode .consultation-modal {
    background-color: #1e293b;
    color: #f8fafc;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

body.dark-mode .consultation-modal .form-control,
body.dark-mode .consultation-modal .form-select {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

body.dark-mode .consultation-modal .form-control::placeholder {
    color: #64748b;
}

body.dark-mode .consultation-modal .form-control:focus,
body.dark-mode .consultation-modal .form-select:focus {
    box-shadow: 0 0 0 4px rgba(10, 26, 255, 0.3);
    border-color: var(--primary);
}

/* Submit Button */
.consultation-modal .btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    ) !important;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.consultation-modal .btn-primary:hover {
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-2px);
}

/* ✅ Dark Mode Primary Button */
body.dark-mode .consultation-modal .btn-primary {
    background: linear-gradient(135deg, var(--primary), #3b82f6) !important;
    color: #ffffff;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* -----------------------------------------------------
   ✨ SMALL IMPROVEMENTS
------------------------------------------------------ */
html {
    scroll-behavior: smooth;
}

.transition-all {
    transition: all 0.3s ease-in-out;
}

.shadow-blur {
    box-shadow: var(--shadow-md);
}

/* ======================================
   🌙 FOOTER STYLES (Light + Dark Mode)
====================================== */

/* Base */
.footer-section {
    background: var(--section-bg) !important;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-top: 1px solid var(--border-color);
    color: #64748b;
    transition: all 0.4s ease;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Social Links */
.footer-social {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Footer Links */
.footer-link {
    color: #64748b;
    text-decoration: none;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}

.footer-link i {
    font-size: 11px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover i {
    opacity: 1;
}

/* Divider */
.footer-section hr {
    border-color: rgba(100, 116, 139, 0.2);
}

/* Dark Mode */
body.dark-mode .footer-section {
    background-color: #030712 !important;
    border-top: 1px solid #1e293b;
    color: #94a3b8 !important;
}

body.dark-mode .footer-link {
    color: #94a3b8;
}

body.dark-mode .footer-link:hover {
    color: #60a5fa !important;
}

body.dark-mode .footer-social {
    border-color: #334155;
    color: #64748b;
}

body.dark-mode .footer-social:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
}

body.dark-mode .footer-section hr {
    border-color: #1e293b;
}

.dark-muted {
    color: #64748b !important;
}

.dark-border {
    border-color: #1e293b !important;
}

/* Dark Background Helper */
.dark-bg {
    background-color: rgba(0, 0, 0, 0.03) !important;
}

body.dark-mode .dark-bg {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Alternate dark-bg for sections that need more contrast */
.dark-bg-alt {
    background-color: rgba(0, 0, 0, 0.06) !important;
}

body.dark-mode .dark-bg-alt {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* footer end    */

/* home page */
/* ========== HERO SECTION ========== */
/* ==========================================
   HERO SECTION (Theme Aware)
========================================== */

.hero-section {
    color: #0f172a;
    font-family: "Poppins", "Inter", sans-serif;
    transition: all 0.4s ease;
}

/* Dark Mode Hero Background */
body.dark-mode .hero-section {
    background: linear-gradient(180deg, #030712 0%, #0f172a 100%);
    color: #ffffff;
}

/* Product page adjustments */
.products-section .badge-tag {
    background: var(--card-bg) !important;
    color: var(--text-main);
}

body.dark-mode .products-section .badge-tag {
    background: var(--bg-secondary) !important;
    color: var(--text-main);
}

/* product page general dark mode tweaks */
.products-section {
    transition:
        background 0.4s ease,
        color 0.4s ease;
}

body.dark-mode .products-section {
    background: var(--bg-main);
    color: var(--text-main);
}

body.dark-mode .products-section .text-muted {
    color: var(--text-secondary) !important;
}

.video-wrapper video {
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

body.dark-mode .video-wrapper video {
    background: #000;
}

/* Pricing tabs base/active styles */
.pricing-tab {
    min-width: 120px;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.pricing-tab:hover {
    background: var(--primary-light);
    color: #fff !important;
}

.pricing-tab.active {
    background: var(--primary) !important;
    color: #fff !important;
}

/* Hero Headline */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 5rem;
    }
}

/* Gradient Text (both modes) */
.text-gradient {
    background: linear-gradient(to right, #0a1aff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

/* Subtext */
.hero-subtext {
    font-size: 1.125rem;
    max-width: 600px;
    line-height: 1.7;
    color: #475569;
    transition: color 0.3s ease;
}

body.dark-mode .hero-subtext {
    color: #94a3b8;
}

/* Badge */
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(10, 26, 255, 0.08);
    border: 1px solid rgba(10, 26, 255, 0.2);
    color: #0a1aff;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

body.dark-mode .badge-tag {
    background: rgba(10, 26, 255, 0.15);
    border: 1px solid rgba(10, 26, 255, 0.3);
    color: #60a5fa;
}

/* Primary Button */
.shadow-glow {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: #fff;
    box-shadow: 0 0 25px var(--primary-glow);
    transition: all 0.3s ease;
}

.shadow-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px var(--primary-glow);
}

/* Secondary (Outline) Button */
.theme-switch-btn {
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.8);
    color: #0f172a;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.theme-switch-btn:hover {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

/* In Dark Mode */
body.dark-mode .theme-switch-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

body.dark-mode .theme-switch-btn:hover {
    background: #fff;
    color: #000 !important;
    border-color: #fff;
}

/* Hero Blurs */
.hero-blur-1 {
    width: 18rem;
    height: 18rem;
    background: var(--primary);
    filter: blur(120px);
    opacity: 0.25;
    transition: all 0.4s ease;
}

.hero-blur-2 {
    width: 22rem;
    height: 22rem;
    background: #00c6ff;
    filter: blur(150px);
    opacity: 0.15;
    transition: all 0.4s ease;
}

/* Dark Mode Blur */
body.dark-mode .hero-blur-1 {
    opacity: 0.35;
    background: #1d4ed8;
}

body.dark-mode .hero-blur-2 {
    opacity: 0.25;
    background: #0891b2;
}

.hero-image-wrapper {
    position: relative;
    z-index: 3;
}

.hero-image-glow {
    position: absolute;
    inset: -1rem;
    border-radius: 1.5rem;
    background: linear-gradient(to top right, #0a1aff, #00c6ff);
    filter: blur(60px);
    opacity: 0.25;
    z-index: 1;
    transition: opacity 0.4s ease;
}

body.dark-mode .hero-image-glow {
    opacity: 0.4;
}

.hero-image-wrapper img {
    position: relative;
    z-index: 2;
}

/* =======================================
   Floating Cards on Hero Image
======================================= */
.floating-card {
    position: absolute;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    transition: all 0.4s ease;
    animation: floatY 6s ease-in-out infinite;
}

/* Light Mode Background Fix */
body:not(.dark-mode) .floating-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.05);
}

/* Dark Mode Card */
body.dark-mode .floating-card {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Card Positions */
.top-card {
    top: -1.5rem;
    right: -1.5rem;
    animation-delay: 0s;
}

.bottom-card {
    bottom: -1.5rem;
    left: -1.5rem;
    animation-delay: 2s;
}

/* Small green icon circle */
.icon-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating motion */
@keyframes floatY {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

body.dark-mode .floating-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .bottom-card strong {
    color: #fff !important;
}

.small-text {
    font-size: 10px;
    letter-spacing: 0.05em;
}

.floating-box {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
}

body.dark-mode .floating-box {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.top-box {
    top: -2rem;
    right: -2rem;
}

.bottom-box {
    bottom: -2rem;
    left: -2rem;
}

/* ========== SERVICE CARDS ========== */

/* ========== TRUST SECTION ========== */
.trust-card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

body.dark-mode .trust-card {
    background: var(--card-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #cbd5e1;
    display: inline-block;
    margin-left: -10px;
}

/* =========================================
   ✨ Right Side Glass Blur Effect
========================================= */

.content-glass {
    position: relative;
    padding: 2rem;
    border-radius: 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    transition: all 0.4s ease;
}

/* Light Mode */
body:not(.dark-mode) .content-glass {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-md);
}

/* Dark Mode */
body.dark-mode .content-glass {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Optional Soft Hover Glow */
.content-glass:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.trust-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.trust-icon:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    transform: scale(1.1);
}

body.dark-mode .trust-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .trust-icon:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ========== CTA ========== */
.cta-section {
    background: linear-gradient(
        135deg,
        rgba(10, 26, 255, 0.1),
        rgba(0, 198, 255, 0.1)
    ) !important;
    position: relative;
    color: #141414 !important;
    border-radius: 30px !important;
    overflow: hidden;
}

body.dark-mode .cta-section {
    background: linear-gradient(
        135deg,
        rgba(10, 26, 255, 0.2),
        rgba(0, 198, 255, 0.15)
    ) !important;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 70%
    );
    z-index: 1;
}

@keyframes pulseBlur {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.25;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.35;
    }
}

.hero-blur-1,
.hero-blur-2 {
    animation: pulseBlur 6s infinite ease-in-out;
}

/* home page end  */

/* about */

.about-section {
    background: transparent !important;
}

.stat-box {
    border: 1px solid #eee;
    border-radius: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(
        135deg,
        rgba(10, 26, 255, 0.1),
        rgba(0, 198, 255, 0.1)
    );
    transition: all 0.3s ease;
}

.icon-wrapper:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.icon-wrapper i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

.icon-wrapper:hover i {
    color: #fff;
}

.trust-section {
    background-color: rgba(144, 144, 144, 0.15);
    position: relative;
    border-radius: 20px;
}

body.dark-mode .trust-section {
    background-color: rgba(30, 41, 59, 0.5);
}

.trust-section h5,
.trust-section h2 {
    color: #0816cc !important;
}

body.dark-mode .trust-section h5,
body.dark-mode .trust-section h2 {
    color: #60a5fa !important;
}

.radial-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.25;
    background: radial-gradient(circle at center, #0a1aff 0%, transparent 70%);
}

.reason-item .reason-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.reason-item:hover .reason-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    transform: scale(1.1);
}

.glow-bg {
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 255, 0.15);
    border-radius: 2rem;
    filter: blur(40px);
    z-index: 0;
}

/* 🌙 Dark Mode */
.dark-mode .about-section {
    background-color: transparent;
}

.dark-mode .glass-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e6edf3;
}

.dark-mode .stat-box {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e6edf3;
}

.dark-mode .text-muted {
    color: #9ba3af !important;
}

/* about end */

/* service */

body {
    background: var(--bg) !important;
    color: var(--text);
    font-family: "Poppins", sans-serif;
    transition: all 0.4s ease;
    overflow-x: hidden;
}

/* service page theme variables tied to global dark-mode class */
body:not(.dark-mode) {
    --bg: #f9fafc;
    --text: #1b1b1b;
    --card-bg: rgba(255, 255, 255, 0.7);
    --border: rgba(0, 0, 0, 0.08);
    --glow: rgba(10, 26, 255, 0.25);
}

body.dark-mode {
    --bg: radial-gradient(circle at top left, #090a14, #0b0b12);
    --text: #e8e8e8;
    --card-bg: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --glow: rgba(0, 198, 255, 0.25);
}

/* === Gradient Text === */
.text-gradient {
    background: linear-gradient(90deg, #0a1aff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

/* === Tabs === */
.service-tab {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 1.2rem;
    font-weight: 600;
    padding: 0.8rem 1.9rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

.service-tab i {
    font-size: 1.2rem;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.service-tab:hover i {
    transform: scale(1.2) rotate(5deg);
}

.service-tab.active,
.service-tab:hover {
    background: linear-gradient(90deg, #0a1aff, #00c6ff);
    color: #fff !important;
    box-shadow: 0 0 30px var(--glow);
    transform: translateY(-3px);
    border-color: transparent;
}

/* === Glass Card === */
.glass-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 1.8rem;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}


.service-devlopment-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 1.8rem;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.service-devlopment-card:hover{
  transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}


/* === Timeline === */
.timeline {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid var(--border);
    margin-top: 1.5rem;
}

.timeline-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.timeline-step:hover {
    transform: translateX(5px);
}

.timeline-step .circle {
    background: linear-gradient(135deg, #0a1aff, #00c6ff);
    color: #fff;
    width: 50px;
    height: 50px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px var(--glow);
    transition: all 0.3s ease;
}

.timeline-step:hover .circle {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--glow);
}

/* === Service List === */
#service-content ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

#service-content ul li {
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

#service-content ul li:hover {
    transform: translateX(5px);
}

#service-content ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #0a1aff;
    margin-right: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#service-content ul li:hover::before {
    transform: scale(1.3);
    color: #00c6ff;
}

/* === Benefit Box === */
.benefit-box {
    background: rgba(10, 26, 255, 0.06);
    border: 1px solid rgba(10, 26, 255, 0.15);
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(10, 26, 255, 0.08);
}

.benefit-box:hover {
    background: rgba(10, 26, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 0 25px var(--glow);
    border-color: rgba(10, 26, 255, 0.3);
}

/* === Button Upgrade === */
.btn.btn-primary {
    border: none;
    background: linear-gradient(90deg, #0a1aff, #00c6ff);
    color: #fff;
    border-radius: 1rem;
    padding: 0.8rem 1.4rem;
    box-shadow: 0 0 20px var(--glow);
    transition: all 0.3s ease;
}

.btn.btn-primary:hover {
    box-shadow: 0 0 40px var(--glow);
    transform: translateY(-3px);
}

/* === Smooth Fade Animation === */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.fade-out {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* === Icon Glow === */
.icon-glow {
    transition: all 0.3s ease;
}

.icon-glow:hover {
    text-shadow: 0 0 15px rgba(10, 26, 255, 0.6);
    transform: scale(1.1);
}

/* === Tech Stack Tag Style === */
.tag-pill {
    background: var(--benefit-bg);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s ease;
}

.tag-pill:hover {
    background: linear-gradient(90deg, #0a1aff, #00c6ff);
    color: #fff;
    box-shadow: 0 0 12px rgba(0, 98, 255, 0.3);
    transform: translateY(-2px);
}

/* service end  */

/* product */
/* === General Styles === */
.products-section {
    background: transparent !important;
    color: var(--bs-body-color);
    transition: all 0.3s ease;
}

.text-primary-gradient {
    background: linear-gradient(90deg, #0a1aff, #0050ff);
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

/* === Badge Tag === */
.badge-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.bg-blue-light {
    background-color: rgba(10, 26, 255, 0.1);
}

.bg-cyan-light {
    background-color: rgba(0, 200, 255, 0.1);
}

/* === Blur Background Circles === */
.blur-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.bg-blue-blur {
    background-color: rgba(10, 26, 255, 0.15);
}

.bg-cyan-blur {
    background-color: rgba(0, 200, 255, 0.15);
}

/* === Buttons === */
.btn-primary {
    background-color: #0a1aff;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a1aff, #3b5afe);
    box-shadow: 0 8px 25px rgba(10, 26, 255, 0.4);
}

.dark-btn {
    border-color: #ccc;
    color: #333;
    transition: all 0.3s ease;
}

.dark-btn:hover {
    background-color: #f8f9fa;
    border-color: #999;
}

/* === CTA Section === */
.custom-cta {
    background-color: #f9fafc;
    transition: all 0.3s ease;
}

.custom-cta .cta-link:hover {
    text-decoration: underline;
}

/* product end */

/* pricing  */

.text-primary-gradient {
    background: linear-gradient(90deg, #0a1aff, #0050ff);
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

/* Category buttons */
.category-btn {
    background-color: #f3f4f6;
    color: #374151;
    border: none;
    transition: 0.3s;
}

.category-btn.active,
.category-btn:hover {
    background: linear-gradient(135deg, #0a1aff, #00c6ff);
    color: #fff;
    box-shadow: 0 6px 20px rgba(10, 26, 255, 0.4);
}

/* Cards */
.pricing-card .card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

section,
.container,
.row {
    background: transparent !important;
}

.pricing-card .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Popular badge */
.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0a1aff, #00c6ff);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Add-ons */
.addon-box {
    transition: all 0.3s ease;
}

.addon-box:hover {
    box-shadow: 0 0 25px rgba(10, 26, 255, 0.2);
    transform: translateY(-3px);
}

/* pricing end */

/* team  */
/* ==== General ==== */
.text-primary-gradient {
    background: linear-gradient(90deg, #0a1aff, #0050ff);
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

.team-section {
    background: transparent !important;
    color: var(--bs-body-color);
    transition: all 0.3s ease;
}

/* ==== Glass Card ==== */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(10, 26, 255, 0.15);
}

/* ==== Avatar ==== */
.avatar-initial {
    width: 64px;
    height: 64px;
    background: linear-gradient(
        135deg,
        rgba(10, 26, 255, 0.1),
        rgba(0, 198, 255, 0.1)
    );
}

/* ==== Social Buttons ==== */
.social-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #0a1aff;
    color: #0a1aff;
    transform: translateY(-3px);
    background: rgba(10, 26, 255, 0.1);
}

/* ==== Expertise Badge ==== */
.badge-expertise {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 50rem;
    background: #f3f4f6;
    color: #6b7280;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
}

.badge-expertise:hover {
    background: linear-gradient(135deg, #0a1aff, #00c6ff);
    color: #fff;
}

/* ==== Stats Section ==== */
.team-stats {
    background: linear-gradient(
        135deg,
        rgba(10, 26, 255, 0.05),
        rgba(0, 198, 255, 0.05)
    );
    border-radius: 2rem;
}

.team-stats h2 {
    color: #111827;
}

body.dark-mode .team-stats h2 {
    color: #f1f5f9;
}

.team-stats .text-primary {
    font-size: 2rem;
    background: linear-gradient(90deg, #0a1aff, #0050ff);
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

/* team end */

/* blog */

.blog-section {
    background: transparent !important;
    transition: background-color 0.3s ease;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.search-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(10, 26, 255, 0.3);
    border-color: #0a1aff;
}

/* Dark Theme */
body.dark-mode .blog-section {
    background-color: transparent;
}

body.dark-mode .glass-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #eee;
}

body.dark-mode .text-secondary {
    color: #94a3b8 !important;
}

body.dark-mode .btn-dark {
    background-color: #fff;
    color: #0b0b0b;
}

/* blog end */

/* blogdetail */
.blog-detail-section {
    transition: background-color 0.3s ease;
}

.blog-article h2,
.blog-article h3 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-article p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

body.dark-mode .blog-article p {
    color: #94a3b8;
}

.blog-article ul {
    padding-left: 1.2rem;
}

.blog-article li {
    margin-bottom: 0.6rem;
    color: #555;
}

body.dark-mode .blog-article li {
    color: #94a3b8;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f1f3f5;
    color: #0a1aff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    background: linear-gradient(135deg, #0a1aff, #00c6ff);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Dark Theme */
body.dark-mode .blog-detail-section {
    background-color: transparent;
    color: #ddd;
}

body.dark-mode .blog-article p,
body.dark-mode .blog-article li {
    color: #94a3b8;
}

body.dark-mode .share-btn {
    background-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .share-btn:hover {
    background: linear-gradient(135deg, #0a1aff, #00c6ff);
    color: #fff;
}

/* blogdetail end */

/* contact */

.contact-section {
    background: transparent !important;
    transition: background-color 0.3s ease;
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(
        135deg,
        rgba(10, 26, 255, 0.1),
        rgba(0, 198, 255, 0.1)
    );
    color: #0a1aff;
    transition: all 0.3s ease;
}

.contact-item:hover .icon-box {
    background: linear-gradient(135deg, #0a1aff, #00c6ff);
    color: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Dark Mode */
body.dark-mode .contact-section {
    background-color: transparent;
    color: #ddd;
}

body.dark-mode .icon-box {
    background-color: rgba(255, 255, 255, 0.05);
    color: #60a5fa;
}

body.dark-mode .contact-item:hover .icon-box {
    background: linear-gradient(135deg, #0a1aff, #00c6ff);
    color: #fff;
}

body.dark-mode .glass-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* additional background helpers for bootstrap utilities */
body.dark-mode .bg-white {
    background-color: var(--bg-secondary) !important;
}
body.dark-mode .bg-light-subtle {
    background-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark-mode .bg-dark-subtle {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

body.dark-mode .border-light-subtle {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .text-secondary {
    color: #94a3b8 !important;
}

/* make sure bootstrap "text-dark" class flips in dark mode */
body.dark-mode .text-dark {
    color: #f1f5f9 !important;
}

body.dark-mode .btn-primary {
    background: linear-gradient(135deg, #0a1aff, #3b82f6) !important;
}

/* contact end */

/* privacy */
.privacy-section,
.terms-section {
    transition: background-color 0.3s ease;
}

.privacy-section h1,
.terms-section h1 {
    background: linear-gradient(90deg, #0a1aff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

.privacy-section h3,
.terms-section h3 {
    color: #1e293b;
    font-weight: 700;
}

body.dark-mode .privacy-section h3,
body.dark-mode .terms-section h3 {
    color: #f1f5f9;
}

.privacy-section p,
.privacy-section li,
.terms-section p,
.terms-section li {
    color: #475569;
    line-height: 1.7;
}

body.dark-mode .privacy-section,
body.dark-mode .terms-section {
    background-color: transparent;
    color: #e2e8f0;
}

body.dark-mode .privacy-section p,
body.dark-mode .privacy-section li,
body.dark-mode .terms-section p,
body.dark-mode .terms-section li {
    color: #cbd5e1;
}

/* privacy end */

/* ========== FORM STYLING ========== */
.form-control,
.form-select {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 26, 255, 0.15);
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 26, 255, 0.25);
    color: #f1f5f9;
}

body.dark-mode .form-control::placeholder {
    color: #64748b;
}

/* Form Label */
.form-label {
    color: #475569;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Ensure checkboxes are visible and interactive in dark mode */
body.dark-mode .form-check-input {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}
body.dark-mode .form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.form-check-label {
    cursor: pointer;
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-notification.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.toast-notification.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

/* ========== THEME TOGGLE BUTTON ========== */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-main);
}

.theme-toggle-btn:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
    color: var(--primary);
}

body.dark-mode .theme-toggle-btn {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(30, 41, 59, 0.8);
    color: #fbbf24;
}

body.dark-mode .theme-toggle-btn:hover {
    color: #fbbf24;
    border-color: #fbbf24;
}

/* ========== LOADING SPINNER ========== */
.spinner-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Button loading state */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading .btn-text {
    display: none;
}

.btn-loading .spinner-border {
    display: inline-block !important;
}

/* ========== RESPONSIVE IMPROVEMENTS ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .glass-card {
        border-radius: 1rem;
    }

    .floating-card {
        display: none;
    }
}

/* ========== ADDITIONAL DARK MODE FIXES ========== */

/* Bootstrap bg utilities override for dark mode */
body.dark-mode .bg-white {
    background-color: var(--bg-secondary) !important;
}

body.dark-mode .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .bg-light-subtle {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .bg-dark-subtle {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

/* Card backgrounds */
body.dark-mode .card {
    background-color: var(--bg-secondary) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Form controls */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #64748b !important;
}

/* Search input */
body.dark-mode .search-input {
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: #f1f5f9 !important;
}

/* Badge tags */
body.dark-mode .bg-blue-light {
    background-color: rgba(10, 26, 255, 0.2) !important;
    color: #60a5fa !important;
}

body.dark-mode .bg-cyan-light {
    background-color: rgba(0, 200, 255, 0.2) !important;
    color: #22d3ee !important;
}

body.dark-mode .bg-primary-subtle {
    background-color: rgba(10, 26, 255, 0.2) !important;
}

body.dark-mode .bg-success-subtle {
    background-color: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
}

body.dark-mode .bg-info-subtle {
    background-color: rgba(6, 182, 212, 0.2) !important;
    color: #22d3ee !important;
}

body.dark-mode .bg-purple-subtle {
    background-color: rgba(139, 92, 246, 0.2) !important;
    color: #a78bfa !important;
}

/* Product cards */
body.dark-mode .product-pricing-web-card,
body.dark-mode .products-section .card {
    background-color: var(--card-bg) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Pricing badge */
body.dark-mode .product-pricing-web-badge.bg-info {
    background-color: rgba(6, 182, 212, 0.3) !important;
}

body.dark-mode .product-pricing-web-badge.bg-success {
    background-color: rgba(16, 185, 129, 0.3) !important;
}

/* Floating card */
body.dark-mode .floating-card {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Border utilities */
body.dark-mode .border {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .border-light {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .border-light-subtle {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Circle bg */
body.dark-mode .bg-light.circle,
body.dark-mode .rounded-circle.bg-light {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Modal dark fixes */
body.dark-mode .modal-content {
    background-color: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .modal-header,
body.dark-mode .modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .dropdown-menu {
    background-color: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .dropdown-item {
    color: var(--text-main);
}

body.dark-mode .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Navbar scrolled state */
body.dark-mode #navbar.scrolled {
    background: rgba(3, 7, 18, 0.95) !important;
}

/* Mobile menu */
body.dark-mode .mobile-menu {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Section backgrounds that might be missed */
body.dark-mode section {
    background-color: transparent;
}

/* Ensure sections with custom bg colors work */
body.dark-mode .bg-light-subtle,
body.dark-mode .bg-dark-alt {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Table styles */
body.dark-mode table {
    color: var(--text-main);
}

body.dark-mode .table {
    --bs-table-bg: transparent;
    color: var(--text-main);
}

body.dark-mode .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .table-hover > tbody > tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========== INLINE STYLE FIXES ========== */

/* Service page glass card fixes */
body.dark-mode .glass-card,
body.dark-mode .service-devlopment-card {
    background: var(--glass-bg) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Timeline fixes */
body.dark-mode .timeline {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Benefit box */
body.dark-mode .benefit-box {
    background: rgba(10, 26, 255, 0.1) !important;
    border-color: rgba(10, 26, 255, 0.2);
}

/* Tag pills */
body.dark-mode .tag-pill {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

/* Product section specific */
body.dark-mode .products-section {
    --pw-bg-card: #0f172a;
    --pw-border: #1e293b;
}

/* Products page cards */
body.dark-mode .product-pricing-web-card {
    background: var(--card-bg) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Product pricing gradient badge */
body.dark-mode .product-pricing-web-badge.bg-gradient {
    background: linear-gradient(135deg, #3b82f6, #0ea5e9) !important;
}

/* Pricing card background */
body.dark-mode .pricing-card .card {
    background: var(--card-bg) !important;
}

/* About section stat box */
body.dark-mode .stat-box {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Icon wrapper */
body.dark-mode .icon-wrapper {
    background: rgba(10, 26, 255, 0.1);
}

body.dark-mode .icon-wrapper:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* Trust section */
body.dark-mode .trust-section {
    background-color: rgba(30, 41, 59, 0.5);
}

/* CTA section */
body.dark-mode .cta-section {
    background: linear-gradient(
        135deg,
        rgba(10, 26, 255, 0.15),
        rgba(0, 198, 255, 0.1)
    ) !important;
}

/* Hero section */
body.dark-mode .hero-section {
    background: linear-gradient(180deg, #030712 0%, #0f172a 100%);
}

/* Trust card */
body.dark-mode .trust-card {
    background: var(--card-bg) !important;
}

/* Content glass */
body.dark-mode .content-glass {
    background: rgba(15, 23, 42, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.08);
}

/* Avatar */
body.dark-mode .avatar {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Blog card */
body.dark-mode .blog-card .glass-card {
    background: rgba(30, 41, 59, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Contact section */
body.dark-mode .contact-section .glass-card {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .contact-section .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Video wrapper */
body.dark-mode .video-wrapper video {
    background: #000;
}

/* Share button */
body.dark-mode .share-btn {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Privacy/Terms section */
body.dark-mode .privacy-section,
body.dark-mode .terms-section {
    background-color: transparent;
}

/* Footer section */
body.dark-mode .footer-section {
    background-color: #030712 !important;
}

/* Custom select dropdown */
body.dark-mode .form-select {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

/* Checkbox and radio */
body.dark-mode .form-check-input {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Accordion */
body.dark-mode .accordion-item {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .accordion-button {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

body.dark-mode .accordion-body {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
}

/* List group */
body.dark-mode .list-group-item {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

/* Pagination */
body.dark-mode .page-link {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

body.dark-mode .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

body.dark-mode .page-item.disabled .page-link {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* Breadcrumb */
body.dark-mode .breadcrumb {
    background-color: transparent;
}

body.dark-mode .breadcrumb-item a {
    color: var(--text-secondary);
}

body.dark-mode .breadcrumb-item.active {
    color: var(--text-muted);
}

/* Progress bar */
body.dark-mode .progress {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Close button */
body.dark-mode .btn-close {
    filter: invert(1);
}

/* Badge */
body.dark-mode .badge.bg-light {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-main);
}

/* Spinner */
body.dark-mode .spinner-border {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary);
}

/* Tooltip */
body.dark-mode .tooltip-inner {
    background-color: rgba(30, 41, 59, 0.95);
    color: #f1f5f9;
}

/* Popover */
body.dark-mode .popover {
    background-color: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .popover-body {
    color: var(--text-main);
}

/* Offcanvas */
body.dark-mode .offcanvas {
    background-color: var(--bg-secondary);
}

/* Toast */
body.dark-mode .toast {
    background-color: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ========== SCROLLBAR STYLING ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        to bottom,
        var(--primary-light),
        var(--primary)
    );
}
