/* Self-hosted Roboto */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/roboto-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/roboto-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/roboto-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/roboto-700.woff2') format('woff2');
}

/* Self-hosted Roboto */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/roboto-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/roboto-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/roboto-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/roboto-700.woff2') format('woff2');
}

:root {
    --primary: #E30F28;
    --primary-dark: #B80D20;
    --black: #0A0A0A;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E8E8E8;
    --gray-300: #D0D0D0;
    --gray-600: #6D6D6D;
    --gray-800: #333333;
    --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); font-size: 16px; line-height: 1.6; color: var(--black); background: var(--white); }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 { font-weight: 600; 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; }
ul, ol { margin-bottom: 16px; padding-left: 24px; }
li { margin-bottom: 8px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
header { background: var(--white); border-bottom: 3px solid var(--primary); position: sticky; top: 0; z-index: 1000; }
.header-top { background: var(--black); color: var(--white); padding: 8px 0; font-size: 0.9rem; }
.header-top a { color: var(--white); }
.header-top a:hover { color: var(--primary); }
.header-main { padding: 16px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; width: auto; }
nav ul { display: flex; list-style: none; gap: 32px; margin: 0; padding: 0; }
nav ul li { margin: 0; }
nav ul li a { color: var(--black); font-weight: 500; font-size: 1rem; padding: 8px 0; border-bottom: 2px solid transparent; transition: all 0.2s; }
nav ul li a:hover, nav ul li a.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 12px 24px !important; border-radius: 4px; border-bottom: none !important; }
.nav-cta:hover { background: var(--primary-dark); color: var(--white) !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--black); }
.hero { background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%); color: var(--white); padding: 80px 0; position: relative; overflow: hidden; }
.hero-content { max-width: 600px; }
.hero h1 { font-size: 3rem; margin-bottom: 24px; line-height: 1.1; }
.hero p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 32px; }
.hero-stats { display: flex; gap: 48px; margin-top: 48px; }
.stat { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 700; color: var(--primary); display: block; }
.stat-label { font-size: 0.9rem; opacity: 0.8; }
.btn { display: inline-block; padding: 14px 32px; font-size: 1rem; font-weight: 600; border-radius: 4px; cursor: pointer; transition: all 0.2s; text-align: center; border: 2px solid transparent; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
section { padding: 80px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-gray { background: var(--gray-100); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--gray-600); max-width: 600px; margin: 0 auto; }
.section-dark .section-header p { color: var(--gray-300); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.service-card { background: var(--white); border-radius: 8px; padding: 40px 32px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; border-top: 4px solid var(--primary); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.service-icon { width: 80px; height: 80px; margin: 0 auto 24px; background: var(--gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--gray-600); margin-bottom: 20px; }
.service-card a { font-weight: 600; }
.features-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; margin-top: 48px; }
.feature-item { display: flex; gap: 16px; }
.feature-icon { width: 48px; height: 48px; background: var(--primary); color: var(--white); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.feature-text h4 { margin-bottom: 8px; font-size: 1.1rem; }
.feature-text p { color: var(--gray-600); font-size: 0.95rem; margin: 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.testimonial-card { background: var(--white); padding: 32px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.testimonial-text { font-style: italic; margin-bottom: 24px; color: var(--gray-800); line-height: 1.7; }
.testimonial-author { font-weight: 600; }
.testimonial-role { font-size: 0.9rem; color: var(--gray-600); }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 40px; align-items: center; justify-items: center; }
.clients-grid img { max-height: 60px; width: auto; filter: grayscale(100%); opacity: 0.6; transition: all 0.3s; }
.clients-grid img:hover { filter: grayscale(0%); opacity: 1; }
.cta-section { background: var(--primary); color: var(--white); padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 16px; }
.cta-section p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.page-header { background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%); color: var(--white); padding: 60px 0; text-align: center; }
.page-header h1 { font-size: 2.5rem; margin-bottom: 12px; }
.page-header p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }
.content-section { padding: 60px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.contact-form { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300); border-radius: 4px; font-size: 1rem; font-family: inherit; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info { display: grid; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 48px; height: 48px; background: var(--primary); color: var(--white); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.contact-item h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-item p { margin: 0; color: var(--gray-600); }
footer { background: var(--black); color: var(--white); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-about img { height: 50px; margin-bottom: 16px; }
.footer-about p { color: var(--gray-300); font-size: 0.95rem; }
.footer-links h4 { color: var(--white); margin-bottom: 20px; font-size: 1rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--gray-300); font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a { width: 40px; height: 40px; background: var(--gray-800); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.social-links a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid var(--gray-800); padding-top: 24px; text-align: center; color: var(--gray-600); font-size: 0.9rem; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
@media (max-width: 1024px) {
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .two-col.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2.25rem; }
    .hero-stats { flex-wrap: wrap; gap: 32px; }
    nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; gap: 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
    nav ul.active { display: flex; }
    .nav-toggle { display: block; }
    section { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-section h2 { font-size: 2rem; }
}

/* Integration Badges Bar */
.integrations-bar { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--gray-200); }
.integrations-label { text-align: center; color: var(--gray-600); font-size: 0.9rem; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
.integrations-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; align-items: center; }
.integration-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gray-600); transition: color 0.2s; }
.integration-badge:hover { color: var(--primary); }
.integration-badge svg { height: 32px; width: auto; }
.integration-badge span { font-size: 0.8rem; font-weight: 500; }

/* Industries Grid */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.industry-card { background: var(--gray-100); padding: 32px 16px; border-radius: 8px; text-align: center; transition: all 0.3s; }
.industry-card:hover { background: var(--white); box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-4px); }
.industry-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.industry-card h4 { font-size: 0.95rem; margin: 0; color: var(--gray-800); }

/* Hero subtitle */
.hero-subtitle { font-size: 1.5rem; font-weight: 600; color: var(--primary); margin-bottom: 16px; }

/* FAQ Styles */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 8px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); overflow: hidden; }
.faq-question { padding: 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.1rem; }
.faq-question:hover { background: var(--gray-100); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 24px; display: none; color: var(--gray-600); line-height: 1.7; }
.faq-item.active .faq-answer { display: block; }

