/* Fixenix Design Tokens — Variables & Colors */
:root {
    --primary-red: #e31b23;
    --primary-red-rgb: 227, 27, 35;
    --primary-red-dark: #b8121a;
    
    --bg-body: #0a0a0a;
    --bg-card: #0f0f0f;
    --bg-card-hover: #1a1a1a;
    --bg-navbar: rgba(0, 0, 0, 0.85);
    --bg-sidebar: rgba(8, 8, 8, 0.98);
    --bg-modal: linear-gradient(145deg, #111111, #080808);
    
    /* Input Variables */
    --bg-input: rgba(255, 255, 255, 0.04);
    --border-input: rgba(255, 255, 255, 0.1);
    --text-input: #ffffff;
    --placeholder-input: rgba(255, 255, 255, 0.4);
    
    --border-subtle: rgba(227, 27, 35, 0.2);
    --border-card: #222;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-muted: #888888;
    --canvas-opacity: 0.4;
    
    --transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-body: #fdfdfd;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(250, 248, 246, 0.95);
    --bg-navbar: rgba(255, 255, 255, 0.85);
    --bg-sidebar: rgba(255, 255, 255, 0.95);
    --bg-modal: linear-gradient(145deg, #ffffff, #f8f9fa);
    
    /* Input Variables Light */
    --bg-input: #f0f2f5;
    --border-input: #cbd5e0;
    --text-input: #1a202c;
    --placeholder-input: #718096;
    
    --border-subtle: rgba(227, 27, 35, 0.15);
    --border-card: rgba(0, 0, 0, 0.08);
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --canvas-opacity: 0.08;
}
/* Fixenix Baseline Styling */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: background-color 0.4s ease, color 0.3s ease;
}

[data-theme="light"] body {
    background-color: var(--bg-body);
    color: var(--text-primary);
}

/* 3D Canvas Background Layout */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: var(--canvas-opacity);
}
.main-content { position: relative; z-index: 10; }

/* Global Utilities */
.section-dark-gradient {
    background: radial-gradient(circle at 10% 20%, #0a0a0a, #000);
    transition: background 0.4s ease;
}
[data-theme="light"] .section-dark-gradient {
    background: linear-gradient(135deg, #f0ede8, #e8e5e0);
}

.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1); }
.fade-up.reveal { opacity: 1; transform: translateY(0); }

.section-title { font-weight: 800; margin-bottom: 2rem; position: relative; display: inline-block; }
.section-title:after { content: ''; position: absolute; bottom: -10px; left: 0; width: 60px; height: 3px; background: var(--primary-red); }
.text-center .section-title:after { left: 50%; transform: translateX(-50%); }

/* Global Brand Overrides */
a {
    color: var(--primary-red);
    text-decoration: none;
    transition: 0.3s;
}
a:hover { color: var(--primary-red-dark); }

.text-primary { color: var(--primary-red) !important; }
.bg-primary { background-color: var(--primary-red) !important; }
.btn-primary { 
    background-color: var(--primary-red) !important; 
    border-color: var(--primary-red) !important;
    transition: 0.3s;
}
.btn-primary:hover { 
    background-color: var(--primary-red-dark) !important; 
    border-color: var(--primary-red-dark) !important;
    transform: translateY(-1px);
}
.border-primary { border-color: var(--primary-red) !important; }

/* Global Form Reset - Prevent Dual Outline / Dual Borders */
.form-control, 
.form-select, 
.form-control-modern {
    box-shadow: none !important;
    outline: none !important;
}

