/* Matrix Digitizing - Professional Modern White Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    /* PRIMARY MATRIX ELECTRIC BLUE: Core Brand Identity (from Logo 'M' left side & 'MATRIX' text) */
    --primary-blue: #0088FF;
    --primary-blue-hover: #0070E0;
    --primary-blue-glow: rgba(0, 136, 255, 0.25);
    --primary-blue-light: rgba(0, 136, 255, 0.08);

    /* PRIMARY ACCENT GREEN: Core Brand Neon */
    --primary-green: #0088FF;
    --primary-green-hover: #0070E0;
    --primary-green-glow: rgba(0, 136, 255, 0.25);
    --primary-green-light: rgba(0, 136, 255, 0.08);

    /* MATRIX NEON LIME GREEN */
    --matrix-green: #10B981;
    --matrix-green-hover: #059669;
    --matrix-green-glow: rgba(16, 185, 129, 0.25);
    --matrix-green-light: rgba(16, 185, 129, 0.08);

    /* BRAND DUAL GRADIENT (Signature Blue to Neon Accent) */
    --brand-gradient: linear-gradient(135deg, #0088FF 0%, #0070E0 60%, #10B981 100%);
    --brand-gradient-hover: linear-gradient(135deg, #0099FF 0%, #0070E0 55%, #059669 100%);

    /* DEEP BLUE */
    --deep-green: #0052CC;

    /* WHITE THEME BACKGROUND SURFACES */
    --near-black: #FFFFFF;
    --dark-bg: #FFFFFF;
    --primary-navy: #F8FAFC;

    /* WHITE SURFACE: Cards, navigation, panels, content sections */
    --dark-surface: #FFFFFF;
    --card-bg: #FFFFFF;
    --primary-slate: #FFFFFF;

    /* LIGHT SURFACE: Elevated cards, hover states, subtle section contrasts */
    --light-surface: #F8FAFC;
    --light-bg: #F8FAFC;

    /* HIGH CONTRAST DARK TEXT: Headings, important text */
    --warm-white: #0F172A;
    --text-white: #0F172A;
    --text-dark: #0F172A;

    /* MUTED TEXT: Descriptions, secondary text, metadata */
    --muted-text: #475569;
    --text-muted: #64748B;

    /* ACCENTS & HIGHLIGHTS */
    --champagne-gold: #0088FF;
    --accent-gold: #0088FF;
    --accent-amber: #10B981;
    --accent-amber-hover: #059669;

    /* SOFT ACCENT */
    --soft-green: #0088FF;
    --soft-green-bg: rgba(0, 136, 255, 0.08);
    --secondary-blue: #0088FF;

    /* BORDER: Crisp, subtle dividers and borders */
    --border-color: #E2E8F0;

    /* TYPOGRAPHY */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* SHADOWS & TRANSITIONS */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.09);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Scrolling & Performance Optimizations */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Styles */
body {
    font-family: var(--font-body);
    color: var(--muted-text);
    background-color: #FFFFFF;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Performance & Compositing Hints */
img {
    content-visibility: auto;
}

.ecom-product-card,
.feature-box,
.testimonial-card,
.transition-card,
.portfolio-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Sleek Scroll-To-Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0088FF 0%, #0052CC 100%);
    color: #FFFFFF !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(0, 136, 255, 0.35);
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: linear-gradient(135deg, #0099FF 0%, #0070E0 100%);
    color: #FFFFFF !important;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 136, 255, 0.45);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    transition: var(--transition);
    color: var(--primary-blue);
}

a:hover {
    color: var(--primary-blue-hover);
}

/* Sleek Compact White/Light Top Header Bar */
.top-header-bar {
    background-color: #F8FAFC;
    color: #64748B;
    padding: 7px 0;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.78rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
}

.top-header-bar span,
.top-header-bar a {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    color: #475569;
}

.promo-badge-tag {
    background: rgba(0, 136, 255, 0.08);
    color: #0088FF;
    border: 1px solid rgba(0, 136, 255, 0.25);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-divider {
    color: #CBD5E1;
    font-size: 0.72rem;
}

.whatsapp-top-link {
    color: #22C55E !important;
    font-weight: 600;
}

.whatsapp-top-link:hover {
    color: #16A34A !important;
}

.top-link-dark {
    color: #475569 !important;
    font-weight: 500;
    transition: var(--transition);
}

.top-link-dark:hover {
    color: #0F172A !important;
}

.hover-white:hover {
    color: #0088FF !important;
}

.text-brand,
.text-brand-blue {
    color: #0088FF !important;
}

/* Consistent Modern Page Hero Banner for Subpages */
.page-hero-banner {
    background: radial-gradient(circle at 50% 0%, rgba(0, 136, 255, 0.07) 0%, rgba(248, 250, 252, 0.9) 60%, #FFFFFF 100%), #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 46px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-hero-banner .hero-pill-badge {
    background: rgba(0, 136, 255, 0.08);
    color: #0088FF;
    border: 1px solid rgba(0, 136, 255, 0.25);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.page-hero-banner h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #0F172A;
    font-size: 2.3rem;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-hero-banner p.subtitle {
    color: #64748B;
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-hero-banner .hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-hero-banner .hero-trust-badge {
    background: #FFFFFF;
    color: #1E293B;
    border: 1px solid #E2E8F0;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    display: inline-flex;
    align-items: center;
}

/* Sleek Modern White Main Navbar */
.main-navbar {
    background-color: #FFFFFF !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
    padding: 10px 0 !important;
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: var(--transition);
    border-bottom: 1px solid #E2E8F0 !important;
}

.brand-logo-img {
    height: 42px;
    width: 42px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(0, 136, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 136, 255, 0.15);
    transition: var(--transition);
}

.brand-logo-img:hover {
    box-shadow: 0 4px 14px rgba(0, 136, 255, 0.3);
    border-color: #0088FF;
}

.brand-logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #0F172A !important;
    letter-spacing: -0.5px;
    line-height: 1;
    margin: 0;
}

/* [DIGITIZING] IN LOGO BRAND BLUE */
.brand-logo-text span {
    color: #0088FF !important;
    margin-left: 3px;
}

.brand-badge {
    background-color: rgba(0, 136, 255, 0.08) !important;
    color: #0088FF !important;
    border: 1px solid rgba(0, 136, 255, 0.25) !important;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Desktop Navbar Nav Rules */
@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-wrap: nowrap;
    }

    .navbar-nav .nav-link,
    .navbar-nav li a,
    .nav-link {
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 0.88rem;
        color: #1E293B !important;
        padding: 7px 12px !important;
        border-radius: 6px;
        transition: var(--transition);
        position: relative;
        display: inline-flex;
        align-items: center;
        white-space: nowrap !important;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav li a:hover,
    .nav-link:hover {
        color: #0088FF !important;
        background-color: rgba(0, 136, 255, 0.06) !important;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav li a.active,
    .nav-link.active {
        color: #0088FF !important;
        background-color: rgba(0, 136, 255, 0.08) !important;
        font-weight: 700;
    }

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 10px;
        right: 10px;
        height: 2px;
        background: #0088FF;
        border-radius: 2px;
    }
}

/* Mobile & Tablet Navbar Nav Rules (<992px) */
@media (max-width: 991.98px) {
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 5px;
        padding: 8px 0;
    }

    .navbar-nav .nav-link,
    .navbar-nav li a,
    .nav-link {
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 0.95rem;
        color: #1E293B !important;
        padding: 10px 14px !important;
        border-radius: 8px;
        transition: var(--transition);
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav li a:hover,
    .nav-link:hover {
        color: #0088FF !important;
        background-color: rgba(0, 136, 255, 0.06) !important;
        padding-left: 18px !important;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav li a.active,
    .nav-link.active {
        color: #0088FF !important;
        background-color: rgba(0, 136, 255, 0.08) !important;
        border-left: 3px solid #0088FF;
        font-weight: 700;
    }

    .nav-link.active::after {
        display: none !important;
    }

    .main-navbar .btn-primary-custom {
        width: 100%;
        justify-content: center;
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
    }
}

.main-navbar .btn-primary-custom {
    padding: 7px 16px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    letter-spacing: 0.2px;
    gap: 6px !important;
}

.main-navbar .btn-primary-custom i {
    font-size: 0.75rem;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, #0088FF 0%, #0060DF 60%, #10B981 100%);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 11px 24px;
    border-radius: 8px;
    border: 1px solid rgba(0, 136, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 136, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 136, 255, 0.45);
    background: linear-gradient(135deg, #1A94FF 0%, #0070F3 55%, #22C55E 100%);
}

.btn-navy-custom,
.btn-dark-custom {
    background-color: #F8FAFC;
    color: #0F172A !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 11px 24px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-navy-custom:hover,
.btn-dark-custom:hover {
    background-color: #FFFFFF;
    border-color: #0088FF;
    color: #0088FF !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline-custom {
    border: 1.5px solid #CBD5E1;
    color: #0F172A !important;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    background: #FFFFFF;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    border-color: #0088FF;
    background-color: rgba(0, 136, 255, 0.05);
    color: #0088FF !important;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 85% 15%, rgba(0, 136, 255, 0.08) 0%, rgba(16, 185, 129, 0.03) 40%, #FFFFFF 72%);
    color: var(--muted-text);
    padding: 85px 0 95px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #E2E8F0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.1) 0%, rgba(16, 185, 129, 0.03) 50%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 136, 255, 0.08);
    border: 1px solid rgba(0, 136, 255, 0.22);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0088FF;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0F172A;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, #0088FF 0%, #0070E0 50%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #E2E8F0;
}

.stat-item h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.stat-item p {
    font-size: 0.825rem;
    color: #64748B;
    margin: 0;
}

/* Feature Highlights Grid */
.features-bar {
    background-color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 35px 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 10px;
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    background: rgba(0, 136, 255, 0.08);
    color: #0088FF;
    border: 1px solid rgba(0, 136, 255, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.feature-box h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #0F172A;
}

.feature-box p {
    font-size: 0.85rem;
    color: #64748B;
    margin: 0;
}

/* Section Common */
.section-padding {
    padding: 85px 0;
}

.section-title-wrapper {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-subtitle {
    text-transform: uppercase;
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #0088FF;
    margin-bottom: 8px;
    display: block;
}

.section-main-title {
    font-size: 2.3rem;
    color: #0F172A;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 1rem;
    color: #475569;
}

/* Services Cards */
.service-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 136, 255, 0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #F8FAFC;
    color: #0088FF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #0F172A;
}

.service-card p {
    font-size: 0.9rem;
    color: #475569;
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #E2E8F0;
}

.service-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0F172A;
}

.service-price span {
    color: #0088FF;
    font-size: 1.15rem;
}

/* Before / After Portfolio Showcase */
.portfolio-filter-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #475569;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: #0088FF;
    color: #FFFFFF;
    border-color: #0088FF;
}

/* Before/After Interactive Slider Container */
.before-after-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    margin-bottom: 30px;
    transition: var(--transition);
}

.before-after-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 136, 255, 0.35);
}

.ba-slider-container {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #F1F5F9;
}

.ba-slider-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-img-after {
    width: 50%;
    z-index: 2;
    overflow: hidden;
    border-right: 3px solid #0088FF;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: #0088FF;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    font-size: 0.8rem;
    cursor: ew-resize;
}

.ba-label {
    position: absolute;
    bottom: 12px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #0F172A;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 4;
    border: 1px solid #CBD5E1;
}

.ba-label-before {
    left: 12px;
}

.ba-label-after {
    right: 12px;
}

.portfolio-info {
    padding: 20px;
    background: #FFFFFF;
}

.portfolio-info h5 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #0F172A;
}

.portfolio-meta {
    display: flex;
    gap: 15px;
    font-size: 0.825rem;
    color: #64748B;
}

/* Pricing Table */
.pricing-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    padding: 35px 28px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 136, 255, 0.35);
}

.pricing-card.featured-plan {
    border: 2px solid #0088FF;
    box-shadow: 0 8px 30px rgba(0, 136, 255, 0.12);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #0088FF;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0F172A;
    margin: 20px 0 10px;
}

.pricing-amount span {
    font-size: 1rem;
    font-weight: 500;
    color: #64748B;
}

/* Store Cards */
.store-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.store-card:hover {
    transform: translateY(-4px);
    background: #FFFFFF;
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 136, 255, 0.35);
}

