/* ==================================================
   Quality Page Specific Styles
================================================== */

/* Quality Commitment Section */
.quality-commitment {
    padding: 100px 0;
    background: #f8f9ff;
}

.commitment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.commitment-text {
    position: relative;
}

.commitment-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #d32f2f 100%);
    border-radius: 2px;
}

.lead-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.commitment-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.quality-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.highlight-item i {
    font-size: 1.5rem;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    padding: 12px;
    border-radius: 10px;
    min-width: 48px;
    text-align: center;
}

.highlight-item span {
    font-weight: 600;
    color: #333;
}

.commitment-visual {
    position: relative;
    text-align: center;
}

.quality-badge {
    position: absolute;
    top: 20px;
    right: -40px;
    background: linear-gradient(135deg, #ff6b35 0%, #d32f2f 100%);
    color: white;
    padding: 1.2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.badge-icon {
    margin-bottom: 0.6rem;
}

.badge-icon i {
    font-size: 2rem;
    color: #60efff;
}

.quality-badge h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.quality-badge p {
    margin: 0;
    opacity: 0.9;
}

.quality-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Certifications Section */
.certifications {
    padding: 100px 0;
    background: white;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.cert-card {
    background: #f8f9ff;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #ff6b35 0%, #d32f2f 100%);
}

.cert-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cert-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #d32f2f 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cert-header h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.cert-details {
    margin-bottom: 2rem;
}

.cert-info {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.cert-info:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cert-info .label {
    font-weight: 600;
    color: #555;
}

.cert-info .value {
    color: #333;
    font-weight: 500;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
}

/* Quality Standards Section */
.quality-standards {
    padding: 100px 0;
    background: #f8f9ff;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.standard-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.standard-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.standard-icon {
    margin-bottom: 1.5rem;
}

.standard-icon i {
    font-size: 3rem;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    padding: 20px;
    border-radius: 20px;
}

.standard-card h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.standard-card ul {
    list-style: none;
    text-align: left;
}

.standard-card li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.8rem;
    color: #666;
    line-height: 1.5;
}

.standard-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

/* Food Safety Section */
.food-safety {
    padding: 100px 0;
    background: white;
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.safety-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #d32f2f 100%);
    border-radius: 2px;
}

.safety-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.safety-feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9ff;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.safety-feature:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #d32f2f 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.safety-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.safety-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: linear-gradient(135deg, #ff6b35 0%, #d32f2f 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Quality Process Section */
.quality-process {
    padding: 100px 0;
    background: #f8f9ff;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b35 0%, #d32f2f 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-icon {
    margin: 2rem 0 1.5rem;
}

.step-icon i {
    font-size: 3rem;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    padding: 20px;
    border-radius: 20px;
}

.process-step h4 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Quality Promise Section */
.quality-promise {
    padding: 100px 0;
    background: linear-gradient(135deg, #ff6b35 0%, #d32f2f 100%);
    color: white;
}

.promise-content {
    text-align: center;
}

.promise-header {
    margin-bottom: 4rem;
}

.promise-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.promise-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.promise-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.promise-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.promise-item i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #60efff;
}

.promise-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.promise-item p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* CTA Quality Section */
.cta-quality {
    padding: 100px 0;
    background: #f8f9ff;
    text-align: center;
}

.cta-quality .cta-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-quality .cta-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-quality .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .commitment-content,
    .safety-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quality-badge {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 2rem;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-info {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .standards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .safety-stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .process-flow {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-quality .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .standards-grid,
    .process-flow,
    .promise-grid {
        grid-template-columns: 1fr;
    }
    
    .safety-stats {
        flex-direction: column;
    }
    
    .cert-card {
        padding: 2rem 1.5rem;
    }
    
    .standard-card,
    .process-step,
    .promise-item {
        padding: 2rem 1.5rem;
    }
    
    .cta-quality .cta-title {
        font-size: 2rem;
    }
    
    .promise-header h2 {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 0.8s ease forwards;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Interactive Elements */
.cert-card:hover .cert-icon {
    transform: scale(1.1);
}

.standard-card:hover .standard-icon i {
    transform: rotate(10deg) scale(1.1);
}

.safety-feature:hover .feature-icon {
    transform: scale(1.1);
}

.process-step:hover .step-icon i {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}