/**
 * Enhanced Certifications Page Styles
 * Modern, user-friendly design with improved visual hierarchy
 */

/* Hero Banner */
.certifications-hero-banner {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certifications-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.certifications-hero-banner::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 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat-x;
    background-size: 600px 120px;
    animation: wave 15s linear infinite;
    z-index: 2;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(600px); }
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 50px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
    font-weight: 500;
}

/* Certifications Area */
.certifications-area {
    background: white;
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #0052a3);
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: #666;
    margin-top: 20px;
}

/* Certification Cards */
.certification-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 102, 204, 0.15);
}

.cert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.cert-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.certification-card:hover .cert-img {
    transform: scale(1.08);
}

.cert-content {
    padding: 30px;
}

.cert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    border-radius: 50%;
    font-size: 28px;
    margin-bottom: 15px;
}

.cert-content h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 22px;
}

.cert-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.cert-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cert-features li {
    padding: 10px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.cert-features i {
    color: #0066cc;
    font-weight: 700;
}

/* Additional Certifications */
.additional-certs {
    background: #f8f9fa;
    padding: 80px 0;
}

.cert-box-modern {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.cert-box-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.cert-box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    border-radius: 50%;
    font-size: 36px;
    margin-bottom: 20px;
}

.cert-box-modern h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.cert-box-modern p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cert-badge-small {
    display: inline-block;
    background: #e8f0ff;
    color: #0066cc;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Regulatory Compliance */
.regulatory-compliance {
    background: white;
    padding: 80px 0;
}

.compliance-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #0066cc;
}

.compliance-card:hover {
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
    transform: translateY(-5px);
}

.compliance-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.compliance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    border-radius: 50%;
    font-size: 28px;
    flex-shrink: 0;
}

.compliance-header h3 {
    color: #333;
    font-weight: 700;
    margin: 0;
    font-size: 20px;
}

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

.compliance-list li {
    padding: 12px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.compliance-list i {
    color: #0066cc;
    font-weight: 700;
    font-size: 18px;
}

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

.audit-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.audit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.audit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    border-radius: 50%;
    font-size: 36px;
    margin-bottom: 20px;
}

.audit-card h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.audit-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.audit-frequency {
    display: inline-block;
    background: #e8f0ff;
    color: #0066cc;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Trust & Commitment */
.trust-commitment {
    background: white;
    padding: 80px 0;
}

.commitment-item {
    background: linear-gradient(135deg, #f5f7ff, #f0f4ff);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.commitment-item:hover {
    border-color: #0066cc;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.1);
}

.commitment-number {
    font-size: 48px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 10px;
}

.commitment-item h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.commitment-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-stats {
        gap: 30px;
    }

    .stat-item h3 {
        font-size: 32px;
    }

    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .certifications-hero-banner {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-stats {
        gap: 20px;
        flex-direction: column;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-item h3 {
        font-size: 28px;
    }

    .cert-img-wrapper {
        height: 200px;
    }

    .cert-content {
        padding: 20px;
    }

    .cert-content h3 {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 16px;
    }

    .certifications-area,
    .additional-certs,
    .regulatory-compliance,
    .inspection-audit,
    .trust-commitment {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .certifications-hero-banner {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-item h3 {
        font-size: 24px;
    }

    .stat-item p {
        font-size: 12px;
    }

    .certification-card {
        margin-bottom: 20px;
    }

    .cert-img-wrapper {
        height: 180px;
    }

    .cert-content {
        padding: 15px;
    }

    .cert-content h3 {
        font-size: 16px;
    }

    .cert-content p {
        font-size: 13px;
    }

    .cert-features li {
        font-size: 13px;
    }

    .cert-box-modern {
        padding: 20px;
        margin-bottom: 15px;
    }

    .cert-box-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .compliance-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .compliance-header {
        flex-direction: column;
        gap: 10px;
    }

    .audit-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .audit-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .commitment-item {
        padding: 25px 15px;
        margin-bottom: 15px;
    }

    .commitment-number {
        font-size: 36px;
    }

    .certifications-area,
    .additional-certs,
    .regulatory-compliance,
    .inspection-audit,
    .trust-commitment {
        padding: 40px 0;
    }
}