.store-thumb {
    position: relative;
    height: 200px;
    background: #F1F5F9;
    overflow: hidden;
}

.store-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-price-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FFFFFF;
    color: #0088FF;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #CBD5E1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ========================================================
   MODERN E-COMMERCE STORE SECTION STYLES
   ======================================================== */
.ecom-store-section {
    background: #FFFFFF;
    position: relative;
}

.ecom-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ecom-filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #475569;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ecom-filter-btn:hover {
    background: #FFFFFF;
    color: #0088FF;
    border-color: #0088FF;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 136, 255, 0.12);
}

.ecom-filter-btn.active {
    background: #0088FF;
    color: #FFFFFF;
    border-color: #0088FF;
    box-shadow: 0 4px 14px rgba(0, 136, 255, 0.28);
}

.ecom-product-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.ecom-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 136, 255, 0.35);
    box-shadow: 0 16px 36px rgba(0, 136, 255, 0.12);
}

.ecom-media-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecom-media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ecom-product-card:hover .ecom-media-wrap img {
    transform: scale(1.08);
}

.ecom-floating-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 3;
    pointer-events: none;
}

.ecom-badge-sale {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.ecom-badge-formats {
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ecom-quick-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
    display: flex;
    gap: 8px;
    justify-content: center;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 4;
}

.ecom-product-card:hover .ecom-quick-actions {
    transform: translateY(0);
    opacity: 1;
}

.ecom-action-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 8px;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ecom-action-btn.btn-quick-view {
    background: #FFFFFF;
    color: #0F172A;
}

.ecom-action-btn.btn-quick-view:hover {
    background: #F1F5F9;
    color: #0088FF;
}

.ecom-action-btn.btn-quick-buy {
    background: #0088FF;
    color: #FFFFFF;
}

.ecom-action-btn.btn-quick-buy:hover {
    background: #0052CC;
}

.ecom-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #FFFFFF;
}

