/* Certifications Page Styles */

/* Certifications Hero Section */
.certifications-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.certifications-hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 1rem;
}

.certifications-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Certifications Grid */
.certifications-grid {
    padding: 80px 0;
}

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

.cert-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cert-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.cert-item h4 {
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.cert-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Certification Badges */
.cert-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 40px 0;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    transform: translateY(-5px);
}

.cert-badge img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-badge span {
    font-weight: 600;
    color: #2c2c2c;
    font-size: 0.9rem;
}

/* Certification Details Section */
.cert-details {
    padding: 80px 0;
    background: #f8f9fa;
}

.cert-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.cert-detail-item {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cert-detail-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cert-detail-item .cert-number {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cert-detail-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cert-detail-item .cert-validity {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

/* Quality Standards Section */
.quality-standards {
    padding: 80px 0;
}

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

.standard-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.standard-item:hover {
    transform: translateY(-3px);
}

.standard-icon {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.standard-item h4 {
    color: #333;
    margin-bottom: 1rem;
}

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

/* Certifications Intro Section */
.certifications-intro {
    padding: 80px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 2rem;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Main Certifications Section */
.main-certifications {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.certification-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-5px);
}

.cert-header {
    display: flex;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.cert-logo {
    flex: 0 0 80px;
    margin-right: 20px;
}

.cert-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.cert-title h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.cert-number {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
}

.cert-content {
    padding: 30px;
}

.cert-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.cert-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.cert-benefits li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #666;
    line-height: 1.6;
}

.cert-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.cert-validity {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

/* Testing & Quality Control Styles */
.testing-quality {
    padding: 80px 0;
    background: #f8f9fa;
}

.testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testing-item {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testing-item:hover {
    transform: translateY(-5px);
}

.testing-icon {
    color: #28a745;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.testing-item h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 500;
}

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

/* Compliance Standards Styles */
.compliance-standards {
    padding: 80px 0;
}

.compliance-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.compliance-text h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.compliance-text > p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.compliance-list {
    list-style: none;
    padding: 0;
}

.compliance-list li {
    position: relative;
    padding: 12px 0 12px 25px;
    margin-bottom: 8px;
    color: #666;
    line-height: 1.6;
    border-left: 3px solid #28a745;
    padding-left: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.compliance-list li strong {
    color: #333;
    font-weight: 600;
}

.compliance-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

/* Audit & Inspection Styles */
.audit-inspection {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.audit-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.audit-item:hover {
    transform: translateY(-3px);
}

.audit-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 500;
    border-bottom: 2px solid #28a745;
    padding-bottom: 0.5rem;
}

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

/* Download Certificates Styles */
.download-certificates {
    padding: 80px 0;
}

.download-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.download-item {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.download-item:hover {
    transform: translateY(-5px);
}

.download-icon {
    color: #28a745;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.download-item h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 500;
}

.download-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.download-btn {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #218838;
    color: white;
    text-decoration: none;
}

/* Certifications CTA Section */
.certifications-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    text-align: center;
}

.certifications-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1.5rem;
}

.certifications-cta .cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Certificate Badge Styles */
.cert-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    transform: translateY(-5px);
}

.cert-badge img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-badge span {
    font-weight: 600;
    color: #2c2c2c;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2c2c2c 0%, #404040 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.cta .btn-primary {
    background-color: white;
    color: #2c2c2c;
    border-color: white;
}

.cta .btn-primary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.cta .btn-outline {
    color: white;
    border-color: white;
}

.cta .btn-outline:hover {
    background-color: white;
    color: #2c2c2c;
}

/* Category CTA Section */
.category-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2c2c2c 0%, #404040 100%);
    color: white;
    text-align: center;
}

.category-cta h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.category-cta p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive Design for Certifications Page */
@media (max-width: 768px) {
    .certifications-hero {
        padding: 100px 0 60px;
    }
    
    .certifications-hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .certifications-hero .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Grid adjustments */
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .cert-item {
        padding: 1.5rem;
    }
    
    .cert-badges {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .cert-badge img {
        width: 60px;
        height: 60px;
    }
    
    /* Certification details */
    .cert-details {
        padding: 60px 0;
    }
    
    .cert-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .cert-detail-item {
        padding: 2rem 1.5rem;
    }
    
    .cert-detail-item h3 {
        font-size: 1.3rem;
    }
    
    /* Main certifications */
    .main-certifications {
        padding: 60px 0;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .cert-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .cert-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .cert-content {
        padding: 1.5rem;
    }
    
    /* Intro section */
    .certifications-intro {
        padding: 60px 0;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .intro-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .intro-image img {
        height: 250px;
    }
    
    /* Quality standards */
    .quality-standards {
        padding: 60px 0;
    }
    
    .standards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .standard-item {
        padding: 2rem 1rem;
    }
    
    /* Testing & Quality */
    .testing-quality {
        padding: 60px 0;
    }
    
    .testing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .testing-item {
        padding: 2rem 1.5rem;
    }
    
    /* Compliance standards */
    .compliance-standards {
        padding: 60px 0;
    }
    
    .compliance-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .compliance-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .compliance-image img {
        height: 250px;
    }
    
    /* Audit & Inspection */
    .audit-inspection {
        padding: 60px 0;
    }
    
    .audit-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .audit-item {
        padding: 1.5rem;
    }
    
    /* Download certificates */
    .download-certificates {
        padding: 60px 0;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .download-item {
        padding: 2rem 1.5rem;
    }
    
    /* CTA sections */
    .certifications-cta {
        padding: 60px 0;
    }
    
    .certifications-cta .cta-content h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .certifications-cta .cta-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cta {
        padding: 4rem 0;
    }
    
    .cta h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .cta p {
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }
    
    .category-cta {
        padding: 3rem 0;
    }
    
    .category-cta h2 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .category-cta p {
        padding: 0 1rem;
    }
}