/* Ensure modern inputs are strictly transparent and borderless inside their wrappers */
.form-control-modern,
input.form-control-modern,
textarea.form-control-modern {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.form-control-modern:focus, 
.form-control-modern:active,
.form-control-modern:focus-visible,
input.form-control-modern:focus, 
input.form-control-modern:active,
input.form-control-modern:focus-visible {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Fix for Chrome's autofill background */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary) !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* Bootstrap overdraw suppression */
.form-control:focus {
    border-color: var(--primary-red) !important;
    box-shadow: none !important;
    outline: 0 !important;
}

/* Keep modern inputs standard across all themes */
[data-theme="light"] .form-control-modern {
    color: var(--text-primary) !important;
}
/* Fixenix Elite Design System — Buttons & Actions */

.btn-red {
    background: var(--primary-red);
    border: none;
    padding: 12px 32px;
    font-weight: 700;
    border-radius: 40px;
    color: white;
    transition: 0.3s;
    box-shadow: 0 4px 14px rgba(227,27,35,0.4);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-red:hover { background: #ff2a33; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(227,27,35,0.6); color: white; }

.btn-red-sm { 
    background: var(--primary-red); border: none; 
    padding: 10px 24px; border-radius: 40px; 
    font-weight: 600; transition: 0.2s; color: white;
}
.btn-red-sm:hover { background: #ff2a33; transform: translateY(-2px); color: white; }

.btn-outline-red {
    border: 1.5px solid var(--primary-red);
    background: transparent;
    color: var(--text-primary);
    border-radius: 40px;
    padding: 0.4rem 1.2rem;
    transition: 0.3s;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-outline-red:hover { 
    background: var(--primary-red); color: white !important; 
    box-shadow: 0 0 12px rgba(227,27,35,0.5); 
}

/* Light Mode Overrides */
[data-theme="light"] .btn-outline-red { color: var(--primary-red); }
[data-theme="light"] .btn-outline-red:hover { color: white !important; }

/* Swiper / Interaction Elements */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    width: 6px; height: 6px; transition: 0.3s;
}
.swiper-pagination-bullet-active {
    background: var(--primary-red) !important;
    width: 24px !important; border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(227, 27, 35, 0.5);
}
/* Responsive Action Buttons */
@media (max-width: 576px) {
    .btn-red {
        padding: 8px 14px;
        font-size: 0.7rem;
        letter-spacing: 0.3px;
        font-weight: 600;
    }
    .btn-outline-red {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
}

/* Elite Action Button */
.btn-red-elite {
    background: linear-gradient(135deg, #e31b23 0%, #8e0000 100%);
    border: none;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(227,27,35,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-red-elite:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 15px 35px rgba(227,27,35,0.5);
    color: white !important;
}
.btn-red-elite:active {
    transform: translateY(0) scale(0.98);
}
/* Fixed Navigation — Desktop & Top-Bar */
.responsive-logo {
    height: 42px;
    width: auto;
    transition: all 0.3s ease;
}
@media (max-width: 991.98px) { .responsive-logo { height: 36px; } }
@media (max-width: 576.98px) { .responsive-logo { height: 32px; } }
@media (max-width: 320.98px) { .responsive-logo { height: 26px; } }

.navbar-desktop {
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    padding: 1.2rem 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
}
.nav-link {
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
    opacity: 0.85;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-red) !important;
    opacity: 1;
}
.navbar-desktop.scrolled {
    background: var(--bg-navbar);
    backdrop-filter: blur(15px) saturate(1.8);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.6rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
[data-theme="light"] .navbar-desktop.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.mobile-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--bg-navbar);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transition: 0.3s;
}
.mobile-topbar.scrolled {
    background: var(--bg-navbar);
    border-bottom-color: var(--primary-red);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Nav & Language Items */
.glass-dropdown {
    background: var(--bg-sidebar);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 0.6rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    margin-top: 10px;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.glass-dropdown .dropdown-item {
    color: var(--text-primary);
    border-radius: 10px;
    padding: 0.7rem 1.2rem;
    font-weight: 500;
    transition: 0.2s;
}
.glass-dropdown .dropdown-item:hover {
    background: var(--primary-red);
    color: white; transform: translateX(5px);
}
.glass-dropdown .dropdown-item.active { background: var(--primary-red); color: white; }

/* Buttons & Toggles */
.theme-toggle-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.theme-toggle-btn:hover { background: var(--primary-red); border-color: var(--primary-red); color: white; transform: rotate(45deg); }
[data-theme="light"] .theme-toggle-btn { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.1); color: #1a1a2e; }

/* Mobile Menu Button */
.menu-toggle-btn {
    background: rgba(0,0,0,0.7);
    border: 1px solid var(--primary-red);
    color: white;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
/* Mega Menu Dropdown Support */
@media (min-width: 992px) {
    .mega-dropdown:hover > .mega-menu-content {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        pointer-events: auto;
    }
}

.mega-menu-content {
    background: var(--bg-sidebar);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    width: 95vw;
    max-width: 1000px;
    left: 50% !important;
    transform: translate(-50%, 15px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
    margin-top: 5px;
    padding: 0 !important;
    overflow: hidden;
    z-index: 1001;
}

.mega-category-box {
    padding: 1.2rem;
    transition: transform 0.3s;
}

.mega-category-box:hover {
    transform: translateY(-5px);
}

.mega-title {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--border-subtle);
    padding-bottom: 8px;
}

.mega-links li {
    margin-bottom: 0.6rem;
}

.mega-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
    display: block;
    opacity: 0.8;
}

.mega-links a:hover {
    color: var(--primary-red);
    transform: translateX(6px);
    opacity: 1;
}

.badge-new {
    background: var(--primary-red);
    color: white;
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.mega-promo-card {
    background: linear-gradient(135deg, rgba(227, 27, 35, 0.1), rgba(0,0,0,0.2));
    border: 1px solid var(--border-subtle);
    border-radius: 22px;
    padding: 1.8rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.mega-promo-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(227,27,35,0.1) 0%, transparent 70%);
}

.mega-promo-card h5 {
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.icon-flash {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 10px var(--primary-red));
}
/* Collapsible Sidebar & Overlay Logic */
.mobile-sidebar-nav {
    position: fixed;
    left: 0; top: 0;
    height: 100vh;
    width: 280px;
    background: var(--bg-sidebar);
    backdrop-filter: blur(20px);
    border-right: 2px solid var(--primary-red);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 1050;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 4px 0 30px rgba(0,0,0,0.6);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) transparent;
}
.mobile-sidebar-nav.open { transform: translateX(0); }

/* Sidebar Header & Close Area */
.sidebar-nav-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 2rem; padding-bottom: 1rem;
    border-bottom: 1px solid rgba(227,27,35,0.4);
}
.close-sidebar-btn {
    background: rgba(227,27,35,0.2); border: none;
    color: var(--text-primary); width: 40px; height: 40px;
    border-radius: 50%; font-size: 1.4rem; transition: 0.2s;
}
.close-sidebar-btn:hover { background: var(--primary-red); transform: rotate(90deg); }

/* Sidebar Nav Links */
.mobile-nav-link {
    color: var(--text-secondary); text-decoration: none;
    font-size: 1.2rem; font-weight: 500; padding: 12px 16px;
    border-radius: 40px; transition: 0.2s;
    display: flex; align-items: center; gap: 12px;
}
.mobile-nav-link i { font-size: 1.4rem; width: 28px; }
.mobile-nav-link:hover, .mobile-nav-link.active {
    background: var(--primary-red); color: white; transform: translateX(5px);
}

.menu-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.7);
    backdrop-filter: blur(3px); z-index: 1040;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

/* Scrollbar Customization */
.mobile-sidebar-nav::-webkit-scrollbar { width: 5px; }
.mobile-sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.mobile-sidebar-nav::-webkit-scrollbar-thumb { background: var(--primary-red); border-radius: 10px; }
/* Fixenix Brand Swiper Style Component */

.brand-slide {
    text-align: center;
    opacity: 0.7;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: grayscale(0.6);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.brand-slide:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

.brand-slide i {
    font-size: 3.5rem;
    color: var(--text-secondary, #a0aec0);
    margin-bottom: 12px;
    display: block;
    transition: color 0.3s;
}

.brand-slide:hover i {
    color: var(--primary-red, #e31b23);
}

.brand-slide p {
    font-weight: 700;
    margin-top: 5px;
    color: var(--text-primary, #fff);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

[data-theme="light"] .brand-slide i {
    color: #4a5568;
}

[data-theme="light"] .brand-slide p {
    color: #2d3748;
}

.section-dark-gradient {
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #080808 100%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

[data-theme="light"] .section-dark-gradient {
    background: radial-gradient(circle at 50% 50%, #f7fafc 0%, #edf2f7 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.brandSwiper {
    padding-bottom: 40px !important;
}

@media (max-width: 768px) {
    .brand-slide i { font-size: 2.8rem; }
    .brand-slide p { font-size: 0.8rem; }
}
/* Fixenix Component Cards — Services, Reviews, etc. */

/* Service Card Modern */
.service-card-modern {
    background: var(--bg-card);
    border-radius: 24px; padding: 1.2rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(4px); height: 100%;
    display: flex; flex-direction: column;
    position: relative;
}
.service-card-modern:hover {
    transform: translateY(-8px); border-color: var(--primary-red);
    box-shadow: 0 20px 30px -15px rgba(227,27,35,0.3);
}

.service-icon-lg { font-size: 2.2rem; color: var(--primary-red); margin-bottom: 1rem; display: block; }

.service-img-container {
    width: 100%; height: 130px; overflow: hidden;
    border-radius: 16px; margin-bottom: 1rem; position: relative;
}
.service-card-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card-modern:hover .service-card-img { transform: scale(1.1); }

.rating-stars { color: #ffc107; font-size: 0.9rem; letter-spacing: 2px; }
.price-tag { font-weight: 800; color: var(--primary-red); font-size: 1.3rem; }

/* Pricing & Discount Badge */
.price-nexus { display: flex; align-items: baseline; }
.price-final { font-weight: 800; color: var(--primary-red); font-size: 1.3rem; }
.price-old { text-decoration: line-through; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }

.discount-badge-nexus {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: white;
    padding: 6px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(227, 27, 35, 0.4);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-danger-glass {
    background: rgba(227, 27, 35, 0.1);
    color: var(--primary-red);
    border: 1px solid rgba(227, 27, 35, 0.2);
}

/* Testimonial Cards */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 30px; padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1); margin: 1rem;
    height: 100%; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden;
}
.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.08); border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.avatar {
    width: 65px; height: 65px;
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white;
}

/* Certifications */
.cert-badge { 
    background: var(--bg-card-hover); border-radius: 20px; 
    padding: 1.8rem 1.2rem; text-align: center; 
    transition: 0.3s; border: 1px solid var(--border-card);
    height: 100%; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
}
.cert-badge:hover {
    transform: translateY(-5px); border-color: var(--primary-red);
    box-shadow: 0 10px 20px rgba(227,27,35,0.15);
}
.cert-badge i { font-size: 2.5rem; color: var(--primary-red); transition: 0.3s; }

/* Grid / List Layout Helpers */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 992px) { .services-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.services-list { display: flex; flex-direction: column; gap: 1rem; }
.service-list-item {
    display: flex; align-items: center; gap: 1rem;
    background: var(--bg-card); border-radius: 16px; padding: 0.7rem 1.2rem;
    border: 1px solid var(--border-subtle); flex-wrap: wrap;
    transition: 0.2s;
}

.service-list-item:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.service-list-item h5 {
    font-size: 1rem;
    margin-bottom: 2px !important;
}

.service-list-item .rating-stars {
    font-size: 0.75rem;
}

.service-list-item small {
    display: block;
    line-height: 1.3;
    color: var(--text-secondary);
}

.service-list-img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Utility Classes for Modern Interface */
.hover-lift { 
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease; 
    border: 1px solid rgba(0,0,0,0.05);
}
.hover-lift:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important; 
    border-color: rgba(227, 27, 35, 0.2);
}

.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.object-fit-cover { object-fit: cover; }

/* Existing responsive helpers */
@media (max-width: 576px) {
    .service-list-item {
        gap: 0.8rem;
        padding: 0.8rem;
    }
    .service-list-img {
        width: 80px;
        height: 55px;
    }
}

/* Elite Component Styles */
.glass-card-modern {
    background: var(--bg-card);
    backdrop-filter: blur(25px) saturate(1.8);
    -webkit-backdrop-filter: blur(25px) saturate(1.8);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 10;
}
[data-theme="light"] .glass-card-modern {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.08);
}

/* Global Service Injection Overrides — Prevent JS-induced white backgrounds */
#servicesContainer .card,
#servicesContainer .service-card,
#servicesContainer .service-card-modern,
#servicesContainer .service-list-item {
    background: var(--bg-card) !important;
    border-color: var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

#servicesContainer h4, 
#servicesContainer h5,
#servicesContainer .price-tag,
#servicesContainer .price-final {
    color: var(--text-primary) !important;
}

#servicesContainer .text-secondary,
#servicesContainer .text-muted,
#servicesContainer small {
    color: var(--text-muted) !important;
}

.bg-danger-gradient {
    background: linear-gradient(135deg, #e31b23 0%, #8e0000 100%) !important;
}

.animate-glow {
    animation: nexus-card-glow 4s infinite alternate;
}

@keyframes nexus-card-glow {
    0% { box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6); }
    100% { box-shadow: 0 40px 100px -20px rgba(227, 27, 35, 0.15); }
}

.fw-black { font-weight: 900 !important; }
.letter-spacing-1 { letter-spacing: 1px !important; }
/* Fixenix Component Footer — Shared across all pages */

.footer-modern {
    background: var(--bg-footer, #0a0a0a);
    transition: background 0.3s ease;
    border-top: 1px solid var(--border-subtle);
}

[data-theme="light"] .footer-modern {
    background: #f8f9fa;
    --bg-footer: #f8f9fa;
    border-top-color: rgba(0,0,0,0.05);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .social-icon {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    border-color: rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    background: var(--primary-red, #ff3b30);
    color: #fff !important;
    transform: translateY(-3px) rotate(8deg);
    box-shadow: 0 5px 15px rgba(255, 59, 48, 0.3);
}

.footer-link {
    color: var(--text-muted, #777) !important;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

[data-theme="light"] .footer-link {
    color: #555 !important;
}

.footer-link:hover {
    color: var(--primary-red, #ff3b30) !important;
    padding-left: 5px;
}

.footer-heading {
    color: var(--text-primary, #fff);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

[data-theme="light"] .footer-heading {
    color: #111;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .footer-divider {
    border-color: rgba(0, 0, 0, 0.08);
}

.footer-glow {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.05) 0%, transparent 70%);
    pointer-events: none;
}
/* Fixenix Modals, Overlays & Form UI */

.quote-modal {
    display: none; position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(12px);
    z-index: 1100; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.quote-modal.show { display: flex; opacity: 1; }

.quote-modal-content {
    background: var(--bg-modal); border-radius: 48px;
    max-width: 500px; width: 90%; padding: 2rem;
    border: 1px solid rgba(227,27,35,0.5);
    box-shadow: 0 30px 50px rgba(0,0,0,0.6);
    transform: scale(0.95); transition: transform 0.3s ease;
}
.quote-modal.show .quote-modal-content { transform: scale(1); }

.modal-header-custom {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.5rem; border-bottom: 1px solid rgba(227,27,35,0.3);
    padding-bottom: 1rem;
}
.modal-header-custom h3 { margin: 0; font-weight: 800; }

.close-modal {
    background: var(--bg-card-hover); border: none;
    color: var(--text-primary); width: 40px; height: 40px;
    border-radius: 50%; transition: 0.2s;
}
.close-modal:hover { background: var(--primary-red); }

/* Form Field Styling */
.form-group-modern { margin-bottom: 1.2rem; }
.form-group-modern label {
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: 0.4rem; display: block; color: var(--text-secondary);
}
.form-control-modern {
    background: var(--bg-input); border: 1px solid var(--border-card);
    border-radius: 28px; padding: 12px 20px;
    color: white; width: 100%; transition: 0.2s;
}
.form-control-modern:focus {
    outline: none; border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(227,27,35,0.3);
}
select.form-control-modern { cursor: pointer; }

/* Feedback Helpers */
.quote-price-preview {
    background: rgba(227,27,35,0.15); border-radius: 28px;
    padding: 12px 16px; text-align: center; margin: 1rem 0;
    border: 1px dashed var(--primary-red);
}
/* Fixenix Floating & Overlay UI — Support & Interaction Channels */

/* --- Corner FAB (Floating Action Button) --- */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.fab-main {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(227, 27, 35, 0.4);
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    z-index: 2;
}

.fab-main:hover {
    transform: scale(1.1) rotate(10deg);
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    transform: translateY(20px);
}

.fab-container.active .fab-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Hover state if user prefers hover instead of click */
.fab-container:hover .fab-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fab-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.fab-option:hover {
    transform: scale(1.2);
}

.fab-option span {
    position: absolute;
    right: 65px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    backdrop-filter: blur(5px);
}

.fab-option:hover span {
    opacity: 1;
}

/* Option-specific colors */
.fab-whatsapp { background: #25D366; }
.fab-phone { background: #34b7f1; }
.fab-location { background: #EA4335; }
.fab-quote { background: #FBBC05; }

/* Desktop Sidebar Fallback/Complement */
.contact-sidebar {
    position: fixed; left: 0; top: 35%; transform: translateY(-50%);
    background: rgba(0,0,0,0.85); backdrop-filter: blur(12px); padding: 1rem 0.8rem;
    border-radius: 0 30px 30px 0; border-right: 3px solid var(--primary-red); z-index: 999;
    display: flex; flex-direction: column; gap: 1rem;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .fab-container { bottom: 20px; right: 20px; }
    .contact-sidebar { display: none; }
    .fab-main { width: 55px; height: 55px; font-size: 1.6rem; }
}

/* Theme Adaptation */
[data-theme="light"] .fab-option span {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* Fixenix Landing Page Hero Section UI */

.hero {
    min-height: 90vh; 
    display: flex; 
    align-items: center;
    padding: 6rem 2rem 4rem; 
    scroll-margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: calc(2.2rem + 2vw); 
    font-weight: 900; 
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 30%, var(--primary-red) 90%);
    -webkit-background-clip: text; 
    background-clip: text; 
    color: transparent;
    transition: var(--transition-standard);
}

.hero-sub {
    color: var(--text-secondary); 
    font-size: 1.2rem;
    border-left: 4px solid var(--primary-red); 
    padding-left: 1.5rem;
    margin-top: 2rem;
    transition: var(--transition-standard);
    max-width: 600px;
}

/* Theme Adjustments for Hero */
[data-theme="light"] .hero-title {
    background: linear-gradient(135deg, #111 20%, var(--primary-red) 90%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="light"] .hero-sub { color: #4a5568; }

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 991.98px) {
    .hero { text-align: center; justify-content: center; padding-top: 8rem; }
    .hero-title { font-size: 3rem; }
    .hero-sub { border-left: none; padding-left: 0; margin-left: auto; margin-right: auto; }
}

/* Very Small Screens Breakpoint */
@media (max-width: 576.98px) {
    .hero { min-height: auto; padding: 7rem 1.5rem 4rem; }
    .hero-title { font-size: 2.2rem; margin-bottom: 1.5rem; }
    .hero-sub { font-size: 1rem; line-height: 1.6; }
    .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
}

/* Extreme Minimalist screens (iphone 5 style) */
@media (max-width: 350.98px) {
    .hero-title { font-size: 1.8rem; }
    .hero-sub { font-size: 0.85rem; }
    .hero { padding-top: 6rem; }
    .btn-lg { padding: 10px 18px; font-size: 0.8rem; }
}
/* Fixenix Landing Page Sections UI — Home/Index Only */

/* Services Grid & Interactive Toggle View */
.view-toggle .btn-toggle {
    background: var(--bg-input);
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 40px;
    transition: 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
}
.view-toggle .btn-toggle.active { background: var(--primary-red); color: white; }
[data-theme="light"] .view-toggle .btn-toggle { background: rgba(0,0,0,0.04); color: #555; border: 1px solid rgba(0,0,0,0.08); }

/* Why Choose Us Section */
.why-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 1.8rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-red);
    transition: background 0.3s, transform 0.3s;
    height: 100%;
}
.why-card:hover { background: var(--bg-card-hover); transform: translateY(-5px); }
[data-theme="light"] .why-card { border-bottom-color: var(--primary-red); }

/* Brands Swiper */
.brand-slide { text-align: center; opacity: 0.7; transition: 0.3s; filter: grayscale(0.2); }
.brand-slide:hover { opacity: 1; filter: grayscale(0); }
.brand-slide i { font-size: 3.5rem; color: var(--text-secondary); }
[data-theme="light"] .brand-slide i { color: #333; }
[data-theme="light"] .brand-slide:hover i { color: var(--primary-red); }

/* Locations Grid */
.location-card {
    background: var(--bg-card);
    border-radius: 24px; padding: 1.5rem;
    transition: 0.3s; border: 1px solid var(--border-card);
    height: 100%;
}
.location-card:hover { border-color: var(--primary-red); transform: scale(1.02); }

/* Certifications Swiper / Trust Overrides */
.certifications-wrapper { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 10px;
}

.certSwiper {
    padding: 10px 10px 40px !important;
}

.cert-badge {
    margin: 10px;
    height: calc(100% - 20px);
}

/* Responsive Grid Fixes */
@media (max-width: 767.98px) {
    .services-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 0.75rem; 
    }
    .location-card { text-align: center; }
    
    /* Scale down card elements for 2-col mobile */
    .service-icon-lg { font-size: 1.8rem; }
    .service-img-container { height: 100px; }
    .service-card-modern h4 { font-size: 0.95rem; }
    .rating-stars { font-size: 0.75rem; }
    .price-tag { font-size: 1rem; }
}

@media (max-width: 375px) {
    .services-grid {
        gap: 0.5rem;
    }
    .service-card-modern {
        padding: 0.6rem; 
    }
    .service-img-container { height: 80px; }
    .service-card-modern h4 { font-size: 0.85rem; line-height: 1.2; }
}
/* Fixenix Light Theme Design System Refinements */

[data-theme="light"] {
    --bg-body: #f8f9fa;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: rgba(243, 245, 248, 0.98);
    --bg-navbar: rgba(255, 255, 255, 0.92);
    --bg-sidebar: rgba(255, 255, 255, 0.98);
}

/* Form Styles – Light Mode Visibility Enhancement */
[data-theme="light"] .form-control-modern,
[data-theme="light"] .input-modern-group {
    background-color: #f1f3f7 !important;
    border: 1.5px solid #d1d9e6 !important;
    color: #1a202c !important;
}

[data-theme="light"] .form-control-modern::placeholder {
    color: #718096 !important;
    opacity: 0.8;
}

/* High-Impact Focus States for Light Mode */
[data-theme="light"] .input-modern-group:focus-within {
    border-color: #e31b23 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(227, 27, 35, 0.12), 0 8px 16px rgba(0,0,0,0.05) !important;
    transform: translateY(-1px);
}

[data-theme="light"] .form-control-modern:focus {
    background-color: transparent !important; /* Group handles background */
    box-shadow: none !important; /* Group handles shadow */
}

/* Ensure labels are high contrast */
[data-theme="light"] .label-modern,
[data-theme="light"] .label-heading {
    color: #2d3748 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .input-group-text-modern {
    background-color: #e2e8f0 !important;
    border-right: 1.5px solid #d1d9e6 !important;
    color: #e31b23 !important;
}

/* Light Mode Card Shadows — More pronounced for visibility */
[data-theme="light"] .glass-card-modern,
[data-theme="light"] .service-card-modern,
[data-theme="light"] .testimonial-card {
    backdrop-filter: blur(12px) saturate(1.8);
    -webkit-backdrop-filter: blur(12px) saturate(1.8);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08), 0 5px 15px rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

/* Buttons Enhancement for Light Mode */
[data-theme="light"] .btn-outline-red {
    border: 1.5px solid #e31b23;
    color: #e31b23;
}

[data-theme="light"] .btn-glass-social {
    background-color: #ffffff;
    border: 1px solid #d1d9e6;
    color: #2d3748;
}

[data-theme="light"] .btn-glass-social:hover {
    background-color: #f8f9fa;
    border-color: #e31b23;
}

[data-theme="light"] .divider::before {
    background: #cbd5e0 !important;
}

/* Responsive Logo adjustment */
[data-theme="light"] .responsive-logo {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
/* FINAL Ultra-Premium "NexusFlow" Captcha Design */
.captcha-box-premium { 
    background: rgba(10, 10, 10, 0.4); 
    backdrop-filter: blur(25px);
    border: 2px solid rgba(227, 27, 35, 0.2); 
    border-radius: 24px; 
    padding: 1.8rem; 
    display: flex; 
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between; 
    align-items: center;
    gap: 20px;
    box-shadow: 
        inset 0 0 30px rgba(227, 27, 35, 0.05),
        0 15px 45px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 1rem;
}

.captcha-box-premium:focus-within {
    border-color: #ff3b30;
    background: rgba(227, 27, 35, 0.04);
    box-shadow: 
        0 0 30px rgba(227, 27, 35, 0.15),
        inset 0 0 15px rgba(255, 59, 48, 0.1);
    transform: translateY(-2px);
}

.captcha-image { 
    background: #ffffff; 
    border-radius: 16px; 
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border: 3px solid rgba(255,255,255,0.08);
    min-width: 180px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.captcha-image:hover {
    transform: scale(1.04) rotate(-1deg);
}

.captcha-image img.captcha {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.captcha-box-premium input[type="text"] {
    background: #000000 !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    color: #ff3b30 !important;
    padding: 16px 20px !important;
    flex-grow: 1;
    min-width: 160px;
    text-align: center;
    font-weight: 950;
    font-size: 1.5rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    box-shadow: inset 0 2px 15px rgba(0,0,0,0.9);
    outline: none !important;
    transition: all 0.3s;
}

.captcha-box-premium input[type="text"]:focus {
    border-color: #ff3b30 !important;
    background: #050505 !important;
    box-shadow: 
        0 0 20px rgba(255, 59, 48, 0.2),
        inset 0 2px 15px rgba(227, 27, 35, 0.4);
}

.captcha-box-premium input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.2) !important;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: none;
}

/* Responsive Protocol */
@media (max-width: 768px) {
    .captcha-box-premium {
        flex-direction: column;
        padding: 1.5rem;
        gap: 25px;
    }
    
    .captcha-image {
        width: 100%;
        min-height: 100px;
    }

    .captcha-box-premium input[type="text"] {
        width: 100%;
        min-width: 100%;
        font-size: 1.3rem;
        letter-spacing: 4px;
    }
}

/* Compatibility */
.captcha-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