.ecom-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.75rem;
}

.ecom-category-tag {
    background: rgba(0, 136, 255, 0.08);
    color: #0088FF;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 136, 255, 0.15);
}

.ecom-product-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #0F172A;
    line-height: 1.35;
    margin-bottom: 6px;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.ecom-product-title:hover {
    color: #0088FF;
}

.ecom-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.ecom-stars {
    color: #F59E0B;
}

.ecom-specs-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 14px;
    font-size: 0.75rem;
    color: #64748B;
    font-family: var(--font-heading);
}

.ecom-specs-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ecom-price-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.ecom-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ecom-current-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0088FF;
    font-family: var(--font-heading);
    line-height: 1;
}

.ecom-old-price {
    font-size: 0.85rem;
    color: #94A3B8;
    text-decoration: line-through;
    font-weight: 500;
}

.ecom-trust-grid {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px 30px;
    margin-top: 48px;
}

.ecom-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ecom-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 136, 255, 0.1);
    color: #0088FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ecom-trust-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: #0F172A;
    margin-bottom: 2px;
}

.ecom-trust-desc {
    font-size: 0.78rem;
    color: #64748B;
    margin-bottom: 0;
    line-height: 1.35;
}

/* Customer Testimonial Card */
.testimonial-card {
    background: #F8FAFC;
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    margin-bottom: 24px;
    color: #475569;
}

