/* DIM 3X - SEO-Optimized Styles with Fixed Mobile Navigation */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base font size for accessibility */
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.875rem; /* 14px - Minimum base size to avoid penalties */
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    background-color: #2c3e50;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem; /* 20px - Minimum for logo visibility */
    font-weight: bold;
outline:none!important;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem; /* 14px - Minimum for navigation links */
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
outline:none!important;
}
.toc-li{color: #2c3e50; text-decoration: none; font-weight: 500;outline:none!important;}
.nav-link:hover {
    color: #3498db;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger Animation */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Typography - Minimal SEO-Safe Sizes */
h1 {
    font-size: 1.2rem; /* 30px - Minimum for effective H1 SEO */
    line-height: 1.2;
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
    font-weight: bold;
}

h2 {
    font-size: 1.0rem; /* 22px - Minimum H2 for proper hierarchy */
    line-height: 1.3;
    color: #34495e;
    margin: 1.25rem 0 0.75rem 0;
    font-weight: 600;
}

h3 {
    font-size: .8rem; /* 18px - Minimum H3 distinction */
    line-height: 1.4;
    color: #34495e;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

h4 {
    font-size: .78rem; /* 16px - Minimum H4 size */
    line-height: 1.4;
    color: #2c3e50;
    margin: 0.875rem 0 0.375rem 0;
    font-weight: 600;
}

/* Body Text - Minimum SEO-Safe Sizing */
p {
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0.875rem 0;
    color: #333;
}

/* Small text that won't trigger SEO penalties */
small {
    font-size: 0.75rem; /* 12px - Absolute minimum for secondary text */
    line-height: 1.4;
    color: #666;
}

/* Lists */
ul, ol {
    margin: 0.875rem 0;
    padding-left: 1.5rem;
}

li {
    font-size: 0.875rem; /* 14px - Minimum for list items */
    line-height: 1.5;
    margin: 0.375 rem 0;
}

/* Links */
a {
    color: #3498db;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* E-E-A-T Enhancement Classes */
.eeat-bold {
    font-weight: 700;
    color: #2c3e50;
}

.verified-badge {
    background: #27ae60;
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.625rem; /* 10px - Absolute minimum for badges */
    font-weight: 600;
    text-transform: uppercase;
}

/* Review and Testimonial Sections */
.review-item {
    border-left: 4px solid #3498db;
    padding: 1.25rem;
    margin: 1.25rem 0;
    background: #f8f9fa;
    border-radius: 4px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.rating {
    color: #f39c12;
    margin-bottom: 0.5rem;
    font-size: 1rem; /* 16px - Minimum for star ratings */
}

/* Call-to-Action Sections */
.cta-section {
    background: #2c3e50;
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    margin: 2rem 0;
}

.cta-section h3 {
    color: white;
    margin-top: 0;
}

.cta-section a {
    color: #3498db;
}

/* FAQ Sections */
.faq-item {
    border-bottom: 1px solid #ecf0f1;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    padding-left: .25rem;
    border-radius: 8px;
    margin: 1.25rem 0;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem; /* 13px - Minimum for TOC links */
}

.table-of-contents a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* Professional Review Sections */
.professional-review {
    border: 2px solid #2c3e50;
    padding: 1.25rem;
    margin: 1.25rem 0;
    border-radius: 8px;
}

.professional-review h3 {
    margin-top: 0;
    color: #2c3e50;
}

/* Metrics and Statistics */
.satisfaction-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin: 1.25rem 0;
}

.metric {
    text-align: center;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.metric div:first-child {
    font-size: 1.875rem; /* 30px - Minimum for impact numbers */
    font-weight: bold;
    color: #2c3e50;
}

/* Scroll to Top Button */
.up {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3498db;
    color: white;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.75rem; /* 12px - Minimum for utility elements */
    transition: background 0.3s ease;
}

.up:hover {
    background: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Add padding to body to account for fixed navbar */
    body {
        padding-top: 70px; /* Adjust this value based on your navbar height */
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    /* Keep navbar sticky instead of fixed to avoid covering content */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    .nav-menu {
        position: fixed;
        left: -100%;

        top: 16px;
        bottom:-16px;

        flex-direction: column;
        background-color: #2c3e50;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        /* padding-top: 80px; */ /* Space for navbar */
        padding-bottom: 2rem;
        /* Enable vertical scrolling */
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

.nav-link {
        display: block;
        /* padding: 0.3rem 2rem; */ /* Reduced from 1.2rem to 0.3rem (75% reduction) */
        padding: 0.0rem 0rem; /* Reduced from 1.2rem to 0.3rem (75% reduction) */
        border-bottom: none; /* Removed white line */
        margin: 0;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Completely prevent body scroll and hide scrollbar when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        padding-top: 0 !important; /* Remove padding when menu is open */
    }
    
    /* Hide scrollbar on html when menu is open */
    html.menu-open {
        overflow: hidden !important;
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important; /* Internet Explorer 10+ */
    }
    
    /* Hide scrollbar on webkit browsers when menu is open */
    html.menu-open::-webkit-scrollbar {
        display: none !important;
    }

    /* Add overlay effect when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    body.menu-open .nav-menu.active::before {
        opacity: 1;
        pointer-events: auto;
    }

    /* Mobile Typography Adjustments - Absolute Minimums */
    h1 {
        font-size: 1.5rem; /* 24px on mobile - Minimum for H1 */
        line-height: 1.2;
    }

    h2 {
        font-size: 1.125rem; /* 18px on mobile - Minimum for H2 */
    }

    h3 {
        font-size: 1rem; /* 16px on mobile - Minimum for H3 */
    }

    /* Mobile Paragraph Text - Increased from 0.75rem to 1rem */
    p {
        font-size: 1rem!important; /* 16px on mobile - Increased for better readability */
        line-height: 1.5;
    }
.nav-link { font-size: 2rem!important; }
.up { font-size: 1.5rem!important; }

    /* Mobile List Text - Also increased for consistency */
    li {
        font-size: 1rem; /* 16px on mobile - Increased to match paragraph text */
        line-height: 1.5;
    }

    .container {
        padding: 0 15px;
    }

    .satisfaction-metrics {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

            .timeline-table {
                font-size: 0.9em;
            }
            
            .timeline-table th,
            .timeline-table td {
                padding: 12px 10px;
            }
}

/* Print Styles */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        padding-top: 0 !important; /* Remove mobile padding for print */
    }
    
    .navbar, .up {
        display: none;
    }
    
    a {
        color: #000;
        text-decoration: none;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
.nav-toggle:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    body {
        background: #fff;
        color: #000;
    }
    
    .navbar {
        background: #000;
    }
    
    .nav-link {
        color: #fff;
    }
}

        .subtitle {
            text-align: center;
            color: #7f8c8d;
            font-style: italic;
            margin-bottom: 30px;
        }
        
        .timeline-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .timeline-table th {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 18px 15px;
            text-align: left;
            font-weight: 600;
            font-size: 1.1em;
        }
        
        .timeline-table td {
            padding: 16px 15px;
            border-bottom: 1px solid #e9ecef;
            vertical-align: top;
        }
        
        .timeline-table tbody tr:hover {
            background: #f8f9fa;
            transform: translateY(-1px);
            transition: all 0.2s ease;
        }
        
        .week-column {
            font-weight: 600;
            color: #495057;
            width: 15%;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-size: 1.05em;
        }
        
        .phase-column {
            font-weight: 500;
            color: #343a40;
            width: 25%;
        }
        
        .benefits-column {
            color: #495057;
            width: 60%;
        }
        
        .highlight {
            background: #e8f5e8;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 500;
        }
        
        .note {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 8px;
            padding: 20px;
            margin: 25px 0;
            border-left: 4px solid #f39c12;
        }
        
        .note h4 {
            margin-top: 0;
            color: #856404;
        }
        
        .factors-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }
        
        .factor-item {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            border-left: 3px solid #3498db;
        }
        
        .factor-item strong {
            color: #2c3e50;
        }
        
        .progress-bar-container {
            width: 100%;
            background: #e9ecef;
            border-radius: 20px;
            height: 8px;
            margin: 8px 0;
        }
        
        .progress-bar {
            height: 100%;
            border-radius: 20px;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            transition: width 0.3s ease;
        }
        
        .week-1-2 { width: 25%; }
        .week-2-4 { width: 50%; }
        .week-4-8 { width: 75%; }
        .week-8-12 { width: 100%; }




.product-overview {
    margin: 20px 0 40px 0;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.product-image {
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.product-content {
    /* padding: 20px 0; */
}

.product-content h2 {
/*    font-size: 1.5rem; */
    color: #2c3e50;
/*    margin-bottom: 20px; */
    font-weight: bold;
    line-height: 1.3;
}

.product-content p {
/*    font-size: 1rem; */
    line-height: 1.6;
    margin-bottom: 15px;
    color: #495057;
}

.info-box {
    background: rgba(46, 204, 113, 0.05);
    border-left: 4px solid #2ecc71;
    border-radius: 8px;
    padding: 15px;
    margin: 0px 0;
    font-size: 0.9rem;
    color: #555;
}

.product-overview {
    margin: 0 0 0px 0;  /* Top margin 0 for topmost positioning */
/*    padding-top: 20px;*/
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 0;  /* Remove bottom margin since it's topmost */
}

.timeline-section {
    margin: 0 0 40px 0;  /* Reduced top margin since product overview is above */
}

/* Mobile responsiveness - stack vertically on mobile */
@media (max-width: 768px) {
    .product-overview {
        margin: 0 0 0px 0;
        padding-top: 15px;
    }
    
    .product-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Breadcrumb Navigation Styles */ .breadcrumb-nav { background: #f8f9fa; padding: 0px 0; margin: 0px 0; border-bottom: 1px solid #e9ecef; } .breadcrumb { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; flex-wrap: wrap; font-size: 0.875rem; color: #6c757d; } .breadcrumb-item { display: flex; align-items: center; } .breadcrumb-item:not(:last-child)::after { content: "›"; margin: 0 8px; color: #adb5bd; font-size: 1rem; } .breadcrumb-item a { color: #495057; text-decoration: none; transition: color 0.2s ease; } .breadcrumb-item a:hover { color: #3498db; text-decoration: underline; } .breadcrumb-item.active { color: #6c757d; font-weight: 500; } /* Mobile breadcrumb adjustments */ @media (max-width: 768px) { .breadcrumb { font-size: 0.8rem; padding: 0 15px; } .breadcrumb-item:not(:last-child)::after { margin: 0 6px; } } /* Accessibility improvements */ .breadcrumb-item a:focus { outline: 2px solid #3498db; outline-offset: 2px; border-radius: 3px; }