/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Inspired by acctual.com palette */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --border-radius-large: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 16px;
    color: var(--gray-700);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    background-color: var(--gray-50);
    border-color: var(--gray-400);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Navigation - Redesigned for larger logo */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 60px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-brand:hover {
    opacity: 0.85;
}

.nav-logo {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

/* Hide broken images gracefully */
.nav-logo[src="logo-1.jpg"]:not([complete]):not([naturalWidth]) {
    display: none;
}

.nav-logo:not([src]),
.nav-logo[src=""] {
    display: none;
}

.nav-brand h1 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
    font-weight: var(--font-weight-semibold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: none;
    border: none;
    padding: 12px;
    z-index: 1001;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease;
}

.nav-toggle:hover {
    background-color: var(--gray-100);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: var(--font-weight-medium);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.load-cell-diagram {
    width: 80%;
    height: 80%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--white);
    font-weight: var(--font-weight-bold);
    position: relative;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.strain-gauge {
    width: 120px;
    height: 40px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 4px;
    position: relative;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.strain-gauge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%);
}

.strain-gauge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
    border-radius: 1px;
}

.measurement-lines {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.measurement-lines::before,
.measurement-lines::after {
    content: '';
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.measurement-lines::after {
    animation-delay: 0.5s;
}

.precision-indicator {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.precision-indicator::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    animation: rotate 3s linear infinite;
}

.precision-indicator::after {
    content: '⚡';
    position: absolute;
    top: -5px;
    right: 8px;
    font-size: 16px;
    color: var(--accent-color);
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Featured Provider Section */
.featured-provider {
    padding: var(--section-padding);
    background-color: var(--gray-50);
}

.featured-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 32px;
}

.provider-spotlight {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
}

.provider-info h2 {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.provider-tagline {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 48px;
}

.provider-highlights {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.highlight {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.highlight-content p {
    color: var(--gray-600);
    margin: 0;
}

.provider-cta {
    display: flex;
    gap: 16px;
}

.provider-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.provider-logo-placeholder {
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-lg);
}

.provider-certifications {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert {
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    text-align: center;
    border: 1px solid var(--gray-200);
}

/* Buying Guide Section */
.buying-guide {
    padding: var(--section-padding);
}

.buying-guide h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto 64px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.guide-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-large);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.guide-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.guide-card p {
    margin-bottom: 24px;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: var(--primary-dark);
}

/* Market Insights Section */
.market-insights {
    padding: var(--section-padding);
    background-color: var(--gray-50);
}

.market-insights h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 64px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.insight-card {
    background-color: var(--white);
    border-radius: var(--border-radius-large);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.insight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.insight-stat {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
    margin-bottom: 24px;
    padding: 16px;
    background-color: var(--gray-50);
    border-radius: var(--border-radius);
    text-align: center;
}

.insight-list {
    list-style: none;
    padding: 0;
}

.insight-list li {
    padding: 8px 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 24px;
}

.insight-list li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--gray-100);
}

.cta-section .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta-section .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 24px;
}

.footer-section p {
    color: var(--gray-400);
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--white);
}

.footer-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: background-color 0.2s ease;
}

.footer-cta:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 32px;
    text-align: center;
}