.stars-wrapper {
    color: #F59E0B;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* Order Form Styling */
.order-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
}

.form-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F172A;
    padding-bottom: 10px;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 20px;
}

/* ===== ENHANCED FORM CONTROLS (White Theme) ===== */

/* Label */
.form-label,
label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #334155;
    margin-bottom: 6px;
    display: block;
    transition: color 0.2s ease;
}

/* Base Input */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
textarea,
select {
    background-color: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    color: #0F172A !important;
    border-radius: 10px !important;
    padding: 11px 16px !important;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.22s ease !important;
    outline: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    width: 100%;
}

/* File Input */
input[type="file"].form-control,
input[type="file"] {
    padding: 8px 12px !important;
    cursor: pointer;
}

/* Placeholder */
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #94A3B8 !important;
    font-style: italic;
    font-size: 0.85rem;
}

/* Focus State — Brand Blue Border */
.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: #0088FF !important;
    box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.15) !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    transform: translateY(-1px);
}

/* Hover State */
.form-control:hover:not(:focus),
input:hover:not(:focus),
textarea:hover:not(:focus),
select:hover:not(:focus) {
    border-color: #94A3B8 !important;
}

/* Select Options */
.form-select option,
select option {
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    padding: 8px;
}

/* Textarea */
textarea.form-control {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* Input Group Icon Integration */
.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 0.85rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-icon-wrapper input:focus~.input-icon,
.input-icon-wrapper input:focus+.input-icon {
    color: #0088FF;
}

.input-icon-wrapper input {
    padding-left: 40px !important;
}

/* Custom Checkbox / Radio Option Cards */
.option-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.option-select-box {
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    background: #FFFFFF;
    transition: var(--transition);
}

.option-select-box:hover,
.option-select-box.active {
    border-color: #0088FF;
    background: rgba(0, 136, 255, 0.05);
}

.option-select-box i {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: #0088FF;
    display: block;
}

.option-select-box span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0F172A;
}

/* Drag Drop File Upload */
.file-upload-zone {
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: #F8FAFC;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-zone:hover {
    border-color: #0088FF;
    background: #FFFFFF;
}

.file-upload-zone i {
    font-size: 2.5rem;
    color: #0088FF;
    margin-bottom: 10px;
}

/* User Dashboard Styling */
.user-sidebar-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    padding: 25px;
    color: #475569;
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #EBF5FF;
    color: #0088FF;
    border: 1px solid #BFDBFE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px;
}

/* Footer Styling */
.footer-main {
    background-color: #F8FAFC !important;
    color: #475569 !important;
    padding: 70px 0 30px;
    border-top: 1px solid #E2E8F0 !important;
}

.footer-main h5 {
    color: #0F172A !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #475569 !important;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #0088FF !important;
    padding-left: 5px;
}

.footer-bottom {
    background-color: #F1F5F9 !important;
    color: #64748B !important;
    padding: 20px 0;
    font-size: 0.85rem;
    border-top: 1px solid #E2E8F0 !important;
}

/* Floating WhatsApp / Live Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #16A34A;
    color: #FFFFFF;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
    z-index: 1050;
    transition: var(--transition);
}

.floating-chat-btn:hover {
    transform: scale(1.1);
    color: #FFFFFF;
    background: #15803D;
}

/* Quote Calculator Price Display Box */
.calc-price-display {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.calc-price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0088FF;
    font-family: var(--font-heading);
    line-height: 1;
}

/* Hero Showcase & Floating Badges */
.hero-showcase-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    position: relative;
}

.hero-showcase-box img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.hero-badge-quality {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #E2E8F0;
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.hero-badge-speed {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #E2E8F0;
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

/* About Showcase & Floating Badges */
.about-showcase-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
    height: 520px;
    background: #0f172a;
    isolation: isolate;
    transform: translateZ(0);
}

.about-showcase-box img,
.about-showcase-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-badge-exp {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #E2E8F0;
    backdrop-filter: blur(12px);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 210px;
    z-index: 3;
}

.about-badge-reviews {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #E2E8F0;
    backdrop-filter: blur(12px);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    min-width: 160px;
    z-index: 3;
}

/* Quote Sticky Sidebar */
@media (min-width: 992px) {
    .quote-summary-sticky {
        position: sticky;
        top: 90px;
    }
}

@media (max-width: 991.98px) {
    .quote-summary-sticky {
        position: static !important;
    }
}

/* Design System Utility Classes */
.text-brand,
.text-green-custom {
    color: #0088FF !important;
}

.bg-brand,
.bg-green-custom {
    background-color: #0088FF !important;
    color: #FFFFFF !important;
}

/* Luxury Accents */
.text-warning,
.hover-warning:hover {
    color: #0088FF !important;
}

.bg-warning {
    background-color: rgba(0, 136, 255, 0.1) !important;
    color: #0088FF !important;
    border: 1px solid rgba(0, 136, 255, 0.25) !important;
}

.btn-warning {
    background: #0088FF !important;
    border: none !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0, 136, 255, 0.25) !important;
}

