

/* ================= CARD ================= */
.ethics-card {
  background: #fff;
  border-radius: 14px;
  padding: 35px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.ethics-card:hover {
  transform: translateY(-4px);
}

/* ================= HEADER ================= */
.ethics-header h2 {
  color: var(--primary-blue);
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
  text-align:center;
}



/* ================= CONTENT ================= */
.ethics-content p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 15px;
}

/* ================= GRID (DEPARTMENTS) ================= */
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}

/* ================= BOX ================= */
.ethics-box {
  background: #ffffff;
  padding: 22px 15px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
  border-top: 4px solid var(--primary-blue);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  line-height: 1.4;
}

/* HOVER EFFECT */
.ethics-box:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: translateY(-6px);
  border-top: 4px solid var(--accent-red);
}

/* ================= MOBILE ================= */
@media (max-width: 992px) {
  .ethics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .ethics-card {
    padding: 20px;
  }

  .ethics-header h2 {
    font-size: 22px;
  }

  .ethics-grid {
    grid-template-columns: 1fr;
  }

  .ethics-box {
    padding: 18px;
  }
}