/* ========================================
   HSSE Page Specific Styles
======================================== */

/* HSSE Content */
.hsse-content {
  padding: var(--space-5xl) 0 var(--space-4xl);
  position: relative;
}

.hsse-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  opacity: 0.05;
  z-index: -1;
}

.hsse-section {
  margin-bottom: var(--space-6xl);
  padding: var(--space-2xl) 0;
}

.hsse-section:first-child {
  padding-top: 0;
}

.hsse-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-5xl);
  position: relative;
}

.section-header::after {
  content: '';
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  position: absolute;
  bottom: -var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--border-radius-full);
}

.section-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  color: var(--text-white);
  font-size: var(--text-2xl);
  box-shadow: 0 10px 30px rgba(0, 121, 107, 0.2);
  position: relative;
  transition: all var(--transition-base);
}

.section-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 121, 107, 0.3);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Commitment Section */
.commitment-content {
  max-width: 1000px;
  margin: 0 auto;
}

.commitment-text {
  font-size: var(--text-lg);
  line-height: 1.9;
  color: var(--text-primary);
  text-align: center;
  background: var(--bg-primary);
  padding: var(--space-3xl);
  border-radius: var(--border-radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}

.commitment-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-2xl);
  max-width: 1300px;
  margin: 0 auto;
}

.principle-card {
  background: var(--bg-primary);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-xl);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-base);
  border: 1px solid var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}

.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-light);
}

.principle-card:hover::before {
  transform: scaleX(1);
}

.principle-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--text-white);
  font-size: var(--text-xl);
  transition: all var(--transition-base);
}

.principle-card:hover .principle-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

.principle-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.principle-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Certifications Section */
.certifications-showcase {
  max-width: 1200px;
  margin: 0 auto;
}

.certification-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  align-items: center;
  background: var(--bg-primary);
  padding: var(--space-3xl);
  border-radius: var(--border-radius-xl);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}

.certification-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.cert-image-placeholder {
  background: var(--bg-secondary);
  border: 2px dashed var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
}

.cert-image-placeholder:hover {
  border-color: var(--primary-color);
  background: rgba(0, 121, 107, 0.05);
}

.cert-image-placeholder i {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.cert-image-placeholder p {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.placeholder-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
}

.cert-info h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.cert-info p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cert-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--transition-base);
}

.cert-badge:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: var(--text-md);
  }
  
  .hero-badge {
    font-size: var(--text-xs);
    padding: var(--space-xs) var(--space-md);
  }
  
  .section-header h2 {
    font-size: var(--text-2xl);
  }
  
  .section-subtitle {
    font-size: var(--text-md);
  }
  
  .commitment-text {
    font-size: var(--text-md);
    padding: var(--space-xl);
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .principle-card {
    padding: var(--space-lg);
  }
  
  .certification-item {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
  }
  
  .cert-image-placeholder {
    padding: var(--space-xl);
  }
  
  .cert-info h3 {
    font-size: var(--text-xl);
  }
  
  .cert-info p {
    font-size: var(--text-md);
  }
}

@media (max-width: 480px) {
  .page-hero {
    height: 50vh;
    min-height: 350px;
  }
  
  .hero-content {
    padding: 0 var(--space-md);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-icon {
    width: 60px;
    height: 60px;
    font-size: var(--text-xl);
  }
  
  .principle-icon {
    width: 50px;
    height: 50px;
    font-size: var(--text-lg);
  }
  
  .cert-badges {
    justify-content: center;
  }
}