/* Service Detail Page Styles - Business Official Color Scheme */

:root {
    --business-navy: #1e3a8a;
    --business-navy-dark: #1e40af;
    --business-navy-light: #3b82f6;
    --business-charcoal: #374151;
    --business-charcoal-light: #6b7280;
    --business-gold: #d97706;
    --business-gold-light: #f59e0b;
    --business-slate: #475569;
    --business-slate-light: #64748b;
    --business-white: #ffffff;
    --business-gray-light: #f8fafc;
    --business-gray: #e2e8f0;
    --business-success: #059669;
    --business-warning: #d97706;
    --business-error: #dc2626;
}

/* Global Heading Overflow Prevention */
h1, h2, h3, h4, h5, h6 {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Global Container Overflow Prevention */
.container, .section, .grid, .card, .content, .wrapper {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.service-detail {
    padding: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin-top: 70px; /* Account for fixed header */
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* Modern Service Detail Styles */
.modern-service-detail {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    margin-top: 70px;
    background: #f8fafc;
}

.modern-service-detail * {
    box-sizing: border-box;
    max-width: 100%;
}

/* Prevent horizontal overflow globally */
.modern-service-detail,
.modern-service-detail *,
.service-hero-modern,
.service-hero-modern *,
.service-overview,
.service-overview *,
.service-details,
.service-details *,
.service-cta,
.service-cta * {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure text doesn't cause overflow */
.modern-service-detail h1,
.modern-service-detail h2,
.modern-service-detail h3,
.modern-service-detail h4,
.modern-service-detail h5,
.modern-service-detail h6,
.modern-service-detail p,
.modern-service-detail li,
.modern-service-detail span,
.modern-service-detail div {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Scrollbar styles handled by main CSS */

/* Hide any unwanted scroll-related elements */
.scroll-indicator,
.scroll-to-top,
.back-to-top,
.scroll-button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Button styles handled by main CSS */

.service-detail * {
    box-sizing: border-box;
}

/* Prevent horizontal overflow globally */
.service-detail,
.service-detail *,
.service-hero,
.service-hero *,
.service-grid,
.service-grid *,
.service-main,
.service-main *,
.service-sidebar,
.service-sidebar * {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure text doesn't cause overflow */
.service-detail h1,
.service-detail h2,
.service-detail h3,
.service-detail h4,
.service-detail h5,
.service-detail h6,
.service-detail p,
.service-detail li,
.service-detail span,
.service-detail div {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.service-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    padding: 2.5rem 0 2rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.08)"/></svg>') repeat;
    opacity: 0.4;
    z-index: 1;
}

.service-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    overflow: hidden;
}

.service-hero .service-header,
.service-hero .lead {
    text-align: left;
    max-width: 100%;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
}

.service-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.service-icon i {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-hero h1 {
    font-size: 2.5rem;
    color: white;
    margin: 0;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.service-hero .lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    line-height: 1.5;
    margin-top: 0.8rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.service-main {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.service-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.service-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.service-section h2 {
    color: #1e293b;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #6366f1;
    font-weight: 800;
    position: relative;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.service-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.service-section p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.feature-list {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-list li {
    position: relative;
    padding: 0.8rem 1.2rem 0.8rem 2.5rem;
    margin-bottom: 0.8rem;
    color: #475569;
    line-height: 1.5;
    font-size: 0.9rem;
    font-weight: 500;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    letter-spacing: 0.1px;
}

.feature-list li:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-list li:before {
    content: '✓';
    color: #6366f1;
    font-weight: bold;
    font-size: 0.9rem;
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25);
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.service-card h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #6366f1;
    font-weight: 800;
    position: relative;
    letter-spacing: 0.1px;
    line-height: 1.3;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 1px;
}

.service-card p {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    padding: 0 !important;
}

.related-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-services li {
    margin-bottom: 1rem;
}

.related-services a {
    color: #6366f1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.related-services a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.related-services a:hover {
    color: #4f46e5;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.related-services a:hover::before {
    left: 100%;
}

.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    margin-top: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}

.cta-section h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-color: rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    border-color: rgba(99, 102, 241, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .service-grid {
        max-width: 95%;
        padding: 0 0.5rem;
        grid-template-columns: 1fr 200px;
    }
}

@media (max-width: 1100px) {
    .service-grid {
        max-width: 98%;
        padding: 0 0.25rem;
        grid-template-columns: 1fr 180px;
    }
}

@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .service-sidebar {
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto 1.5rem;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .service-main {
        padding: 1.5rem;
    }
}

/* Animation for service sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-section {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-section:nth-child(1) { animation-delay: 0.1s; }
.service-section:nth-child(2) { animation-delay: 0.2s; }
.service-section:nth-child(3) { animation-delay: 0.3s; }
.service-section:nth-child(4) { animation-delay: 0.4s; }

/* Fiber Solutions Specific Styles */
.fiber-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #6366f1 100%);
    position: relative;
    overflow: hidden;
}

.fiber-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.5;
    z-index: 1;
}

.fiber-hero .hero-image i {
    color: rgba(255, 255, 255, 0.95);
    font-size: 10rem;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
}

/* Disabled float animation to prevent scroll-like effects */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(0px); }
}

/* Enhanced GPON Technology Section */
.gpon-features {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 3rem;
}

.gpon-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gpon-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gpon-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

.gpon-feature:hover::before {
    opacity: 1;
}

.gpon-feature.reverse {
    direction: rtl;
}

.gpon-feature.reverse .feature-content {
    direction: ltr;
}

.gpon-feature .feature-content {
    position: relative;
    z-index: 2;
}

.gpon-feature .feature-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.gpon-feature .feature-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.gpon-feature .feature-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 2rem;
    font-weight: 400;
}

.gpon-feature .feature-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gpon-feature .feature-content li {
    position: relative;
    padding: 1rem 1.5rem 1rem 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    color: #475569;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.gpon-feature .feature-content li:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.gpon-feature .feature-content li::before {
    content: '⚡';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #6366f1;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.gpon-feature .feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gpon-feature .feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(6, 182, 212, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gpon-feature:hover .feature-image {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
}

.gpon-feature:hover .feature-image::before {
    opacity: 1;
}

.gpon-feature .feature-image i {
    font-size: 6rem;
    color: #6366f1;
    filter: drop-shadow(0 6px 12px rgba(99, 102, 241, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: relative;
    animation: gponFloat 3s ease-in-out infinite;
}

/* Disabled gponFloat animation to prevent scroll-like effects */
@keyframes gponFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(0px) rotate(0deg); 
    }
}

.gpon-feature:hover .feature-image i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 10px 20px rgba(99, 102, 241, 0.4));
    animation: gponPulse 1s ease-in-out;
}