/* Card CTA Styles */
.card-cta {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

/* Address Section Styles */
.company-address {
    padding: var(--section-padding);
    background-color: var(--gray-50);
}

/* Consultation Services Spacing */
.consultation-services {
    padding: var(--section-padding);
    margin-top: 0;
}

/* Clean Section Spacing System */
section {
    padding: 80px 0;
}

/* Hero sections need different padding */
.hero,
.page-hero {
    padding: 100px 0 80px;
}

/* Footer padding */
.footer {
    padding: 80px 0 32px;
}

/* Sections with background colors */
.market-insights,
.detailed-analysis,
.company-address,
.featured-provider {
    background-color: var(--gray-50);
}

/* Additional spacing for section headers */
.section-intro {
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Consistent grid spacing */
.principle-grid,
.types-catalog,
.trends-grid,
.criteria-framework,
.compliance-framework {
    margin-top: 48px;
}


.address-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 32px;
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.address-info h3 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.address-info p {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.address-info p:last-child {
    margin-bottom: 0;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
}

/* Service Cards Grid Spacing */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card.featured {
    border-top: 4px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(255, 255, 255, 1));
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    transition: color 0.2s ease;
}

.service-link:hover {
    color: var(--primary-dark);
}

.contact-info {
    margin-top: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    text-align: center;
}

.contact-info strong {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* References Section Styling */
.references-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-700);
    text-align: left;
}

.references-section h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.references-list {
    list-style: decimal;
    padding-left: 20px;
    margin: 0;
}

.references-list li {
    color: var(--gray-400);
    margin-bottom: 8px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.references-list a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

.references-list a:hover {
    color: var(--white);
}

/* Citation links in content */
sup a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    margin-left: 2px;
}

sup a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Mobile nav body lock */
body.nav-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 8px;
        border-left: 1px solid var(--gray-200);
        margin-left: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 12px 16px;
        border-radius: var(--border-radius);
        transition: background-color 0.2s ease;
    }

    .nav-link:hover {
        background-color: var(--gray-50);
    }

    .nav-toggle {
        display: flex !important;
    }

    /* Mobile menu overlay */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 300px;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 32px;
    }

    .provider-spotlight {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-brand h1 {
        font-size: 1.25rem;
    }

    .nav-logo {
        height: 40px;
        max-width: 150px;
    }

    .nav-container {
        padding: 0 16px;
        min-height: 60px;
    }

    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* Page Hero Styles */
.page-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 24px;
}

.page-hero .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.page-hero .hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

/* Comparison Table Styles */
.comparison-overview {
    padding: var(--section-padding);
}

.comparison-table-container {
    margin-top: 48px;
}

.table-header {
    text-align: center;
    margin-bottom: 32px;
}

.table-header h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.table-responsive {
    overflow-x: auto;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-large);
    background: var(--white);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 12px;
    font-weight: var(--font-weight-semibold);
    text-align: left;
    border-bottom: 2px solid var(--primary-dark);
}

.comparison-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: top;
}

.comparison-table tr:hover {
    background-color: var(--gray-50);
}

.featured-provider {
    background-color: rgba(37, 99, 235, 0.05) !important;
    border-left: 4px solid var(--primary-color);
}

.provider-info {
    min-width: 180px;
}