/* Case Study Cards */
.case-study-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.3s; }
.case-study-card:hover { transform: translateY(-8px); }
.case-study-card img { width: 100%; height: 200px; object-fit: cover; }
.case-study-content { padding: 24px; }
.case-study-tag { display: inline-block; background: var(--primary); color: var(--white); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; margin-bottom: 12px; }
.case-study-card h3 { margin-bottom: 12px; }
.case-study-card p { color: var(--gray-600); margin-bottom: 16px; }

/* Blog Cards */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.blog-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card-content { padding: 24px; }
.blog-date { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 8px; }
.blog-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.blog-card h3 a { color: var(--black); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--gray-600); margin-bottom: 16px; }

/* Integration Badges Bar */
.integrations-bar { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--gray-200); }
.integrations-label { text-align: center; color: var(--gray-600); font-size: 0.9rem; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
.integrations-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; align-items: center; }
.integration-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gray-600); transition: color 0.2s; }
.integration-badge:hover { color: var(--primary); }
.integration-badge svg { height: 32px; width: auto; }
.integration-badge span { font-size: 0.8rem; font-weight: 500; }

/* Industries Grid */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.industry-card { background: var(--gray-100); padding: 32px 16px; border-radius: 8px; text-align: center; transition: all 0.3s; }
.industry-card:hover { background: var(--white); box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-4px); }
.industry-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.industry-card h4 { font-size: 0.95rem; margin: 0; color: var(--gray-800); }

/* Hero subtitle */
.hero-subtitle { font-size: 1.5rem; font-weight: 600; color: var(--primary); margin-bottom: 16px; }

/* FAQ Styles */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 8px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); overflow: hidden; }
.faq-question { padding: 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.1rem; }
.faq-question:hover { background: var(--gray-100); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 24px; display: none; color: var(--gray-600); line-height: 1.7; }
.faq-item.active .faq-answer { display: block; }

/* Case Study Cards */
.case-study-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.3s; }
.case-study-card:hover { transform: translateY(-8px); }
.case-study-card img { width: 100%; height: 200px; object-fit: cover; }
.case-study-content { padding: 24px; }
.case-study-tag { display: inline-block; background: var(--primary); color: var(--white); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; margin-bottom: 12px; }
.case-study-card h3 { margin-bottom: 12px; }
.case-study-card p { color: var(--gray-600); margin-bottom: 16px; }

/* Blog Cards */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.blog-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card-content { padding: 24px; }
.blog-date { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 8px; }
.blog-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.blog-card h3 a { color: var(--black); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--gray-600); margin-bottom: 16px; }

/* Blog Article Styles */
.blog-article {
    padding: 4rem 0;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #555;
}

