.factory-wrapper {
    background-color: var(--fac-bg-base);
    color: var(--fac-text-main);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.wrap {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
}

@media (max-width: 768px) {
    .wrap {
        padding: 0 24px;
    }
}

/* Typography Styles */
 
.eyebrow {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fac-primary);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 600;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--fac-orange);
}

/* Buttons */
.btn {
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.btn:focus-visible, a:focus-visible, button:focus-visible {
    outline: 3px solid var(--fac-primary);
    outline-offset: 2px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    background: #1e40af;
    /* darker blue */
    box-shadow: 0 14px 20px -3px rgba(29, 78, 216, 0.3);
}

.btn-secondary {
    background: var(--fac-bg-base);
    border: 1px solid var(--fac-border-strong);
    color: var(--fac-text-main);
}

.btn-secondary:hover {
    background: var(--fac-primary-light);
    border-color: var(--fac-primary);
    color: var(--fac-primary);
    transform: translateY(-2px);
}

 

.bg-alt {
    background-color: var(--fac-bg-alt);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: var(--text-h2);
    font-weight: var(--text-h2-weight);
    line-height: var(--text-h2-lh);
    letter-spacing: var(--text-h2-ls);
    margin-bottom: 20px;
}

.section-header p {
    color: var(--fac-text-muted);
    font-size: 18px;
}

/* Large Module Cards Grid */
.module-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .module-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .module-cards-grid {
        grid-template-columns: 1fr;
    }
}