.provider-name {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.featured-badge {
    background: linear-gradient(135deg, var(--accent-color), #f97316);
    color: var(--white);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: var(--font-weight-semibold);
    width: fit-content;
}

.new-review-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: var(--font-weight-semibold);
    width: fit-content;
    margin-left: 8px;
}

.provider-location {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.provider-website a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.capability-rating {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: var(--font-weight-semibold);
}

.capability-rating.excellent { color: #059669; }
.capability-rating.good { color: var(--accent-color); }
.capability-rating.average { color: #dc2626; }

.comparison-table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-table li {
    padding: 4px 0;
    font-size: 0.875rem;
    color: var(--gray-700);
    position: relative;
    padding-left: 16px;
}

.comparison-table li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Analysis Section */
.detailed-analysis {
    padding: var(--section-padding);
    background-color: var(--gray-50);
}

.analysis-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.analysis-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.analysis-card.featured {
    border-top: 4px solid var(--primary-color);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.performance-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
}

.performance-badge.excellent {
    background: #dcfce7;
    color: #166534;
}

.analysis-summary {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 32px;
    line-height: 1.7;
}

.performance-metrics {
    margin-bottom: 32px;
}

.metric {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.metric-label {
    min-width: 140px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
}

.metric-bar {
    flex: 1;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.5s ease;
}

.metric-score {
    min-width: 40px;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    font-size: 0.875rem;
}

.key-differentiators {
    margin-bottom: 32px;
}

.key-differentiators h4 {
    color: var(--gray-900);
    margin-bottom: 16px;
}

.key-differentiators ul {
    list-style: none;
    padding: 0;
}

.key-differentiators li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    line-height: 1.6;
}

.key-differentiators li:last-child {
    border-bottom: none;
}

.customer-testimonials {
    margin-bottom: 32px;
}

.customer-testimonials h4 {
    color: var(--gray-900);
    margin-bottom: 16px;
}

.customer-testimonials blockquote {
    background: var(--gray-50);
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    margin: 16px 0;
    font-style: italic;
    color: var(--gray-700);
}

.customer-testimonials cite {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-style: normal;
}

.provider-summary {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.provider-summary h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.summary-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.rating-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.rating-value {
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Selection Guide */
.selection-guide {
    padding: var(--section-padding);
}

.decision-matrix {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.matrix-category {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.matrix-category h3 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.recommendation {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 16px;
}

.recommendation.featured {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(245, 158, 11, 0.05));
    border: 1px solid var(--primary-color);
}

.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.confidence-score {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
}

.alternative-options {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-style: italic;
}

@media (max-width: 1024px) {
    .analysis-grid {
        grid-template-columns: 1fr;
    }

    .table-responsive {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.75rem;
    }

    .provider-name {
        flex-direction: column;
    }

    .featured-badge {
        font-size: 0.7rem;
    }

    .metric {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .metric-label {
        min-width: auto;
    }

    .recommendation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Modern Contact Form Styles */
.contact-form {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.contact-form h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 48px;
}

.consultation-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.form-group label {
    font-weight: var(--font-weight-semibold);
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--gray-800);
    background-color: var(--white);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: var(--gray-50);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.consultation-form button[type="submit"] {
    width: 100%;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.1rem;
    padding: 18px 32px;
}

.consultation-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.consultation-form button[type="submit"]:hover .btn-icon {
    transform: translateX(4px);
}

.form-success-message {
    background: linear-gradient(135deg, #dcfce7, #86efac);
    color: #166534;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    text-align: center;
    font-weight: var(--font-weight-semibold);
    border: 2px solid #22c55e;
}

.form-error {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

.form-error:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

@media (max-width: 768px) {
    .consultation-form {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .consultation-form {
        padding: 24px 16px;
    }

    .consultation-form button[type="submit"] {
        font-size: 1rem;
        padding: 16px 24px;
    }
}

/* Privacy Policy Styles */
.privacy-content {
    padding: var(--section-padding);
    background-color: var(--white);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 24px;
    margin-top: 0;
}

.policy-section h3 {
    color: var(--gray-800);
    font-size: 1.25rem;
    margin-top: 24px;
    margin-bottom: 16px;
}

.policy-section p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 16px;
}

.policy-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.policy-section li {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 8px;
}

.contact-info-box {
    background-color: var(--gray-50);
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    border-radius: var(--border-radius);
    margin: 24px 0;
}

.contact-info-box p {
    margin-bottom: 8px;
    color: var(--gray-800);
}

.contact-info-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.contact-info-box a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .policy-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3 {
        font-size: 1.1rem;
    }

    .contact-info-box {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-brand h1 {
        font-size: 1.1rem;
    }

    .nav-logo {
        height: 35px;
        max-width: 120px;
    }

    .nav-menu {
        width: 280px;
    }

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

    .page-hero h1 {
        font-size: 1.75rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .references-section {
        margin-top: 32px;
    }

    .references-list {
        padding-left: 16px;
    }

    .references-list li {
        font-size: 0.8rem;
    }

    .hero {
        padding: 80px 0 60px;
    }

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

    .navbar {
        padding: 16px 0;
    }

    .nav-container {
        min-height: 60px;
    }

    .nav-brand {
        gap: 12px;
    }

    .nav-logo {
        height: 48px;
        max-width: 180px;
    }

    .nav-brand h1 {
        font-size: 1.4rem;
    }

    .guide-card,
    .insight-card,
    .service-card,
    .address-card {
        padding: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .analysis-card {
        padding: 24px;
    }

    .matrix-category {
        padding: 24px;
    }
}

/* Image Styles */
.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.insights-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
}

.insights-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.qa-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin: 24px 0;
}

@media (max-width: 768px) {
    .insights-header {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .insights-image {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }

    .hero-image {
        max-width: 100%;
    }
}