.article-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-footer {
    max-width: 700px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.article-tags .tag {
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
}

.related-posts {
    background: #f8f8f8;
    padding: 4rem 0;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Dropdown Navigation */
.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 8px 0;
}

.dropdown li {
    display: block;
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
}

.dropdown li a:hover {
    background: #f5f5f5;
    color: #EE0514;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.service-item {
    background: #fff;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.service-item h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.service-item h3 a {
    color: #111;
    text-decoration: none;
}

.service-item h3 a:hover {
    color: #EE0514;
}

.service-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Integration Grid */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.integration-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.integration-item h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.integration-item h4 a {
    color: #111;
    text-decoration: none;
}

.integration-item h4 a:hover {
    color: #EE0514;
}

.integration-item p {
    color: #666;
    font-size: 0.85rem;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #EE0514;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Stats Row */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    margin-top: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #EE0514;
}

.stat-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin-top: 24px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.comparison-table th {
    background: #111;
    color: #fff;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #f9f9f9;
}

/* Benefit Cards */
.benefit-card {
    background: #fff;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    color: #111;
}

/* Four Column Layout */
.four-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.four-col h4 {
    margin-bottom: 12px;
    color: #EE0514;
}

.four-col ul {
    list-style: none;
    padding: 0;
}

.four-col li {
    padding: 4px 0;
    color: #333;
}

/* Testimonial Highlight */
.testimonial-highlight {
    background: #f8f8f8;
    padding: 32px;
    border-left: 4px solid #EE0514;
    margin: 32px 0;
}

.testimonial-highlight p {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    margin-bottom: 16px;
}

.testimonial-highlight .testimonial-author {
    font-style: normal;
    font-weight: 600;
    color: #666;
}

/* Footer Grid Enhancement */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 48px 0;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #EE0514;
}

.footer-col p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-bottom a {
    color: #ccc;
}

.footer-bottom a:hover {
    color: #EE0514;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dropdown {
        position: static;
        box-shadow: none;
        background: #f5f5f5;
        display: none;
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .stats-row {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
    }
}

/* Hero two-column layout */
.hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero .hero-image {
    display: flex;
    justify-content: center;
}

.hero .hero-image img {
    max-height: 350px;
    max-width: 700px;
    object-fit: cover;
    object-position: center;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
}

@media (max-width: 968px) {
    .hero .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero .hero-image {
        order: -1;
    }
    .hero .hero-image img {
    max-height: 350px;
    max-width: 700px;
    object-fit: cover;
    object-position: center;
        max-width: 500px;
    }
}

/* ===================== */
/* Blog Post Styles      */
/* ===================== */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
    color: #111;
}

.blog-meta {
    color: #666;
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.blog-meta span {
    margin-right: 20px;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: #111;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
    color: #111;
}

.blog-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #333;
}

.blog-content ul,
.blog-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.blog-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #333;
}

.blog-content blockquote {
    border-left: 4px solid #EE0514;
    padding: 16px 24px;
    margin: 32px 0;
    background: #f8f8f8;
    font-style: italic;
}

.blog-content a {
    color: #EE0514;
    text-decoration: underline;
}

.blog-content a:hover {
    color: #cc0411;
}

.highlight-box {
    background: #f8f8f8;
    border-left: 4px solid #EE0514;
    padding: 24px;
    margin: 32px 0;
}

.highlight-box p {
    margin-bottom: 0;
}

.blog-cta {
    background: #111;
    color: #fff;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    border-radius: 4px;
}

.blog-cta h3 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.blog-cta p {
    color: #ccc;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.blog-cta .btn {
    background: #EE0514;
    color: #fff;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border-radius: 4px;
}

.blog-cta .btn:hover {
    background: #cc0411;
}

.back-to-blog {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}

.back-to-blog a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
}

.back-to-blog a:hover {
    color: #EE0514;
}

@media (max-width: 768px) {
    .blog-post {
        padding: 40px 16px;
    }
    .blog-post h1 {
        font-size: 1.8rem;
    }
    .blog-content h2 {
        font-size: 1.3rem;
    }
    .blog-cta {
        padding: 24px;
    }
}

/* ===================== */
/* Blog Extended Styles  */
/* ===================== */

/* Stat Box */
.stat-box {
    background: #f8f8f8;
    border-left: 4px solid #EE0514;
    padding: 24px;
    margin: 32px 0;
    border-radius: 0 4px 4px 0;
}

