:root {
    --primary: #0056b3;
    --secondary: #E87722;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --accent: #e74c3c;
    --text: #333333;
    --text-light: #6c757d;
}
.ethics-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  animation: fadeIn 0.5s ease-out;
}

/* Header Section */
.ethics-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary);
  position: relative;
}

.ethics-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--secondary);
}

.ethics-header h1 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.ethics-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 0;
}

/* Content Sections */
.ethics-section {
  background: white;
  padding: 2rem;
  margin-bottom: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ethics-section:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.ethics-section h2 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  font-size: 1.8rem;
}

.ethics-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

/* Foreword Box */
.foreword-box {
  background-color: rgba(0, 86, 179, 0.05);
  padding: 1.75rem;
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
  border-radius: 6px;
  transition: var(--transition);
}

.foreword-box:hover {
  background-color: rgba(0, 86, 179, 0.08);
}

.foreword-box p {
  font-weight: 500;
  margin-top: 0;
}

.foreword-box ol {
  padding-left: 1.5rem;
}

.foreword-box ol li {
  margin-bottom: 0.75rem;
  position: relative;
}

/* Canons List */
.canons-list {
  counter-reset: canon-counter;
  padding-left: 0;
  margin: 2rem 0;
}

.canons-list > li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
  list-style: none;
  line-height: 1.7;
}

.canons-list > li:before {
  counter-increment: canon-counter;
  content: counter(canon-counter) ".";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: var(--primary);
  font-size: 1.2rem;
  top: 0.1rem;
}

/* Commitment Box */
.commitment-box {
  background: linear-gradient(to right, rgba(232, 119, 34, 0.05), rgba(232, 119, 34, 0.03));
  padding: 2rem;
  border-radius: 8px;
  margin: 3rem 0;
  border-left: 4px solid var(--secondary);
  position: relative;
  overflow: hidden;
}

.commitment-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23E87722" opacity="0.1"><path d="M12 2L4 12l8 10 8-10z"/></svg>') no-repeat;
  background-size: contain;
}

.commitment-box h3 {
  color: var(--secondary);
  margin-top: 0;
  font-size: 1.5rem;
  position: relative;
}

.commitment-box p {
  margin-bottom: 0;
  position: relative;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}