.module-card {
    background: var(--fac-bg-base, #ffffff);
    border: 1px solid var(--fac-border-light, #e5e7eb);
    border-radius: var(--fac-radius-lg, 16px);
    padding: 24px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.module-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 24px -4px rgba(0, 0, 0, 0.1);
    border-color: var(--fac-primary, #2563eb);
}

.module-card-img {
    border-radius: var(--fac-radius-md, 12px);
    background: var(--fac-bg-alt, #f8fafc);
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    overflow: hidden;
}

.module-card-img img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.module-card:hover .module-card-img img {
    transform: scale(1.05);
}

.module-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.module-card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.module-subtitle {
    font-weight: 600;
    color: var(--fac-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.module-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1; /* Pushes bottom elements down */
}

.module-features li {
    font-size: 0.85rem;
    color: var(--fac-text, #4b5563);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.module-features li i {
    color: var(--fac-primary, #2563eb);
    margin-top: 3px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.module-best-for {
    font-size: 0.75rem;
    background: rgba(37, 99, 235, 0.05); /* very light primary */
    color: var(--fac-text-muted, #6b7280);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.module-best-for strong {
    color: var(--fac-primary);
}

.module-link {
    background-color: var(--fac-primary, #2563eb);
    color: #ffffff !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.module-link:hover {
    background-color: #1d4ed8; /* Darker blue */
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

/* Module Layouts (Detail Page) */
.module-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.module-row.reverse {
    direction: rtl;
}

.module-row.reverse>* {
    direction: ltr;
}

@media (max-width: 992px) {

    .module-row,
    .module-row.reverse {
        grid-template-columns: 1fr;
        gap: 56px;
        direction: ltr;
    }
}

.module-content h2 {
    font-size: var(--text-h2);
    font-weight: var(--text-h2-weight);
    line-height: var(--text-h2-lh);
    letter-spacing: var(--text-h2-ls);
    margin-bottom: 24px;
}

.module-content .desc {
    color: var(--fac-text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
    list-style: none;
}

@media (max-width: 576px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}

.feature-list li {
    color: var(--fac-text-main);
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
}

.feature-list li::before {
    content: "✓";
    color: white;
    background: var(--primary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefits-box {
    background: var(--fac-bg-base);
    border: 1px solid var(--fac-border-light);
    border-left: 4px solid var(--orange);
    padding: 24px;
    border-radius: 0 var(--fac-radius-sm) var(--fac-radius-sm) 0;
    box-shadow: var(--shadow-sm);
}

.benefits-box .label {
    font-size: 12px;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    font-weight: 600;
}

.benefits-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefits-box li {
    color: var(--fac-text-muted);
    font-size: 15px;
}

/* Image Mockup Panels */
.image-panel {
    border-radius: var(--fac-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--fac-bg-base);
    padding: 8px;
    /* Inner frame effect */
    border: 1px solid var(--fac-border-light);
}

.image-panel img {
    border-radius: calc(var(--fac-radius-lg) - 8px);
    width: 100%;
    height: auto;
    object-fit: cover;
    background: #F1F5F9;
}

/* Why Us Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.why-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.1);
    border-color: #fca5a5;
}

.why-icon {
    width: 60px; height: 60px;
    border-radius: 12px;
    background: #fef2f2;
    color: #ef4444;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.why-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.why-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* Industries */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.chip {
    background: var(--fac-bg-base);
    border: 1px solid var(--fac-border-light);
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    color: var(--fac-text-muted);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.chip:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--fac-primary-light);
    box-shadow: var(--shadow-md);
}


/* CTA */
.cta-section {
    padding: 140px 0;
    text-align: center;
    background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
    border-top: 1px solid var(--fac-border-light);
}

.cta-section h2 {
    font-size: var(--text-h2);
    font-weight: var(--text-h2-weight);
    line-height: var(--text-h2-lh);
    letter-spacing: var(--text-h2-ls);
    margin-bottom: 24px;
}

.cta-section p {
    font-size: 19px;
    color: var(--fac-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* --- NEW SMART FACTORY DESIGN STYLES --- */
:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    --gradient-glow: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

/* Modern Hero */
.modern-hero {
    padding: 160px 0 120px;
    background: #0f172a;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-bg-animated {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.badge-glow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #93c5fd;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.text-gradient-primary {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-glow {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg);
    transition: 0.5s;
    z-index: -1;
    opacity: 0;
}
.btn-glow:hover::after {
    left: 100%;
    opacity: 1;
}

/* Challenges Grid */
.challenges-section {
   
    background: #f8fafc;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .challenges-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .challenges-grid { grid-template-columns: 1fr; }
}

.challenge-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    height: 100%;
}
.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.1);
    border-color: #fca5a5;
}
.challenge-icon {
    width: 60px; height: 60px;
    border-radius: 12px;
    background: #fef2f2;
    color: #ef4444;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}
.challenge-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}
.challenge-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.solution-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px -5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
    border-color: #cbd5e1;
}

.sol-image-wrapper {
    width: 100%;
    height: 200px;
    background: #f1f5f9;
    position: relative;
}

.sol-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    transition: transform 0.5s ease;
}

.solution-card:hover .sol-image-wrapper img {
    transform: scale(1.05);
}

.sol-icon-overlay {
    position: absolute;
    bottom: -20px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    border: 4px solid #ffffff;
    z-index: 2;
}

.sol-body {
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sol-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #0f172a;
    line-height: 1.3;
}

.sol-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #3b82f6;
    font-weight: 700;
    margin-bottom: 20px;
}

.sol-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.sol-features li {
    font-size: 15px;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.sol-features li i {
    color: #10b981;
    font-size: 14px;
    margin-top: 4px;
}

.sol-actions {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.btn-sol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.btn-sol:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* Why Grid modifications for 10 items */
.why-section {
    padding: 80px 0;
    background: #ffffff;
}

/* Redefine grid for 10 items (5x2) */
.why-section .why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .why-section .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .why-section .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .why-section .why-grid { grid-template-columns: 1fr; }
}

/* ========================================
   NEW HERO BANNER (3D CENTER SAAS)
   ======================================== */
.module-hero-center {
    background: #f8fafc;
    position: relative;
    padding: 160px 0 0 0;
    overflow: hidden;
}

/* SVG-like grid background */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
}

.hero-badge-animated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.hero-title-center {
    font-size: var(--text-h1);
    font-weight: var(--text-h1-weight);
    color: #0f172a;
    line-height: var(--text-h1-lh);
    margin-bottom: 24px;
    letter-spacing: var(--text-h1-ls);
}

.text-gradient-animated {
    background: linear-gradient(270deg, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-pan 5s ease infinite;
}

@keyframes gradient-pan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-desc-center {
    font-size: var(--text-hero-desc);
    font-weight: var(--text-hero-desc-weight);
    color: var(--text-lead-color);
    max-width: 680px;
    margin-bottom: 40px;
    line-height: var(--text-hero-desc-lh);
}

.btn-primary-glow {
    background: #0f172a;
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 35px -10px rgba(15, 23, 42, 0.4);
    color: white;
}

.btn-outline-dark {
    background: white;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

/* 3D Dashboard wrapper */
.hero-3d-wrapper {
    max-width: 700px;
    position: relative;
    animation: dashboard-float 8s ease-in-out infinite;
    perspective: 1200px;
    z-index: 10;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes dashboard-float {
    0% { transform: translateY(0) rotateX(15deg) scale(0.95); }
    50% { transform: translateY(-20px) rotateX(20deg) scale(0.97); }
    100% { transform: translateY(0) rotateX(15deg) scale(0.95); }
}

.hero-3d-wrapper img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    background: transparent;
    transform: translateZ(0);
}

/* Decorative Rings */
.floating-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(37, 99, 235, 0.3);
    animation: spin-slow 30s linear infinite;
    z-index: -1;
}

.ring-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -150px;
}

.ring-2 {
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -250px;
    border: 2px dashed rgba(139, 92, 246, 0.2);
    animation: spin-slow-reverse 35s linear infinite;
}

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

@keyframes spin-slow-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* ========================================
   CORE FEATURES SECTION (LIGHT & CLEAN)
   ======================================== */
.features-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-eyebrow {
    color: var(--fac-primary, #2563eb);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: var(--text-h2);
    font-weight: var(--text-h2-weight);
    line-height: var(--text-h2-lh);
    letter-spacing: var(--text-h2-ls);
    color: #0f172a;
    margin-bottom: var(--text-h2-margin, 1rem);
}

.feature-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
    border-color: var(--fac-primary, #2563eb);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--fac-primary, #2563eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.feature-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.feature-box p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   BENEFITS SECTION (WHY IMPLEMENT THIS)
   ======================================== */
.benefits-section-new {
    padding: 120px 0;
    background: #f8fafc;
    position: relative;
}

.benefits-section-new .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.benefits-section-new .why-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.benefits-section-new .why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
    border-color: #93c5fd;
}

.benefits-section-new .why-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #eff6ff;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.benefits-section-new .why-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.benefits-section-new .why-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}


/* ===================== FACTORY DETAIL PAGE ===================== */
.factory-detail-wrapper {
  background-color: #f9fafb;
  color: #333;
}
.solutions-section  {
     background-color: #fff;
}
.factory-detail-wrapper .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.factory-detail-wrapper .section-head {
  text-align: center;
  margin-bottom: 50px;
}

.factory-detail-wrapper .section-head .tag {
  display: inline-block;
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.factory-detail-wrapper .section-head h2 {
  font-size: 2.5rem;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 20px;
}

.factory-detail-wrapper .section-head p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Hero Section */
.factory-detail-wrapper .hero {
        background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #1d4ed8 100%);
   padding: 100px 0;
  color: #fff;
  text-align: center;
}

.factory-detail-wrapper .hero .eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.factory-detail-wrapper .hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.factory-detail-wrapper .hero h1 span {
  color: #93c5fd;
}

.factory-detail-wrapper .hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.6;
  color: #fff !important;
}

/* Process Timeline */
.factory-detail-wrapper .process {
  padding: 80px 0;
  background: #fff;
}

.factory-detail-wrapper .timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.factory-detail-wrapper .timeline .track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: #e5e7eb;
  border-radius: 4px;
}

.factory-detail-wrapper .step {
  display: flex;
  margin-bottom: 40px;
  position: relative;
  width: 100%;
}

.factory-detail-wrapper .step:last-child {
  margin-bottom: 0;
}

.factory-detail-wrapper .step:nth-child(even) .step-card {
  margin-right: auto;
}

.factory-detail-wrapper .step:nth-child(odd) .step-card {
  margin-left: auto;
}

.factory-detail-wrapper .step-marker {
  width: 84px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.factory-detail-wrapper .step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 0 0 8px #fff;
}

.factory-detail-wrapper .step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  width: calc(50% - 42px);
  display: flex;
  gap: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .factory-detail-wrapper .timeline .track {
    left: 40px;
    transform: none;
  }
  .factory-detail-wrapper .step-marker {
    position: relative;
    left: 0;
    transform: none;
    width: 84px;
  }
  .factory-detail-wrapper .step-card {
    width: auto;
    flex-grow: 1;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .factory-detail-wrapper .step {
    flex-direction: row !important;
    justify-content: flex-start;
  }
}

.factory-detail-wrapper .step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.factory-detail-wrapper .step-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.factory-detail-wrapper .step-card .icon svg {
  width: 24px;
  height: 24px;
}

.factory-detail-wrapper .step-body .phase {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}

.factory-detail-wrapper .step-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.factory-detail-wrapper .step-body .desc {
  color: #64748b;
  line-height: 1.6;
}

/* Features */
.factory-detail-wrapper .features {
  padding: 80px 0;
  background: var(--cream);
}

.factory-detail-wrapper .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.factory-detail-wrapper .feature-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.factory-detail-wrapper .feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.05) 0%, rgba(29, 78, 216, 0) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.factory-detail-wrapper .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(29, 78, 216, 0.08);
  border-color: rgba(29, 78, 216, 0.1);
}

.factory-detail-wrapper .feature-card:hover::before {
  opacity: 1;
}

.factory-detail-wrapper .feature-card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.2);
  transition: transform 0.4s ease;
}

.factory-detail-wrapper .feature-card:hover .icon {
  transform: scale(1.1) rotate(5deg);
}

.factory-detail-wrapper .feature-card .icon svg {
  width: 28px;
  height: 28px;
}

.factory-detail-wrapper .feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--dark);
}

.factory-detail-wrapper .feature-card p {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Benefits */
.factory-detail-wrapper .benefits {
  background: var(--dark);
  color: #fff;
  border-radius: 20px;
  margin-top: 40px;
}

.factory-detail-wrapper .benefits .section-head h2 {
  color: #fff;
}

.factory-detail-wrapper .benefits .section-head p {
  color: #cbd5e1;
}

.factory-detail-wrapper .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.factory-detail-wrapper .benefit-item {
  display: flex;
  gap: 20px;
}

.factory-detail-wrapper .benefit-item .num {
  font-size: 3rem;
  font-weight: 800;
  color: rgb(255 255 255 / 44%);
  line-height: 1;
}

.factory-detail-wrapper .benefit-item h3,
.factory-detail-wrapper .benefit-item h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.factory-detail-wrapper .benefit-item p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Why */
.factory-detail-wrapper .why {
  padding: 80px 0;
}

.factory-detail-wrapper .why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.factory-detail-wrapper .why-copy .tag {
  display: inline-block;
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.factory-detail-wrapper .why-copy h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.factory-detail-wrapper .why-copy p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 30px;
  line-height: 1.7;
}

.factory-detail-wrapper .why-list {
  list-style: none;
}

.factory-detail-wrapper .why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--dark);
}

.factory-detail-wrapper .why-list li svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.factory-detail-wrapper .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.factory-detail-wrapper .stat-card {
  background: var(--cream);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
}

.factory-detail-wrapper .stat-card .num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.factory-detail-wrapper .stat-card .label {
  font-weight: 500;
  color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
  .factory-detail-wrapper .why-inner {
    grid-template-columns: 1fr;
  }

  .factory-detail-wrapper .hero h1 {
    font-size: 2.5rem;
  }

  .factory-detail-wrapper .timeline .track {
    left: 20px;
  }

  .factory-detail-wrapper .step-marker {
    width: 40px;
  }

  .factory-detail-wrapper .step-card {
    flex-direction: column;
    margin-left: 10px;
  }
}