@keyframes gponPulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(3deg); }
    100% { transform: scale(1.15) rotate(5deg); }
}

.fabrication-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cable-types {
    margin: 2rem 0;
}

.cable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.cable-type {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.cable-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.cable-type i {
    color: #6366f1;
    font-size: 1.25rem;
}

.fabrication-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.benefit-item i {
    color: #6366f1;
    font-size: 1.5rem;
}

.benefit-item h5 {
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.benefit-item p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.fabrication-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.factory-visual {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.factory-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.factory-visual:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.factory-visual:hover::before {
    opacity: 1;
}

.factory-visual i {
    font-size: 7rem;
    color: #6366f1;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 6px 12px rgba(99, 102, 241, 0.3));
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.factory-details h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.factory-details p {
    color: #64748b;
    line-height: 1.6;
}

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

.specs-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.specs-card h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.specs-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    color: #64748b;
    line-height: 1.6;
}

.specs-card li:last-child {
    border-bottom: none;
}

.specs-card strong {
    color: #1e293b;
    font-weight: 600;
}

/* Responsive Design for Fiber Solutions */
@media (max-width: 768px) {
    .gpon-feature {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .gpon-feature.reverse {
        direction: ltr;
    }
    
    .gpon-feature .feature-content h3 {
        font-size: 1.8rem;
    }
    
    .gpon-feature .feature-content p {
        font-size: 1rem;
    }
    
    .gpon-feature .feature-image {
        height: 250px;
    }
    
    .gpon-feature .feature-image i {
        font-size: 4rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .fabrication-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cable-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .factory-visual {
        padding: 2rem;
    }
    
    .factory-visual i {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .cable-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        padding: 1rem;
    }
    
    .specs-card {
        padding: 1.5rem;
    }
}

/* Additional Fiber Solutions Styles */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.service-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-features .feature i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features .feature span {
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.hero-image i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

/* Service Overview Section */
.service-overview {
    padding: 5rem 0;
    background: white;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.service-overview .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    max-width: 100%;
}

.overview-content {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Force fix for Comprehensive Managed Services heading */
.overview-content h2:contains("Comprehensive"),
.overview-content h2 {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: break-word !important;
    display: block !important;
    width: 100% !important;
}

.overview-content h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.overview-content p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.key-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.key-benefits .benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.key-benefits .benefit i {
    color: #6366f1;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.key-benefits .benefit h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.key-benefits .benefit p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.overview-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #6366f1;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* Special styling for GPON section */
.service-section.bg-light .section-header h2 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-section.bg-light .section-header h2::after {
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
    width: 100px;
    height: 5px;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon i {
    font-size: 2rem;
    color: white;
}

.solution-card h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.solution-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.solution-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-card li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.solution-card li:before {
    content: '✓';
    color: #6366f1;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Background Light */
.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Service CTA */
.service-cta {
    background: linear-gradient(135deg, var(--business-navy) 0%, var(--business-navy-dark) 100%);
    color: var(--business-white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.5;
}

.service-cta .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.service-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--business-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.service-cta p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Market Solutions Styles */
.market-solutions {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.market-solution {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.market-solution:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.market-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
}

.market-solution:hover .market-icon {
    transform: scale(1.1);
}

.market-icon i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.market-content h3 {
    font-size: 1.6rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.market-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.market-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.market-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

.market-benefits .benefit-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.market-benefits .benefit-item i {
    color: #6366f1;
    font-size: 1.2rem;
}

.market-benefits .benefit-item span {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.certification-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
}

.certification-card:hover .cert-icon {
    transform: scale(1.1);
}

.cert-icon i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.certification-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.certification-card p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design for New Components */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .market-solution {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .market-icon {
        margin: 0 auto;
    }
    
    .market-benefits {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-image i {
        font-size: 5rem;
    }
    
    .overview-content h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-cta h2 {
        font-size: 2rem;
    }
}

/* Modern Service Detail Styles */
.modern-service-detail {
    margin-top: 70px;
    background: #ffffff;
}

/* Hero Section - Business Official */
.service-hero-modern {
    position: relative;
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--business-navy) 0%, var(--business-navy-dark) 50%, var(--business-charcoal) 100%);
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.service-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.5;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

/* Disabled float animation to prevent scroll-like effects */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(0px); }
}

.service-hero-modern .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--business-gold) 0%, var(--business-gold-light) 100%);
    color: var(--business-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    margin-bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-badge i {
    font-size: 1.1rem;
    color: var(--business-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    overflow: visible;
    white-space: normal;
    word-break: break-word;
}

.service-hero-modern h1 {
    font-size: 2.5rem;
    color: var(--business-white);
    margin: 0 0 1rem;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    overflow: visible;
    white-space: normal;
    word-break: break-word;
    background: linear-gradient(135deg, var(--business-white) 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 450px;
    width: 100%;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    letter-spacing: 0.01em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-modern .hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Manufacturing Section Styles */
.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.manufacturing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.manufacturing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.manufacturing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(5, 150, 105, 0.3);
}

.manufacturing-card:hover::before {
    transform: scaleX(1);
}

.manufacturing-icon {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
    transition: all 0.3s ease;
}

.manufacturing-card:hover .manufacturing-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.4);
}

.manufacturing-icon i {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.manufacturing-card h3 {
    color: #1e293b;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.2px;
}

.manufacturing-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.manufacturing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.manufacturing-card li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.manufacturing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #059669;
    font-weight: bold;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .manufacturing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .manufacturing-card {
        padding: 1.5rem;
    }
    
    .manufacturing-card h3 {
        font-size: 1.2rem;
    }
    
    .manufacturing-icon {
        width: 50px;
        height: 50px;
    }
    
    .manufacturing-icon i {
        font-size: 1.5rem;
    }
}

.service-hero-modern .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-hero-modern .stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--business-gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.service-hero-modern .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-hero-modern .stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-hero-modern .stat-item:hover::before {
    left: 100%;
}

.service-hero-modern .hero-stats .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--business-gold);
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    letter-spacing: -0.5px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.service-hero-modern .hero-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* Additional specificity to override any conflicting styles */
.service-hero-modern .hero-stats .stat-item .stat-value,
.service-hero-modern .hero-stats .stat-item .stat-label {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Prevent overflow scroll on stat items */
.service-hero-modern .stat-item,
.service-hero-modern .stat-item * {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.service-hero-modern .stat-item::-webkit-scrollbar,
.service-hero-modern .stat-item *::-webkit-scrollbar {
    display: none !important;
}



.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--business-gold) 0%, var(--business-gold-light) 100%);
    color: var(--business-white);
    border: 2px solid var(--business-gold);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--business-gold-light) 0%, var(--business-gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--business-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--business-gold);
    color: var(--business-gold);
    transform: translateY(-3px);
}

.hero-visual {
    display: none;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.service-icon-large i {
    font-size: 2rem;
    color: white;
}

/* Service Overview */
.service-overview {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--business-gray-light) 0%, #f1f5f9 100%);
}

.overview-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-content h2 {
    font-size: 2.5rem;
    color: var(--business-navy);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    box-sizing: border-box;
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--business-navy) 0%, var(--business-navy-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overview-content p {
    font-size: 1.1rem;
    color: var(--business-charcoal);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.key-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit i {
    color: #667eea;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.benefit h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.benefit p {
    font-size: 0.95rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

.overview-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

@media (max-width: 768px) {
    .overview-visual {
        order: -1;
        margin-bottom: 2rem;
    }
}

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.overview-card h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.overview-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overview-card li {
    padding: 0.5rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.overview-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Service Details */
.service-details {
    padding: 4rem 0;
    background: white;
}

.details-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.details-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.detail-section {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin: 0 0 0.5rem;
    font-weight: 800;
}

.section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-content {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    color: white;
    font-size: 1.2rem;
}

.feature-card h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
    font-weight: 600;
}

/* Sidebar */
.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.sidebar-card h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin: 0 0 1rem;
    font-weight: 700;
}

.related-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.related-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-link:hover {
    background: white;
    color: #667eea;
    transform: translateX(5px);
}

.related-link i {
    font-size: 1rem;
    width: 20px;
}

.btn-contact {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: white;
    color: #667eea;
}

.resource-link i {
    font-size: 1rem;
    width: 20px;
}

/* CTA Section */
.service-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--business-navy) 0%, var(--business-navy-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.5;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--business-white);
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 10;
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--business-gold) 0%, var(--business-gold-light) 100%);
    color: var(--business-white);
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
    border: 2px solid var(--business-gold);
}

.btn-primary-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--business-gold-light) 0%, var(--business-gold) 100%);
    transition: left 0.5s ease;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.4);
    color: var(--business-white);
    background: linear-gradient(135deg, var(--business-gold-light) 0%, var(--business-gold) 100%);
}

.btn-primary-large:hover::before {
    left: 100%;
}

.btn-phone {
    background: transparent;
    color: var(--business-white);
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-phone:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--business-gold);
    color: var(--business-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-phone:hover::before {
    left: 100%;
}

/* Responsive Design for Modern Service */
@media (max-width: 1200px) {
    .details-grid {
        max-width: 95%;
        padding: 0 1rem;
    }
}

@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .details-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .service-hero-modern .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .service-hero-modern h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        max-width: 350px;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-hero-modern .stat-item {
        padding: 0.75rem 1rem;
        min-width: 100px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .service-hero-modern .hero-stats .stat-value {
        font-size: 1.5rem;
    }
    
    .service-hero-modern .hero-stats .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-content h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2.25rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary-large,
    .btn-phone {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-hero-modern {
        padding: 1.5rem 0;
    }
    
    .service-hero-modern h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
        max-width: 300px;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .service-hero-modern .stat-item {
        padding: 0.5rem 0.75rem;
        min-width: 80px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .service-hero-modern .hero-stats .stat-value {
        font-size: 1.25rem;
    }
    
    .service-hero-modern .hero-stats .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        gap: 0.75rem;
    }
    
    .btn-primary-large,
    .btn-phone {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .service-icon-large {
        width: 100px;
        height: 100px;
    }
    
    .service-icon-large i {
        font-size: 2rem;
    }
}

/* Ensure stats are visible with clean styling */
.service-hero-modern .hero-stats .stat-item .stat-value,
.service-hero-modern .hero-stats .stat-item .stat-label {
    color: #ffffff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
    position: relative !important;
}

/* Force display of hero stats container */
.service-hero-modern .hero-stats {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
    position: relative !important;
}

.modern-service-detail {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.service-hero-modern {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hero-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

.hero-content .hero-description {
    max-width: 450px !important;
    width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    white-space: normal !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
