/* Quality Policy Page Styles */

/* Quality Hero Section */
.quality-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.quality-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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.quality-badge {
    display: inline-block;
    align-items: center;
    gap: 8px;
    background: rgba(30, 58, 138, 0.1);
    color: #1e3a8a;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(30, 58, 138, 0.2);
}

.quality-hero-title {
    font-family: 'Montserrat', 'Inter', system-ui;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px;
    color: #0b0d13;
}

.quality-hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 600px;
}

.quality-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', 'Inter', system-ui;
    font-size: 32px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.quality-hero-visual {
    position: relative;
    z-index: 2;
}

.quality-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.quality-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.quality-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 32px 24px 24px;
    color: white;
}

.overlay-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}

.overlay-content p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.quality-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: -1;
}

.decoration-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1e3a8a, #0f2770);
    border-radius: 50%;
    opacity: 0.1;
}

.decoration-dots {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, #1e3a8a 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
}

/* Quality Principles Section */
.quality-principles {
    padding: 100px 0;
    background: white;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Montserrat', 'Inter', system-ui;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #0b0d13;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    text-align: center !important;
}

.principle-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #1e3a8a;
}

.principle-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1e3a8a, #0f2770);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 24px;
}

.principle-title {
    font-size: 20px;
    font-weight: 600;
    color: #0b0d13;
    margin: 0 0 16px;
}

.principle-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Quality Process Section */
.quality-process {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.process-title {
    font-family: 'Montserrat', 'Inter', system-ui;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #0b0d13;
    margin-bottom: 24px;
}

.process-description {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 40px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1e3a8a, #0f2770);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 18px;
    font-weight: 600;
    color: #0b0d13;
    margin: 0 0 8px;
}

.step-content p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.process-visual {
    position: relative;
}

.process-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: 32px;
}

.process-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.process-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.process-stats .stat-item {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.process-stats .stat-number {
    font-family: 'Montserrat', 'Inter', system-ui;
    font-size: 32px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.process-stats .stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

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

.standard-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.standard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #1e3a8a;
}

.standard-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #0f2770);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 24px;
}

.standard-title {
    font-size: 24px;
    font-weight: 700;
    color: #0b0d13;
    margin: 0 0 12px;
}

.standard-description {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

/* Quality Commitment Section */
.quality-commitment {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #0f2770 100%);
    color: white;
}

.commitment-content {
    max-width: 800px;
    margin: 0 auto;
}

.commitment-title {
    font-family: 'Montserrat', 'Inter', system-ui;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 24px;
}

.commitment-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.commitment-features {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

/* Certification Section */
.certification-section {
  padding: 80px 0;
  background: #f8fafc;
}

.certification-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.certification-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.certification-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  color: #ffffff;
}

.certification-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}

.certification-description {
  color: #64748b;
  margin-bottom: 32px;
  line-height: 1.7;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quality-hero {
        padding: 80px 0 40px;
    }
    
    .quality-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
    
    .process-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .commitment-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .feature-item {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .quality-hero-title {
        font-size: 32px;
    }
    
    .quality-hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .process-title {
        font-size: 28px;
    }
    
    .commitment-title {
        font-size: 28px;
    }
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f2770 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
