/* Quality Control Page Specific Styles */

/* Page Hero */
.page-hero {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(190, 3, 0, 0.9), rgba(160, 2, 0, 0.9)), 
                url('../assets/images/manufacture/IMG_4092.HEIC') center/cover;
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.page-hero .hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Quality Overview */
.quality-overview {
    padding: 6rem 0;
    background-color: white;
}

.overview-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 2rem;
}

.overview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.overview-stats {
    display: grid;
    gap: 2rem;
}

.stat-card {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border-right: 4px solid #be0300;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    margin-bottom: 1.5rem;
}

.stat-icon i {
    font-size: 3rem;
    color: #be0300;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.stat-card p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Quality Process */
.quality-process {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.process-timeline {
    display: grid;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 5rem;
    bottom: -2rem;
    width: 3px;
    background: linear-gradient(to bottom, #be0300, #e9ecef);
    z-index: 1;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #be0300, #a00200);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-right: 4px solid #be0300;
}

.step-icon {
    margin-bottom: 2rem;
}

.step-icon i {
    font-size: 3rem;
    color: #be0300;
}

.step-content h4 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1rem;
}

.step-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.step-content ul {
    list-style: none;
}

.step-content li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.step-content li:last-child {
    border-bottom: none;
}

.step-content li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-left: 0.5rem;
}

/* Laboratory */
.laboratory {
    padding: 6rem 0;
    background-color: white;
}

.lab-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lab-text h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 2rem;
}

.lab-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 3rem;
}

.lab-features {
    display: grid;
    gap: 2rem;
}

.lab-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.lab-feature:hover {
    transform: translateX(-5px);
}

.lab-feature i {
    font-size: 2rem;
    color: #be0300;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.lab-feature h4 {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.lab-feature p {
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.lab-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Equipment */
.equipment {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.equipment-card {
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #be0300;
}

.equipment-icon {
    margin-bottom: 2rem;
}

.equipment-icon i {
    font-size: 4rem;
    color: #be0300;
}

.equipment-card h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.equipment-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.equipment-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.equipment-specs span {
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

/* Standards */
.standards {
    padding: 6rem 0;
    background-color: white;
}

.standards-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.standards-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.standards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.standard-item {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.standard-item:hover {
    transform: translateY(-5px);
}

.standard-icon {
    margin-bottom: 1.5rem;
}

.standard-icon i {
    font-size: 2.5rem;
    color: #be0300;
}

.standard-item h4 {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 1rem;
}

.standard-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Quality Benefits */
.quality-benefits {
    padding: 6rem 0;
    background: linear-gradient(135deg, #be0300, #a00200);
    color: white;
}

.quality-benefits .section-header h2 {
    color: white;
}

.quality-benefits .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    margin-bottom: 2rem;
}

.benefit-icon i {
    font-size: 3rem;
    color: white;
}

.benefit-item h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .page-hero .hero-content p {
        font-size: 1.1rem;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .overview-text {
        text-align: center;
    }
    
    .process-step {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .process-step::after {
        display: none;
    }
    
    .step-number {
        justify-self: center;
    }
    
    .lab-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .lab-text {
        text-align: center;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-card {
        padding: 2rem;
    }
    
    .standards-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .standards-text {
        text-align: center;
    }
    
    .standards-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 4rem 0 3rem;
    }
    
    .page-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .overview-text h2 {
        font-size: 2rem;
    }
    
    .stat-card {
        padding: 2rem;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
    
    .step-content {
        padding: 2rem;
    }
    
    .step-icon i {
        font-size: 2.5rem;
    }
    
    .lab-text h2 {
        font-size: 2rem;
    }
    
    .lab-feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .equipment-icon i {
        font-size: 3rem;
    }
    
    .equipment-card {
        padding: 1.5rem;
    }
    
    .standard-item {
        padding: 1.5rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }
    
    .benefit-icon i {
        font-size: 2.5rem;
    }
}