.stat-box .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #EE0514;
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-box .label {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

.stat-box p {
    margin-bottom: 0;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.7;
}

.stat-box strong {
    color: #111;
}

/* Excerpt */
.blog-content .excerpt {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 32px;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 0.95rem;
}

.comparison-table th {
    background: #111;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
}

.comparison-table tr:nth-child(even) {
    background: #f8f8f8;
}

.comparison-table tr:last-child td {
    border-bottom: 2px solid #111;
    font-weight: 600;
}

.comparison-table .positive {
    color: #2e7d32;
    font-weight: 600;
}

.comparison-table .negative {
    color: #c62828;
    font-weight: 600;
}

/* CTA Box (alternate style used in some posts) */
.cta-box {
    background: #111;
    color: #fff;
    padding: 40px;
    text-align: center;
    margin: 48px 0;
    border-radius: 4px;
}

.cta-box h2 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.cta-box p {
    color: #ccc;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.cta-box a {
    color: #EE0514;
    font-weight: 600;
}

.cta-box .btn,
.cta-box .cta-button {
    background: #EE0514;
    color: #fff;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border-radius: 4px;
    margin: 8px;
}

.cta-box .btn:hover,
.cta-box .cta-button:hover {
    background: #cc0411;
}

/* CTA Section (alternate class name) */
.blog-content .cta-section {
    background: #111;
    color: #fff;
    padding: 40px;
    text-align: center;
    margin: 48px 0;
    border-radius: 4px;
}

.blog-content .cta-section h2 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1.5rem;
    border: none;
    padding: 0;
}

.blog-content .cta-section p {
    color: #ccc;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.blog-content .cta-section .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 24px 0 16px;
}

.blog-content .cta-section .cta-button {
    background: #EE0514;
    color: #fff;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
}

.blog-content .cta-section .cta-button:hover {
    background: #cc0411;
}

.blog-content .cta-section .phone {
    color: #ccc;
    margin-top: 16px;
    font-size: 1.1rem;
}

.blog-content .cta-section .phone strong {
    color: #fff;
}

/* FAQ Section */
.faq-section {
    background: #f8f8f8;
    padding: 32px;
    margin: 48px 0;
    border-radius: 4px;
}

.faq-section h2 {
    color: #111;
    margin-bottom: 24px;
    font-size: 1.4rem;
    border: none;
    padding: 0;
}

.faq-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ddd;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    color: #111;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.faq-answer {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

/* Highlight span (used in some posts) */
.blog-content .highlight {
    background: #EE0514;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

/* About JMF box */
.about-jmf {
    background: #f8f8f8;
    padding: 24px;
    margin: 32px 0;
    border-radius: 4px;
    border-left: 4px solid #EE0514;
}

.about-jmf h3 {
    color: #111;
    margin-bottom: 12px;
}

.about-jmf ul {
    list-style-position: inside;
    padding-left: 0;
}

.about-jmf li {
    margin-bottom: 8px;
    color: #333;
}

@media (max-width: 768px) {
    .stat-box .number {
        font-size: 2rem;
    }
    .comparison-table {
        font-size: 0.85rem;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
    }
    .cta-box,
    .blog-content .cta-section {
        padding: 24px;
    }
    .blog-content .cta-section .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Fix links inside CTA sections */
.blog-content .cta-section a,
.blog-content .cta-section a:hover,
.cta-box a,
.blog-cta a {
    color: #fff;
}
.blog-content .cta-section .cta-button,
.cta-box .btn,
.blog-cta .btn {
    color: #fff;
}


/* ===================== */
/* Nav Dropdown Fix      */
/* ===================== */
header {
    position: relative;
    z-index: 100;
}
.header-main .container,
.header-main,
.header-inner {
    overflow: visible !important;
}
.has-dropdown {
    position: relative;
}
.dropdown {
    z-index: 200;
}

/* Keep page content below nav */
.hero, main, section, .page-header, .content-section, .section-gray {
    position: relative;
    z-index: 1;
}

/* Constrain hero/feature images */
.hero-image {
    max-height: 350px;
    max-width: 700px;
    overflow: hidden;
}
.hero-image img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    max-width: 700px;
    object-fit: cover;
    object-position: center;
    display: block;
}
img[src*="jmf-pick-pack"] {
    max-height: 350px;
    max-width: 700px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Reserve nav space to prevent CLS */
#main-nav { min-height: 70px; }