.btn-warning:hover,
.btn-warning:focus {
    background: #0070E0 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.btn-outline-warning {
    color: #0088FF !important;
    border-color: #0088FF !important;
}

.btn-outline-warning:hover {
    background-color: #0088FF !important;
    color: #FFFFFF !important;
}

.border-warning {
    border-color: #0088FF !important;
}

/* =============================================
   GLOBAL BOOTSTRAP WHITE THEME OVERRIDES
   ============================================= */

.bg-navy,
.bg-dark {
    background-color: #F8FAFC !important;
}

.text-info {
    color: #0088FF !important;
}

.bg-info {
    background-color: rgba(0, 136, 255, 0.08) !important;
    color: #0088FF !important;
    border: 1px solid rgba(0, 136, 255, 0.2) !important;
}

/* White / Light sections */
.bg-white {
    background-color: #FFFFFF !important;
}

.bg-light {
    background-color: #F8FAFC !important;
}

/* Cards */
.card {
    background-color: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    color: #475569 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

.card-body {
    color: #475569 !important;
}

/* Bootstrap badges */
.badge.bg-secondary {
    background-color: #F1F5F9 !important;
    color: #475569 !important;
    border: 1px solid #CBD5E1 !important;
}

.badge.bg-primary {
    background-color: #0088FF !important;
    color: #FFFFFF !important;
}

.badge.bg-success {
    background-color: #DCFCE7 !important;
    color: #16A34A !important;
    border: 1px solid #BBF7D0 !important;
}

/* Input group text */
.input-group-text {
    background-color: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    color: #475569 !important;
}

/* Text colors */
.text-dark {
    color: #0F172A !important;
}

.text-muted {
    color: #64748B !important;
}

/* Borders */
.border,
.border-top,
.border-bottom,
.border-start,
.border-end {
    border-color: #E2E8F0 !important;
}

.border-secondary {
    border-color: #E2E8F0 !important;
}

/* Alerts */
.alert-info {
    background-color: rgba(0, 136, 255, 0.08) !important;
    border-color: rgba(0, 136, 255, 0.25) !important;
    color: #0088FF !important;
}

.alert-warning {
    background-color: #FEF3C7 !important;
    border-color: #FDE68A !important;
    color: #B45309 !important;
}

.alert-danger {
    background-color: #FEE2E2 !important;
    border-color: #FECACA !important;
    color: #B91C1C !important;
}

.alert-success {
    background-color: #DCFCE7 !important;
    border-color: #BBF7D0 !important;
    color: #15803D !important;
}

/* Modal */
.modal-content {
    background-color: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    color: #475569 !important;
}

.modal-header {
    border-bottom-color: #E2E8F0 !important;
    background-color: #F8FAFC !important;
    color: #0F172A !important;
}

.modal-header.bg-dark,
.modal-header.bg-navy {
    background-color: #F8FAFC !important;
}

.modal-footer {
    border-top-color: #E2E8F0 !important;
    background-color: #F8FAFC !important;
}

/* Table overrides */
.table {
    color: #1E293B !important;
    border-color: #E2E8F0 !important;
}

.table-dark {
    --bs-table-bg: #F8FAFC !important;
    --bs-table-border-color: #E2E8F0 !important;
    color: #1E293B !important;
}

.table thead th {
    color: #475569 !important;
    border-bottom-color: #E2E8F0 !important;
}

.table td,
.table th {
    border-color: #E2E8F0 !important;
}

/* Dropdown menus */
.dropdown-menu {
    background-color: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.dropdown-item {
    color: #1E293B !important;
}

.dropdown-item:hover {
    background-color: #F1F5F9 !important;
    color: #0088FF !important;
}

/* Form labels */
.form-label {
    color: #0F172A !important;
}

/* Form check */
.form-check-label {
    color: #475569 !important;
}

.form-check-input:checked {
    background-color: #0088FF !important;
    border-color: #0088FF !important;
}

/* Sticky top */
.sticky-top.card.bg-light,
.card.bg-light {
    background-color: #FFFFFF !important;
}

/* Transition card hover */
.transition-card:hover {
    transform: translateY(-4px);
    transition: all 0.25s ease;
}

/* Navbar toggler on white nav */
.navbar-toggler {
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

/* Mobile nav collapse area */
.navbar-collapse .nav-link {
    color: #1E293B !important;
}

.navbar-collapse .nav-link:hover,
.navbar-collapse .nav-link.active {
    color: #0088FF !important;
}

/* HR separator */
hr {
    border-color: #E2E8F0 !important;
    opacity: 1;
}

/* Shadow overrides */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.shadow-lg {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09) !important;
}

/* ==========================================================================
   MASTER RESPONSIVE DESIGN SYSTEM (ALL SCREEN SIZES & DEVICES)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Global Fluid Foundation & Overflow Guard
   -------------------------------------------------------------------------- */
html, body {
    max-width: 100vw;
    overflow-x: clip;
    position: relative;
}

img, video, canvas, svg, iframe {
    max-width: 100%;
    height: auto;
}

/* Prevent iOS text auto-zoom on form focus */
@media screen and (max-width: 767.98px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Responsive Table Container */
.table-responsive {
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    margin-bottom: 1rem;
}

.table-responsive table {
    margin-bottom: 0 !important;
    min-width: 580px;
}

/* --------------------------------------------------------------------------
   1. Horizontal Scrollable Touch Tab Strips (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .ecom-filter-pills,
    .portfolio-filter-btns,
    #serviceFilterBtns {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory;
        gap: 8px !important;
        padding: 4px 6px 12px 4px !important;
        margin-bottom: 20px !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .ecom-filter-pills::-webkit-scrollbar,
    .portfolio-filter-btns::-webkit-scrollbar,
    #serviceFilterBtns::-webkit-scrollbar {
        display: none !important;
    }

    .ecom-filter-btn,
    .filter-btn,
    .service-filter-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        scroll-snap-align: start;
        padding: 8px 16px !important;
        font-size: 0.82rem !important;
    }
}

/* --------------------------------------------------------------------------
   2. Large Laptops & Standard Desktops (992px to 1199.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.7rem;
    }

    .hero-showcase-box img {
        height: 340px;
    }

    .about-showcase-box {
        height: 460px;
    }

    .stat-item h4 {
        font-size: 1.6rem;
    }
}

/* --------------------------------------------------------------------------
   3. Tablets & Small Laptops (768px to 991.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    /* Navbar Mobile Container */
    .main-navbar {
        padding: 8px 0 !important;
    }

    .navbar-collapse {
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 14px !important;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
        padding: 16px !important;
        margin-top: 10px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-toggler {
        border: 1px solid #CBD5E1 !important;
        border-radius: 8px !important;
        padding: 6px 10px !important;
        background: #F8FAFC !important;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.2) !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 55px 0 65px;
    }

    .hero-title {
        font-size: 2.3rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }

    .hero-showcase-box {
        margin-top: 15px;
    }

    .hero-showcase-box img {
        height: 320px;
    }

    /* Features Bar */
    .features-bar {
        margin-top: -15px;
        padding: 24px 18px;
    }

    /* About Section */
    .about-showcase-box {
        height: 380px;
        margin-bottom: 20px;
    }

    .about-badge-exp {
        bottom: 20px;
        left: 20px;
        padding: 10px 14px;
        min-width: 180px;
    }

    .about-badge-exp div:first-child div:first-child {
        font-size: 1.6rem !important;
    }

    .about-badge-reviews {
        top: 20px;
        right: 20px;
        padding: 10px 14px;
        min-width: 150px;
    }

    /* Section Spacing */
    .section-padding {
        padding: 65px 0;
    }

    .section-main-title {
        font-size: 2rem;
    }

    /* Quote Form Sticky reset */
    .quote-summary-sticky {
        position: static !important;
        margin-top: 25px;
    }

    /* Pricing */
    .pricing-card {
        padding: 30px 22px;
    }
}

/* --------------------------------------------------------------------------
   4. Phablets & Large Phones (576px to 767.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    /* Brand logo scaling */
    .brand-logo-img {
        height: 38px;
        width: 38px;
    }

    .brand-logo-text {
        font-size: 1.2rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 42px 0 48px;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 1.95rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    /* Hero CTA Full-width */
    .hero-section .btn-primary-custom,
    .hero-section .btn-outline-custom {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px 20px;
    }

    /* Hero KPI Stats Grid (2x2) */
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px 20px !important;
        margin-top: 25px !important;
        padding-top: 20px !important;
    }

    .stat-item h4 {
        font-size: 1.55rem;
    }

    .stat-item p {
        font-size: 0.78rem;
    }

    /* Hero Showcase Image & Badges */
    .hero-showcase-box img {
        height: 270px;
    }

    .hero-badge-quality {
        bottom: 12px;
        left: 12px;
        padding: 6px 10px;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .hero-badge-quality .rounded-circle {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.85rem !important;
    }

    .hero-badge-speed {
        top: 12px;
        right: 12px;
        padding: 5px 9px;
        font-size: 0.72rem;
        border-radius: 8px;
    }

    /* Features Bar */
    .features-bar {
        margin-top: 0;
        padding: 20px 14px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    }

    .feature-box {
        gap: 12px;
        padding: 8px 0;
    }

    .feature-icon-wrapper {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
        border-radius: 10px;
    }

    .feature-box h5 {
        font-size: 0.95rem;
    }

    .feature-box p {
        font-size: 0.82rem;
    }

    /* About Section */
    .about-showcase-box {
        height: 280px;
    }

    .about-badge-exp {
        bottom: 12px;
        left: 12px;
        padding: 8px 12px;
        min-width: auto;
        gap: 10px;
        border-radius: 10px;
    }

    .about-badge-exp div:first-child div:first-child {
        font-size: 1.4rem !important;
    }

    .about-badge-reviews {
        top: 12px;
        right: 12px;
        padding: 8px 12px;
        min-width: auto;
        border-radius: 10px;
    }

    .about-badge-reviews div:first-child {
        font-size: 0.72rem !important;
    }

    /* Section Common */
    .section-padding {
        padding: 50px 0;
    }

    .section-title-wrapper {
        margin-bottom: 35px;
    }

    .section-main-title {
        font-size: 1.85rem;
    }

    .section-desc {
        font-size: 0.92rem;
    }

    /* Service Cards Banner */
    .service-card-wrapper .card > div:first-child {
        height: 190px !important;
    }

    /* E-Commerce Cards */
    .ecom-product-card {
        margin-bottom: 15px;
    }

    .ecom-specs-strip {
        font-size: 0.72rem;
    }

    .ecom-current-price {
        font-size: 1.2rem;
    }

    /* Before/After Slider */
    .ba-slider-container {
        height: 220px;
    }

    /* Order Form */
    .order-card {
        padding: 24px 18px;
    }

    .file-upload-zone {
        padding: 22px 14px;
    }

    .file-upload-zone i {
        font-size: 2rem;
    }

    /* Footer */
    .footer-main {
        padding: 45px 0 25px !important;
    }

    .footer-main h5 {
        margin-top: 15px;
        margin-bottom: 12px;
    }

    .footer-bottom {
        padding: 16px 0;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   5. Standard Smartphones (375px to 575.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
    /* Brand Logo Text */
    .brand-logo-text {
        font-size: 1.15rem;
    }

    /* Hero */
    .hero-section {
        padding: 35px 0 40px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-showcase-box img {
        height: 240px;
    }

    /* About Section Image */
    .about-showcase-box {
        height: 250px;
    }

    .about-badge-exp {
        padding: 6px 10px;
        font-size: 0.72rem;
    }

    .about-badge-reviews {
        padding: 6px 10px;
        font-size: 0.7rem;
    }

    /* Section Main Titles */
    .section-main-title {
        font-size: 1.65rem;
    }

    /* Buttons */
    .btn-primary-custom,
    .btn-navy-custom,
    .btn-outline-custom,
    .btn-dark-custom {
        padding: 11px 18px;
        font-size: 0.9rem;
    }

    /* Pricing Cards */
    .pricing-card {
        padding: 24px 16px;
    }

    .pricing-amount {
        font-size: 2.2rem;
    }

    /* Portfolio Carousel */
    .carousel-inner {
        height: 220px !important;
    }

    /* Portfolio Card Footer: Stack on mobile */
    .portfolio-footer-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .portfolio-footer-row .btn {
        width: 100%;
        text-align: center;
    }

    /* Order Form */
    .order-card {
        padding: 18px 12px;
        border-radius: 12px;
    }

    .form-section-title {
        font-size: 1.05rem;
    }

    .calc-price-display {
        padding: 12px 14px;
    }

    .calc-price-amount {
        font-size: 1.85rem;
    }

    /* Modals */
    .modal-dialog {
        margin: 8px;
        max-width: calc(100% - 16px);
    }

    .modal-body {
        padding: 18px 14px !important;
    }

    /* Floating Action Buttons */
    .floating-chat-btn {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .scroll-to-top-btn {
        bottom: calc(74px + env(safe-area-inset-bottom, 0px));
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    /* 50% Promo Call to Action Banner */
    section.py-5.text-white.text-center h2 {
        font-size: 1.55rem !important;
    }

    section.py-5.text-white.text-center .lead {
        font-size: 0.95rem;
    }

    section.py-5.text-white.text-center .btn {
        width: 100%;
        font-size: 1rem !important;
        padding: 12px 20px !important;
    }
}

/* --------------------------------------------------------------------------
   6. Ultra-Compact Devices (<= 374.98px, e.g. Galaxy Fold closed 320px, iPhone SE)
   -------------------------------------------------------------------------- */
@media (max-width: 374.98px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Brand Logo Text */
    .brand-logo-text {
        font-size: 1.05rem;
    }

    .brand-logo-img {
        height: 34px;
        width: 34px;
    }

    /* Hero */
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 4px 8px;
    }

    .hero-showcase-box img {
        height: 200px;
    }

    .hero-badge-speed {
        display: none !important;
    }

    .hero-badge-quality {
        bottom: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 0.68rem;
    }

    .hero-stats {
        gap: 10px !important;
    }

    .stat-item h4 {
        font-size: 1.35rem;
    }

    .stat-item p {
        font-size: 0.72rem;
    }

    /* Section Main Titles */
    .section-main-title {
        font-size: 1.45rem;
    }

    .about-showcase-box {
        height: 210px;
    }

    .about-badge-exp {
        bottom: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 0.68rem;
    }

    .about-badge-reviews {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 0.66rem;
    }

    /* Buttons */
    .btn-primary-custom,
    .btn-navy-custom,
    .btn-outline-custom {
        padding: 9px 14px;
        font-size: 0.85rem;
    }

    .ecom-specs-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .calc-price-amount {
        font-size: 1.65rem;
    }

    .floating-chat-btn {
        width: 44px;
        height: 44px;
        font-size: 1.35rem;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        right: 12px;
    }

    .scroll-to-top-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
        bottom: calc(64px + env(safe-area-inset-bottom, 0px));
        right: 12px;
    }
}

/* ==========================================================================
   FINAL RESPONSIVE POLISH — PAGE-SPECIFIC FIXES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Store Page — Search & Filter Bar
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    /* Stack search bar and category select vertically */
    .store-search-form .row > [class*="col-md"] {
        width: 100% !important;
    }

    .store-card {
        flex-direction: column;
    }

    .store-thumb {
        height: 200px;
    }

    .store-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Store success order row — stack download button */
    .store-success-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .store-success-row a {
        width: 100%;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   User Dashboard — Sidebar first on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    /* Sidebar (col-lg-4) comes first naturally; ensure spacing */
    .user-sidebar-card {
        margin-bottom: 24px;
    }

    /* Table on dashboard: ensure scroll wrapper works */
    .user-dashboard-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* --------------------------------------------------------------------------
   Services Page — Section Layout Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    /* How It Works steps — stack as column list */
    .how-it-works-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Service card image height limit on phones */
    .service-card-wrapper .card img {
        max-height: 170px;
        object-fit: cover;
    }

    /* Compatibility banner — file formats grid */
    .services-format-grid .col-6 .badge {
        font-size: 0.75rem;
        padding: 8px 6px;
    }
}

/* --------------------------------------------------------------------------
   Blog Page — Card Image Height
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
    .blog-card-img-wrap,
    .transition-card .position-relative[style*="height: 180px"] {
        height: 150px !important;
    }
}

/* --------------------------------------------------------------------------
   Contact Page — Info Card stacking
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .contact-info-card .d-flex {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .contact-info-card .feature-icon-wrapper {
        flex-shrink: 0;
    }
}

/* --------------------------------------------------------------------------
   Footer — Newsletter Subscribe Form
   -------------------------------------------------------------------------- */
@media (max-width: 400px) {
    .footer-main .d-flex.gap-2 {
        flex-direction: column;
    }

    .footer-main .d-flex.gap-2 .form-control,
    .footer-main .d-flex.gap-2 button {
        width: 100% !important;
    }
}

/* --------------------------------------------------------------------------
   Login / Register — Card Centering
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
    .auth-card {
        margin: 16px;
        padding: 24px 18px !important;
        border-radius: 14px;
    }
}

/* --------------------------------------------------------------------------
   Safe-Area Inset Padding (Notched Phones — iPhone X+, Samsung S-series)
   -------------------------------------------------------------------------- */
body {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}

.footer-bottom {
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
}

/* --------------------------------------------------------------------------
   Print Media Query — Clean layout for printing
   -------------------------------------------------------------------------- */
@media print {
    .main-navbar,
    .floating-chat-btn,
    .scroll-to-top-btn,
    .footer-main,
    .footer-bottom {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}

/* --------------------------------------------------------------------------
   High-DPI / Retina Displays — Crisper icons & borders
   -------------------------------------------------------------------------- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-logo-img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ==========================================================================
   Quote Page Dual Navigation Buttons (Embroidery vs Custom Patches)
   ========================================================================== */
.quote-service-nav-wrapper {
    position: relative;
    z-index: 10;
}

.quote-service-nav-dock {
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 60px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 136, 255, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
    gap: 8px;
    max-width: 680px;
    width: 100%;
}

.quote-nav-dock-btn {
    flex: 1 1 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    outline: none;
    text-decoration: none;
}

.quote-nav-dock-btn .nav-btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #EFF6FF;
    color: #0088FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.28s ease;
}

.quote-nav-dock-btn .nav-btn-icon i {
    color: #0088FF;
    transition: color 0.28s ease;
}

.quote-nav-dock-btn .nav-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.quote-nav-dock-btn .nav-btn-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.2px;
    transition: color 0.28s ease;
}

.quote-nav-dock-btn .nav-btn-sub {
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748B;
    transition: color 0.28s ease;
}

/* Hover State */
.quote-nav-dock-btn:hover:not(.active) {
    background: #F8FAFC;
    color: #0088FF;
    border-color: #CBD5E1;
}

.quote-nav-dock-btn:hover:not(.active) .nav-btn-icon {
    background: rgba(0, 136, 255, 0.15);
    color: #0070E0;
    transform: scale(1.06);
}

.quote-nav-dock-btn:hover:not(.active) .nav-btn-icon i {
    color: #0070E0;
}

/* Active State */
.quote-nav-dock-btn.active {
    background: linear-gradient(135deg, #0088FF 0%, #0066CC 100%);
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.35);
    border-color: #0088FF;
}

.quote-nav-dock-btn.active .nav-btn-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.quote-nav-dock-btn.active .nav-btn-icon i {
    color: #FFFFFF !important;
}

.quote-nav-dock-btn.active .nav-btn-title {
    color: #FFFFFF;
}

.quote-nav-dock-btn.active .nav-btn-sub {
    color: rgba(255, 255, 255, 0.9);
}

.mode-field-wrap {
    animation: fadeInMode 0.3s ease forwards;
}

@keyframes fadeInMode {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness for Navigation Dock */
@media (max-width: 640px) {
    .quote-service-nav-dock {
        flex-direction: column;
        border-radius: 20px;
        padding: 8px;
    }
    
    .quote-nav-dock-btn {
        width: 100%;
        border-radius: 14px;
        padding: 10px 16px;
    }
}